/*
Theme Name: Explore Perth
Theme URI: https://exploreperth.com/
Author: True North Inspiration
Author URI: https://truenorthinspiration.com/
Description: A custom theme for Explore Perth, Ontario — built from the approved Explore Perth homepage design. Deep green and cream, an elegant serif display face, a business directory, and a reusable business profile template.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: explore-perth
*/

/* ---------- Tokens (sampled from the approved design) ---------- */
:root {
	--green: #1e4d36;
	--green-deep: #143626;
	--green-soft: #2a5f45;
	--ink: #26332b;
	--muted: #64705f;
	--cream: #f9f6f1;
	--paper: #f5f1e8;
	--sage: #eceee5;
	--line: #e5dfd0;
	--gold: #f0a832;
	--rust: #bc5636;
	--tag-bg: #e2ecdc;
	--shadow: 0 10px 30px rgba(20, 54, 38, 0.13);
	--radius: 14px;
	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: "Nunito Sans", "Segoe UI", Helvetica, Arial, sans-serif;
	--script: "Great Vibes", "Playfair Display", cursive;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16.5px;
	line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); color: var(--green); line-height: 1.15; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.section { padding: 44px 0 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.view-all { font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--sans); font-weight: 800; font-size: 0.98rem;
	padding: 12px 26px; border-radius: 8px; border: 1.5px solid transparent;
	cursor: pointer; text-decoration: none !important; transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); }
.btn-outline { background: #fff; color: var(--green); border-color: #c8d2c2; }
.btn-outline:hover { border-color: var(--green); }
.btn-light { background: #eef2e6; color: var(--green); }
.btn svg { width: 17px; height: 17px; flex: none; }

/* ---------- Header ---------- */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; flex: none; }
.brand-mark { width: 58px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; color: var(--green); }
.brand-explore { font-size: 0.62rem; letter-spacing: 0.34em; font-weight: 700; }
.brand-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 800; letter-spacing: 0.04em; }
.brand-tag { font-size: 0.58rem; letter-spacing: 0.52em; font-weight: 700; margin-top: 2px; }
.main-nav { margin-left: auto; }
.main-nav ul.menu, .footer-nav ul.menu { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a, .footer-nav a { color: var(--ink); font-weight: 600; font-size: 1rem; }
.main-nav a:hover, .footer-nav a:hover { color: var(--green); }
.main-nav .caret { font-size: 0.7em; margin-left: 4px; color: var(--muted); }
.header-cta { margin-left: 6px; padding: 11px 20px; }

/* ---------- Heroes ---------- */
.hero, .page-hero { position: relative; }
.hero-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero { min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero { min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-overlay { position: relative; z-index: 2; padding: 84px 0 64px; background: linear-gradient(90deg, rgba(20, 54, 38, 0.5) 0%, rgba(20, 54, 38, 0.22) 55%, rgba(20, 54, 38, 0) 80%); }
.page-hero .hero-overlay { padding: 56px 0 58px; }
.hero-overlay .wrap { width: 100%; }
.hero h1, .page-hero h1 { color: #fff; margin-bottom: 10px; text-shadow: 0 2px 14px rgba(20, 54, 38, 0.4); }
.hero-sub { color: #fff; font-size: 1.12rem; max-width: 560px; margin: 0; text-shadow: 0 1px 8px rgba(20, 54, 38, 0.55); }
.hero-search { position: relative; z-index: 3; width: 100%; margin-top: -30px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.92rem; font-weight: 700; margin-bottom: 12px; flex-wrap: wrap; }
.hero-overlay .breadcrumb, .hero-overlay .breadcrumb a { color: #fff; }
.breadcrumb .current { color: var(--green); }
.hero-overlay .breadcrumb .current { color: #fff; opacity: 0.85; }

/* Homepage hero: centred headline over the main-street photo, as designed */
.hero-center .hero-overlay { background: linear-gradient(180deg, rgba(20, 54, 38, 0.12) 0%, rgba(20, 54, 38, 0.05) 45%, rgba(20, 54, 38, 0.35) 100%); text-align: center; padding: 96px 0 74px; }
.hero-center h1 { max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-center .search-bar { margin-left: auto; margin-right: auto; }

/* Search bar (the design's pill: query + category + green icon button) */
.search-bar {
	display: flex; align-items: stretch; background: #fff; border-radius: 999px;
	box-shadow: var(--shadow); padding: 6px; max-width: 820px;
}
.search-bar label { display: flex; align-items: center; gap: 10px; padding: 8px 14px; flex: 1; color: var(--muted); min-width: 0; }
.search-bar label svg { width: 20px; height: 20px; flex: none; }
.search-bar input[type="search"] { border: 0; outline: 0; font: inherit; width: 100%; background: transparent; color: var(--ink); }
.search-bar-cat { border-left: 1px solid var(--line); flex: 0 1 260px !important; }
.search-bar select { border: 0; outline: 0; font: inherit; background: transparent; color: var(--ink); width: 100%; }
.search-bar button {
	border: 0; cursor: pointer; background: var(--green); color: #fff; flex: none;
	border-radius: 999px; width: 52px; display: flex; align-items: center; justify-content: center;
}
.search-bar button svg { width: 21px; height: 21px; }
.search-bar button:hover { background: var(--green-deep); }

/* ---------- Category circles ---------- */
.categories { padding: 34px 0 6px; }
.category-row { display: flex; justify-content: space-between; gap: 8px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.category-row li { flex: 1 1 0; min-width: 92px; text-align: center; }
.category-row a { display: flex; flex-direction: column; align-items: center; gap: 9px; color: var(--ink); text-decoration: none !important; }
.category-circle {
	width: 62px; height: 62px; border-radius: 50%; background: var(--sage);
	display: flex; align-items: center; justify-content: center; color: var(--green);
	transition: background 0.15s ease, color 0.15s ease;
}
.category-circle svg { width: 27px; height: 27px; }
.category-row a:hover .category-circle { background: var(--green); color: #fff; }
.category-label { font-size: 0.95rem; font-weight: 700; line-height: 1.25; }
.category-bar { width: 36px; height: 3px; border-radius: 2px; margin-top: 1px; }
.bar-rust { background: var(--rust); }
.bar-green { background: var(--green); }
.filter-row .category-row li.is-active .category-label { color: var(--green); }
.filter-row .category-row li.is-active .category-circle { background: var(--green); color: #fff; }

/* ---------- Photo cards ---------- */
.photo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.photo-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo-card a { position: relative; display: block; text-decoration: none !important; }
.photo-card img { width: 100%; height: 235px; object-fit: cover; }
.photo-card-body {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 22px 18px;
	background: linear-gradient(transparent, rgba(20, 54, 38, 0.85));
	display: flex; flex-direction: column; gap: 2px;
}
.photo-card-title { font-family: var(--serif); color: #fff; font-size: 1.55rem; font-weight: 700; }
.photo-card-text { color: #eef2e6; font-size: 0.97rem; max-width: 78%; }
.photo-card-arrow {
	position: absolute; right: 18px; bottom: 20px; width: 40px; height: 40px;
	border: 1.6px solid rgba(255, 255, 255, 0.85); border-radius: 50%;
	color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}

/* ---------- Browse by Category band ---------- */
.browse-band { background: var(--sage); margin-top: 46px; padding: 30px 0; }
.browse-grid { display: grid; grid-template-columns: 1.2fr repeat(6, 1fr); align-items: stretch; }
.browse-head { padding: 6px 18px 6px 0; }
.browse-head h2 { font-size: 1.45rem; margin: 0 0 6px; }
.browse-head .browse-arrow { font-size: 1.3rem; color: var(--green); }
.browse-cell {
	display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center;
	padding: 6px 8px; border-left: 1px solid #dde0d2; color: var(--ink); text-decoration: none !important;
}
.browse-cell svg { width: 26px; height: 26px; color: var(--green); }
.browse-cell .browse-name { font-weight: 700; font-size: 0.95rem; }
.browse-cell .browse-view { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.browse-cell:hover .browse-view { color: var(--green); }

/* ---------- Events + featured ---------- */
.split-featured { display: grid; grid-template-columns: 5fr 6fr; gap: 42px; align-items: start; }
.event-list { display: flex; flex-direction: column; }
.event-row { display: flex; gap: 16px; align-items: center; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.event-row:last-child { border-bottom: 0; }
.event-date { flex: none; width: 52px; text-align: center; color: var(--green); display: flex; flex-direction: column; line-height: 1.1; }
.event-mon { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; }
.event-day { font-family: var(--serif); font-size: 1.5rem; font-weight: 800; }
.event-thumb { width: 92px; height: 68px; object-fit: cover; border-radius: 8px; flex: none; }
.event-body { flex: 1; min-width: 0; }
.event-body h3 { font-size: 1.08rem; margin: 0 0 2px; font-family: var(--sans); font-weight: 800; }
.event-body h3 a { color: var(--ink); }
.event-time { margin: 0; font-size: 0.93rem; color: var(--ink); }
.event-venue { margin: 0; font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.event-venue svg { width: 14px; height: 14px; }
.event-tag {
	flex: none; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em;
	padding: 5px 10px; border-radius: 5px; text-transform: uppercase;
}
.tag-market { background: #f6e7bd; color: #7c5f14; }
.tag-music { background: #f6dce4; color: #8c3a55; }
.tag-shopping { background: #dcebd9; color: #38603a; }

/* Featured business panel (homepage, as designed) */
.featured-panel {
	display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 26px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow); padding: 24px; align-items: stretch;
}
.featured-eyebrow { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.22em; color: var(--muted); margin: 0 0 8px; text-transform: uppercase; }
.featured-panel h3 { font-size: 2rem; margin: 0 0 6px; }
.featured-panel h3 a { color: var(--green); }
.featured-tagsline { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; color: var(--muted); margin: 0 0 12px; text-transform: uppercase; }
.featured-blurb { margin: 0 0 18px; }
.featured-photo img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; border-radius: 10px; }

/* ---------- Business bits ---------- */
.biz-tag {
	display: inline-block; background: var(--tag-bg); color: var(--green);
	font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
	padding: 5px 10px; border-radius: 5px; margin: 0 0 8px;
}
.biz-rating { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.biz-reviews { color: var(--muted); font-size: 0.92rem; }
.stars { position: relative; display: inline-block; line-height: 0; color: #ddd6c4; flex: none; }
.stars svg { width: 17px; height: 17px; }
.stars-bg { white-space: nowrap; }
.stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--gold); }
.biz-blurb { margin: 0 0 10px; color: var(--ink); }
.biz-address { margin: 0; color: var(--muted); display: flex; align-items: center; gap: 6px; font-size: 0.95rem; }
.biz-address svg { width: 16px; height: 16px; flex: none; }
.sample-flag {
	display: inline-block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em;
	text-transform: uppercase; color: #8a6d1f; background: #f6e7bd;
	padding: 4px 8px; border-radius: 5px; margin: 0 0 8px 6px; vertical-align: middle;
}

/* ---------- Newsletter band ---------- */
.newsletter-band { position: relative; margin-top: 56px; background: var(--green-deep); overflow: hidden; }
.newsletter-img { position: absolute; right: 0; top: 0; height: 100%; width: 46%; object-fit: cover; }
.newsletter-band::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, var(--green-deep) 46%, rgba(20, 54, 38, 0.25) 78%, rgba(20, 54, 38, 0) 100%);
	z-index: 1;
}
.newsletter-inner {
	position: relative; z-index: 2; display: flex; gap: 22px; align-items: flex-start;
	padding: 34px 0 30px; max-width: 760px;
}
.newsletter-icon { color: #fff; flex: none; margin-top: 6px; }
.newsletter-icon svg { width: 44px; height: 44px; }
.newsletter-band h2 { color: #fff; max-width: 320px; margin: 0; font-size: 1.9rem; }
.newsletter-form-wrap { flex: 1; min-width: 260px; }
.newsletter-form-wrap > p { color: #d9e4d5; margin: 4px 0 14px; font-size: 0.97rem; max-width: 420px; }
.newsletter-form { display: flex; background: #fff; border-radius: 8px; padding: 4px; max-width: 480px; }
.newsletter-form input { flex: 1; border: 0; outline: 0; font: inherit; padding: 9px 12px; min-width: 0; background: transparent; }
.newsletter-form button { border: 1px solid rgba(255, 255, 255, 0.35); cursor: pointer; background: var(--green-soft); color: #fff; font: inherit; font-weight: 800; border-radius: 6px; padding: 10px 24px; }
.newsletter-note { color: #a9bfae !important; font-size: 0.82rem !important; margin: 8px 0 0 !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; gap: 30px; padding: 26px 0 18px; flex-wrap: wrap; }
.footer-nav { margin-left: auto; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: var(--green); display: inline-flex; }
.footer-social svg { width: 21px; height: 21px; }
.footer-minis { display: flex; gap: 16px; font-size: 0.84rem; font-weight: 700; color: var(--muted); }
.footer-minis a { color: var(--muted); }
.footer-script { font-family: var(--script); font-size: 1.65rem; color: var(--green); margin: 0; }
.footer-bottom {
	display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
	border-top: 1px solid var(--line); padding: 14px 0 20px; color: var(--muted); font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 10px; }
.footer-legal a { color: var(--muted); }

/* ---------- Interior pages ---------- */
.page-main { padding: 42px 0 10px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 38px; }
.entry-title { margin-bottom: 14px; }
.entry-meta { color: var(--muted); font-size: 0.92rem; margin: 0 0 14px; }
.entry-content { max-width: 78ch; }
.entry-content img { border-radius: 10px; }
.post-list { display: grid; gap: 22px; }
.post-card h2 { margin-bottom: 6px; }
.post-card h2 a { color: var(--green); }
.post-nav { display: flex; justify-content: space-between; margin-top: 26px; font-weight: 700; }
.comment-list { list-style: none; padding: 0; }
.comment-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }

/* ---------- Directory ---------- */
.directory-layout { display: grid; grid-template-columns: 1fr 400px; gap: 34px; align-items: start; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.results-head h2 { font-size: 1.45rem; margin: 0; }
.sort-by { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); }
.sort-by select { font: inherit; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.biz-list { display: flex; flex-direction: column; }
.biz-card { display: grid; grid-template-columns: 180px 1fr auto; gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.biz-card-photo img { width: 180px; height: 132px; object-fit: cover; border-radius: 10px; }
.biz-card-body h3 { font-size: 1.3rem; margin-bottom: 5px; }
.biz-card-body h3 a { color: var(--green); }
.biz-card-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.fav-btn { background: none; border: 0; cursor: pointer; color: var(--green); padding: 4px; }
.fav-btn svg { width: 21px; height: 21px; }
.view-details { font-weight: 800; color: var(--green); white-space: nowrap; }
.directory-note {
	margin-top: 26px; background: var(--sage); border-radius: var(--radius);
	padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.directory-note p { margin: 0; font-weight: 700; color: var(--green); }
.directory-rail { display: flex; flex-direction: column; gap: 20px; }
.rail-map img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.preview-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.preview-head { display: grid; grid-template-columns: 128px 1fr auto; gap: 14px; align-items: start; }
.preview-photo img { width: 128px; height: 96px; object-fit: cover; border-radius: 9px; }
.preview-title h3 { font-size: 1.15rem; margin-bottom: 4px; }
.preview-title h3 a { color: var(--green); }
.preview-close { background: none; border: 0; font-size: 1.3rem; color: var(--muted); cursor: pointer; line-height: 1; padding: 2px; }
.preview-card .biz-blurb { margin: 12px 0 14px; font-size: 0.95rem; }
.preview-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.preview-actions .btn { justify-content: center; padding: 11px 10px; }
.preview-contact { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.preview-contact a { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 700; font-size: 0.9rem; }
.preview-contact svg { width: 16px; height: 16px; }

/* ---------- Business profile ---------- */
.profile-band { height: 215px; overflow: hidden; }
.profile-band img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.profile-section { padding-top: 30px; }
.profile-layout { display: grid; grid-template-columns: 1fr 372px; gap: 40px; align-items: start; }
.profile-layout .breadcrumb .current { color: var(--green); }
.profile-layout .breadcrumb a { color: var(--muted); }
.profile-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.profile-head h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); margin-bottom: 8px; }
.profile-actions { display: flex; gap: 18px; flex: none; padding-top: 26px; }
.profile-actions a { display: inline-flex; gap: 6px; align-items: center; color: var(--green); font-weight: 700; font-size: 0.94rem; }
.profile-actions svg { width: 17px; height: 17px; }
.profile-tagsline { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; margin: 0 0 4px; }
.profile-intro { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; color: var(--green); line-height: 1.3; margin: 22px 0 10px; }
.profile-about { margin: 0 0 22px; max-width: 68ch; }
.amenity-chips { display: flex; gap: 12px; flex-wrap: wrap; list-style: none; margin: 0 0 26px; padding: 0; }
.amenity-chips li {
	flex: 1 1 120px; max-width: 150px; border: 1px solid var(--line); border-radius: 10px;
	padding: 14px 8px 11px; display: flex; flex-direction: column; align-items: center; gap: 8px;
	text-align: center; font-size: 0.86rem; font-weight: 700; color: var(--ink); background: #fff;
}
.amenity-icon { color: var(--green); display: inline-flex; }
.amenity-icon svg { width: 25px; height: 25px; }
.profile-tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.profile-tabs a { padding: 10px 2px; color: var(--muted); font-weight: 700; }
.profile-tabs a.is-active { color: var(--green); box-shadow: inset 0 -3px 0 var(--green); }
.gallery { display: grid; grid-template-columns: 1fr 132px; gap: 12px; }
.gallery-main { width: 100%; height: 100%; min-height: 290px; object-fit: cover; border-radius: var(--radius); }
.gallery-thumbs { display: grid; gap: 12px; }
.gallery-thumbs img { width: 100%; height: 100%; min-height: 88px; object-fit: cover; border-radius: 10px; }
.gallery-more { text-align: center; margin: 16px 0 34px; }
.reviews-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.reviews-empty {
	border: 1px dashed #c8d2c2; border-radius: var(--radius); padding: 22px 24px;
	background: var(--paper); color: var(--muted); margin-bottom: 10px;
}
.reviews-empty p { margin: 0; }

/* Profile sidebar */
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.btn-call { width: 100%; justify-content: center; font-size: 1.05rem; padding: 14px; }
.sidebar-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.sidebar-duo .btn { justify-content: center; padding: 11px 8px; }
.sidebar-stack { display: grid; gap: 10px; }
.sidebar-stack .btn { justify-content: center; }
.sidebar-info { list-style: none; margin: 18px 0 0; padding: 0; }
.sidebar-info li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.sidebar-info li > svg { width: 19px; height: 19px; flex: none; color: var(--green); margin-top: 2px; }
.sidebar-info .directions { margin-left: auto; font-weight: 800; white-space: nowrap; font-size: 0.88rem; }
.hours { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.hours-row { display: flex; justify-content: space-between; gap: 12px; }
.sidebar-social { margin-left: auto; display: flex; gap: 10px; }
.sidebar-social a { color: var(--green); display: inline-flex; }
.sidebar-social svg { width: 20px; height: 20px; }
.sidebar-map { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 20px; }
.nearby { margin-top: 26px; }
.nearby-row { display: flex; align-items: center; gap: 14px; padding: 11px 2px; border-bottom: 1px solid var(--line); color: var(--ink); }
.nearby-row img { width: 78px; height: 56px; object-fit: cover; border-radius: 8px; flex: none; }
.nearby-row strong { display: block; color: var(--green); font-size: 1rem; }
.nearby-row small { color: var(--muted); font-size: 0.88rem; }
.nearby-arrow { margin-left: auto; font-size: 1.4rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.directory-layout, .profile-layout { grid-template-columns: 1fr; }
	.directory-rail { max-width: 520px; }
	.split-featured { grid-template-columns: 1fr; }
	.browse-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
	.browse-head { grid-column: 1 / -1; }
	.browse-cell { border-left: 0; }
}
@media (max-width: 880px) {
	.site-header .wrap { flex-wrap: wrap; }
	.main-nav { order: 3; margin-left: 0; width: 100%; }
	.photo-cards { grid-template-columns: 1fr; }
	.photo-card img { height: 210px; }
	.search-bar { flex-wrap: wrap; border-radius: 20px; }
	.search-bar button { width: 100%; padding: 12px; border-radius: 12px; }
	.search-bar-cat { border-left: 0; border-top: 1px solid var(--line); }
	.hero { min-height: 400px; }
	.newsletter-img { opacity: 0.35; width: 100%; }
	.newsletter-inner { flex-wrap: wrap; }
	.featured-panel { grid-template-columns: 1fr; }
	.biz-card { grid-template-columns: 130px 1fr; }
	.biz-card-photo img { width: 130px; height: 110px; }
	.biz-card-side { flex-direction: row; grid-column: 2; align-items: center; }
	.gallery { grid-template-columns: 1fr; }
	.gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
	.panel { padding: 26px 22px; }
}
