:root {
  --side-width: clamp(128px, 14vw, 184px);
  --ink: #17211f;
  --muted: #63716d;
  --line: #dbe3df;
  --paper: #ffffff;
  --wash: #f5f8f6;
  --brand: #0f7b63;
  --brand-dark: #075642;
  --accent: #d94f3d;
  --gold: #f2b84b;
  --shadow: 0 18px 45px rgba(20, 35, 31, .10);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--wash);
  line-height: 1.6;
  overflow-x: hidden;
}
main { flex: 1 0 auto; }
a { color: inherit; text-decoration: none; }
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(15, 123, 99, .34);
  outline-offset: 3px;
}

.side-bar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: var(--side-width);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 18px 10px;
  background: #ffffff;
  border-right: 1px solid var(--line);
  box-shadow: 8px 0 30px rgba(20,35,31,.07);
}
.side-logo {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-weight: 900;
  text-align: center;
}
.side-logo img {
  width: 96px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.side-logo strong {
  font-size: .76rem;
  line-height: 1.15;
}
.side-links {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 7px;
  overflow-y: auto;
}
.side-links-bottom {
  align-content: end;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.side-links a {
  display: block;
  min-height: 0;
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--muted);
  font-size: clamp(.76rem, .86vw, .88rem);
  line-height: 1.2;
  font-weight: 900;
  text-align: left;
}
.side-links a:hover {
  background: #e8f4ef;
  color: var(--brand-dark);
}
.side-submenu {
  display: grid;
  gap: 4px;
}
.side-submenu summary {
  display: block;
  min-height: 0;
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--muted);
  font-size: clamp(.76rem, .86vw, .88rem);
  line-height: 1.2;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.side-submenu summary::-webkit-details-marker {
  display: none;
}
.side-submenu summary::after {
  content: '+';
  float: right;
}
.side-submenu[open] summary::after {
  content: '-';
}
.side-submenu summary:hover {
  background: #e8f4ef;
  color: var(--brand-dark);
}
.side-submenu a {
  margin-left: 10px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr) auto auto;
  align-items: center;
  gap: clamp(8px, 1.2vw, 18px);
  min-height: 76px;
  padding: 10px clamp(12px, 3vw, 42px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.directory-advert-zone {
  display: grid;
  gap: 10px;
  padding: 10px clamp(18px, 5vw, 72px);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.directory-advert-zone-up-header {
  border-top: 0;
}
.directory-advert-zone-between-sections {
  background: transparent;
  border-bottom: 0;
  padding-top: 20px;
  padding-bottom: 20px;
}
.directory-advert-zone-sidebar {
  padding: 0;
  background: transparent;
  border-bottom: 0;
}
.directory-advert-zone-free-page-banner {
  background: transparent;
  border-bottom: 0;
  padding-top: 18px;
  padding-bottom: 0;
}
.directory-advert-zone-home-adsense,
.directory-advert-zone-free-page-adsense {
  background: transparent;
  border-bottom: 0;
  padding-top: 18px;
  padding-bottom: 0;
}
.directory-advert {
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  border-radius: 8px;
}
.directory-advert-title {
  display: none;
}
.directory-advert img {
  width: 100%;
  height: clamp(90px, 12vw, 180px);
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.directory-advert-zone-sidebar .directory-advert img {
  height: auto;
  max-height: 420px;
  object-fit: contain;
}
.directory-advert iframe,
.directory-advert ins,
.directory-advert object,
.directory-advert embed {
  display: block;
  max-width: 100%;
  width: 100%;
}
.directory-advert iframe {
  min-height: clamp(90px, 12vw, 180px);
  border: 0;
}
.directory-advert-zone-sidebar .directory-advert iframe {
  min-height: 250px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}
.brand img {
  width: clamp(138px, 15vw, 230px);
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}
.header-pill-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: 100%;
  max-width: 520px;
  min-width: 0;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid #d5d5d5;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
}
.header-pill-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  border-radius: 999px 0 0 999px;
  background: #fff;
  color: var(--ink);
  font-size: .96rem;
  font-weight: 600;
  padding: 0 15px;
}
.header-pill-search input::placeholder {
  color: #626262;
  opacity: 1;
}
.header-pill-search input:focus {
  outline: 0;
}
.header-pill-search:focus-within {
  border-color: #b8c4be;
  box-shadow: 0 0 0 4px rgba(15, 123, 99, .12);
}
.header-pill-search button {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 0;
  border-left: 1px solid #d5d5d5;
  border-radius: 0 999px 999px 0;
  background: #f8f8f8;
  color: #111;
  cursor: pointer;
}
.header-pill-search button:hover,
.header-pill-search button:focus {
  background: #f0f0f0;
  outline: 0;
}
.header-search-icon {
  position: relative;
  display: block;
  width: 21px;
  height: 21px;
  border: 3px solid currentColor;
  border-radius: 50%;
}
.header-search-icon::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 11px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  grid-column: 3;
  grid-row: 1;
  min-width: max-content;
  gap: clamp(7px, .8vw, 14px);
}
.site-nav a {
  color: var(--muted);
  font-size: clamp(.78rem, .78vw, .94rem);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}
.top-nav-label {
  display: inline;
}
.site-nav a:hover { color: var(--brand); }
.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
}
.header-profile-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.header-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}
.header-profile-link:hover,
.header-profile-link[aria-expanded="true"] {
  box-shadow: 0 0 0 4px #e8f4ef;
}
.header-profile-avatar {
  width: 38px;
  height: 38px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line), 0 8px 18px rgba(20, 35, 31, .12);
}
.header-profile-initial {
  display: grid;
  place-items: center;
  background: #e8f4ef;
  color: var(--brand-dark);
  font-size: .95rem;
  font-weight: 900;
  text-transform: uppercase;
}
.header-profile-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 230px;
  max-height: min(78vh, 680px);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}
.header-profile-panel[hidden] {
  display: none;
}
.header-profile-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 900;
  white-space: nowrap;
}
.header-profile-panel a:hover {
  background: #e8f4ef;
  color: var(--brand-dark);
}
.header-profile-group {
  margin-top: 6px;
  border-radius: 6px;
}
.header-profile-group summary {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.header-profile-group summary::-webkit-details-marker {
  display: none;
}
.header-profile-group summary::after {
  content: '+';
  float: right;
  color: var(--muted);
}
.header-profile-group[open] summary::after {
  content: '-';
}
.header-profile-group summary:hover {
  background: #eef4f1;
}
.header-profile-group-links {
  display: grid;
  gap: 2px;
  padding: 2px 0 4px;
}
.header-profile-group-links a {
  margin-left: 8px;
}
.slideshow-builder {
  display: grid;
  grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.slideshow-builder-nav {
  display: grid;
  gap: 8px;
  position: sticky;
  top: 92px;
}
.slideshow-builder-nav a,
.slideshow-builder-nav button {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 900;
  text-align: left;
}
.slideshow-builder-nav a {
  text-decoration: none;
}
.slideshow-builder-nav a:hover,
.slideshow-builder-nav button:hover {
  border-color: rgba(15, 123, 99, .28);
  background: #f3f9f6;
  color: var(--brand-dark);
}
.slideshow-builder-nav a.is-active,
.slideshow-builder-nav button.is-active {
  border-color: rgba(15, 123, 99, .48);
  background: #e8f4ef;
  color: var(--brand-dark);
}
.slideshow-builder-content {
  min-width: 0;
}
.slideshow-builder-content .form-grid {
  margin: 0;
}
.slideshow-submit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 14px;
}
.slideshow-submit-tips {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}
.slideshow-submit-tips strong {
  color: var(--brand-dark);
  font-size: .82rem;
  text-transform: uppercase;
}
.slideshow-submit-tips p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.4;
}
.slideshow-submit-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}
.slideshow-submit-form h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
}
.in-video-ad-admin-form {
  align-items: start;
}
.in-video-ad-admin-form > .field-help {
  grid-column: 1 / -1;
  padding: 10px 12px;
  border: 1px solid rgba(15, 123, 99, .14);
  border-radius: 8px;
  background: #f4faf7;
}
.in-video-ad-admin-form > .field-help + .field-help {
  margin-top: -8px;
  background: #fff9e8;
  border-color: rgba(214, 158, 46, .22);
}
.in-video-ad-type-field {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}
.in-video-ad-type-field legend {
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 800;
}
.in-video-ad-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.in-video-ad-type-option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-height: 86px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}
.in-video-ad-type-option:hover,
.in-video-ad-type-option:focus-within {
  border-color: rgba(15, 123, 99, .38);
  background: #f7fbf9;
}
.in-video-ad-type-option input {
  margin-top: 4px;
  accent-color: var(--brand);
}
.in-video-ad-type-option input:checked + span strong {
  color: var(--brand-dark);
}
.in-video-ad-type-option:has(input:checked) {
  border-color: rgba(15, 123, 99, .56);
  background: #eaf6f1;
  box-shadow: inset 0 0 0 1px rgba(15, 123, 99, .12);
}
.in-video-ad-type-option span {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.in-video-ad-type-option strong {
  color: var(--ink);
  font-size: .94rem;
  line-height: 1.2;
}
.in-video-ad-type-option small {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.35;
}
.slideshow-demo-ad-form {
  align-items: center;
  margin-top: 14px;
  padding: 12px;
  border: 1px dashed rgba(15, 123, 99, .28);
  border-radius: 8px;
  background: #f8fbfa;
}
.in-video-ad-table-wrap {
  margin-top: 16px;
}
.in-video-ad-table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
}
.status-pill.is-active {
  background: #e4f6ed;
  color: #0c6b3d;
}
.status-pill.is-paused {
  background: #eef0f2;
  color: #5c6870;
}
.field-help {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.35;
}
.header-profile-section {
  margin: 8px 6px 4px;
  color: var(--ink);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.nav-toggle { display: none; }

.button, button {
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: white;
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
  display: inline-block;
  min-height: 42px;
}
.button.secondary { background: #30423d; }
.button.small { padding: 8px 12px; }
button.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 40px;
  padding: 9px 11px;
  line-height: 1;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 6px;
  background: #f28c28;
  color: #fff !important;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(242, 140, 40, .22);
}
.nav-cta:hover {
  background: #d96f10;
  color: #fff !important;
}
button.danger, .danger { background: var(--accent); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font: inherit;
  background: white;
}
label { display: grid; gap: 7px; color: var(--muted); font-weight: 700; }
.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-row input {
  width: auto;
}

@media (min-width: 1081px) and (max-width: 1280px) {
  .site-header {
    grid-template-columns: auto minmax(180px, 1fr) auto auto;
    grid-template-rows: auto;
  }
  .header-pill-search {
    grid-column: 2;
    grid-row: 1;
    max-width: 460px;
    min-height: 42px;
  }
  .site-nav {
    grid-column: 3;
    grid-row: 1;
  }
  .header-actions {
    grid-column: 4;
    grid-row: 1;
  }
}

.hero {
  min-height: 0;
  display: grid;
  align-items: center;
  padding: clamp(26px, 4vw, 48px) clamp(18px, 5vw, 72px) clamp(28px, 3.5vw, 42px);
  background: linear-gradient(135deg, #edf7f2 0%, #ffffff 52%, #fff7e8 100%);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.hero-content {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
}
.hero h1 {
  max-width: 840px;
  font-size: clamp(2rem, 4.4vw, 3.55rem);
  line-height: 1.06;
  margin: 8px 0 12px;
  letter-spacing: 0;
}
.hero-summary {
  max-width: 740px;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 700;
}
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--brand); }
.home-search-panel {
  width: 100%;
  max-width: 820px;
  padding: 18px;
  border: 1px solid rgba(15,123,99,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 20px 44px rgba(20,35,31,.10);
  color: var(--ink);
}
.home-pill-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  width: 100%;
  min-height: 58px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d5d5d5;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
}
.home-pill-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  border-radius: 999px 0 0 999px;
  background: #fff;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  font-weight: 500;
  padding: 0 24px;
}
.home-pill-search input::placeholder {
  color: #626262;
  opacity: 1;
}
.home-pill-search input:focus {
  outline: 0;
}
.home-pill-search:focus-within {
  border-color: #b8c4be;
  box-shadow: 0 0 0 4px rgba(15, 123, 99, .12);
}
.home-pill-search button {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 0;
  border-left: 1px solid #d5d5d5;
  border-radius: 0 999px 999px 0;
  background: #f8f8f8;
  color: #111;
  cursor: pointer;
}
.home-pill-search button:hover,
.home-pill-search button:focus {
  background: #f0f0f0;
  outline: 0;
}
.home-search-icon {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  border: 3px solid currentColor;
  border-radius: 50%;
}
.home-search-icon::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -6px;
  width: 13px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}
.search-box {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) minmax(180px, 1fr) minmax(180px, 1fr) auto;
  align-items: end;
  gap: 12px;
  max-width: 100%;
}
.search-box label {
  gap: 6px;
  color: var(--brand-dark);
  font-size: .82rem;
  font-weight: 900;
}
.search-box label span {
  padding-left: 2px;
}
.search-box input,
.search-box select {
  min-height: 50px;
  border-color: #cfdad5;
  background: #fbfdfc;
  font-weight: 700;
}
.search-box input:focus,
.search-box select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15,123,99,.14);
  outline: 0;
}
.search-box button {
  min-height: 50px;
  padding: 0 22px;
  background: var(--brand);
  box-shadow: 0 10px 22px rgba(15,123,99,.24);
  white-space: nowrap;
}
.search-box button:hover {
  background: var(--brand-dark);
}
.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
}
.search-suggestions a {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--brand-dark);
}
.search-suggestions a:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.home-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.home-quick-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(15, 123, 99, .18);
  border-radius: 6px;
  background: #f8fbfa;
  color: var(--brand-dark);
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.2;
}
.home-quick-actions a:hover {
  border-color: var(--brand);
  background: #e8f4ef;
}
.home-app-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 800;
}
.home-app-download-button {
  min-height: 44px;
  padding: 10px 16px;
  background: #f28c28;
  box-shadow: 0 10px 22px rgba(242, 140, 40, .22);
}
.home-app-download-button:hover {
  background: #d96f10;
}
.home-hero .hero-content {
  max-width: 1180px;
}
.home-hero {
  padding-top: clamp(14px, 2.1vw, 24px);
  padding-bottom: clamp(14px, 2.1vw, 24px);
  padding-left: 0;
  padding-right: 0;
}
.home-hero .hero-content {
  width: 100%;
  max-width: none;
  padding-left: clamp(8px, 1.2vw, 16px);
  padding-right: clamp(8px, 1.2vw, 16px);
}
.home-hero-main {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  min-width: 0;
}
.home-hero-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 780px;
}
.home-hero-kicker {
  width: fit-content;
  padding: 6px 12px;
  border: 1px solid rgba(15, 123, 99, .18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-dark);
  font-size: .76rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.home-hero-intro h1 {
  max-width: 24ch;
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}
.home-hero-intro h1,
.home-hero-app-button {
  flex-basis: 100%;
}
.home-hero-app-button {
  width: fit-content;
  margin-top: 2px;
}
.home-showcase {
  width: 100%;
}
.home-showcase-slide {
  --home-showcase-card-min-height: clamp(220px, 24vw, 320px);
  --home-showcase-banner-height: clamp(32px, calc(var(--home-showcase-card-min-height) * 0.13), 44px);
  display: grid;
  gap: 10px;
}
.home-showcase-slide.is-hidden {
  display: none;
}
.home-showcase-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: var(--home-showcase-card-min-height);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10231f;
  box-shadow: 0 18px 40px rgba(20,35,31,.14);
}
.home-showcase-slide--video .home-showcase-card {
  aspect-ratio: 16 / 9;
  min-height: 0;
}
.home-showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 24, 22, .12) 22%, rgba(14, 24, 22, .82) 100%);
  pointer-events: none;
}
.home-showcase-slide--video .home-showcase-card::after {
  display: none;
}
.home-showcase-media {
  position: absolute;
  inset: 0;
}
.home-showcase-media img,
.home-showcase-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-showcase-media video,
.home-showcase-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #000;
}
.home-showcase-video-link,
.content-video-link {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 180px;
  padding: 18px;
  background: #101816;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}
.home-showcase-video-link {
  height: 100%;
}
.content-video-link:hover,
.content-video-link:focus-visible,
.home-showcase-video-link:hover,
.home-showcase-video-link:focus-visible {
  background: #14332e;
  color: #ffffff;
}
.home-showcase-slide--video .home-showcase-media {
  overflow: hidden;
  background: #000;
}
.home-showcase-slide--video .home-showcase-media video,
.home-showcase-slide--video .home-showcase-media iframe {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
}
.home-showcase-video-logo {
  position: absolute;
  top: clamp(10px, 1.8vw, 18px);
  right: clamp(10px, 1.8vw, 18px);
  z-index: 2;
  width: clamp(74px, 11vw, 128px);
  height: auto;
  max-height: 44px;
  object-fit: contain;
  pointer-events: none;
}
.weekly-program-page {
  display: grid;
  gap: 24px;
}
.weekly-program-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}
.weekly-program-heading h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.12;
}
.weekly-program-heading > span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 900;
}
.weekly-program-days {
  display: grid;
  gap: 26px;
}
.weekly-program-day {
  display: grid;
  gap: 14px;
}
.weekly-program-day-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.weekly-program-day-heading h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 1.25rem;
}
.weekly-program-day-heading p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}
.weekly-program-list {
  display: grid;
  gap: 10px;
}
.weekly-program-row {
  display: grid;
  grid-template-columns: minmax(150px, .28fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(20,35,31,.06);
}
.weekly-program-time {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.weekly-program-time strong {
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.25;
}
.weekly-program-time span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}
.weekly-program-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.weekly-program-type {
  min-width: 0;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.weekly-program-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.weekly-program-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.weekly-program-action {
  display: flex;
  justify-content: flex-end;
  min-width: 112px;
}
.weekly-program-action a,
.weekly-program-action span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbfa;
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration: none;
}
.weekly-program-action span {
  color: var(--muted);
}
.weekly-program-action a:hover,
.weekly-program-action a:focus-visible {
  background: #e7f3ee;
  border-color: rgba(15,123,99,.28);
}
.weekly-program-empty {
  padding: 28px;
  text-align: center;
}
.weekly-program-empty h2 {
  margin: 0 0 8px;
}
.weekly-program-empty p {
  margin: 0;
  color: var(--muted);
}
.in-video-ad {
  position: absolute;
  left: auto;
  right: clamp(12px, 2vw, 20px);
  bottom: clamp(10px, 1.5vw, 16px);
  z-index: 3;
  max-width: min(42%, 520px);
  pointer-events: none;
}
.in-video-ad--banner16x3 {
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: none;
  height: 20%;
  animation: in-video-ad-pop-up .28s ease-out;
}
.in-video-ad--short-video {
  max-width: min(64%, 560px);
}
.in-video-ad-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 118px) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  min-height: clamp(58px, 8vh, 92px);
  background: rgba(8, 16, 15, .9);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0,0,0,.26);
  pointer-events: auto;
}
.in-video-ad-card--standard {
  width: min(100%, 360px);
  max-width: 360px;
}
.in-video-ad-card--short-video {
  width: min(100%, 560px);
  max-width: 560px;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
}
.in-video-ad-card--banner16x3 {
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  box-shadow: none;
  grid-template-columns: minmax(0, 26%) minmax(0, 1fr);
}
.in-video-ad-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.in-video-ad-card video {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  background: #000;
}
.in-video-ad-copy {
  display: grid;
  align-content: center;
  gap: 2px;
  padding: clamp(6px, 1vw, 12px) clamp(10px, 1.5vw, 16px);
  min-width: 0;
}
.in-video-ad-copy small {
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: .66rem;
  font-weight: 900;
  text-transform: uppercase;
}
.in-video-ad-copy strong {
  margin: 0;
  font-size: clamp(.88rem, 1.35vw, 1.08rem);
  line-height: 1.2;
}
.in-video-ad-copy em {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-style: normal;
  font-size: clamp(.74rem, 1.05vw, .9rem);
  line-height: 1.28;
}
.in-video-ad-copy b {
  width: fit-content;
  margin-top: 2px;
  padding: 4px 9px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  color: #fff;
  font-size: .72rem;
  line-height: 1;
}
.in-video-ad-close {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.62);
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}
@media (max-width: 760px) {
  .in-video-ad-card {
    grid-template-columns: 108px minmax(0, 1fr);
    width: 100%;
  }
  .in-video-ad-card--banner16x3 {
    grid-template-columns: minmax(0, 28%) minmax(0, 1fr);
  }
  .in-video-ad-card--short-video {
    grid-template-columns: 132px minmax(0, 1fr);
  }
}
@keyframes in-video-ad-pop-up {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.home-showcase-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dfe9e4, #fff3d6);
  color: var(--brand-dark);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
}
.home-showcase-content {
  position: absolute;
  left: clamp(14px, 2.1vw, 24px);
  right: clamp(14px, 2.1vw, 24px);
  bottom: clamp(52px, 4.4vw, 72px);
  z-index: 1;
  display: grid;
  gap: 6px;
  color: #ffffff;
  pointer-events: none;
}
.home-showcase-content small {
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  background: rgba(14,24,22,.34);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.home-showcase-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.home-showcase-logo {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(0,0,0,.28);
}
.home-showcase-content strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(1.35rem, 2.25vw, 2rem);
  line-height: 1.16;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.home-showcase-content em {
  display: -webkit-box;
  margin: 0;
  max-width: 680px;
  overflow: hidden;
  color: rgba(255,255,255,.92);
  font-size: clamp(.94rem, 1.18vw, 1.05rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.home-showcase-cta {
  width: fit-content;
  margin-top: 4px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 6px;
  background: rgba(14,24,22,.48);
  color: #fff;
  font-size: .84rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: auto;
}
.home-showcase-marquee {
  position: relative;
  overflow: hidden;
  height: var(--home-showcase-banner-height);
  padding: 0;
  border: 1px solid rgba(15, 56, 47, .2);
  border-radius: 6px;
  background: rgba(6, 32, 27, .92);
  pointer-events: auto;
}
.home-showcase-marquee-track {
  display: inline-flex;
  align-items: center;
  height: 100%;
  min-width: max-content;
  will-change: transform;
}
.home-showcase-marquee[data-continuous-marquee] .home-showcase-marquee-track {
  padding-left: 100%;
  animation: home-showcase-marquee-scroll 30s linear infinite;
}
.home-showcase-marquee[data-continuous-marquee]:hover .home-showcase-marquee-track,
.home-showcase-marquee[data-continuous-marquee]:focus-within .home-showcase-marquee-track {
  animation-play-state: paused;
}
.home-showcase-marquee-item {
  display: inline-flex;
  align-items: center;
  height: 100%;
  gap: 6px;
  padding: 0 16px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.home-showcase-marquee-link {
  pointer-events: auto;
}
.home-showcase-marquee-link:hover b,
.home-showcase-marquee-link:focus-visible b {
  text-decoration: underline;
}
.home-showcase-marquee-item img,
.home-showcase-marquee-logo-fallback {
  width: clamp(14px, calc(var(--home-showcase-banner-height) - 10px), 20px);
  height: clamp(14px, calc(var(--home-showcase-banner-height) - 10px), 20px);
  border-radius: 50%;
  flex: 0 0 auto;
}
.home-showcase-marquee-item img {
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.54);
}
.home-showcase-marquee-logo-fallback {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.54);
  background: rgba(255,255,255,.18);
  font-size: .75rem;
  font-weight: 900;
}
.home-showcase-marquee-item b {
  display: block;
  font-size: clamp(.72rem, 0.95vw, .86rem);
  font-weight: 900;
  line-height: 1.1;
}
@keyframes home-showcase-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.home-showcase-empty {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: clamp(220px, 24vw, 320px);
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(20,35,31,.08);
}
.home-showcase-empty h2,
.home-showcase-empty p {
  margin: 0;
}
.home-showcase-empty h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  color: var(--brand-dark);
}
.home-showcase-empty p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}
.search-box.surface { max-width: none; background: white; padding: 14px; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }

.section { padding: 42px clamp(18px, 5vw, 72px); }
.section.compact { padding-bottom: 10px; }
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-heading h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; letter-spacing: 0; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 18px;
}
.promoted-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.business-card, .surface, .auth-card, .contact-panel, .list-panel, .stats-grid > div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(20,35,31,.06);
}
.business-card {
  display: grid;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.business-card:hover {
  border-color: rgba(15, 123, 99, .34);
  box-shadow: 0 18px 38px rgba(20,35,31,.12);
  transform: translateY(-3px);
}
.promoted-business-card {
  border-color: #f2b84b;
  background: #fffaf0;
}
.business-card-media {
  position: relative;
  display: block;
  min-height: 190px;
  overflow: hidden;
  background: #dfe9e4;
}
.business-card-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 56%;
  background: linear-gradient(180deg, rgba(23, 33, 31, 0), rgba(23, 33, 31, .54));
  pointer-events: none;
}
.business-card img, .placeholder-image { width: 100%; height: 190px; object-fit: cover; }
.business-card img {
  transition: transform 220ms ease;
}
.business-card:hover img {
  transform: scale(1.04);
}
.business-card-logo-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 22px rgba(20,35,31,.18);
}
.business-card .business-card-logo-badge img,
.business-card .business-card-body-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: none;
  transform: none;
}
.business-card:hover .business-card-logo-badge img,
.business-card:hover .business-card-body-logo {
  transform: none;
}
.placeholder-image {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dfe9e4, #fff3d6);
  color: var(--brand-dark);
  font-size: 4rem;
  font-weight: 800;
}
.business-card-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  max-width: calc(100% - 28px);
  overflow: hidden;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 999px;
  background: rgba(255,255,255,.93);
  color: var(--brand-dark);
  font-size: .76rem;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.card-body { padding: 16px; }
.business-card .card-body {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 18px;
}
.business-card-title-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.business-card-title-row.no-logo {
  grid-template-columns: minmax(0, 1fr);
}
.business-card-body-logo {
  width: 42px !important;
  height: 42px !important;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}
.business-card-title-row h3 {
  min-width: 0;
}
.business-card h3 {
  margin: 0;
  font-size: 18px;
}
.business-card-category {
  width: fit-content;
  margin: 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e8f4ef;
  color: var(--brand-dark);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}
.business-card-description {
  display: -webkit-box;
  min-height: 2.8em;
  margin: 0;
  overflow: hidden;
  color: #40504c;
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.welcome-business-card {
  max-width: 700px;
}
.welcome-business-card .business-card-media {
  min-height: 200px;
}
.welcome-business-card .business-card-media img,
.welcome-business-card .placeholder-image {
  height: 200px;
}
.welcome-business-card .content-video {
  height: 200px;
  aspect-ratio: auto;
}
.welcome-card-description {
  min-height: 0;
  -webkit-line-clamp: 4;
}
.sub-page-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 360px;
  margin-bottom: 18px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}
.lead-copy {
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 700;
}
.sponsored-strip {
  padding-bottom: 18px;
}
.sponsored-strip .section-heading {
  margin-bottom: 12px;
}
.sponsored-marquee {
  overflow: hidden;
}
.sponsored-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 14px;
  padding: 14px;
}
.sponsored-card {
  overflow: hidden;
}
.sponsored-card.is-hidden {
  display: none;
}
.sponsored-card a {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  min-height: 118px;
  color: inherit;
}
.sponsored-card img {
  width: 108px;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.sponsored-card-placeholder {
  display: grid;
  place-items: center;
  width: 108px;
  height: 100%;
  min-height: 118px;
  border-radius: 8px;
  background: #dfe9e4;
  color: var(--brand-dark);
  font-size: 2rem;
  font-weight: 900;
}
.sponsored-card-logo {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 38px !important;
  height: 38px !important;
  padding: 3px;
  border: 2px solid #fff;
  border-radius: 50% !important;
  background: #fff;
  object-fit: contain !important;
  box-shadow: 0 8px 18px rgba(20,35,31,.18);
}
.sponsored-card span {
  display: grid;
  gap: 5px;
  align-content: center;
  min-width: 0;
  padding: 12px;
}
.sponsored-card small {
  color: #9a5d00;
  font-size: .72rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}
.sponsored-card strong {
  color: var(--brand-dark);
  line-height: 1.2;
}
.sponsored-card em {
  overflow: hidden;
  color: var(--muted);
  display: -webkit-box;
  font-size: .9rem;
  font-style: normal;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.pill {
  display: inline-flex;
  border-radius: 999px;
  background: #e8f4ef;
  color: var(--brand-dark);
  padding: 4px 10px;
  font-size: .78rem;
  font-weight: 800;
}
.welcome-pill {
  background: #fff3d6;
  color: #875000;
  margin-right: 6px;
}
.text-link, .section-heading a { color: var(--brand); font-weight: 800; }
.linked-content-link {
  color: #0b63ce;
  font-weight: 800;
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.linked-content-link:hover {
  color: #084b9c;
}
.rich-content {
  color: inherit;
  font-size: 14px;
  line-height: 1.55;
}
.rich-content p,
.rich-content ul,
.rich-content ol,
.rich-content blockquote {
  margin: 0 0 10px;
}
.rich-content p:last-child,
.rich-content ul:last-child,
.rich-content ol:last-child,
.rich-content blockquote:last-child {
  margin-bottom: 0;
}
.rich-content ul,
.rich-content ol {
  padding-left: 22px;
}
.rich-content blockquote {
  padding-left: 12px;
  border-left: 4px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}
.rich-content a {
  color: #0b63ce;
  font-weight: 800;
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.rich-editor-label {
  gap: 8px;
}
.rich-editor {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.rich-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfa;
}
.rich-editor-toolbar button {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-size: .86rem;
  box-shadow: none;
}
.rich-editor-toolbar button:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}
.rich-editor-surface {
  display: block;
  min-height: 220px;
  padding: 14px;
  color: var(--ink);
  font-weight: 500;
  outline: 0;
}
.rich-editor-surface:focus {
  box-shadow: inset 0 0 0 3px rgba(15, 123, 99, .12);
}
.rich-editor-surface.is-invalid {
  box-shadow: inset 0 0 0 3px rgba(217, 79, 61, .24);
}
.rich-editor-input {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.text-button {
  display: inline;
  padding: 0;
  margin-left: 6px;
  background: transparent;
  color: var(--brand);
  font-weight: 800;
  border: 0;
}
.category-list { display: flex; flex-wrap: wrap; gap: 10px; }
.category-list a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; font-weight: 800; }
.category-list a.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.news-home-section {
  background: #eef6f2;
  box-shadow: 0 0 0 100vmax #eef6f2;
  clip-path: inset(0 -100vmax);
}
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 16px;
}
.news-card {
  display: grid;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(20,35,31,.07);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.news-card:hover {
  box-shadow: 0 18px 38px rgba(20,35,31,.12);
  transform: translateY(-3px);
}
.news-card-media {
  display: block;
  min-height: 150px;
  background: linear-gradient(135deg, #0f7b63, #f2b84b);
}
.news-card-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.news-card-media span {
  display: grid;
  place-items: center;
  height: 150px;
  color: white;
  font-size: 3rem;
  font-weight: 900;
}
.news-card-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}
.news-card-category {
  margin: 0;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}
.news-card h3 {
  margin: 0;
  font-size: 18px;
}
.news-card h3 a:hover {
  color: var(--brand);
}
.news-card-body > p:not(.news-card-category) {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.news-card small {
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
}
.kids-home-section {
  background: #fff7e8;
  box-shadow: 0 0 0 100vmax #fff7e8;
  clip-path: inset(0 -100vmax);
}
.kids-story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 16px;
}
.kids-story-card {
  display: grid;
  overflow: hidden;
  background: white;
  border: 1px solid #ffe0a3;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(78, 48, 5, .08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.kids-story-card:hover {
  box-shadow: 0 18px 38px rgba(78, 48, 5, .14);
  transform: translateY(-3px);
}
.kids-story-media {
  display: block;
  min-height: 150px;
  background: linear-gradient(135deg, #ffb703, #219ebc);
}
.kids-story-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.kids-story-media span {
  display: grid;
  place-items: center;
  height: 150px;
  color: white;
  font-size: 3rem;
  font-weight: 900;
}
.kids-story-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}
.kids-story-body p {
  width: fit-content;
  margin: 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e9f7ef;
  color: #075642;
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}
.kids-story-body h3 {
  margin: 0;
  font-size: 18px;
}
.kids-story-body h3 a:hover {
  color: #fb8500;
}
.kids-story-body small {
  color: #875000;
  font-size: 14px;
  font-weight: 900;
}
.article-classification { margin-bottom: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.list-panel { overflow: hidden; }
.list-item { display: block; padding: 16px; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.list-item span { display: block; color: var(--muted); font-size: .92rem; }
.media-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.media-item:last-child { border-bottom: 0; }
.media-item img {
  width: 132px;
  height: 92px;
  object-fit: cover;
  border-radius: 6px;
}
.media-copy { display: grid; gap: 4px; }
.media-copy strong { line-height: 1.25; }
.media-copy small, .content-card small { color: var(--muted); font-weight: 700; }
.post-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 14px;
}
.post-feed-grid .media-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(20,35,31,.06);
}
.home-main-content .post-feed-grid .media-copy strong {
  font-size: 18px;
  line-height: 1.28;
}
.home-main-content .post-feed-grid .media-copy small {
  font-size: 14px;
  line-height: 1.45;
}
.business-main-content .post-feed-grid .media-item {
  grid-template-columns: 156px minmax(0, 1fr);
}
.business-main-content .post-feed-grid .media-item img {
  width: 156px;
  height: 108px;
}
.business-main-content .post-feed-grid .media-copy strong {
  font-size: 1.05rem;
  line-height: 1.28;
}
.post-feed-grid .media-item.sponsored-feed-item,
.sponsored-feed-item {
  border-color: #f2b84b;
  background: #fffaf0;
}
.empty, .notice, .alert { background: white; border-left: 4px solid var(--brand); padding: 14px; border-radius: 6px; }
.alert { border-color: var(--accent); }

.business-hero {
  position: relative;
  height: clamp(160px, 21vw, 260px);
  background: #18342d;
  overflow: hidden;
}
.business-hero-empty {
  height: clamp(104px, 12vw, 150px);
  background: linear-gradient(135deg, #18342d, #0f7b63);
}
.business-hero a {
  display: block;
  width: 100%;
  height: 100%;
}
.business-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.business-hero-advert {
  position: absolute;
  top: clamp(10px, 2.2vw, 22px);
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 5vw, 72px);
  z-index: 2;
  display: grid;
  pointer-events: none;
}
.business-hero-advert .directory-advert-zone {
  padding: 0;
  background: transparent;
  border: 0;
}
.business-hero-advert .directory-advert {
  justify-self: center;
  width: min(1120px, 100%);
  pointer-events: auto;
}
.business-hero-advert .directory-advert img {
  width: 100%;
  max-height: clamp(72px, 9vw, 132px);
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.86);
  box-shadow: 0 14px 34px rgba(20,35,31,.24);
}
.business-hero-advert .directory-advert-title {
  position: absolute;
  bottom: 0;
  left: 100%;
  display: block;
  min-width: max-content;
  padding: 7px 16px;
  color: #fff;
  background: rgba(20, 35, 31, .76);
  border-radius: 0 8px 0 0;
  font-size: clamp(12px, 1.6vw, 18px);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  animation: advert-title-slide 12s linear infinite;
}
@keyframes advert-title-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - min(1120px, 100vw)));
  }
}
.business-profile-heading {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(190px, 320px);
  align-items: start;
  gap: 10px;
  width: calc(100% - (clamp(18px, 5vw, 72px) * 2));
  max-width: 1440px;
  margin: -50px auto 0;
  padding: clamp(12px, 1.6vw, 18px);
  position: relative;
  z-index: 2;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.business-profile-heading > div {
  min-width: 0;
}
.business-header-subpage-links {
  justify-self: end;
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  width: 100%;
  min-width: 0;
  max-width: 420px;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.business-header-subpage-links::-webkit-scrollbar {
  display: none;
}
.business-header-subpage-links a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  max-width: 100%;
  padding: 5px 10px;
  border: 0;
  border-radius: 6px;
  background: #f8fbfa;
  color: var(--brand-dark);
  font-size: clamp(.7rem, .95vw, .8rem);
  font-weight: 900;
  line-height: 1.12;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.business-header-subpage-links a:hover,
.business-header-subpage-links a.active {
  background: #e8f4ef;
  color: var(--brand);
}
.business-mobile-action-links {
  display: none;
}
.business-mobile-action-links a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 6px;
  background: #f8fbfa;
  color: var(--brand-dark);
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.12;
  text-decoration: none;
  white-space: nowrap;
}
.business-mobile-action-links a.active,
.business-mobile-action-links a:hover {
  background: #e8f4ef;
  color: var(--brand);
}
.business-profile-heading h1 {
  margin: 0 0 2px;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}
.business-profile-heading h1 a:hover,
.business-card h3 a:hover { color: var(--brand); }
.business-profile-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 820px;
  font-size: 1rem;
  line-height: 1.35;
}
.business-profile-summary {
  display: block;
  max-width: 640px;
  margin-bottom: 4px;
  overflow: hidden;
}
.business-profile-learn-more {
  display: inline;
  width: auto;
  margin: 0 0 0 4px;
  padding: 0;
  vertical-align: baseline;
}
.verified-badge {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: 8px;
  border-radius: 50%;
  background: #1d9bf0;
  color: white;
  font-size: .85rem;
  font-weight: 900;
  vertical-align: middle;
}
.verified-badge.small {
  width: 18px;
  height: 18px;
  font-size: .68rem;
}
.business-profile-heading .business-tag-name,
.business-tag-name {
  margin: -2px 0 3px;
  color: var(--brand);
  font-weight: 900;
}
.business-card .business-tag-name {
  margin: -4px 0 0;
  font-size: .92rem;
}
.business-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 2px 0;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}
.business-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f5f8f6;
  border: 1px solid var(--line);
}
.business-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--brand-dark);
  color: white;
  font-weight: 900;
}
.business-card-action:hover {
  background: var(--brand);
}
.business-card-action span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
}
td .business-tag-name {
  display: block;
  margin: 2px 0 0;
  font-size: .9rem;
}
.business-follow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}
.business-follow-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fbfa;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.1;
}
.business-follow-row form { margin: 0; }
.business-follow-row button,
.business-follow-row .button {
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: clamp(.7rem, .95vw, .78rem);
  line-height: 1.1;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.business-follow-row .business-kchat-button {
  background: #f28c28;
  color: #fff;
}
.business-follow-row .business-kchat-button:hover {
  background: #d96f10;
}
.business-mobile-kchat-fab {
  display: none;
}
.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #edf2f0;
  color: var(--ink);
  font-size: clamp(.7rem, .95vw, .78rem);
  font-weight: 900;
  line-height: 1.1;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.share-button:hover {
  background: #dfe8e4;
  color: var(--brand-dark);
}
.business-share-button {
  min-height: 26px;
}
.share-menu {
  position: relative;
  display: inline-flex;
}
.share-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: none;
  min-width: 170px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}
.share-menu.is-open .share-menu-panel {
  display: grid;
}
.share-menu-panel[hidden] {
  display: none !important;
}
.share-menu-panel a,
.share-menu-panel button {
  width: 100%;
  padding: 10px 13px;
  border-radius: 0;
  background: white;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 900;
  text-align: left;
}
.share-menu-panel a::before,
.share-menu-panel button::before {
  display: inline-block;
  width: 1.35em;
  color: var(--brand);
  font-weight: 900;
}
.share-menu-panel [data-share-app="facebook"]::before { content: "f"; }
.share-menu-panel [data-share-app="linkedin"]::before { content: "in"; }
.share-menu-panel [data-share-app="whatsapp"]::before { content: "wa"; }
.share-menu-panel [data-share-app="email"]::before { content: "@"; }
.share-menu-panel [data-share-app="copy"]::before { content: "#"; }
.share-menu-panel a:hover,
.share-menu-panel button:hover {
  background: #edf4f1;
  color: var(--brand-dark);
}
.business-logo-link { display: block; }
.business-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 8px;
  border: 4px solid white;
  box-shadow: 0 10px 25px rgba(20,35,31,.16);
  background: white;
}
.business-action-bar {
  position: sticky;
  top: 76px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 8px;
  width: calc(100% - (clamp(18px, 5vw, 72px) * 2));
  max-width: 1440px;
  margin: 14px auto 0;
  padding: 10px clamp(12px, 2vw, 18px);
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 26px rgba(20,35,31,.08);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.business-action-bar::-webkit-scrollbar {
  display: none;
}
.business-action-bar a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size: clamp(.76rem, 1.1vw, .9rem);
  font-weight: 900;
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.business-action-bar a:hover,
.business-action-bar a.active {
  border-color: rgba(15,123,99,.18);
  background: #e8f4ef;
  color: var(--brand-dark);
}
.business-action-bar .business-action-primary {
  background: #f28c28;
  color: #fff;
  box-shadow: 0 10px 22px rgba(242, 140, 40, .20);
}
.business-action-bar .business-action-primary:hover {
  border-color: #d96f10;
  background: #d96f10;
  color: #fff;
}
.business-tab-menu {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  overflow-x: auto;
}
.business-tab-menu a {
  flex: 0 0 auto;
  padding: 8px 4px;
  border-radius: 0;
  color: var(--brand-dark);
  font-weight: 900;
  background: transparent;
  border: 0;
}
.business-tab-menu a:hover,
.business-tab-menu a.active {
  background: transparent;
  color: var(--brand);
}
.business-content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 25vw, 400px);
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px) 0;
  max-width: 1440px;
  margin: 0 auto;
}
.business-content-shell.has-subpage-menu {
  grid-template-columns: minmax(94px, 116px) minmax(0, 1fr) clamp(300px, 25vw, 400px);
}
.business-content-shell.has-subpage-menu.is-subpage-menu-hidden {
  grid-template-columns: 54px minmax(0, 1fr) clamp(300px, 25vw, 400px);
}
.business-subpage-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 10px;
  padding-top: 42px;
}
.business-subpage-toggle {
  display: grid;
  justify-items: center;
  gap: 5px;
  width: 100%;
  min-height: 58px;
  padding: 8px 6px;
  border: 1px solid rgba(15,123,99,.24);
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(15,123,99,.18);
}
.business-subpage-toggle span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  font-size: 1rem;
  line-height: 1;
}
.business-subpage-toggle strong {
  font-size: .75rem;
  line-height: 1;
}
.business-page-dropdown {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(20,35,31,.06);
}
.business-page-dropdown summary {
  display: block;
  padding: 10px 9px;
  background: #e8f4ef;
  color: var(--brand-dark);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  list-style: none;
  text-align: center;
}
.business-page-dropdown summary::-webkit-details-marker {
  display: none;
}
.business-page-dropdown summary::after {
  content: "+";
  display: block;
  margin-top: 4px;
  font-size: .9rem;
}
.business-page-dropdown[open] summary::after {
  content: "-";
}
.business-page-dropdown div {
  display: grid;
  gap: 3px;
  padding: 7px;
}
.business-page-dropdown a {
  display: block;
  overflow: hidden;
  padding: 8px 7px;
  border-radius: 6px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: left;
  text-overflow: ellipsis;
}
.business-page-dropdown a:hover,
.business-page-dropdown a.active {
  background: #e8f4ef;
  color: var(--brand);
}
.business-subpage-sidebar > a {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 8px 20px rgba(20,35,31,.06);
  text-align: center;
}
.business-subpage-sidebar > a:hover,
.business-subpage-sidebar > a.active {
  border-color: rgba(15,123,99,.32);
  background: #e8f4ef;
  color: var(--brand);
}
.business-subpage-sidebar > a span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-dark);
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1;
}
.business-subpage-sidebar > a.active span {
  background: var(--brand);
}
.business-subpage-sidebar > a strong {
  display: -webkit-box;
  overflow: hidden;
  max-width: 100%;
  color: inherit;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.18;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.business-content-shell.is-subpage-menu-hidden .business-subpage-sidebar > a {
  display: none;
}
.business-content-shell.is-subpage-menu-hidden .business-subpage-toggle {
  min-height: 54px;
}
.business-content-shell.is-subpage-menu-hidden .business-subpage-toggle strong {
  display: none;
}
.home-content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 25vw, 400px);
  gap: 24px;
  padding: 0 clamp(18px, 5vw, 72px);
  max-width: 1440px;
  margin: 0 auto;
}
.home-main-content { min-width: 0; }
.home-main-content .section { padding-left: 0; padding-right: 0; }
.home-ad-sidebar {
  min-width: 0;
  padding-top: 42px;
}
.site-settings-button {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 16px 10px 12px;
  border: 1px solid rgba(7, 86, 66, .18);
  border-radius: 999px;
  background: white;
  color: var(--brand-dark);
  box-shadow: 0 14px 34px rgba(20, 35, 31, .18);
  font-weight: 900;
}
.site-settings-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(20, 35, 31, .22);
}
.site-settings-button:focus-visible {
  outline: 4px solid rgba(15, 123, 99, .34);
  outline-offset: 4px;
}
.site-settings-button-icon {
  position: relative;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e8f4ef;
}
.site-settings-button-icon::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 3px solid var(--brand);
  border-radius: 50%;
  box-shadow:
    0 -9px 0 -5px var(--brand),
    0 9px 0 -5px var(--brand),
    9px 0 0 -5px var(--brand),
    -9px 0 0 -5px var(--brand);
}
.site-chat-button .site-settings-button-icon::before {
  width: 16px;
  height: 12px;
  border: 3px solid var(--brand);
  border-radius: 8px;
  box-shadow: none;
}
.site-chat-button .site-settings-button-icon::after {
  content: "";
  position: absolute;
  left: 9px;
  bottom: 6px;
  width: 7px;
  height: 7px;
  border-left: 3px solid var(--brand);
  border-bottom: 3px solid var(--brand);
  transform: skew(-18deg);
}
.site-settings-button strong {
  line-height: 1;
}
.business-main-content { min-width: 0; }
.business-main-content > .section { padding: 24px 0 42px; }
.business-ad-sidebar {
  position: sticky;
  top: 86px;
  align-self: start;
  display: grid;
  gap: 14px;
  padding-top: 28px;
}
.ad-sidebar-title {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
}
.ad-card {
  display: grid;
  gap: 9px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(20,35,31,.06);
}
.ad-card h3,
.ad-card p { margin: 0; }
.ad-card p { color: var(--muted); font-size: .94rem; }
.ad-card a,
.ad-card[href] { color: inherit; }
.ad-card > a,
.ad-card[href] strong { color: var(--brand-dark); }
.ad-card > a {
  color: var(--brand);
  font-weight: 900;
}
.ad-label {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.ad-media-card {
  padding: 0;
  overflow: hidden;
}
.ad-media-wrap {
  position: relative;
  display: block;
}
.ad-media-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  object-position: center;
}
.ad-media-card .ad-card-logo {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 46px;
  height: 46px;
  padding: 4px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 8px 18px rgba(20,35,31,.18);
}
.ad-media-card .ad-label,
.ad-media-card strong,
.ad-media-card p {
  padding-left: 14px;
  padding-right: 14px;
}
.ad-business-heading {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 12px 14px 0;
}
.ad-business-heading strong {
  padding: 0;
}
.ad-media-card .ad-business-logo,
.ad-business-logo-fallback {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f8fbfa;
}
.ad-media-card .ad-business-logo {
  object-fit: contain;
  padding: 3px;
}
.ad-business-logo-fallback {
  display: grid;
  place-items: center;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 900;
}
.ad-media-card strong {
  line-height: 1.25;
}
.ad-media-card p { padding-bottom: 14px; }
.paid-ad-card {
  border-color: #f2b84b;
  box-shadow: 0 16px 36px rgba(242,184,75,.18);
}
.paid-ad-card .ad-label {
  padding-top: 12px;
  color: #9a5d00;
}
.general-ad {
  background: #18342d;
  color: white;
  border-color: #18342d;
}
.general-ad p { color: rgba(255,255,255,.78); }
.general-ad a { color: var(--gold); }
.business-layout article, .contact-panel {
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 8px;
}
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.quick-links a {
  padding: 10px 13px;
  border-radius: 6px;
  background: #e8f4ef;
  color: var(--brand-dark);
  font-weight: 800;
}
.contact-panel { display: grid; gap: 10px; }
.contact-panel a { color: var(--brand); font-weight: 800; }
.contact-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: stretch;
}
.contact-page-panel {
  padding: 22px;
}
.contact-page-panel p,
.contact-page-panel a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.contact-page-panel a:hover {
  background: #e8f4ef;
  border-color: #b8d8cd;
  transform: translateY(-1px);
}
.contact-icon {
  display: grid;
  place-items: center;
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff !important;
  font-size: .78rem;
  font-weight: 900;
}
.contact-page-panel strong { color: var(--ink); }
.contact-page-panel span { color: var(--muted); font-weight: 700; overflow-wrap: anywhere; }
.business-map-embed {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 26px rgba(20,35,31,.07);
}
.business-map-embed iframe {
  display: block;
  width: 100%;
  min-height: 340px;
  border: 0;
}
.business-map-action {
  display: block;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  color: var(--brand);
  font-weight: 900;
  text-align: center;
}
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.gallery-grid figure { margin: 0; background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.gallery-grid figcaption { padding: 10px; color: var(--muted); font-weight: 700; }
.gallery-folder-board {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}
.gallery-folder {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}
.gallery-drop-zone {
  min-height: 110px;
  padding: 10px;
  border: 1px dashed transparent;
  border-radius: 8px;
}
.gallery-drop-zone.is-over {
  border-color: var(--brand);
  background: #eef8f4;
}
.gallery-photo-card {
  display: grid;
  gap: 8px;
  cursor: grab;
}
.gallery-photo-card.is-dragging {
  opacity: .55;
}
.gallery-photo-card form {
  display: grid;
  gap: 8px;
  padding: 0 10px 10px;
}
.gallery-move-form {
  border-top: 1px solid var(--line);
  padding-top: 10px !important;
}
.content-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(20,35,31,.05);
}
.content-card > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.content-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  background: #111;
}
.content-card > div { padding: 16px; }
.content-card h3 {
  margin-top: 10px;
  font-size: 18px;
}
.content-card p {
  margin-bottom: 0;
  font-size: 14px;
}
.single-post-shell {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) clamp(380px, 31vw, 520px);
  padding-top: 34px;
  padding-bottom: 48px;
}
.single-post {
  min-width: 0;
  max-width: 980px;
}
.single-post-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0 0 12px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 800;
}
.single-post-breadcrumb a {
  color: var(--brand);
}
.single-post-header {
  display: grid;
  gap: 12px;
  padding: 22px;
}
.single-post-header h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
}
.single-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.single-post-excerpt {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 700;
}
.single-post-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 620px;
  object-fit: cover;
  object-position: center;
}
.single-post-slider {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 620px;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 10px 30px rgba(20,35,31,.08);
}
.single-post-slider-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: postImageSlide var(--post-slide-duration, 30s) linear infinite;
}
.single-post-slider img {
  flex: 0 0 auto;
  width: min(78vw, 820px);
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.single-post-slider:hover .single-post-slider-track {
  animation-play-state: paused;
}
@keyframes postImageSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.single-post-video {
  aspect-ratio: 16 / 9;
}
.single-post-watch {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.single-post-watch > .single-post-image,
.single-post-watch > .single-post-video {
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 10px 30px rgba(20,35,31,.08);
}
.single-post-watch-content {
  display: grid;
  gap: 16px;
  padding: 16px 0 0;
}
.single-post-watch-content h1 {
  margin: 0;
  color: #0f0f0f;
  font-size: clamp(1.35rem, 2.3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.12;
}
.single-post-channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.single-post-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.single-post-channel img,
.single-post-channel > span:first-child {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--brand-dark);
  color: white;
}
.single-post-channel > span:first-child {
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1rem;
}
.single-post-channel strong {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #111;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 900;
  line-height: 1.15;
}
.single-post-channel small {
  display: block;
  color: #606060;
  font-size: 1rem;
  font-weight: 700;
}
.single-post-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.single-post-follow-form {
  margin: 0;
}
.single-post-follow-form button,
.single-post-follow-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: #0f0f0f;
  color: white;
  font-size: 1rem;
  font-weight: 900;
}
.single-post-follow-link.is-muted {
  border: 1px solid var(--line);
  background: #f8fbfa;
  color: var(--brand-dark);
}
.single-post-follow-form button:hover,
.single-post-follow-link:hover {
  background: #272727;
}
.single-post-follow-link.is-muted:hover {
  background: #e8f4ef;
  color: var(--brand-dark);
}
.single-post-actions .share-button {
  min-height: 46px;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid rgba(15,123,99,.20);
  background: #e8f4ef;
  color: var(--brand-dark);
}
.single-post-actions .share-button:hover,
.single-post-actions .share-menu.is-open .share-button {
  background: var(--brand);
  color: #fff;
}
.single-post-share-button span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(15,123,99,.12);
}
.single-post-actions .share-button:hover span,
.single-post-actions .share-menu.is-open .share-button span {
  background: rgba(255,255,255,.20);
}
.single-post-description {
  display: grid;
  gap: 12px;
  margin-top: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(20,35,31,.05);
  color: var(--ink);
}
.single-post-description p {
  margin: 0;
}
.single-post-description .single-post-stats {
  font-weight: 900;
}
.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 12px;
}
.single-post-feedback {
  margin-top: 0;
}
.reaction-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.reaction-form button {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-dark);
  font-size: .86rem;
  font-weight: 900;
  box-shadow: none;
}
.reaction-form button:hover,
.reaction-form button.active {
  border-color: rgba(15, 123, 99, .35);
  background: #e8f4ef;
}
.reaction-form button span {
  color: var(--muted);
}
.review-jump-link {
  color: var(--brand-dark);
  font-size: .9rem;
  font-weight: 900;
}
.single-post-body {
  padding: 0;
}
.single-post-body.is-collapsed {
  position: relative;
  max-height: 12em;
  overflow: hidden;
}
.single-post-body.is-collapsed::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 52px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
  pointer-events: none;
}
.single-post-body p {
  max-width: 820px;
  margin: 0 0 10px;
  color: #2d3936;
  font-size: 1rem;
  line-height: 1.65;
}
.single-post-body p:last-child { margin-bottom: 0; }
.single-post-read-more {
  justify-self: start;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fbfa;
  color: var(--brand-dark);
  font-weight: 900;
}
.single-post-read-more:hover {
  color: var(--brand);
}
.single-post > .quick-links {
  padding: 12px 0 0;
}
.single-post-comments {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.single-post-comments .section-heading {
  margin-bottom: 0;
}
.single-post-comments .section-heading span {
  color: var(--muted);
  font-weight: 900;
}
.comment-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.comment-form textarea {
  resize: vertical;
}
.comment-form button {
  justify-self: start;
}
.feedback-section {
  display: grid;
  gap: 16px;
}
.review-form {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(140px, .65fr) auto;
  align-items: end;
  gap: 12px;
  padding: 16px;
  box-shadow: none;
}
.review-form .wide {
  grid-column: 1 / -1;
}
.review-list {
  display: grid;
  gap: 12px;
}
.review-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.review-card p {
  margin: 0;
}
.review-card .rating-row {
  margin-bottom: 6px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0;
}
.review-card .rating-row span {
  color: var(--muted);
  font-size: .9rem;
}
.comment-list {
  display: grid;
  gap: 12px;
}
.comment-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.comment-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-dark);
  color: white;
  font-weight: 900;
  text-transform: uppercase;
}
.comment-card p {
  margin: 0;
}
.comment-card .comment-meta {
  margin-bottom: 5px;
}
.comment-meta span {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
}
.single-post-sidebar h2 {
  margin: 0;
  font-size: 1.08rem;
}
.single-post-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
}
.post-business-card {
  overflow: hidden;
  padding: 0;
}
.post-business-card img {
  width: 100%;
  height: clamp(190px, 15vw, 260px);
  object-fit: cover;
}
.post-business-card > :not(img) {
  margin-left: 20px;
  margin-right: 20px;
}
.post-business-card .ad-label {
  margin-top: 18px;
}
.post-business-card > h2 {
  display: none;
}
.post-business-title-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.post-business-title-row.no-logo {
  grid-template-columns: minmax(0, 1fr);
}
.post-business-card .post-business-logo {
  width: 58px;
  height: 58px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}
.post-business-title-row h2 {
  min-width: 0;
  font-size: 1.25rem;
}
.post-business-card .business-card-action {
  margin-bottom: 20px;
}
.related-post-card a {
  display: grid;
  gap: 3px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.related-post-card .sidebar-post-link {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.sidebar-post-link img {
  width: 112px;
  height: 82px;
  object-fit: cover;
  border-radius: 6px;
  background: #dfe9e4;
}
.sidebar-post-link span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.sidebar-post-link em {
  color: #9a5d00;
  font-size: .68rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}
.related-post-card a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.related-post-card small {
  color: var(--muted);
  font-weight: 800;
}
.promoted-sidebar-card {
  border-color: #f2b84b;
  background: #fffaf0;
}
.booking-panel-section {
  padding-top: 28px !important;
  padding-bottom: 10px !important;
}
.booking-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}
.booking-panel h2 {
  margin-bottom: 0;
}
.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.booking-form .wide {
  grid-column: 1 / -1;
}
.booking-form button {
  justify-self: start;
}
.booking-print-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}
.booking-print-panel .section-heading {
  margin-bottom: 0;
}
.booking-print-panel h3 {
  margin-bottom: 0;
}
.booking-print-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}
.booking-print-card p {
  display: grid;
  gap: 3px;
  margin: 0;
  color: var(--muted);
}
.booking-print-card strong {
  color: var(--ink);
}

.modal-open { overflow: hidden; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(10, 24, 20, .62);
}
.modal-backdrop[hidden] { display: none; }
.modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(760px, 88vh);
  overflow-y: auto;
  background: white;
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  background: #edf4f1;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
}

.auth-card { max-width: 460px; margin: 54px auto; padding: 26px; }
.auth-main-content .auth-card { margin-left: 0; margin-right: auto; }
.auth-card form, .form-grid { display: grid; gap: 16px; }
.auth-switch { margin: 18px 0 0; color: var(--muted); font-weight: 700; }
.auth-promoted-content {
  max-width: 980px;
  margin: 0 auto 42px;
  padding: 0 clamp(18px, 5vw, 72px);
}
.auth-promoted-content .business-ad-sidebar {
  position: static;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
  padding-top: 0;
}
.auth-promoted-content .ad-sidebar-title {
  grid-column: 1 / -1;
}
.auth-content-shell {
  display: grid;
  grid-template-columns: minmax(0, 70%) minmax(260px, 30%);
  gap: 24px;
  padding: 0 clamp(18px, 5vw, 72px);
}
.auth-main-content { min-width: 0; }
.auth-content-shell-centered .auth-card {
  margin-left: auto;
  margin-right: auto;
}
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.single { grid-template-columns: 1fr; }
.form-grid .wide { grid-column: 1 / -1; }
.form-inline { display: flex; gap: 10px; margin-bottom: 18px; }
.inline-action-form {
  display: inline-block;
  margin: 0 8px 0 0;
}
.settings-preview {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}
.settings-preview.logo-preview {
  width: 92px;
  height: 92px;
}
label small { color: var(--muted); font-weight: 600; }

.dashboard {
  display: grid;
  grid-template-columns: clamp(220px, 18vw, 280px) minmax(0, 1fr);
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
}
.dash-nav {
  position: sticky;
  top: 98px;
  align-self: start;
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 118px);
  overflow-y: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
.dash-nav a {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 40px;
  padding: 9px 11px;
  border-radius: 6px;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.dash-nav a.active,
.dash-nav a:hover {
  background: #e8f4ef;
  color: var(--brand-dark);
}
.dash-nav a.dashboard-kchat-link {
  justify-content: space-between;
  background: #f4faf7;
  color: var(--brand-dark);
}
.dash-nav a.dashboard-kchat-link:hover {
  background: #e8f4ef;
}
.dashboard-kchat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: .74rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.dashboard-sidebar {
  gap: 14px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(20,35,31,.06);
}
.dashboard-sidebar-heading {
  display: grid;
  gap: 2px;
  padding: 4px 4px 10px;
  border-bottom: 1px solid var(--line);
}
.dashboard-sidebar-heading span,
.dashboard-sidebar-group summary {
  color: var(--brand);
  font-size: .74rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}
.dashboard-sidebar-heading strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.15;
}
.dashboard-sidebar-group {
  display: grid;
  gap: 4px;
}
.dashboard-sidebar-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  overflow-wrap: anywhere;
}
.dashboard-sidebar-group summary::-webkit-details-marker {
  display: none;
}
.dashboard-sidebar-group summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f1f7f5;
  color: var(--brand-dark);
  font-size: .9rem;
  line-height: 1;
}
.dashboard-sidebar-group[open] summary {
  background: #f8fbfa;
  color: var(--brand-dark);
}
.dashboard-sidebar-group[open] summary::after {
  content: "-";
}
.dashboard-sidebar-group:not([open]) a {
  display: none;
}
.dash-content { min-width: 0; }
.dashboard > .dash-content:only-child { grid-column: 1 / -1; }
.dashboard-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.35fr);
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
  padding: 12px 12px 12px 14px;
  border: 1px solid #afd8ff;
  border-radius: 6px;
  background: #e8f6ff;
  box-shadow: 0 6px 16px rgba(19, 119, 199, .12);
}
.dashboard-welcome-copy {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.dashboard-welcome-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #34b8ee;
  color: #fff;
  font-size: 1.55rem;
  font-weight: 900;
  object-fit: cover;
  box-shadow: 0 0 0 1px #85cdf5;
}
.dashboard-welcome h1 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.15;
}
.dashboard-welcome p {
  margin: 3px 0 0;
  color: var(--muted);
  font-weight: 800;
}
.dashboard-welcome p strong {
  color: #0096d6;
}
.dashboard-week-card {
  justify-self: end;
  width: min(100%, 374px);
  padding: 14px;
  border: 1px solid #cfd8e6;
  border-radius: 8px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 3px 8px rgba(20,35,31,.08);
}
.dashboard-week-card > p {
  margin: 0 0 12px;
  color: #4a5568;
  font-size: .86rem;
  text-align: right;
}
.dashboard-week-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.dashboard-week-days span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 6px;
  color: #313946;
  font-weight: 900;
}
.dashboard-week-days small {
  font-size: .68rem;
  line-height: 1;
}
.dashboard-week-days b {
  font-size: .86rem;
  line-height: 1.15;
}
.dashboard-week-days span.active {
  background: #09a9e8;
  color: white;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 18px 0; }
.stats-grid > div { padding: 18px; }
.stats-grid strong { display: block; font-size: 1.7rem; }
.stats-grid span { color: var(--muted); }
.admin-dashboard {
  display: grid;
  gap: 22px;
}
.admin-dashboard > * {
  min-width: 0;
  max-width: 100%;
}
.admin-dashboard-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
}
.admin-dashboard-heading h1 {
  margin-bottom: 6px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.admin-dashboard-heading .lead-copy {
  max-width: 760px;
  margin: 0;
}
.admin-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.admin-kchat-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.admin-task-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.admin-task-card,
.admin-stats-grid a {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(20,35,31,.06);
}
.admin-task-card:hover,
.admin-stats-grid a:hover {
  border-color: rgba(15, 123, 99, .28);
  transform: translateY(-1px);
}
.admin-task-card span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-task-card strong {
  color: var(--brand-dark);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1;
}
.admin-task-card small {
  color: var(--muted);
  font-weight: 800;
}
.admin-task-card.urgent {
  border-color: rgba(217, 79, 61, .26);
  background: #fff8f6;
}
.admin-stats-grid {
  margin: 0;
}
.admin-stats-grid a strong {
  display: block;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1.05;
}
.admin-stats-grid a span {
  color: var(--muted);
  font-weight: 800;
}
.admin-dashboard-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.admin-review-panel {
  min-width: 0;
  padding: 18px;
}
.admin-review-panel .section-heading {
  margin-bottom: 12px;
}
.admin-review-list {
  display: grid;
  gap: 10px;
}
.admin-review-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}
.admin-review-item strong,
.admin-review-item span {
  display: block;
  min-width: 0;
}
.admin-review-item strong {
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.admin-review-item span {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
}
.table-wrap { overflow-x: auto; background: white; border: 1px solid var(--line); border-radius: 8px; margin: 16px 0 26px; }
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.settings-panel { padding: 22px; }
.admin-filter-form {
  align-items: end;
  margin: 18px 0 24px;
}
.admin-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.admin-page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.admin-page-heading .button {
  flex: 0 0 auto;
}
.menu-admin-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.menu-admin-summary .surface {
  padding: 18px;
}
.menu-admin-summary strong {
  display: block;
  color: var(--brand-dark);
  font-size: 1.5rem;
  line-height: 1.15;
}
.menu-admin-summary span {
  color: var(--muted);
  font-weight: 800;
}
.menu-admin-panel {
  padding: 18px;
}
.menu-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.menu-admin-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}
.menu-admin-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.menu-admin-card-heading > span {
  color: var(--brand-dark);
  font-weight: 900;
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 900;
}
.menu-toggle input {
  width: auto;
}
.staff-admin-form {
  padding: 18px;
  margin: 18px 0;
}
.staff-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin: 16px 0 26px;
}
.staff-admin-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
}
.staff-admin-card > img,
.staff-avatar-placeholder {
  width: 86px;
  height: 86px;
  border-radius: 8px;
  object-fit: cover;
}
.staff-avatar-placeholder {
  display: grid;
  place-items: center;
  background: #e8f4ef;
  color: var(--brand-dark);
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
}
.staff-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.staff-card-heading h3 {
  margin-bottom: 4px;
}
.staff-admin-card p {
  margin: 4px 0;
  color: var(--muted);
}
.staff-admin-card p strong {
  color: var(--ink);
}
.member-profile-summary {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px;
}
.member-profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
}
.member-profile-avatar.placeholder-image {
  font-size: 2.2rem;
}
.profile-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.profile-detail-grid p {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}
.profile-detail-grid strong {
  display: block;
  color: var(--ink);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.chat-dashboard .lead-copy {
  max-width: 760px;
  margin-top: 4px;
  color: var(--muted);
}
.chat-dashboard .admin-page-heading {
  align-items: flex-start;
  margin-bottom: 14px;
}
.chat-shell {
  display: grid;
  grid-template-columns: minmax(270px, 350px) minmax(0, 1fr);
  min-height: 620px;
  height: min(820px, calc(100vh - 170px));
  max-height: 820px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(20, 35, 31, .08);
}
.chat-contacts {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #f8fbfa;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.chat-contacts-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.chat-contacts-heading h2,
.chat-contacts-heading p {
  margin: 0;
}
.chat-contacts-heading h2 {
  font-size: 1rem;
}
.chat-contacts-heading p {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
}
.chat-refresh,
.chat-panel-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(15, 123, 99, .18);
  border-radius: 6px;
  background: #f8fbfa;
  color: var(--brand-dark);
  font-size: .84rem;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}
.chat-refresh:hover,
.chat-panel-refresh:hover {
  background: #e8f4ef;
  border-color: var(--brand);
}
.chat-mobile-back {
  display: none;
}
.chat-search {
  display: block;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfa;
}
.chat-search input {
  width: 100%;
  min-height: 40px;
  border-radius: 8px;
  background: white;
}
.chat-contact {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  transition: background .16s ease, box-shadow .16s ease;
}
.chat-contact:focus-visible {
  outline: 3px solid rgba(15, 123, 99, .25);
  outline-offset: -3px;
}
.chat-contact:hover,
.chat-contact.active {
  background: #e8f4ef;
}
.chat-contact.active {
  box-shadow: inset 4px 0 0 var(--brand);
}
.chat-contact img,
.chat-contact > span,
.chat-panel-heading img,
.chat-panel-heading > span {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  grid-row: 1 / span 2;
}
.chat-contact > span,
.chat-panel-heading > span {
  display: grid;
  place-items: center;
  background: var(--brand);
  color: white;
  font-weight: 900;
  text-transform: uppercase;
}
.chat-contact strong,
.chat-contact small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-contact small {
  color: var(--muted);
  font-weight: 700;
}
.chat-contact small b {
  color: var(--brand-dark);
}
.chat-contact em {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  align-self: center;
  grid-row: 1 / span 2;
  background: var(--accent);
  color: white;
  border-radius: 999px;
  font-style: normal;
  font-size: .78rem;
  font-weight: 900;
}
.chat-side-empty,
.chat-no-results {
  margin: 14px;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
}
.chat-side-empty strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}
.chat-side-empty .button {
  margin-top: 8px;
}
.chat-panel {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: white;
  overflow: hidden;
}
.chat-panel-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.chat-panel-heading h2,
.chat-panel-heading p {
  margin: 0;
}
.chat-panel-heading h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-panel-heading p {
  color: var(--muted);
  font-weight: 800;
}
.chat-messages {
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background:
    linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.72)),
    #f5f8f6;
}
.chat-message {
  width: fit-content;
  max-width: min(74%, 680px);
  padding: 12px 14px;
  border-radius: 8px 8px 8px 2px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 8px 18px rgba(20, 35, 31, .06);
}
.chat-message.sent {
  align-self: flex-end;
  border-radius: 8px 8px 2px 8px;
  background: #0f7b63;
  color: white;
  border-color: #0f7b63;
}
.chat-message p {
  margin: 0 0 6px;
  overflow-wrap: anywhere;
  white-space: normal;
}
.chat-attachment {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: min(100%, 260px);
  margin: 4px 0 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: inherit;
}
.chat-message.received .chat-attachment {
  border-color: var(--line);
  background: #f8fbfa;
}
.chat-attachment:hover {
  color: inherit;
  transform: translateY(-1px);
}
.chat-attachment.is-image {
  grid-template-columns: 1fr;
  padding: 6px;
}
.chat-attachment img {
  display: block;
  width: min(100%, 320px);
  max-height: 240px;
  object-fit: cover;
  border-radius: 8px;
}
.chat-attachment-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
}
.chat-message.sent .chat-attachment-icon {
  background: rgba(255, 255, 255, .18);
}
.chat-attachment strong,
.chat-attachment small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-attachment small {
  opacity: .72;
  font-size: .78rem;
  font-weight: 800;
}
.chat-message time {
  display: block;
  color: inherit;
  opacity: .72;
  font-size: .78rem;
  font-weight: 800;
}
.chat-thread-empty {
  align-self: center;
  width: min(100%, 360px);
  margin: auto 0;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: white;
  text-align: center;
  color: var(--muted);
}
.chat-thread-empty h3 {
  margin: 0 0 6px;
  color: var(--ink);
}
.chat-thread-empty p {
  margin: 0;
}
.chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: white;
}
.chat-compose-box {
  display: grid;
  gap: 6px;
}
.chat-compose textarea {
  min-height: 52px;
  max-height: 180px;
  resize: none;
  border-radius: 8px;
}
.chat-compose-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.chat-compose-tools > span {
  justify-self: end;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}
.chat-file-picker {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #f8fbfa;
  color: var(--muted);
  cursor: pointer;
}
.chat-upload-shell {
  position: relative;
  justify-self: start;
}
.chat-upload-toggle {
  display: inline-grid;
  place-items: center;
  min-width: 70px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
  color: var(--brand-dark);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}
.chat-upload-toggle:hover,
.chat-upload-toggle:focus,
.chat-upload-toggle[aria-expanded="true"] {
  background: #eef7f3;
  border-color: var(--brand);
}
.chat-upload-popover {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 8;
  width: min(82vw, 340px);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  box-shadow: 0 18px 38px rgba(20, 35, 31, .16);
}
.chat-upload-popover[hidden] {
  display: none;
}
.chat-file-picker:hover,
.chat-file-picker:focus-within,
.chat-file-picker.is-drag-over {
  border-color: var(--brand);
  background: #eef7f3;
}
.chat-file-picker.is-drag-over {
  border-style: solid;
  box-shadow: inset 0 0 0 2px rgba(15, 123, 99, .16);
}
.chat-file-picker input {
  max-width: 100%;
}
.chat-file-picker span {
  justify-self: start;
  color: var(--brand-dark);
  font-size: .9rem;
}
.chat-file-picker small {
  color: var(--muted);
  font-weight: 700;
}
.chat-compose button {
  min-width: 124px;
  min-height: 52px;
}
.chat-empty-state {
  display: grid;
  place-content: center;
  justify-items: center;
  min-height: 420px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
}
.chat-empty-state h2 {
  color: var(--ink);
}

.profile-detail-grid span {
  color: var(--muted);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.payment-modes-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}
.payment-modes-panel h2 { margin-bottom: 0; }
.payment-mode-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #f8fbfa;
}
.payment-mode-card h3 { margin-bottom: 8px; }
.payment-mode-card p { margin: 6px 0; color: var(--muted); }
.payment-link-button {
  margin-top: 6px;
}
.payment-embed-code {
  max-width: 100%;
  margin-top: 12px;
  overflow-x: auto;
}
.payment-embed-code iframe,
.payment-embed-code embed,
.payment-embed-code object {
  max-width: 100%;
}
.ad-review-panel { margin-bottom: 18px; }
.ad-review-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 12px;
}
.ad-review-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.ad-review-card p { margin: 7px 0; color: var(--muted); }
.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.proof-submit-form {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}
.proof-submit-form .wide,
.proof-submit-form .notice {
  grid-column: 1 / -1;
}
.proof-submit-form button {
  justify-self: start;
}
.admin-thumb {
  width: 90px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
}
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #edf4f1; }
td {
  overflow-wrap: anywhere;
}
td form { display: flex; flex-wrap: wrap; gap: 8px; }
.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.table-actions form { margin: 0; }
.table-actions .button,
.table-actions button {
  padding: 7px 10px;
  min-height: 32px;
  font-size: .82rem;
}
.compact-actions {
  min-width: 520px;
}
.compact-actions form {
  display: contents;
}
.compact-actions .button,
.compact-actions button {
  padding: 6px 9px;
  min-height: 30px;
  font-size: .78rem;
  line-height: 1.1;
  white-space: nowrap;
}
.pagination { display: flex; gap: 8px; margin-top: 22px; }
.pagination a { padding: 8px 12px; background: white; border: 1px solid var(--line); border-radius: 6px; }
.pagination a.active { background: var(--brand); color: white; }

.page-hero {
  padding-top: 44px;
  padding-bottom: 48px;
}
.page-hero h1 {
  max-width: 840px;
  font-size: clamp(2rem, 5vw, 4rem);
}
.info-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.contact-info-grid {
  align-items: stretch;
}
.info-page-panel {
  padding: clamp(20px, 3vw, 30px);
}
.info-page-panel h2 {
  color: var(--brand-dark);
}
.info-page-panel p {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 700;
}
.info-page-panel p:last-child {
  margin-bottom: 0;
}
.privacy-page .info-page-panel {
  max-width: 920px;
  margin: 0 auto;
}
.privacy-page .info-page-panel h2 {
  margin-top: 26px;
}
.site-footer { flex-shrink: 0; padding: 0 clamp(14px, 4vw, 36px); color: #eef7f4; border-top: 0; background: #182321; }
.site-footer-inner {
  display: grid;
  max-width: 1140px;
  margin: 0 auto;
}
.footer-network-links,
.site-footer-bottom {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr 1fr 1fr 1fr;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  min-height: 40px;
}
.footer-network-links {
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.footer-network-links a,
.footer-links a,
.footer-policy-link {
  color: #f4fbf8;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}
.footer-network-links a:hover,
.footer-links a:hover,
.footer-policy-link:hover {
  color: #8ed8c0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 2.8vw, 42px);
}
.site-footer-bottom {
  grid-template-columns: auto minmax(260px, 1fr) auto auto;
  color: #d8e4e0;
}
.site-footer p {
  margin: 0;
  color: #eef7f4;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.footer-social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.footer-social-links span {
  width: 9px;
  height: 9px;
  border: 1px solid #c9d8d3;
}
.footer-policy-link {
  color: #eef7f4;
}

@media (max-width: 1080px) {
  body {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }
  button.nav-toggle { display: none; }
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 58px;
    padding-top: 6px;
    padding-bottom: 6px;
    background: #ffffff;
    backdrop-filter: none;
  }
  .brand img {
    width: clamp(112px, 32vw, 168px);
    max-height: 46px;
  }
  .header-pill-search {
    grid-column: 2;
    min-height: 42px;
    grid-template-columns: minmax(0, 1fr) 48px;
  }
  .header-pill-search input {
    font-size: .95rem;
    padding: 0 14px;
  }
  .header-search-icon {
    width: 18px;
    height: 18px;
    border-width: 2.5px;
  }
  .header-search-icon::after {
    right: -6px;
    bottom: -5px;
    width: 10px;
    height: 2.5px;
  }
  .header-actions {
    grid-column: 3;
  }
  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 60;
    width: 100%;
    max-width: 100vw;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    min-width: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: white;
    box-shadow: 0 -10px 28px rgba(20,35,31,.12);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar {
    display: none;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    flex: 1 0 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    min-width: 66px;
    min-height: 54px;
    padding: 7px 6px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.1;
    text-align: center;
  }
  .site-nav .top-nav-link {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.07 0l2.83-2.83a5 5 0 0 0-7.07-7.07L11.5 4.43'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.07 0L4.1 13.83a5 5 0 0 0 7.07 7.07l1.33-1.33'/%3E%3C/svg%3E");
  }
  .site-nav .top-nav-link::before {
    content: "";
    display: block;
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    background: currentColor;
    -webkit-mask: var(--nav-icon) center / contain no-repeat;
    mask: var(--nav-icon) center / contain no-repeat;
  }
  .site-nav .top-nav-home {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5 10.5V20h5v-5h4v5h5v-9.5'/%3E%3C/svg%3E");
  }
  .site-nav .top-nav-business {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V7a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v14'/%3E%3Cpath d='M16 9h2a2 2 0 0 1 2 2v10'/%3E%3Cpath d='M8 9h4M8 13h4M8 17h4'/%3E%3C/svg%3E");
  }
  .site-nav .top-nav-search {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");
  }
  .site-nav .top-nav-news {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5V5a2 2 0 0 1 2-2h13v16.5a1.5 1.5 0 0 1-1.5 1.5H6a2 2 0 0 1-2-2Z'/%3E%3Cpath d='M8 7h7M8 11h8M8 15h5'/%3E%3C/svg%3E");
  }
  .site-nav .top-nav-kids {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H20v18H6.5A2.5 2.5 0 0 1 4 18.5v-13Z'/%3E%3Cpath d='M8 7h8M8 11h6'/%3E%3C/svg%3E");
  }
  .site-nav .top-nav-login {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpath d='m10 17 5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3C/svg%3E");
  }
  .site-nav .top-nav-add_page {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
  }
  .site-nav a:hover {
    background: #e8f4ef;
  }
  .site-nav .nav-cta {
    flex: 0 0 auto;
    min-width: 112px;
    padding: 10px 12px;
    color: #fff;
    font-size: 13px;
  }
  .site-nav .nav-cta::before {
    display: block;
  }
  .site-nav .nav-cta:hover {
    background: #d96f10;
  }
  .site-settings-button {
    left: 70vw;
    right: auto;
    top: 116px;
    bottom: auto;
    z-index: 70;
    width: 48px;
    min-height: 48px;
    justify-content: center;
    padding: 9px;
  }
  .site-settings-button strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .header-profile-menu {
    justify-content: flex-start;
    width: fit-content;
  }
  .header-profile-link {
    margin-left: 0;
  }
  .header-profile-panel {
    left: auto;
    right: 0;
    top: calc(100% + 8px);
    min-width: min(86vw, 280px);
    max-height: 72vh;
  }
  .header-profile-avatar,
  .header-profile-link {
    width: 34px;
    height: 34px;
  }
  .header-profile-panel a {
    padding: 11px 12px;
  }
  .hero-content {
    max-width: 900px;
  }
  .home-search-panel {
    max-width: none;
  }
  .home-quick-actions a {
    flex: 1 1 180px;
  }
  .sponsored-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kids-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-task-grid,
  .admin-dashboard-columns {
    grid-template-columns: 1fr 1fr;
  }
  .admin-dashboard-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-dashboard-actions {
    justify-content: flex-start;
  }
  .info-page-grid { grid-template-columns: 1fr; }
  .promoted-page-grid { grid-template-columns: 1fr; }
  .search-box, .split, .form-grid { grid-template-columns: 1fr; }
  .dashboard {
    grid-template-columns: clamp(190px, 26vw, 240px) minmax(0, 1fr);
    gap: 16px;
  }
  .dash-nav {
    position: sticky;
    top: 76px;
    max-height: calc(100vh - 92px);
  }
  .dashboard-sidebar {
    display: grid;
    gap: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 12px;
  }
  .dashboard-sidebar-heading {
    display: grid;
    align-content: start;
    padding: 2px 2px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .dashboard-sidebar-group {
    display: grid;
    gap: 4px;
  }
  .dashboard-sidebar-group a {
    min-height: 36px;
    padding: 8px 10px;
    font-size: .88rem;
  }
  .admin-page-heading {
    display: grid;
  }
  .admin-page-heading .button {
    justify-self: start;
  }
  .menu-admin-summary {
    grid-template-columns: 1fr;
  }
  .staff-admin-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .staff-admin-card > img,
  .staff-avatar-placeholder {
    width: 72px;
    height: 72px;
  }
  .booking-form { grid-template-columns: 1fr; }
  .review-form { grid-template-columns: 1fr; }
  .booking-form .wide { grid-column: auto; }
  .booking-print-card { grid-template-columns: 1fr; }
  .media-item { grid-template-columns: 96px minmax(0, 1fr); }
  .media-item img { width: 96px; height: 76px; }
  .business-main-content .post-feed-grid .media-item { grid-template-columns: 116px minmax(0, 1fr); }
  .business-main-content .post-feed-grid .media-item img { width: 116px; height: 86px; }
  .business-profile-heading {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 9px;
    width: calc(100% - (clamp(18px, 5vw, 72px) * 2));
    margin-top: -30px;
    padding: 11px;
  }
  .business-profile-heading h1 {
    font-size: clamp(1.15rem, 3.8vw, 1.55rem);
  }
  .business-profile-heading p {
    font-size: .95rem;
  }
  .business-tab-menu {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 4px;
  }
  .business-header-subpage-links {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
  }
  .business-logo { width: 82px; height: 82px; }
  .business-action-bar {
    top: 58px;
    width: calc(100% - (clamp(18px, 5vw, 72px) * 2));
    margin-top: 10px;
    padding: 8px;
  }
  .business-action-bar a {
    min-height: 36px;
    padding: 7px 10px;
    font-size: .88rem;
  }
  .business-tab-menu a { white-space: nowrap; }
  .business-content-shell {
    grid-template-columns: 1fr;
    padding: 10px clamp(18px, 5vw, 72px) 0;
  }
  .business-content-shell.has-subpage-menu {
    grid-template-columns: 1fr;
  }
  .business-content-shell.has-subpage-menu.is-subpage-menu-hidden {
    grid-template-columns: 1fr;
  }
  .business-subpage-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 8px;
    margin: 0 calc(clamp(18px, 5vw, 72px) * -1);
    padding: 14px clamp(18px, 5vw, 72px) 4px;
    -webkit-overflow-scrolling: touch;
  }
  .business-subpage-toggle {
    flex: 0 0 74px;
    width: auto;
    min-height: 84px;
  }
  .business-page-dropdown {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    bottom: calc(92px + env(safe-area-inset-bottom));
    z-index: 70;
    width: 54px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .business-page-dropdown[open] {
    width: min(230px, calc(100vw - 24px));
  }
  .business-page-dropdown summary {
    display: grid;
    place-items: center;
    width: 54px;
    min-height: 54px;
    padding: 0;
    border: 1px solid rgba(15,123,99,.24);
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 14px 30px rgba(20,35,31,.22);
    font-size: 0;
  }
  .business-page-dropdown summary::before {
    content: "☰";
    font-size: 1.35rem;
    line-height: 1;
  }
  .business-page-dropdown summary::after {
    display: none;
  }
  .business-page-dropdown summary::before {
    content: "Menu";
    font-size: .78rem;
    font-weight: 900;
  }
  .business-page-dropdown div {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    display: grid;
    width: min(230px, calc(100vw - 24px));
    max-height: min(54vh, 430px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(20,35,31,.20);
  }
  .business-page-dropdown:not([open]) div {
    display: none;
  }
  .business-page-dropdown a {
    padding: 11px 10px;
    font-size: .9rem;
    white-space: normal;
  }
  .business-subpage-sidebar > a {
    flex: 0 0 104px;
    min-height: 84px;
  }
  .business-content-shell.is-subpage-menu-hidden .business-subpage-toggle {
    min-height: 58px;
  }
  .home-content-shell {
    grid-template-columns: 1fr;
    padding: 0 clamp(18px, 5vw, 72px);
  }
  .home-ad-sidebar {
    padding-top: 0;
    padding-bottom: 34px;
  }
  .auth-content-shell {
    grid-template-columns: 1fr;
    padding: 0 clamp(18px, 5vw, 72px);
  }
  .contact-page-layout {
    grid-template-columns: 1fr;
  }
  .content-card > img,
  .content-card > .content-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .dashboard-welcome {
    grid-template-columns: 1fr;
  }
  .dashboard-week-card {
    justify-self: stretch;
    width: 100%;
  }
  .ad-review-card { grid-template-columns: 1fr; }
  .chat-shell {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .chat-contacts {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    max-height: min(340px, 38vh);
  }
  .chat-panel {
    min-height: min(620px, 72vh);
  }
  .chat-messages {
    min-height: 360px;
    max-height: 56vh;
  }
  .business-ad-sidebar {
    position: static;
    padding-top: 0;
    padding-bottom: 30px;
  }
  .single-post-shell {
    grid-template-columns: 1fr;
    padding-top: 22px;
  }
  .single-post-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .single-post-sidebar .contact-panel,
  .single-post-sidebar .related-post-card,
  .single-post-sidebar .promoted-sidebar-card {
    align-self: start;
  }
  .post-business-card {
    grid-column: 1 / -1;
  }
  .post-business-card img {
    height: clamp(220px, 34vw, 320px);
  }
  .single-post-header,
  .single-post-body {
    padding-left: 18px;
    padding-right: 18px;
  }
  .single-post-body {
    padding-left: 0;
    padding-right: 0;
  }
  .business-card h3,
  .content-card h3 {
    font-size: 16px;
  }
  .business-card-description,
  .content-card p,
  .rich-content {
    font-size: 12px;
  }
  .single-post-breadcrumb {
    padding-left: 18px;
    padding-right: 18px;
  }
  .single-post-channel-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .single-post-actions {
    justify-content: flex-start;
    width: 100%;
    margin-left: 0;
  }
  .single-post-follow-form,
  .single-post-follow-form button,
  .single-post-follow-link,
  .single-post-actions .share-menu,
  .single-post-actions .share-button {
    width: 100%;
  }
  .single-post-description {
    padding: 14px;
  }
  .single-post-slider img {
    width: min(86vw, 640px);
  }
  .single-post-body.is-collapsed {
    max-height: 14em;
  }
  .hero { padding-top: 24px; padding-bottom: 28px; }
  .home-search-panel { padding: 14px; }
  .search-box button { width: 100%; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .form-grid .wide { grid-column: auto; }
  .form-inline { flex-direction: column; }
  .site-footer-inner {
    padding: 12px 0;
    gap: 12px;
  }
  .footer-network-links,
  .site-footer-bottom {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 12px;
  }
  .footer-links {
    justify-content: flex-start;
  }
  .site-footer p {
    text-align: left;
  }
  .footer-social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 7px 8px;
    min-height: 52px;
    padding: 8px 10px 9px;
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
  }
  .brand img {
    width: clamp(118px, 44vw, 152px);
    max-height: 42px;
  }
  .header-pill-search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    min-height: 40px;
    grid-template-columns: minmax(0, 1fr) 44px;
  }
  .header-pill-search input {
    font-size: .92rem;
    padding: 0 13px;
  }
  .header-pill-search button {
    min-height: 40px;
  }
  .header-actions {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    gap: 4px;
  }
  .header-profile-panel {
    position: fixed;
    top: calc(58px + env(safe-area-inset-top));
    right: 10px;
    left: 10px;
    width: auto;
    min-width: 0;
    max-height: calc(100vh - 86px - env(safe-area-inset-top));
  }
  .dashboard-welcome {
    padding: 12px;
  }
  .dashboard-welcome-copy {
    align-items: flex-start;
  }
  .dashboard-welcome-avatar {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }
  .dashboard-week-card {
    padding: 10px;
  }
  .dashboard-week-days {
    gap: 2px;
  }
  .dashboard-week-days span {
    min-height: 38px;
  }
  .weekly-program-heading,
  .weekly-program-day-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .weekly-program-heading > span {
    width: 100%;
    border-radius: 8px;
    text-align: center;
  }
  .weekly-program-row {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
  }
  .weekly-program-action {
    justify-content: stretch;
    min-width: 0;
  }
  .weekly-program-action a,
  .weekly-program-action span {
    width: 100%;
  }
  .header-profile-avatar,
  .header-profile-link {
    width: 34px;
    height: 34px;
  }
  button.nav-toggle {
    display: none;
    min-width: 40px;
    padding: 8px 9px;
    font-size: .86rem;
  }
  .site-nav {
    left: 0;
    right: 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }
  .hero { padding: 22px 14px 26px; }
  .hero h1 {
    font-size: clamp(1.75rem, 10vw, 2.55rem);
    line-height: 1.08;
  }
  .page-hero h1 { font-size: 2rem; }
  .hero-summary { font-size: .98rem; }
  .home-search-panel {
    padding: 12px;
    box-shadow: 0 12px 26px rgba(20,35,31,.08);
  }
  .home-pill-search {
    grid-template-columns: minmax(0, 1fr) 56px;
    min-height: 52px;
  }
  .home-pill-search input {
    font-size: 1rem;
    padding: 0 15px;
  }
  .home-search-icon {
    width: 22px;
    height: 22px;
  }
  .search-suggestions {
    align-items: stretch;
    gap: 7px;
    font-size: .86rem;
  }
  .search-box {
    gap: 10px;
  }
  .search-box input,
  .search-box select,
  .search-box button {
    min-height: 48px;
  }
  .search-box button {
    width: 100%;
  }
  .search-suggestions span {
    flex: 1 0 100%;
  }
  .search-suggestions a {
    flex: 1 1 auto;
    text-align: center;
  }
  .home-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .home-quick-actions a {
    flex: 1 1 86px;
    min-height: 40px;
    padding: 8px;
    font-size: .86rem;
    text-align: center;
  }
  .home-app-download-button {
    width: 100%;
  }
  .home-app-download {
    margin-top: 10px;
  }
  .sponsored-track { grid-template-columns: 1fr; }
  .sponsored-track {
    padding: 8px 0;
  }
  .sponsored-card a {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 104px;
  }
  .sponsored-card img,
  .sponsored-card-placeholder {
    width: 92px;
    min-height: 104px;
  }
  .news-card-grid { grid-template-columns: 1fr; }
  .kids-story-grid { grid-template-columns: 1fr; }
  .admin-task-grid,
  .admin-dashboard-columns {
    grid-template-columns: 1fr;
  }
  .admin-dashboard-actions,
  .admin-dashboard-actions .button {
    width: 100%;
  }
  .admin-review-item {
    grid-template-columns: 1fr;
  }
  .admin-review-item .button {
    justify-self: start;
  }
  .section,
  .dashboard,
  .business-content-shell,
  .home-content-shell,
  .auth-content-shell {
    padding-left: 12px;
    padding-right: 12px;
  }
  .dashboard {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 8px;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 14px;
    padding-bottom: 24px;
  }
  .dash-nav {
    top: 112px;
    max-height: calc(100vh - 194px);
  }
  .dashboard-sidebar {
    margin-left: 0;
    margin-right: 0;
    padding: 8px;
    gap: 8px;
  }
  .dashboard-sidebar-heading {
    padding-bottom: 8px;
  }
  .dashboard-sidebar-heading span,
  .dashboard-sidebar-group summary {
    font-size: .68rem;
  }
  .dashboard-sidebar-heading strong {
    font-size: .88rem;
  }
  .dashboard-sidebar-group summary {
    min-height: 34px;
    padding: 7px 8px;
  }
  .dashboard-sidebar-group summary::after {
    width: 18px;
    height: 18px;
    font-size: .82rem;
  }
  .dashboard-sidebar-group a {
    justify-content: flex-start;
    min-height: 34px;
    padding: 7px 8px;
    font-size: .78rem;
  }
  .dash-content h1 {
    font-size: 1.55rem;
  }
  .settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .settings-panel {
    min-width: 0;
    padding: 14px;
  }
  .surface,
  .auth-card,
  .contact-panel,
  .business-card,
  .content-card,
  .table-wrap {
    border-radius: 7px;
  }
  .table-wrap {
    margin-left: -4px;
    margin-right: -4px;
  }
  .post-feed-grid .media-item {
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 10px;
  }
  .post-feed-grid .media-item:not(:has(img)) {
    grid-template-columns: 1fr;
  }
  .post-feed-grid .media-item img {
    width: 92px;
    height: 72px;
  }
  .home-main-content .post-feed-grid .media-copy strong {
    font-size: 16px;
  }
  .home-main-content .post-feed-grid .media-copy small {
    font-size: 12px;
  }
  table {
    min-width: 620px;
  }
  .single-post-sidebar {
    grid-template-columns: 1fr;
  }
  .post-business-card img {
    height: 220px;
  }
  .single-post-slider {
    aspect-ratio: 4 / 3;
  }
  .single-post-slider img {
    width: 88vw;
  }
  .related-post-card .sidebar-post-link {
    grid-template-columns: 108px minmax(0, 1fr);
  }
  .sidebar-post-link img {
    width: 108px;
    height: 78px;
  }
  th,
  td {
    padding: 10px 9px;
    font-size: .9rem;
  }
  .table-actions .button,
  .table-actions button,
  .compact-actions .button,
  .compact-actions button {
    min-height: 38px;
    white-space: normal;
  }
  .business-follow-row {
    align-items: stretch;
    gap: 6px;
  }
  .business-follow-row > *,
  .share-menu {
    flex: 1 1 130px;
  }
  .business-follow-row span,
  .business-follow-row button,
  .business-follow-row .button,
  .business-share-button {
    justify-content: center;
    width: 100%;
  }
  .business-follow-row span {
    min-height: 26px;
    padding: 3px 7px;
    font-size: .72rem;
    text-align: center;
  }
  .business-profile-heading {
    grid-template-columns: 64px minmax(0, 1fr);
    width: calc(100% - 24px);
    margin: -28px 12px 0;
    padding: 12px;
  }
  .business-logo {
    width: 64px;
    height: 64px;
    border-width: 3px;
  }
  .business-hero {
    display: block;
    height: 118px;
  }
  .business-hero-empty {
    height: 76px;
  }
  .business-banner {
    opacity: .92;
  }
  .business-hero-advert {
    display: none;
  }
  .business-action-bar {
    top: 107px;
    width: calc(100% - 24px);
    margin: 10px 12px 0;
    padding: 7px;
    gap: 6px;
  }
  .business-action-bar a {
    min-height: 34px;
    padding: 7px 9px;
    font-size: .84rem;
  }
  .business-tab-menu {
    margin-right: -10px;
    padding-bottom: 8px;
  }
  .business-subpage-sidebar {
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .business-subpage-sidebar > a {
    flex-basis: 96px;
  }
  .business-subpage-toggle {
    flex-basis: 70px;
  }
  .post-feed-grid {
    grid-template-columns: 1fr;
  }
  .business-main-content .post-feed-grid .media-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .business-main-content .post-feed-grid .media-item img {
    width: 92px;
    height: 74px;
  }
  .single-post-actions {
    margin-left: 0;
  }
  .single-post-channel {
    width: 100%;
  }
  .proof-submit-form {
    grid-template-columns: 1fr;
  }
  .site-settings-button {
    left: 70vw;
    right: auto;
    top: 116px;
    bottom: auto;
    width: 48px;
    min-height: 48px;
    justify-content: center;
    padding: 9px;
  }
  .site-settings-button strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .chat-panel-heading {
    grid-template-columns: auto 42px minmax(0, 1fr) auto;
    padding: 13px;
  }
  .chat-panel-heading img,
  .chat-panel-heading > span,
  .chat-contact img,
  .chat-contact > span {
    width: 42px;
    height: 42px;
  }
  .chat-panel-refresh {
    font-size: .78rem;
  }
  .chat-contacts {
    max-height: none;
  }
  .chat-contacts-heading {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    padding: 9px 10px;
  }
  .chat-search {
    padding: 8px;
  }
  .chat-search input {
    min-height: 38px;
  }
  .chat-contact {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 1px 9px;
    padding: 8px;
  }
  .chat-panel {
    min-height: 0;
  }
  .chat-messages {
    min-height: 0;
    max-height: 100%;
    padding: 10px;
  }
  .chat-message {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
  }
  .chat-attachment {
    min-width: 0;
    max-width: 100%;
  }
  .chat-attachment.is-image > * {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .chat-attachment img {
    width: 100%;
    max-height: 160px;
  }
  .chat-compose {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }
  .chat-compose-box {
    grid-template-columns: 1fr;
  }
  .chat-compose textarea {
    min-height: 46px;
  }
  .chat-compose-tools {
    gap: 8px;
  }
  .chat-upload-shell {
    justify-self: end;
  }
  .chat-upload-toggle {
    min-width: 68px;
    height: 40px;
  }
  .chat-compose button {
    width: 100%;
    min-height: 46px;
  }
  .contact-page-panel {
    padding: 14px;
  }
  .contact-page-panel p,
  .contact-page-panel a {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 10px;
  }
  .contact-icon {
    width: 36px;
    height: 36px;
  }
  .business-map-embed iframe {
    min-height: 260px;
  }
  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
  }
  .footer-links a {
    padding: 6px 0;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-left: 8px;
    padding-right: 8px;
  }
  .brand img {
    width: clamp(104px, 48vw, 132px);
  }
  .header-pill-search {
    min-height: 38px;
    grid-template-columns: minmax(0, 1fr) 40px;
  }
  .header-pill-search input {
    font-size: .88rem;
    padding-left: 11px;
    padding-right: 10px;
  }
  .header-profile-avatar,
  .header-profile-link {
    width: 32px;
    height: 32px;
  }
}

@media (display-mode: standalone), (display-mode: fullscreen) {
  .site-header {
    padding-top: calc(10px + env(safe-area-inset-top));
  }
}

@media (min-width: 769px) {
  .business-card h3,
  .content-card h3,
  .news-card-body h3,
  .ad-card h3,
  .single-post-header h1,
  .single-post-watch-content h1 {
    font-size: 24px;
    line-height: 1.25;
  }

  .business-card-description,
  .content-card p,
  .news-card-body > p:not(.news-card-category),
  .ad-card p,
  .single-post-excerpt,
  .single-post-description,
  .single-post-description p,
  .single-post-body,
  .single-post-body p,
  .single-post-body li,
  .single-post-body blockquote {
    font-size: 18px;
    line-height: 1.7;
  }

  .home-main-content .news-card-body h3,
  .home-main-content .kids-story-body h3 {
    font-size: 18px;
    line-height: 1.28;
  }

  .home-main-content .news-card-category,
  .home-main-content .news-card-body > p:not(.news-card-category),
  .home-main-content .news-card small,
  .home-main-content .kids-story-body p,
  .home-main-content .kids-story-body small {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .business-card h3,
  .content-card h3,
  .news-card-body h3,
  .ad-card h3,
  .single-post-header h1,
  .single-post-watch-content h1 {
    font-size: 18px;
    line-height: 1.28;
  }

  .business-card-description,
  .content-card p,
  .news-card-body > p:not(.news-card-category),
  .ad-card p,
  .single-post-excerpt,
  .single-post-description,
  .single-post-description p,
  .single-post-body,
  .single-post-body p,
  .single-post-body li,
  .single-post-body blockquote {
    font-size: 16px;
    line-height: 1.65;
  }

  .home-main-content .news-card-body h3,
  .home-main-content .kids-story-body h3 {
    font-size: 18px;
    line-height: 1.28;
  }

  .home-main-content .news-card-category,
  .home-main-content .news-card-body > p:not(.news-card-category),
  .home-main-content .news-card small,
  .home-main-content .kids-story-body p,
  .home-main-content .kids-story-body small {
    font-size: 14px;
  }
}

/* Responsive reading type */
body {
  font-size: clamp(1rem, .95rem + .25vw, 1.08rem);
}

h1,
h2,
h3,
.hero h1,
.page-hero h1,
.section-heading h2,
.business-profile-heading h1,
.business-card h3,
.content-card h3,
.news-card-body h3,
.kids-story-body h3,
.ad-card h3,
.single-post-header h1,
.single-post-watch-content h1,
.post-business-title-row h2,
.dashboard-welcome h1,
.admin-dashboard-heading h1,
.dash-content h1 {
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.55rem);
  line-height: 1.06;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
}

.section-heading h2,
.single-post-sidebar h2,
.booking-panel h2,
.chat-empty-state h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.hero-summary,
.page-hero p,
.business-profile-heading p,
.single-post-excerpt,
.single-post-description,
.single-post-description p,
.single-post-body,
.single-post-body p,
.single-post-body li,
.single-post-body blockquote,
.rich-content,
.rich-content p,
.rich-content li,
.rich-content blockquote {
  font-size: clamp(1rem, .94rem + .35vw, 1.15rem);
  line-height: 1.68;
}

.business-profile-heading h1 {
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.1;
}

.single-post-header h1 {
  font-size: clamp(1.9rem, 4.4vw, 3.35rem);
  line-height: 1.12;
}

.single-post-watch-content h1 {
  font-size: clamp(1.35rem, 2.8vw, 2.25rem);
  line-height: 1.14;
}

.business-card h3,
.content-card h3,
.news-card-body h3,
.kids-story-body h3,
.home-main-content .news-card-body h3,
.home-main-content .kids-story-body h3,
.ad-card h3,
.home-main-content .post-feed-grid .media-copy strong,
.business-main-content .post-feed-grid .media-copy strong,
.related-post-card a,
.sidebar-post-link {
  font-size: clamp(1.05rem, 1.25vw, 1.35rem);
  line-height: 1.24;
}

.business-card-description,
.content-card p,
.news-card-body > p:not(.news-card-category),
.kids-story-body small,
.ad-card p,
.home-main-content .post-feed-grid .media-copy small,
.business-main-content .post-feed-grid .media-copy small,
.review-card p,
.comment-card p {
  font-size: clamp(.92rem, .86rem + .25vw, 1rem);
  line-height: 1.55;
}

.dashboard-welcome h1,
.admin-dashboard-heading h1,
.dash-content h1 {
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.12;
}

.rich-editor-surface {
  font-size: clamp(1rem, .95rem + .25vw, 1.08rem);
  line-height: 1.68;
}

@media (max-width: 768px) {
  body {
    font-size: clamp(.98rem, 3.9vw, 1.04rem);
  }

  .hero h1 {
    font-size: clamp(1.75rem, 9vw, 2.75rem);
    line-height: 1.08;
  }

  .page-hero h1,
  .single-post-header h1 {
    font-size: clamp(1.6rem, 7.4vw, 2.35rem);
    line-height: 1.12;
  }

  .section-heading h2,
  .single-post-sidebar h2,
  .booking-panel h2,
  .chat-empty-state h2 {
    font-size: clamp(1.25rem, 5.8vw, 1.8rem);
    line-height: 1.14;
  }

  .business-profile-heading h1,
  .dashboard-welcome h1,
  .admin-dashboard-heading h1,
  .dash-content h1 {
    font-size: clamp(1.2rem, 5vw, 1.75rem);
    line-height: 1.14;
  }
  .business-header-subpage-links {
    grid-column: 1 / -1;
  }

  .single-post-watch-content h1 {
    font-size: clamp(1.2rem, 5.2vw, 1.8rem);
    line-height: 1.16;
  }

  .business-card h3,
  .content-card h3,
  .news-card-body h3,
  .kids-story-body h3,
.home-main-content .news-card-body h3,
.home-main-content .kids-story-body h3,
  .ad-card h3,
  .home-main-content .post-feed-grid .media-copy strong,
  .business-main-content .post-feed-grid .media-copy strong,
  .related-post-card a,
  .sidebar-post-link {
    font-size: clamp(1rem, 4.4vw, 1.2rem);
    line-height: 1.25;
  }

  .hero-summary,
  .page-hero p,
  .business-profile-heading p,
  .business-card-description,
  .content-card p,
  .news-card-body > p:not(.news-card-category),
  .ad-card p,
  .single-post-excerpt,
  .single-post-description,
  .single-post-description p,
  .single-post-body,
  .single-post-body p,
  .single-post-body li,
  .single-post-body blockquote,
  .rich-content,
  .rich-content p,
  .rich-content li,
  .rich-content blockquote,
  .review-card p,
  .comment-card p {
    font-size: clamp(.96rem, 3.8vw, 1.05rem);
    line-height: 1.64;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: clamp(1.58rem, 8.2vw, 2.18rem);
  }

  .page-hero h1,
  .single-post-header h1 {
    font-size: clamp(1.45rem, 7vw, 1.95rem);
  }

  .business-card h3,
  .content-card h3,
  .news-card-body h3,
  .kids-story-body h3,
.home-main-content .news-card-body h3,
.home-main-content .kids-story-body h3,
  .ad-card h3,
  .home-main-content .post-feed-grid .media-copy strong,
  .business-main-content .post-feed-grid .media-copy strong {
    font-size: clamp(.98rem, 4.6vw, 1.12rem);
  }
}

/* Compact desktop home hero */
@media (min-width: 1081px) {
  .hero {
    padding-top: clamp(24px, 2.6vw, 36px);
    padding-bottom: clamp(24px, 2.6vw, 36px);
  }

  .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
    align-items: center;
    gap: clamp(28px, 4vw, 58px);
    max-width: 1180px;
  }

  .hero .eyebrow,
  .hero h1,
  .hero-summary {
    grid-column: 1;
  }

  .hero h1 {
    max-width: 700px;
    font-size: clamp(2.35rem, 3.45vw, 3.15rem);
    margin-bottom: 10px;
  }

  .home-hero .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(24px, 3.5vw, 44px);
    max-width: 1440px;
    margin: 0 auto;
    padding-left: clamp(18px, 5vw, 72px);
    padding-right: clamp(18px, 5vw, 72px);
  }

  .home-hero-main {
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 60%);
    align-items: stretch;
    gap: clamp(16px, 2.2vw, 30px);
    min-height: clamp(242px, 26.4vw, 352px);
  }

  .home-hero-intro {
    align-content: center;
    align-items: flex-start;
    max-width: none;
  }

  .home-hero-intro h1 {
    font-size: clamp(28px, 2.8vw, 36px);
    line-height: 1.12;
  }

  .home-showcase {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: clamp(242px, 26.4vw, 352px);
    justify-self: stretch;
  }

  .home-showcase-slide {
    height: 100%;
    min-height: clamp(242px, 26.4vw, 352px);
  }

  .home-showcase-card {
    height: 100%;
    min-height: clamp(242px, 26.4vw, 352px);
  }

  .hero-summary {
    max-width: 640px;
    margin-bottom: 0;
  }

  .home-pill-search {
    min-height: 54px;
    grid-template-columns: minmax(0, 1fr) 72px;
  }

  .home-pill-search input {
    font-size: 1.08rem;
  }

  .home-search-icon {
    width: 24px;
    height: 24px;
  }

  .search-suggestions,
  .home-quick-actions,
  .home-app-download {
    margin-top: 10px;
  }

  .home-quick-actions {
    gap: 8px;
  }

  .home-quick-actions a,
  .home-app-download-button {
    min-height: 40px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (min-width: 1081px) and (max-width: 1280px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 3.8vw, 3rem);
  }
}

/* Business page responsive pass */
.business-content-shell {
  width: 100%;
}

.business-main-content,
.business-profile-heading > div,
.business-layout,
.welcome-business-card,
.content-card {
  min-width: 0;
}

.welcome-business-card {
  width: 100%;
  max-width: min(100%, 700px);
  margin-right: auto;
}

.welcome-business-card .business-card-media {
  min-height: 0;
}

.welcome-business-card .business-card-media img,
.welcome-business-card .placeholder-image,
.welcome-business-card .content-video,
.content-card > img,
.content-card > .content-video {
  width: 100%;
  max-width: 100%;
}

.business-action-bar {
  scroll-snap-type: x proximity;
}

.business-action-bar a {
  scroll-snap-align: start;
}

.business-mobile-page-menu {
  display: none;
}

.business-mobile-page-menu-toggle,
.business-mobile-page-menu-button,
.business-mobile-page-menu-panel {
  display: none;
}

@media (min-width: 1081px) {
  .business-content-shell {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: clamp(22px, 3vw, 34px);
  }

  .business-main-content > .section {
    padding-top: 26px;
  }

  .business-ad-sidebar {
    max-width: 380px;
  }

  .business-profile-heading,
  .business-action-bar,
  .business-content-shell {
    max-width: 1180px;
  }

  .welcome-business-card .business-card-media {
    aspect-ratio: auto;
  }

  .welcome-business-card .card-body {
    padding: 16px;
    gap: 8px;
  }
}

@media (max-width: 1080px) {
  .business-content-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .business-ad-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 12px;
    padding-top: 0;
    padding-bottom: 30px;
  }

  .business-ad-sidebar .ad-sidebar-title {
    grid-column: 1 / -1;
  }

  .business-profile-heading,
  .business-action-bar {
    max-width: none;
  }

  .business-action-bar {
    position: sticky;
  }
}

@media (max-width: 560px) {
  .slideshow-builder-nav {
    grid-template-columns: 1fr;
  }

  .slideshow-submit-page {
    padding-left: 10px;
    padding-right: 10px;
  }

  .slideshow-submit-panel,
  .slideshow-submit-form {
    padding: 10px;
  }

  .in-video-ad-type-grid {
    grid-template-columns: 1fr;
  }

  .slideshow-demo-ad-form {
    align-items: stretch;
  }

  .slideshow-demo-ad-form .button {
    width: 100%;
  }

  .in-video-ad-table-wrap {
    overflow: visible;
  }

  .in-video-ad-table {
    min-width: 0;
  }

  .in-video-ad-table,
  .in-video-ad-table tbody,
  .in-video-ad-table tr,
  .in-video-ad-table td {
    display: block;
    width: 100%;
  }

  .in-video-ad-table th {
    display: none;
  }

  .in-video-ad-table tr {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(20,35,31,.06);
    overflow: hidden;
  }

  .in-video-ad-table td {
    display: grid;
    grid-template-columns: minmax(88px, 34%) minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
  }

  .in-video-ad-table td:last-child {
    border-bottom: 0;
  }

  .in-video-ad-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .in-video-ad-table .table-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .in-video-ad-table .table-actions .button,
  .in-video-ad-table .table-actions button,
  .in-video-ad-table .table-actions form {
    width: 100%;
  }

  .business-hero {
    height: clamp(92px, 28vw, 128px);
  }

  .business-banner {
    object-position: center;
  }

  .business-profile-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    width: calc(100% - 20px);
    margin: -20px 10px 0;
    padding: 9px;
    overflow: hidden;
  }

  .business-profile-heading .business-logo-link {
    display: none;
  }

  .business-logo {
    width: 54px;
    height: 54px;
    border-width: 3px;
  }

  .business-profile-heading h1 {
    max-width: 100%;
    font-size: clamp(1.05rem, 4.8vw, 1.32rem);
    line-height: 1.08;
  }
  .business-header-subpage-links {
    display: none;
  }

  .business-profile-heading h1 a,
  .business-profile-heading > div,
  .business-profile-heading p {
    overflow-wrap: anywhere;
    min-width: 0;
  }

  .business-profile-heading > div {
    position: relative;
  }

  .business-mobile-page-menu {
    position: relative !important;
    z-index: 50;
    display: block !important;
    width: 42px;
    height: 42px;
    margin-top: 8px;
    margin-left: min(260px, calc(100vw - 130px));
    justify-self: start;
  }

  .business-mobile-page-menu-toggle {
    position: fixed;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  .business-mobile-page-menu-button {
    position: static !important;
    z-index: 51;
    display: grid !important;
    place-items: center;
    gap: 4px;
    width: 42px;
    min-height: 42px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 8px 20px rgba(20,35,31,.12);
    cursor: pointer;
    transform: rotate(90deg);
    transform-origin: center;
  }

  .business-mobile-page-menu-button span {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
  }

  .business-mobile-page-menu-panel {
    position: fixed;
    top: 252px;
    right: 10px;
    z-index: 998;
    display: grid;
    min-width: 190px;
    max-width: calc(100vw - 24px);
    max-height: min(58vh, 420px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(20,35,31,.20);
  }

  .business-mobile-page-menu-toggle:not(:checked) ~ .business-mobile-page-menu-panel {
    display: none;
  }

  .business-mobile-page-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 900;
  }

  .business-mobile-page-menu a:hover,
  .business-mobile-page-menu a.active {
    background: #e8f4ef;
    color: var(--brand-dark);
  }

  .business-profile-heading p {
    max-width: 100%;
    font-size: .9rem;
    line-height: 1.45;
  }

  .business-profile-summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .business-follow-row {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    width: 100%;
    margin-top: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .business-follow-row::-webkit-scrollbar {
    display: none;
  }

  .business-follow-row .business-type-pill,
  .business-follow-row .business-views-pill,
  .business-follow-row .business-age-pill {
    display: none;
  }

  .business-follow-row > *,
  .business-follow-row .share-menu {
    flex: 0 0 auto;
    min-width: fit-content;
    width: auto;
  }

  .business-follow-row span,
  .business-follow-row button,
  .business-follow-row .button,
  .business-share-button {
    min-height: 26px;
    padding: 3px 8px;
    font-size: .72rem;
    white-space: nowrap;
  }

  .business-follow-row .business-kchat-button {
    display: none;
  }

  .business-action-bar {
    display: none;
  }

  .business-content-shell {
    padding: 12px 10px 0;
    overflow: hidden;
  }

  .business-main-content > .section {
    padding: 16px 0 28px;
    overflow: hidden;
  }

  .business-layout article,
  .contact-panel,
  .content-card,
  .welcome-business-card,
  .review-form.surface {
    border-radius: 8px;
  }

  .welcome-business-card .business-card-media,
  .content-card > img,
  .content-card > .content-video {
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 230px;
  }

  .welcome-business-card .card-body,
  .content-card > div {
    padding: 13px;
  }

  .post-feed-grid .media-item,
  .business-main-content .post-feed-grid .media-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }

  .post-feed-grid .media-item img,
  .business-main-content .post-feed-grid .media-item img {
    width: 92px;
    height: 72px;
  }

  .contact-page-layout,
  .review-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .business-profile-heading {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .business-logo {
    width: 58px;
    height: 58px;
  }

  .business-follow-row,
  .single-post-actions {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1081px) {
  .hero-content,
  .home-content-shell,
  .business-profile-heading,
  .business-action-bar,
  .business-content-shell {
    max-width: none;
  }

  .business-content-shell.single-post-shell .single-post {
    max-width: none;
  }
}

@media (max-width: 1080px) {
  .slideshow-builder {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .slideshow-builder-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slideshow-builder-nav a,
  .slideshow-builder-nav button {
    text-align: center;
  }

  .slideshow-submit-header {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .home-hero {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .home-hero .hero-content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .home-hero-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .home-hero-intro h1 {
    font-size: clamp(20px, 5.4vw, 30px);
    line-height: 1.2;
  }

  .home-showcase-card {
    min-height: var(--home-showcase-card-min-height);
  }

  .home-showcase-slide {
    --home-showcase-card-min-height: clamp(180px, 52vw, 280px);
    --home-showcase-banner-height: clamp(30px, calc(var(--home-showcase-card-min-height) * 0.14), 40px);
  }

  .home-showcase-content {
    left: 12px;
    right: 12px;
    bottom: 44px;
  }

  .home-showcase-content strong {
    font-size: clamp(1rem, 4.8vw, 1.35rem);
  }

  .home-showcase-content em {
    font-size: clamp(.86rem, 3.8vw, 1rem);
  }

  .home-showcase-marquee {
    padding: 0;
  }

  .home-showcase-marquee-item {
    padding: 0 14px;
  }

  .home-showcase-marquee-item b {
    font-size: .78rem;
  }
}

/* Friendly single post mobile layout */
@media (max-width: 768px) {
  .business-content-shell.single-post-shell {
    gap: 18px;
    padding: 14px 12px 28px;
  }

  .single-post {
    width: 100%;
  }

  .single-post-breadcrumb {
    gap: 6px;
    padding: 0 2px 10px;
    font-size: .82rem;
    line-height: 1.25;
  }

  .single-post-watch > .single-post-image,
  .single-post-watch > .single-post-video,
  .single-post-slider {
    border-radius: 8px;
    aspect-ratio: 16 / 10;
    max-height: none;
  }

  .single-post-slider img {
    width: min(92vw, 560px);
  }

  .single-post-watch-content {
    gap: 12px;
    padding-top: 12px;
  }

  .single-post-channel-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .single-post-channel {
    gap: 10px;
    width: 100%;
  }

  .single-post-channel img,
  .single-post-channel > span:first-child {
    width: 44px;
    height: 44px;
  }

  .single-post-channel strong {
    align-items: flex-start;
    flex-wrap: wrap;
    font-size: 1rem;
  }

  .single-post-channel small {
    font-size: .86rem;
    line-height: 1.35;
  }

  .single-post-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .single-post-follow-form,
  .single-post-actions .share-menu {
    width: 100%;
    min-width: 0;
  }

  .single-post-follow-form button,
  .single-post-follow-link,
  .single-post-actions .share-button {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: .92rem;
    white-space: nowrap;
  }

  .single-post-actions .share-menu-panel {
    left: auto;
    right: 0;
    min-width: min(88vw, 240px);
  }

  .single-post-description {
    gap: 14px;
    padding: 14px;
    border-radius: 8px;
  }

  .single-post-description .single-post-stats {
    font-size: .86rem;
    line-height: 1.35;
  }

  .reaction-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .reaction-form button {
    width: 100%;
    min-height: 38px;
    padding: 7px 8px;
  }

  .single-post-body.is-collapsed {
    max-height: 16em;
  }

  .single-post-read-more,
  .single-post > .quick-links a {
    width: 100%;
    text-align: center;
  }

  .single-post-comments {
    gap: 14px;
    margin-top: 22px;
    padding-top: 18px;
  }

  .comment-form {
    padding: 14px;
  }

  .comment-form button {
    width: 100%;
  }

  .comment-card {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .comment-avatar {
    width: 36px;
    height: 36px;
  }

  .comment-meta {
    display: grid;
    gap: 2px;
  }

  .single-post-sidebar {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .single-post-sidebar .ad-card,
  .single-post-sidebar .contact-panel {
    border-radius: 8px;
  }

  .post-business-card img {
    height: clamp(160px, 48vw, 240px);
  }

  .post-business-card > :not(img) {
    margin-left: 14px;
    margin-right: 14px;
  }

  .post-business-title-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }

  .post-business-card .post-business-logo {
    width: 48px;
    height: 48px;
  }

  .related-post-card .sidebar-post-link {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
  }

  .sidebar-post-link img {
    width: 86px;
    height: 66px;
  }
}

@media (max-width: 380px) {
  .single-post-actions {
    grid-template-columns: 1fr;
  }

  .reaction-form {
    grid-template-columns: 1fr;
  }

  .single-post-watch > .single-post-image,
  .single-post-watch > .single-post-video,
  .single-post-slider {
    aspect-ratio: 4 / 3;
  }
}

/* Responsive footer */
.site-footer {
  padding: clamp(18px, 3vw, 30px) clamp(14px, 4vw, 36px);
}

.site-footer-inner {
  gap: 16px;
}

.footer-network-links {
  grid-template-columns: minmax(180px, 1.3fr) repeat(5, minmax(max-content, auto));
  align-items: center;
  padding-bottom: 14px;
}

.footer-network-links a:first-child {
  font-size: clamp(.95rem, 1.2vw, 1.1rem);
}

.site-footer-bottom {
  grid-template-columns: minmax(240px, auto) minmax(220px, 1fr) auto auto;
  padding-top: 2px;
}

.footer-app-download {
  display: none;
}

.footer-app-download-button {
  width: 100%;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 6px;
  justify-content: center;
}

.footer-network-links a,
.footer-links a,
.footer-policy-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

@media (min-width: 1081px) {
  .footer-network-links,
  .site-footer-bottom {
    width: 100%;
  }
}

@media (max-width: 1080px) {
  .site-footer {
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
  }

  .footer-network-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px 12px;
  }

  .footer-network-links a:first-child {
    grid-column: 1 / -1;
  }

  .footer-network-links a,
  .footer-links a,
  .footer-policy-link {
    white-space: normal;
  }

  .site-footer-bottom {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-links {
    gap: 8px 18px;
  }
}

@media (max-width: 768px) {
  .footer-app-download {
    display: block;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding: 18px 14px calc(96px + env(safe-area-inset-bottom));
  }

  .site-footer-inner {
    gap: 14px;
  }

  .footer-network-links {
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    padding-bottom: 12px;
  }

  .footer-network-links a:first-child {
    grid-column: 1 / -1;
  }

  .footer-network-links a,
  .footer-links a,
  .footer-policy-link {
    min-height: 34px;
    font-size: .88rem;
    line-height: 1.2;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
  }

  .site-footer p {
    font-size: .82rem;
    line-height: 1.35;
  }

  .footer-social-links {
    gap: 12px;
    padding-top: 2px;
  }
}

/* Mobile chat view (WhatsApp-like) */
@media (max-width: 768px) {
  .chat-dashboard .admin-page-heading {
    display: none;
  }

  .chat-dashboard .dash-content {
    gap: 10px;
  }

  .chat-dashboard .alert {
    margin-top: 0;
    margin-bottom: 8px;
  }

  .chat-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    height: calc(100dvh - 112px);
    max-height: none;
    overflow: hidden;
  }

  .chat-shell .chat-contacts,
  .chat-shell .chat-panel {
    height: 100%;
    min-height: 0;
  }

  .chat-shell:not(.mobile-thread-open) .chat-panel {
    display: none;
  }

  .chat-shell.mobile-thread-open .chat-contacts {
    display: none;
  }

  .chat-mobile-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(15, 123, 99, .18);
    border-radius: 6px;
    background: #f8fbfa;
    color: var(--brand-dark);
    font-size: .84rem;
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
  }

  .chat-panel-heading {
    grid-template-columns: auto 42px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .chat-contacts {
    max-height: none;
  }

  .chat-panel {
    min-height: 0;
    height: 100%;
  }

  .chat-messages {
    min-height: 0;
    max-height: 100%;
  }
}

@media (max-width: 560px) {
  .chat-shell {
    height: calc(100dvh - 124px);
  }
}

/* Business page responsive final pass */
.business-profile-heading,
.business-content-shell {
  box-sizing: border-box;
}
.business-profile-heading > *,
.business-content-shell > *,
.business-main-content > *,
.business-ad-sidebar,
.contact-page-layout > *,
.business-layout > *,
.content-card > * {
  min-width: 0;
}
.business-profile-heading {
  overflow: visible;
}
.business-profile-heading h1 a,
.business-profile-summary,
.business-profile-learn-more,
.business-follow-row span,
.business-follow-row button,
.business-follow-row .button,
.business-share-button,
.business-header-subpage-links a {
  max-width: 100%;
}
.business-header-subpage-links {
  -webkit-overflow-scrolling: touch;
}
.business-content-shell {
  overflow: hidden;
}
.business-card,
.content-card,
.contact-panel,
.business-map-embed,
.review-form,
.review-card {
  max-width: 100%;
}

@media (max-width: 1080px) {
  .business-profile-heading {
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: start;
  }

  .business-header-subpage-links {
    grid-column: 1 / -1;
    justify-self: stretch;
    align-self: start;
    justify-content: flex-start;
    max-width: none;
    padding-top: 3px;
  }

  .business-content-shell,
  .business-content-shell.has-subpage-menu,
  .business-content-shell.has-subpage-menu.is-subpage-menu-hidden,
  .contact-page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .business-ad-sidebar {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  }
}

@media (max-width: 760px) {
  .business-profile-heading {
    grid-template-columns: 64px minmax(0, 1fr);
    width: calc(100% - 24px);
    margin: -26px 12px 0;
    padding: 10px;
  }

  .business-logo {
    width: 64px;
    height: 64px;
  }

  .business-profile-heading h1 {
    font-size: clamp(1.08rem, 4.2vw, 1.45rem);
  }

  .business-profile-heading p {
    font-size: .84rem;
    line-height: 1.3;
  }

  .business-follow-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1px;
    scrollbar-width: none;
  }

  .business-follow-row::-webkit-scrollbar {
    display: none;
  }

  .business-follow-row > *,
  .business-follow-row .share-menu {
    flex: 0 0 auto;
  }

  .business-header-subpage-links {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .business-content-shell {
    padding: 12px 12px 0;
  }

  .content-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-card > img,
  .content-card > .content-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 560px) {
  .business-hero {
    display: none;
    height: 0;
  }

  .business-hero-empty {
    display: none;
    height: 0;
  }

  .business-profile-heading {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 7px;
    width: calc(100% - 20px);
    margin: 8px 10px 0;
    padding: 8px;
    overflow: visible;
  }

  .business-profile-heading .business-logo-link {
    display: block;
  }

  .business-logo {
    width: 52px;
    height: 52px;
    border-width: 3px;
  }

  .business-profile-heading h1 {
    font-size: clamp(1rem, 4.9vw, 1.28rem);
    line-height: 1.08;
  }

  .business-profile-summary {
    display: block;
    margin-bottom: 2px;
  }

  .business-profile-learn-more {
    white-space: nowrap;
  }

  .business-header-subpage-links {
    display: flex !important;
    grid-column: 1 / -1;
    justify-self: stretch;
    align-self: start;
    width: 100%;
    max-width: none;
    margin-top: 2px;
    padding-top: 2px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .business-mobile-page-menu {
    display: none !important;
  }

  .business-mobile-action-links {
    display: none !important;
    gap: 6px;
    width: calc(100% - 20px);
    margin: 6px 10px 0;
    padding: 4px 0 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .business-mobile-action-links::-webkit-scrollbar {
    display: none;
  }

  .business-follow-row .business-type-pill {
    display: none;
  }

  .business-follow-row .business-follower-pill,
  .business-follow-row .business-views-pill,
  .business-follow-row .business-age-pill,
  .business-follow-row .share-menu {
    display: inline-flex !important;
  }

  .business-follow-row span,
  .business-follow-row button,
  .business-follow-row .button,
  .business-share-button,
  .business-header-subpage-links a {
    min-height: 20px;
    padding: 2px 5px;
    font-size: .62rem;
    line-height: 1;
  }

  .business-follow-row {
    gap: 3px;
    justify-content: flex-start;
  }

  .business-follow-row > *,
  .business-follow-row .share-menu {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
  }

  .business-follow-row .business-follower-pill,
  .business-follow-row .business-views-pill,
  .business-follow-row .business-age-pill {
    width: auto !important;
    max-width: none;
    white-space: nowrap;
  }

  .business-follow-row .business-follower-pill {
    min-width: 0 !important;
  }

  .business-follow-row form {
    flex: 0 0 auto !important;
  }

  .business-share-button {
    width: auto !important;
    min-width: 0;
    white-space: nowrap;
  }

  .business-content-shell {
    padding: 10px 10px 0;
  }

  .business-main-content > .section {
    padding: 14px 0 24px;
  }

  .business-layout article,
  .contact-panel,
  .content-card,
  .welcome-business-card,
  .review-form.surface {
    border-radius: 8px;
  }

  .contact-page-panel {
    padding: 14px;
  }
}

@media (max-width: 380px) {
  .business-profile-heading {
    grid-template-columns: minmax(0, 1fr);
  }

  .business-profile-heading .business-logo-link {
    display: none;
  }

  .business-profile-heading h1 {
    font-size: clamp(.98rem, 5.4vw, 1.18rem);
  }
}

@media (max-width: 760px) {
  .home-hero-intro h1 {
    max-width: 30ch;
    font-size: clamp(16px, 4.6vw, 22px);
    line-height: 1.18;
  }
}

/* Business page menu dropdown */
.business-profile-heading .business-header-subpage-links {
  display: none !important;
}
.business-profile-heading .business-mobile-page-menu {
  position: relative !important;
  z-index: 60;
  display: block !important;
  justify-self: end;
  align-self: start;
  width: 36px;
  height: 36px;
  min-width: 36px;
  margin: -2px 0 0;
}
.business-profile-heading .business-mobile-page-menu-toggle {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.business-profile-heading .business-mobile-page-menu-button {
  display: grid !important;
  place-items: center;
  gap: 4px;
  width: 36px;
  min-height: 36px;
  padding: 7px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.business-profile-heading .business-mobile-page-menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.business-profile-heading .business-mobile-page-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  display: grid;
  min-width: 190px;
  max-width: min(280px, calc(100vw - 24px));
  max-height: min(56vh, 420px);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(20,35,31,.16);
}
.business-profile-heading .business-mobile-page-menu-toggle:not(:checked) ~ .business-mobile-page-menu-panel {
  display: none;
}
.business-profile-heading .business-mobile-page-menu-panel a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}
.business-profile-heading .business-mobile-page-menu-panel a:hover,
.business-profile-heading .business-mobile-page-menu-panel a.active {
  background: #e8f4ef;
  color: var(--brand-dark);
}

@media (max-width: 1080px) {
  .business-profile-heading .business-mobile-page-menu {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    margin-top: -2px;
  }
}

@media (max-width: 560px) {
  .business-profile-heading .business-mobile-page-menu {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    margin-top: 0;
  }
  .business-profile-heading .business-mobile-page-menu-panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
  }
}

@media (max-width: 760px) {
  .business-follow-row .business-kchat-button {
    display: none !important;
  }
  .business-mobile-kchat-fab {
    position: fixed;
    right: 14px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    z-index: 90;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 4px solid #edf7f2;
    border-radius: 50%;
    background: #ffffff;
    color: var(--brand-dark);
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(20,35,31,.18);
  }
  .business-mobile-kchat-fab::before {
    content: "";
    position: absolute;
    width: 21px;
    height: 18px;
    border: 3px solid var(--brand);
    border-radius: 50% 50% 50% 8px;
  }
  .business-mobile-kchat-fab::after {
    content: "";
    position: absolute;
    bottom: 14px;
    left: 19px;
    width: 9px;
    height: 9px;
    border-left: 3px solid var(--brand);
    border-bottom: 3px solid var(--brand);
    transform: skew(-18deg);
  }
  .business-mobile-kchat-fab:hover,
  .business-mobile-kchat-fab:focus-visible {
    color: var(--brand);
    transform: translateY(-1px);
  }
}

/* Business header layout only: keep typography unchanged */
.business-profile-heading {
  grid-template-columns: 110px minmax(0, 1fr) 38px;
  padding-right: clamp(12px, 1.6vw, 18px);
}
.business-profile-heading > div {
  grid-column: 2;
  padding-right: 6px;
}
.business-profile-heading:not(:has(.business-logo-link)) > div {
  grid-column: 1 / 3;
}
.business-profile-heading .business-mobile-page-menu {
  position: relative !important;
  top: auto;
  right: auto;
  grid-column: 3;
  grid-row: 1;
  margin: 0;
}

@media (max-width: 1080px) {
  .business-profile-heading {
    grid-template-columns: 82px minmax(0, 1fr) 38px;
  }
}

@media (max-width: 760px) {
  .business-profile-heading {
    grid-template-columns: 64px minmax(0, 1fr) 38px;
    padding-right: 10px;
  }
}

@media (max-width: 560px) {
  .business-profile-heading {
    grid-template-columns: 52px minmax(0, 1fr);
    padding-right: 8px;
  }
  .business-profile-heading > div {
    grid-column: 2;
    padding-right: 0;
  }
  .business-profile-heading:not(:has(.business-logo-link)) > div {
    grid-column: 1 / -1;
    padding-right: 38px;
  }
  .business-profile-heading .business-mobile-page-menu {
    position: absolute !important;
    top: 8px;
    right: 8px;
    grid-column: auto;
    grid-row: auto;
    width: 34px;
    height: 34px;
    min-width: 34px;
    margin: 0;
    z-index: 2;
    background: transparent;
  }
  .business-profile-heading .business-mobile-page-menu-button {
    width: 34px;
    min-height: 34px;
    padding: 6px;
  }
  .business-profile-heading .business-mobile-page-menu-button span {
    width: 20px;
  }
}

@media (max-width: 380px) {
  .business-profile-heading {
    grid-template-columns: minmax(0, 1fr);
  }
  .business-profile-heading > div {
    grid-column: 1;
  }
  .business-profile-heading .business-mobile-page-menu {
    grid-column: auto;
  }
}

/* Post title readability tweak */
.single-post .single-post-watch-content h1,
.single-post .single-post-header h1 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
}

/* Single post sidebar title sizing */
.single-post-sidebar .post-business-title-row h2,
.single-post-sidebar .post-business-card > h2 {
  font-size: 18px;
}

.single-post-sidebar .related-post-card .sidebar-post-link strong {
  font-size: 16px;
}

@media (max-width: 760px) {
    body {
        padding-bottom: calc(74px + env(safe-area-inset-bottom));
    }

    .site-header {
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        grid-template-rows: minmax(42px, auto) !important;
        align-items: center !important;
        gap: 6px !important;
        min-height: 54px !important;
        padding: 6px 8px !important;
    }

    .brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
    }

    .brand img {
        width: clamp(72px, 20vw, 104px) !important;
        max-height: 40px !important;
    }

    .header-pill-search {
        grid-column: 2 !important;
        grid-row: 1 !important;
        max-width: none !important;
        min-width: 0 !important;
        min-height: 38px !important;
        grid-template-columns: minmax(0, 1fr) 40px !important;
    }

    .header-pill-search input {
        min-width: 0 !important;
        font-size: .82rem !important;
        padding: 0 10px !important;
    }

    .header-pill-search button {
        min-height: 38px !important;
    }

    .header-actions {
        grid-column: 3 !important;
        grid-row: 1 !important;
        align-self: center !important;
        gap: 3px !important;
        min-width: 0 !important;
    }

    .header-profile-avatar,
    .header-profile-link {
        width: 32px !important;
        height: 32px !important;
    }

    .site-nav {
        justify-content: stretch !important;
        gap: 3px !important;
        overflow-x: hidden !important;
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom)) !important;
    }

    .site-nav a,
    .site-nav .nav-cta {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        min-height: 50px !important;
        padding: 6px 3px !important;
        font-size: 10px !important;
        line-height: 1.05 !important;
    }

    .site-nav .top-nav-link::before {
        width: 19px !important;
        height: 19px !important;
    }

    .site-nav .top-nav-label {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-settings-button.site-chat-button {
        left: auto !important;
        right: 14px !important;
        top: auto !important;
        bottom: calc(92px + env(safe-area-inset-bottom)) !important;
        z-index: 998 !important;
        width: 52px;
        min-height: 52px;
        padding: 9px;
        justify-content: center;
    }

    .site-settings-button.site-chat-button strong {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    body:has(.business-mobile-kchat-fab) .site-settings-button.site-chat-button {
        display: none !important;
    }

    .business-mobile-kchat-fab {
        position: fixed !important;
        right: 14px !important;
        bottom: calc(92px + env(safe-area-inset-bottom)) !important;
        z-index: 999 !important;
    display: grid !important;
  }
}

@media (max-width: 420px) {
    .site-header {
        gap: 5px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .brand img {
        width: clamp(62px, 18vw, 82px) !important;
        max-height: 34px !important;
    }

    .header-pill-search {
        min-height: 36px !important;
        grid-template-columns: minmax(0, 1fr) 36px !important;
    }

    .header-pill-search input {
        font-size: .76rem !important;
        padding-left: 8px !important;
        padding-right: 7px !important;
    }

    .header-pill-search button {
        min-height: 36px !important;
    }

    .header-search-icon {
        width: 16px !important;
        height: 16px !important;
        border-width: 2.4px !important;
    }

    .header-search-icon::after {
        right: -5px !important;
        bottom: -4px !important;
        width: 9px !important;
        height: 2.4px !important;
    }

    .site-nav {
        gap: 2px !important;
        padding-left: 3px !important;
        padding-right: 3px !important;
    }

    .site-nav a,
    .site-nav .nav-cta {
        min-height: 46px !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
        font-size: 9px !important;
    }

    .site-nav .top-nav-link::before {
        width: 17px !important;
        height: 17px !important;
    }
}

@media print {
  body * {
    visibility: hidden;
  }
  .booking-print-panel,
  .booking-print-panel * {
    visibility: visible;
  }
  .booking-print-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 0;
    border: 0;
    background: white;
  }
  .js-print-booking {
    display: none;
  }
}
