/*
Theme Name: Kadence Child - Site Variables
Theme URI: https://kadencewp.com/kadence-theme/
Description: Kadence child theme that stores the site's repeated values (phone, towns, email, hours) in one place in the WordPress admin and renders them through the [site_phone], [site_towns], [site_towns_top], [site_email] and [site_hours] shortcodes plus one call-to-action synced pattern. Nothing in this theme is specific to any trade or city - all of that lives in the stored values, so the same theme can be reused on the next site unchanged.
Author: David
Version: 1.3.11
Requires at least: 6.4
Requires PHP: 7.2
Template: kadence
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kadence-child-site-vars
*/

/* -------------------------------------------------------------------------
   Site variable styling.

   Only two rules here, and both exist to make a failure visible rather than
   to decorate anything. Everything else is left to Kadence on purpose: the
   less this child theme styles, the less there is to conflict with a future
   Kadence update or a design change.
   ------------------------------------------------------------------------- */

/*
 * Shown when a stored value is empty. The whole point of this project is that
 * a missing phone number must never render as nothing at all, because nobody
 * notices an absence. So it renders as something impossible to miss.
 */
.site-var-missing {
	display: inline-block;
	padding: 0.15em 0.5em;
	background: #ffe680;
	color: #6b4e00;
	border: 2px dashed #b38600;
	border-radius: 3px;
	font-weight: 700;
	font-size: 0.95em;
	text-decoration: none;
}

/*
 * The phone placeholder (xxx-xxx-xxx) is deliberately left looking normal to
 * visitors, so page layout is identical to how it will look with a real
 * number in place and nothing shifts on the day the real number arrives.
 * It is outlined only for a logged-in admin, so David can see at a glance
 * which elements on a page are still reading the placeholder.
 */
.logged-in .site-phone-placeholder {
	outline: 2px dashed #b38600;
	outline-offset: 2px;
}

/* Town and hours lists carry a class but no imposed styling, so Kadence's own
   list styles apply and the site looks consistent without extra CSS here. */
.site-towns-list,
.site-hours-list {
	margin-left: 1.2em;
}
