/*
Theme Name: Explore Westport
Theme URI: https://explorewestport.com/
Author: True North Inspiration
Author URI: https://truenorthinspiration.com/
Description: A custom theme for Explore Westport, Ontario — built from the approved Explore Westport designs. Lakeside navy 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-westport
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #16324a;
	--navy-deep: #0d283e;
	--navy-soft: #24425e;
	--ink: #22303c;
	--muted: #5c6b76;
	--cream: #fefdf9;
	--paper: #faf8f1;
	--line: #e8e2d4;
	--gold: #f0a832;
	--gold-soft: #f7c873;
	--tag-bg: #daedf1;
	--rose: #c05a44;
	--shadow: 0 10px 30px rgba(22, 50, 74, 0.12);
	--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(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); 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-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-outline { background: #fff; color: var(--navy); border-color: #c9d4dc; }
.btn-outline:hover { border-color: var(--navy); }
.btn-light { background: #eef3f6; color: var(--navy); }
.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: 62px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; color: var(--navy); }
.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(--navy); }
.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: 430px; 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(13, 40, 62, 0.55) 0%, rgba(13, 40, 62, 0.25) 55%, rgba(13, 40, 62, 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(13, 40, 62, 0.35); }
.hero-eyebrow { color: #fff; letter-spacing: 0.32em; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; margin: 0 0 10px; text-shadow: 0 1px 8px rgba(13, 40, 62, 0.5); }
.hero-sub { color: #fff; font-size: 1.12rem; max-width: 560px; margin: 0; text-shadow: 0 1px 8px rgba(13, 40, 62, 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; }
.hero-overlay .breadcrumb, .hero-overlay .breadcrumb a { color: #fff; }
.breadcrumb .current { color: var(--navy); }
.hero-overlay .breadcrumb .current { color: #fff; opacity: 0.85; }

/* Search bar (designs' pill) */
.search-bar {
	display: flex; align-items: stretch; background: #fff; border-radius: 999px;
	box-shadow: var(--shadow); padding: 6px; max-width: 1020px;
}
.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-loc { border-left: 1px solid var(--line); flex: 0 1 300px !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(--navy); color: #fff;
	font: inherit; font-weight: 800; border-radius: 999px; padding: 12px 44px;
}
.search-bar button:hover { background: var(--navy-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: #edf3f6;
	display: flex; align-items: center; justify-content: center; color: var(--navy);
	transition: background 0.15s ease, color 0.15s ease;
}
.category-circle svg { width: 27px; height: 27px; }
.category-row a:hover .category-circle { background: var(--navy); color: #fff; }
.category-label { font-size: 0.86rem; font-weight: 700; line-height: 1.25; }
.filter-row .category-row li.is-active .category-label { color: var(--navy); box-shadow: inset 0 -3px 0 var(--rose); padding-bottom: 3px; }
.filter-row .category-row li.is-active .category-circle { background: var(--navy); 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(13, 40, 62, 0.82));
	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: #eef3f6; 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;
}

/* ---------- Events + map ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.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: 58px; text-align: center; background: #eef3f6; border-radius: 10px;
	padding: 8px 0 6px; color: var(--navy); 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.45rem; 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-arts { background: #dcebd9; color: #38603a; }
.map-col h2 { margin-bottom: 6px; }
.map-col p { margin: 0 0 16px; color: var(--ink); max-width: 380px; }
.map-graphic { margin-top: 18px; border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* ---------- Business bits ---------- */
.biz-tag {
	display: inline-block; background: var(--tag-bg); color: var(--navy);
	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: #d8d2c2; 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; }

/* Featured business (homepage) */
.featured-business {
	display: grid; grid-template-columns: 380px 1fr auto; gap: 28px; align-items: center;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 18px; box-shadow: var(--shadow);
}
.featured-photo img { border-radius: 10px; width: 100%; height: 190px; object-fit: cover; }
.featured-body h3 { font-size: 1.5rem; margin-bottom: 6px; }
.featured-body h3 a { color: var(--navy); }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrow {
	width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 1.25rem; color: var(--navy); background: #fff;
}

/* ---------- Newsletter band ---------- */
.newsletter-band { position: relative; margin-top: 56px; background: var(--navy-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(--navy-deep) 46%, rgba(13, 40, 62, 0.25) 78%, rgba(13, 40, 62, 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: 300px; margin: 0; font-size: 1.9rem; }
.newsletter-form-wrap { flex: 1; min-width: 260px; }
.newsletter-form-wrap > p { color: #dbe5ec; 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: 0; cursor: pointer; background: var(--navy); color: #fff; font: inherit; font-weight: 800; border-radius: 6px; padding: 10px 24px; }
.newsletter-note { color: #9fb4c2 !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(--navy); display: inline-flex; }
.footer-social svg { width: 21px; height: 21px; }
.footer-script { font-family: var(--script); font-size: 1.65rem; color: var(--navy); margin: 0; }
.footer-bottom {
	display: flex; justify-content: space-between; 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(--navy); }
.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(--navy); }
.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(--navy); padding: 4px; }
.fav-btn svg { width: 21px; height: 21px; }
.view-details { font-weight: 800; color: var(--navy); white-space: nowrap; }
.pagination { display: flex; gap: 8px; align-items: center; padding: 22px 0 6px; }
.pagination .page-num {
	min-width: 38px; height: 38px; padding: 0 8px; border-radius: 8px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700;
}
.pagination .page-num.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .page-ellipsis { color: var(--muted); padding: 0 2px; }
.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(--navy); }
.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(--navy); 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 38%; }
.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(--navy); }
.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(--navy); font-weight: 700; font-size: 0.94rem; }
.profile-actions svg { width: 17px; height: 17px; }
.profile-intro { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; color: var(--navy); 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(--navy); 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(--navy); box-shadow: inset 0 -3px 0 var(--navy); }
.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; }
.review-cards { display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 16px; align-items: stretch; }
.review-arrow { align-self: center; }
.review-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; }
.review-card header { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.review-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.review-card h3 { font-family: var(--sans); font-size: 1rem; margin: 0 0 3px; }
.review-card .biz-rating { margin: 0; }
.review-card p { margin: 0; font-size: 0.96rem; }
.review-when { color: var(--muted); font-size: 0.85rem; }

/* 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-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(--navy); 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(--navy); 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(--navy); 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) {
	.featured-business { grid-template-columns: 300px 1fr; }
	.featured-action { grid-column: 2; }
	.directory-layout, .profile-layout { grid-template-columns: 1fr; }
	.directory-rail { max-width: 520px; }
}
@media (max-width: 880px) {
	.site-header .wrap { flex-wrap: wrap; }
	.main-nav { order: 3; margin-left: 0; width: 100%; }
	.split { grid-template-columns: 1fr; }
	.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: 13px; }
	.search-bar-loc { border-left: 0; border-top: 1px solid var(--line); }
	.hero { min-height: 380px; }
	.newsletter-img { opacity: 0.35; width: 100%; }
	.newsletter-inner { flex-wrap: wrap; }
	.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); }
	.review-cards { grid-template-columns: 1fr; }
	.review-arrow { display: none; }
	.featured-business { grid-template-columns: 1fr; }
	.featured-action { grid-column: auto; }
	.panel { padding: 26px 22px; }
}
