@font-face {
  font-family: "BPG Mrgvlovani";
  src: url("../fonts/bpg_mrgvlovani_2010.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

/* v0.29.1 — aligned registration, clearer feedback and roomier navigation */
@media (min-width: 901px) {
  .site-header .header-inner { min-height: 104px; padding-block: 8px; }
  .site-header .brand-logo,
  .site-header .custom-logo { width: 88px; height: 88px; }
  .site-header .primary-nav .menu { gap: clamp(18px, 2vw, 34px); }
  .site-header .primary-nav .menu a { font-size: clamp(.9rem, 1vw, 1.02rem); }
  .site-header .header-actions .icon-link { width: 48px; height: 48px; }
  .site-header .header-actions .icon-link svg { width: 25px; height: 25px; }
}
.registration-contact-row { align-items: start; }
.registration-contact-row .form-field > label { min-height: 1.5em; }
.field-optional { display: inline; color: var(--muted); font-size: .72em; font-weight: 600; }
.registration-contact-row .field-help { min-height: 2.1em; }
.field-help--placeholder { visibility: hidden; }
.username-status { width: fit-content; min-height: 0; margin-top: 8px; padding: 7px 10px; border: 1px solid transparent; border-radius: 9px; font-size: .76rem; line-height: 1.25; }
.username-status:empty { display: none; }
.username-status.is-checking { border-color: #c9dce3; background: #f2f7f9; color: #506b75; }
.username-status.is-available { border-color: #9ad6ba; background: #eaf8f1; color: #12643f; }
.username-status.is-unavailable { border-color: #efb1b6; background: #fff0f1; color: #9f2430; }
.booking-error-summary { margin-bottom: 22px; }
.booking-error-summary ul { margin: 10px 0 0 18px; }
.booking-error-summary li + li { margin-top: 5px; }
.booking-form .is-invalid { border-color: #c84450 !important; box-shadow: 0 0 0 3px rgba(200,68,80,.13) !important; }
.profile-security-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin: 24px 0 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(135deg,#f4fafb,#fff); }
.profile-security-card h3,
.profile-security-card p { margin: 0; }
.profile-security-card p { margin-top: 4px; color: var(--muted); font-size: .78rem; }
.profile-security-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--sky); color: var(--blue); font-size: 1.3rem; font-weight: 900; }
.member-password-reset { margin-inline: auto; }
@media (max-width: 900px) {
  .site-header .header-inner { min-height: 88px; padding-block: 6px; }
  .site-header .brand-logo,
  .site-header .custom-logo { width: 72px; height: 72px; }
}
@media (max-width: 620px) {
  .profile-security-card { grid-template-columns: auto 1fr; }
  .profile-security-card .button { grid-column: 1 / -1; width: 100%; }
}
@font-face {
  font-family: "BPG Mrgvlovani Caps";
  src: url("../fonts/bpg_mrgvlovani_caps_2010.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
}

:root {
  --ink: #062f39;
  --ink-2: #06454b;
  --teal: #4f918f;
  --blue: #1477aa;
  --sky: #e8f3f5;
  --mist: #f4f8f8;
  --text: #26383c;
  --muted: #687b7f;
  --line: #d6e1e2;
  --white: #fff;
  --shadow: 0 18px 48px rgba(4, 49, 59, .12);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "BPG Mrgvlovani", "Sylfaen", system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.vetnet-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.vetnet-captcha input { max-width: 150px; }
.verification-resend { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.verification-resend summary { color: var(--blue); cursor: pointer; font-weight: 800; }
.verification-resend form { margin-top: 15px; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.container--narrow { width: min(860px, calc(100% - 40px)); }
.screen-reader-text, .skip-link:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; z-index: 1000; top: 10px; left: 10px; background: #fff; padding: 10px 14px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #012533;
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark {
  display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid currentColor;
  border-radius: 50%; font-size: .82rem; font-weight: 800; letter-spacing: .06em;
}
.brand-name { font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.brand-logo { width: 58px; height: 58px; object-fit: contain; }
.brand-logo--footer { width: 112px; height: 112px; }
.custom-logo { max-height: 58px; width: auto; }
.primary-nav { flex: 1; }
.menu { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 2vw, 30px); margin: 0; padding: 0; list-style: none; }
.menu a { display: block; padding: 26px 0 22px; border-bottom: 3px solid transparent; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.menu a:hover, .menu .current-menu-item > a { color: #8fdbe1; border-color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.add-listing-link {
  padding: 8px 13px; border: 1px solid rgba(255,255,255,.42); border-radius: 9px;
  font-size: .76rem; font-weight: 800; white-space: nowrap;
}
.add-listing-link:hover { background: #fff; color: var(--ink); }
.icon-link {
  display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.08); color: inherit; cursor: pointer; font-size: 1.45rem;
}
.icon-link:hover { background: rgba(255,255,255,.16); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.screen-reader-text) { display: block; width: 25px; height: 2px; margin: 5px; background: currentColor; }
.search-overlay {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: start center; padding-top: min(26vh, 230px);
  background: rgba(1, 27, 33, .76); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.search-overlay[hidden] { display: none; }
.search-overlay-inner { width: min(720px, calc(100% - 32px)); padding: 30px; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: rgba(255,255,255,.97); box-shadow: 0 30px 80px rgba(0,0,0,.32); }
.search-overlay-inner > p { margin: 0 0 15px; color: var(--ink); font-weight: 800; }
.search-overlay-close { position: fixed; top: 28px; right: 32px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: transparent; color: #fff; font-size: 2rem; cursor: pointer; }
.search-form, .filter-bar { display: flex; align-items: center; gap: 12px; }
.search-form label, .filter-bar label { flex: 1; }
.search-field, .filter-bar input {
  width: 100%; min-height: 46px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}

.hero { position: relative; min-height: 555px; overflow: hidden; color: #fff; background: #064c4b; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: #004744;
  clip-path: polygon(0 0, 29% 0, 51% 100%, 0 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: rgba(75, 143, 140, .94);
  clip-path: polygon(28% 0, 55% 0, 68% 100%, 48% 100%);
}
.hero-media {
  position: absolute; inset: 0 0 0 42%; background: #547d7f url("../images/hero.jpg") 62% center/cover no-repeat;
}
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: 555px; }
.hero-copy { width: min(520px, 51%); padding: 60px 0; }
.eyebrow { margin: 0 0 8px; color: var(--blue); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { color: #a5e1e1; }
.hero h1 { margin: 0 0 20px; font-size: clamp(2.45rem, 5vw, 4.4rem); line-height: 1.08; letter-spacing: -.035em; }
.hero p:not(.eyebrow) { max-width: 480px; margin: 0 0 30px; font-size: 1.05rem; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button--ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.72); }
.button--ghost:hover { background: #fff; color: var(--ink); }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
  border: 1px solid var(--blue); border-radius: 12px; background: var(--blue); color: #fff; font-weight: 800;
  transition: .2s ease;
}
.button:hover { transform: translateY(-2px); background: #0d628f; }
.button--small { min-height: 40px; padding: 8px 18px; border-radius: 10px; }
.button--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.button--outline:hover { color: #fff; background: var(--ink); }

.section { padding: 88px 0; }
.section--tint { background: var(--sky); }
.section--wave { position: relative; background: var(--sky); }
.section--wave::before {
  content: ""; position: absolute; left: 0; right: 0; top: -42px; height: 44px; background: var(--sky);
  clip-path: ellipse(58% 100% at 50% 100%);
}
.section-heading { max-width: 650px; margin: 0 auto 45px; text-align: center; }
.section-heading h2, .page-hero h1 { margin: 0; color: var(--ink); font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.15; }
.section-action { margin-top: 40px; text-align: center; }
.text-link { color: var(--ink-2); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  min-height: 265px; padding: 34px; background: #fff; border: 1px solid rgba(4,49,59,.07);
  border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; transition: .2s ease;
}
.service-card:hover { transform: translateY(-6px); }
.service-icon {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px;
  border-radius: 20px; background: var(--sky); color: var(--blue); font-size: 2rem; font-weight: 400;
}
.service-card h3 { margin: 0 0 10px; color: var(--ink); font-size: 1.3rem; }
.service-card p { margin: 0; color: var(--muted); }

.article-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 28px; }
.article-card { overflow: hidden; }
.article-card { padding-bottom: 12px; border-radius: 20px; background: #fff; box-shadow: 0 3px 20px rgba(4,49,59,.16); transition: box-shadow .3s ease; }
.article-card:hover { box-shadow: 0 4px 26px rgba(4,49,59,.25); }
.article-card--featured { grid-row: span 2; }
.article-card--featured .card-media { aspect-ratio: 1.35; }
.card-media {
  display: block; overflow: hidden; aspect-ratio: 1.4; border-radius: 20px; background: var(--sky);
  box-shadow: 0 12px 30px rgba(4,49,59,.1);
}
.article-card .card-media { transition: box-shadow .35s ease; box-shadow: 0 3px 20px rgba(4,49,59,.16); }
.article-card:hover .card-media { box-shadow: 0 4px 26px rgba(4,49,59,.25); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card-media:hover img { transform: scale(1.035); }
.media-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--teal); font-weight: 900; letter-spacing: .12em; }
.card-body { padding: 17px 4px 4px; }
.card-meta { color: var(--muted); font-size: .78rem; }
.card-body h2, .card-body h3 { margin: 5px 0 8px; color: var(--ink); line-height: 1.35; }
.card-body h3 { font-size: 1.15rem; }
.card-body p { margin: 0 0 13px; color: var(--muted); }
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.article-tags span { padding: 4px 8px; border-radius: 20px; background: var(--sky); color: var(--ink-2); font-size: .68rem; font-weight: 800; }

.listing-grid, .archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.listing-card, .archive-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.listing-card, .archive-card { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.listing-card:hover, .archive-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.article-archive-card { box-shadow: 0 3px 20px rgba(4,49,59,.16); }
.article-archive-card:hover { transform: none; box-shadow: 0 4px 26px rgba(4,49,59,.25); border-color: transparent; }
.listing-card .card-media, .archive-card .card-media { border-radius: 0; box-shadow: none; }
.listing-card .card-body, .archive-card .card-body { padding: 22px; }
.archive-card h2 { font-size: 1.3rem; }
.clinic-facts { margin: 16px 0; padding: 0; list-style: none; color: var(--muted); font-size: .88rem; }
.clinic-facts li + li { margin-top: 5px; }
.empty-state { grid-column: 1 / -1; padding: 50px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; background: #fff; }

.page-hero, .entry-header { padding: 78px 0; background: linear-gradient(135deg, var(--sky), #fff); }
.catalog-hero { padding: 86px 0 76px; background: linear-gradient(125deg, var(--sky), #fff 68%); }
.catalog-hero .container { max-width: var(--container); }
.catalog-hero h1 { max-width: 820px; margin: 0; color: var(--ink); font-size: clamp(2.7rem, 6vw, 5.1rem); line-height: 1.08; }
.catalog-hero p:not(.eyebrow) { max-width: 660px; margin: 18px 0 0; color: var(--muted); font-size: 1.08rem; }
.catalog-section { padding-top: 54px; }
.catalog-filters {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; align-items: end; gap: 13px;
  margin-bottom: 30px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--mist);
}
.catalog-filters label > span { display: block; margin: 0 0 6px 3px; color: var(--ink); font-size: .74rem; font-weight: 800; }
.catalog-filters select, .catalog-filters input {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--text);
}
.catalog-filters select:focus, .catalog-filters input:focus { outline: 3px solid rgba(20,119,170,.14); border-color: var(--blue); }
.filter-reset { min-height: 46px; padding: 9px 14px; border: 0; background: transparent; color: var(--blue); font-weight: 800; cursor: pointer; }
.catalog-summary { margin: 0 0 18px; color: var(--muted); }
.clinic-catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.clinic-catalog-card {
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.clinic-catalog-card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: var(--shadow); }
.clinic-card-media { position: relative; display: block; aspect-ratio: 1.35; overflow: hidden; background: var(--sky); }
.clinic-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.clinic-catalog-card:hover .clinic-card-media img { transform: scale(1.055); }
.clinic-rating { position: absolute; right: 14px; bottom: 14px; padding: 6px 10px; border-radius: 20px; background: rgba(255,255,255,.94); color: #b47700; font-weight: 800; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.clinic-card-content { padding: 23px; }
.clinic-card-content h2 { margin: 0 0 14px; color: var(--ink); font-size: 1.3rem; }
.clinic-card-content p { margin: 7px 0; color: var(--muted); font-size: .86rem; }
.card-cta { display: flex; justify-content: space-between; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--blue); font-weight: 800; }
.clinic-catalog-card:hover .card-cta span { transform: translateX(4px); }
.clinic-card-cta { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.clinic-catalog-card:hover .clinic-card-cta, .clinic-catalog-card:focus-within .clinic-card-cta { opacity: 1; visibility: visible; transform: translateY(0); }
.card-cta span { transition: transform .2s ease; }
.book-filters { grid-template-columns: 1fr 1fr 1.4fr auto; }
.book-catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.book-card {
  overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.book-card:hover { transform: translateY(-9px); border-color: transparent; box-shadow: var(--shadow); }
.book-cover { position: relative; display: block; aspect-ratio: .74; overflow: hidden; background: var(--sky); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .4s ease; }
.book-card:hover .book-cover img { transform: scale(1.045); filter: brightness(.72); }
.book-overlay { position: absolute; inset: auto 16px 16px; padding: 10px 13px; border-radius: 9px; background: #fff; color: var(--ink); font-weight: 800; opacity: 0; transform: translateY(12px); transition: .3s ease; }
.book-card:hover .book-overlay { opacity: 1; transform: translateY(0); }
.book-content { padding: 18px; }
.book-sphere { min-height: 1.2em; margin: 0 0 7px; color: var(--blue); font-size: .72rem; font-weight: 800; }
.book-content h2 { margin: 0 0 8px; color: var(--ink); font-size: 1.06rem; line-height: 1.35; }
.book-author { color: var(--muted); font-size: .8rem; }
.book-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.services-design-heading { margin-bottom: 75px; }
.service-list { display: grid; gap: 105px; max-width: 930px; margin: 0 auto; }
.service-row { display: grid; grid-template-columns: 350px 1fr; align-items: center; gap: clamp(45px, 7vw, 95px); }
.service-row--reverse .service-row-media { order: 2; }
.service-row-media { width: 350px; height: 350px; overflow: hidden; border-radius: 85px 32px 85px 32px; background: var(--sky); }
.service-row--reverse .service-row-media { border-radius: 32px 85px 32px 85px; }
.service-row-media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.service-number { color: var(--blue); font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.service-row-content h2 { color: #5748ed; }
.service-row-content h2, .about-copy h2, .contact-info h2 { margin: 8px 0 18px; color: var(--ink); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.18; }
.about-layout { display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: 70px; }
.about-mark { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: var(--ink); box-shadow: var(--shadow); }
.about-mark img { width: 72%; }
.home-about { overflow: hidden; }
.home-about__layout { grid-template-columns: minmax(0, 1.25fr) minmax(190px, 300px); gap: clamp(32px, 6vw, 80px); }
.home-about__mark { width: min(100%, 270px); justify-self: end; }
.home-about .about-copy h2 { margin: 8px 0 16px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.home-about .about-lead { max-width: 720px; margin-bottom: 20px; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.contact-panel { padding: 34px; border-radius: var(--radius); background: var(--mist); box-shadow: var(--shadow); }
.contact-detail { display: block; margin-top: 30px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; }
.contact-detail span, .contact-detail strong { display: block; }
.contact-detail span { color: var(--muted); font-size: .75rem; }
.booking-page { background: linear-gradient(180deg, #fff, var(--mist)); }
.booking-form { max-width: 930px; margin: 0 auto; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.booking-step { display: flex; align-items: flex-start; gap: 16px; margin: 38px 0 20px; }
.booking-step:first-of-type { margin-top: 0; }
.booking-step > span { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 14px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 800; }
.booking-step h2 { margin: 0; color: var(--ink); font-size: 1.35rem; }
.booking-step p { margin: 4px 0 0; color: var(--muted); font-size: .85rem; }
.booking-services { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 12px; }
.booking-service-option { position: relative; display: flex; height: 100%; cursor: pointer; }
.booking-service-option input { position: absolute; opacity: 0; pointer-events: none; }
.booking-service-option > span { display: flex; width: 100%; min-height: 118px; flex-direction: column; justify-content: center; padding: 20px; border: 1px solid var(--line); border-radius: 16px; transition: .2s ease; }
.booking-service-option strong { color: var(--ink); }
.booking-service-option small { margin-top: 7px; color: var(--muted); }
.booking-service-option input:checked + span { border-color: var(--blue); background: var(--sky); box-shadow: 0 0 0 3px rgba(20,119,170,.12); }
.booking-submit { width: 100%; margin-top: 10px; }
.listing-empty .button { margin-top: 12px; }
.archive-description { max-width: 700px; color: var(--muted); }
.filter-bar { max-width: 760px; margin: 0 auto 45px; padding: 15px; background: var(--mist); border-radius: 16px; }
.pagination { margin-top: 45px; text-align: center; }
.page-numbers { display: inline-grid; place-items: center; min-width: 38px; height: 38px; margin: 2px; border-radius: 8px; background: var(--mist); }
.page-numbers.current { background: var(--blue); color: #fff; }
.page-links { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 35px; padding-top: 22px; border-top: 1px solid var(--line); }
.page-links > span:first-child { margin-right: 5px; color: var(--muted); }
.page-links a span, .page-links > span:not(:first-child) { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 8px; background: var(--mist); color: var(--ink); font-weight: 800; }
.page-links > span:not(:first-child) { background: var(--blue); color: #fff; }

.entry-header h1 { margin: 0; color: var(--ink); font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.15; }
.entry-kicker { margin-bottom: 10px; color: var(--blue); font-weight: 800; }
.entry-meta { margin-top: 16px; color: var(--muted); }
.entry-featured { margin-top: 45px; }
.entry-featured img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.entry-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; padding-top: 55px; padding-bottom: 90px; }
.entry-content { font-size: 1.05rem; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2, .entry-content h3 { color: var(--ink); line-height: 1.25; }
.listing-submit-form { max-width: 760px; margin: 0 auto 90px; padding: 30px; border-radius: var(--radius); background: var(--mist); }
.form-field { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field label { display: block; margin-bottom: 7px; color: var(--ink); font-weight: 800; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; background: #fff;
}
.booking-form input[type="date"], .booking-form select { min-height: 52px; height: 52px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 3px solid rgba(20,119,170,.18); border-color: var(--blue); }
.form-help { color: var(--muted); font-size: .85rem; }
.form-notice, .form-message { max-width: 760px; margin: 40px auto; padding: 25px; border-radius: 16px; background: var(--sky); }
.form-message--success { border-left: 5px solid #2f8b68; }
.form-message--error { border-left: 5px solid #c24d4d; background: #fff0f0; }
.clinic-contact { align-self: start; padding: 24px; border-radius: 18px; background: var(--sky); }
.clinic-contact h2 { margin-top: 0; color: var(--ink); font-size: 1.2rem; }
.clinic-contact div { padding: 12px 0; border-bottom: 1px solid rgba(4,49,59,.12); }
.clinic-contact span, .clinic-contact strong { display: block; }
.clinic-contact span { color: var(--muted); font-size: .78rem; }
.comments-wrap { padding-bottom: 80px; }
.not-found { padding: 130px 0; text-align: center; }

.site-footer { padding: 70px 0 24px; background: var(--ink); color: rgba(255,255,255,.65); }
.footer-grid { display: grid; grid-template-columns: 1.1fr repeat(3, minmax(170px, 1fr)); align-items: start; gap: clamp(35px, 6vw, 95px); }
.footer-grid > div { align-self: start; }
.site-footer h2 { margin: 0 0 18px; color: #fff; font-size: 1rem; }
.site-footer a { display: block; margin: 9px 0; }
.site-footer a:hover { color: #fff; }
.footer-brand p { max-width: 330px; font-size: .9rem; }
.brand--footer { color: #fff; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.footer-bottom { display: grid; grid-template-columns: 1.1fr .8fr 1fr auto auto; align-items: center; gap: 26px; margin-top: 55px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.footer-bottom .social-links { margin: 0; }
.footer-social-label { white-space: nowrap; }

body.admin-bar .site-header { top: 32px; }
.site-header { z-index: 500; }
.clinic-disclaimer { padding: 22px 0; background: var(--sky); color: var(--ink); text-align: center; font-size: .9rem; }
.clinic-disclaimer p { max-width: 1040px; margin: 0 auto; }
.clinic-single-title { padding: 52px 0; text-align: center; }
.clinic-single-title h1 { margin: 0; color: var(--ink); font-size: clamp(2.2rem,5vw,4rem); }
.clinic-single-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 48px; padding-bottom: 80px; }
.clinic-carousel { position: relative; min-height: 520px; overflow: hidden; border-radius: 26px; background: var(--sky); box-shadow: var(--shadow); }
.clinic-slide { display: none; height: 520px; margin: 0; }
.clinic-slide.is-active { display: block; }
.clinic-slide img { width: 100%; height: 100%; object-fit: cover; }
.clinic-carousel button { position: absolute; z-index: 2; top: 50%; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); font-size: 2rem; cursor: pointer; }
.clinic-carousel [data-carousel-prev] { left: 18px; }.clinic-carousel [data-carousel-next] { right: 18px; }
.clinic-description { padding-top: 35px; }
.staff-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.staff-card { padding: 20px; border-radius: 20px; background: #fff; text-align: center; box-shadow: var(--shadow); }
.staff-card img { width: 150px; height: 150px; margin: 0 auto 16px; border-radius: 50%; object-fit: cover; }
.staff-card h3 { margin: 0; color: var(--ink); }.staff-card p { color: var(--muted); }
.clinic-map iframe { width: 100%; height: 480px; border: 0; border-radius: 24px; }
.rating-panel { max-width: 760px; padding: 35px; border-radius: 22px; background: var(--sky); text-align: center; }
.rating-panel select { min-height: 48px; margin-right: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.article-title-wrap { max-width: 1180px; }
.article-single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 54px; padding-top: 55px; padding-bottom: 90px; }
.article-main .entry-content { max-width: 820px; }
.article-main .entry-featured { margin: 0 0 40px; }
.related-sidebar { position: sticky; top: 110px; padding: 24px; border-radius: 20px; background: var(--mist); }
.related-sidebar h2 { margin-top: 0; color: var(--ink); font-size: 1.25rem; }
.related-card { display: block; overflow: hidden; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.listings-top-action { padding-top: 42px; text-align: right; }
.contact-detail { position: relative; padding-left: 68px; }
.contact-detail i { position: absolute; left: 20px; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sky); color: var(--blue); font-style: normal; transform: translateY(-50%); }
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-list details { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.faq-list summary { padding: 18px 22px; color: var(--ink); font-weight: 800; cursor: pointer; }
.faq-list details > div, .faq-list details > p { padding: 0 22px 20px; }
.account-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 35px; max-width: 1080px; margin: 0 auto; }
.account-panel, .member-dashboard { padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: var(--mist); box-shadow: var(--shadow); }
.account-panel h2, .member-dashboard h2, .member-dashboard h3 { margin-top: 0; color: var(--ink); }
.account-panel .listing-submit-form { margin: 0; padding: 0; background: transparent; }
.remember-field { display: block; margin: -6px 0 18px; }
.member-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 35px; }
.member-list { display: grid; gap: 10px; }
.member-list a { display: flex; justify-content: space-between; gap: 20px; padding: 15px; border-radius: 12px; background: #fff; }
.member-list span { color: var(--muted); }
.profile-heading { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.profile-heading img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.profile-heading h2, .profile-heading p { margin: 0; }
.profile-editor { margin: 0 0 35px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.profile-editor summary { padding: 17px 20px; color: var(--ink); font-weight: 800; cursor: pointer; }
.profile-editor form { padding: 5px 20px 25px; }
.comment-list { margin: 0 0 35px; padding: 0; list-style: none; }
.comment-list .comment { margin: 15px 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--mist); }
.comment-list .children { list-style: none; }
.comment-form { max-width: 820px; }
.comment-form input:not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; }
.comment-form .submit { min-height: 48px; padding: 12px 22px; border: 1px solid var(--blue); border-radius: 12px; background: var(--blue); color: #fff; font-weight: 800; cursor: pointer; }

@media (max-width: 1050px) {
  .brand-name { display: none; }
  .add-listing-link { display: none; }
  .menu { gap: 14px; }
  .menu a { font-size: .78rem; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .article-card--featured { grid-column: span 2; grid-row: auto; }
  .listing-grid, .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .clinic-catalog { grid-template-columns: repeat(2, 1fr); }
  .book-catalog { grid-template-columns: repeat(3, 1fr); }
  .catalog-filters { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .hero-media { background-image: url("../images/hero-mobile.jpg"); }
  .header-inner { min-height: 68px; }
  .menu-toggle { display: block; margin-left: auto; color: #fff; cursor: pointer; }
  .primary-nav {
    position: absolute; top: 68px; left: 0; right: 0; max-height: 0; overflow: hidden;
    background: var(--ink); transition: max-height .25s ease;
  }
  .primary-nav.is-open { max-height: calc(100vh - 68px); overflow-y: auto; }
  .menu { display: block; padding: 12px 20px 25px; }
  .menu a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .95rem; }
  .hero, .hero-inner { min-height: 650px; }
  .hero-media { inset: 0; opacity: .42; }
  .hero::before { inset: 0; background: rgba(0,55,57,.92); clip-path: none; }
  .hero::after { display: none; }
  .hero-copy { width: min(560px, 92%); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .entry-layout { grid-template-columns: 1fr; }
  .book-catalog { grid-template-columns: repeat(2, 1fr); }
  .service-row, .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .service-row--reverse .service-row-media { order: 0; }
  .service-row-media { width: 100%; height: auto; aspect-ratio: 1; }
  .booking-services { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .clinic-single-layout, .article-single-layout { grid-template-columns: minmax(0, 1fr); }
  .related-sidebar { position: static; }
  .staff-grid { grid-template-columns: repeat(2,1fr); }
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 600px) {
  .container, .container--narrow { width: min(100% - 28px, var(--container)); }
  .section { padding: 64px 0; }
  .hero, .hero-inner { min-height: 570px; }
  .hero h1 { font-size: 2.65rem; }
  .article-grid, .listing-grid, .archive-grid { grid-template-columns: 1fr; }
  .article-card--featured { grid-column: auto; }
  .article-card--featured .card-media { aspect-ratio: 1.25; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom { display: flex; align-items: flex-start; }
  .staff-grid { grid-template-columns: 1fr; }
  .clinic-carousel, .clinic-slide { min-height: 340px; height: 340px; }
  .search-form, .filter-bar { align-items: stretch; flex-direction: column; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .catalog-filters, .clinic-catalog, .book-catalog { grid-template-columns: 1fr; }
}

/* Account access */
.auth-section {
  display: grid;
  min-height: calc(100vh - 78px);
  align-items: center;
  padding-block: clamp(42px, 6vw, 84px);
  background:
    radial-gradient(circle at 88% 15%, rgba(20,119,170,.12), transparent 28%),
    linear-gradient(145deg, #f7fbfc 0%, #fff 58%, #eef7f9 100%);
}
.vetnet-account-page .inner-hero__inner { min-height: 132px; padding-block: 22px; }
.vetnet-account-page .inner-hero h1 { font-size: clamp(1.75rem, 4vw, 2.65rem); }
.vetnet-account-page .inner-hero p { margin-top: 5px; }
.auth-shell {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(520px, 1.28fr);
  width: min(100%, 1080px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(1,37,51,.1);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(1,37,51,.13);
}
.auth-intro {
  position: relative;
  isolation: isolate;
  padding: clamp(36px, 5vw, 62px);
  overflow: hidden;
  background: linear-gradient(145deg, #012533 0%, #064957 100%);
  color: #fff;
}
.auth-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border: 58px solid rgba(255,255,255,.055);
  border-radius: 50%;
}
.auth-intro .eyebrow { color: #7ed4ee; }
.auth-intro h1 { margin: 12px 0 16px; color: #fff; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.1; }
.auth-intro > p:not(.eyebrow) { max-width: 430px; color: rgba(255,255,255,.78); line-height: 1.75; }
.auth-intro ul { display: grid; gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
.auth-intro li { display: flex; align-items: center; gap: 11px; font-weight: 700; }
.auth-intro li::before {
  content: "✓";
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 50%;
  background: rgba(126,212,238,.16);
  color: #7ed4ee;
  font-size: .78rem;
}
.auth-card { padding: clamp(28px, 4vw, 50px); }
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 30px;
  padding: 5px;
  border-radius: 15px;
  background: var(--mist);
}
.auth-tabs button {
  min-height: 45px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.auth-tabs button.is-active,
.auth-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 5px 15px rgba(1,37,51,.09); }
.auth-panel[hidden] { display: none !important; }
.auth-panel-heading { margin-bottom: 24px; }
.auth-panel-heading h2 { margin: 0 0 7px; font-size: clamp(1.6rem, 3vw, 2.15rem); }
.auth-panel-heading p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.auth-form .form-row { gap: 14px; }
.auth-form .form-field { margin-bottom: 16px; }
.auth-form .form-field label { font-size: .82rem; }
.auth-form .form-field input { min-height: 49px; background: #fff; }
.auth-form .form-field small { display: block; margin-top: 6px; color: var(--muted); font-size: .7rem; }
.auth-form .password-wrap input { padding-right: 48px; }
.auth-form .password-wrap button { top: 50%; right: 8px; transform: translateY(-50%); color: var(--blue); }
.auth-form-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 6px 0 22px; font-size: .76rem; }
.auth-form-meta a { color: var(--blue); font-weight: 800; }
.remember-field { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.remember-field input { width: auto; }
.auth-submit { width: 100%; }

@media (max-width: 860px) {
  .auth-shell { grid-template-columns: 1fr; width: min(100%, 620px); }
  .auth-intro { padding: 30px 34px; }
  .auth-intro h1 { font-size: 2rem; }
  .auth-intro ul { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
  .auth-intro li { align-items: flex-start; font-size: .7rem; line-height: 1.45; }
}

@media (max-width: 600px) {
  .vetnet-account-page .inner-hero__inner { min-height: 104px; padding-block: 17px; }
  .vetnet-account-page .inner-hero h1 { font-size: 1.55rem; }
  .auth-section { min-height: 0; padding-block: 24px; }
  .auth-section > .container { width: min(100% - 22px, var(--container)); }
  .auth-shell { border-radius: 21px; box-shadow: 0 14px 38px rgba(1,37,51,.12); }
  .auth-intro { padding: 25px 22px; }
  .auth-intro > p:not(.eyebrow) { margin-bottom: 0; font-size: .77rem; line-height: 1.6; }
  .auth-intro ul { display: none; }
  .auth-card { padding: 20px 18px 24px; }
  .auth-tabs { margin-bottom: 23px; }
  .auth-tabs button { min-height: 42px; font-size: .76rem; }
  .auth-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .auth-form-meta { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* v0.9 */
.article-grid { grid-template-columns: repeat(3, 1fr); align-items: start; gap: 28px; }
.article-card--featured { grid-column: span 2; grid-row: auto; }
.article-card--featured .card-media { aspect-ratio: 1.8; }
.article-card--side .card-media { aspect-ratio: 1; }
.article-card .card-media { border-radius: 18px; }
.article-card { box-shadow: none; background: transparent; overflow: visible; }
.article-card:hover { box-shadow: none; }
.article-card .card-body { padding-inline: 0; }
.article-card .card-media { box-shadow: 0 3px 18px rgba(4,49,59,.2); }

.articles-page { padding-top: 35px; }
.article-category-filter { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 70px; }
.article-category-filter a { padding: 7px 17px; border: 1px solid var(--blue); border-radius: 9px; color: var(--muted); font-size: .82rem; }
.article-category-filter a.is-active { background: var(--blue); color: #fff; }
.article-list { display: grid; gap: 50px; max-width: 1080px; margin: 0 auto; }
.article-list-row { display: grid; grid-template-columns: 330px 1fr; gap: 50px; align-items: center; }
.article-list-image { display: block; overflow: hidden; width: 330px; height: 250px; border-radius: 10px; box-shadow: 0 5px 20px rgba(4,49,59,.2); }
.article-list-image img { width: 100%; height: 100%; object-fit: cover; }
.article-list-copy h2 { margin: 0 0 10px; color: var(--ink); font-size: 1.65rem; }
.article-list-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; color: #aaa; font-size: .78rem; }
.article-list-meta .article-tags { margin: 0; }
.article-list-meta .article-tags b { padding: 4px 12px; border-radius: 4px; background: var(--ink); color: #fff; font-size: .72rem; }
.article-list-copy p { color: var(--muted); line-height: 1.45; }
.article-read-more { display: block; color: var(--ink-2); text-align: right; font-weight: 800; }

.clinic-filters { grid-template-columns: 1fr 1.1fr .85fr 1.4fr auto auto; padding: 14px; gap: 9px; }
.clinic-filters label > span { font-size: .66rem; }
.clinic-filters select, .clinic-filters input { min-height: 38px; padding: 7px 9px; font-size: .74rem; }
.clinic-filters .button, .clinic-filters .filter-reset { min-height: 38px; padding: 7px 11px; font-size: .7rem; }

.account-menu { position: relative; }
.account-icon-figure { position: relative; display: block; width: 23px; height: 23px; border: 1.8px solid currentColor; border-radius: 50%; }
.account-icon-figure::before { content: ""; position: absolute; left: 50%; top: 4px; width: 6px; height: 6px; border: 1.5px solid currentColor; border-radius: 50%; transform: translateX(-50%); }
.account-icon-figure i { position: absolute; left: 50%; bottom: 3px; width: 11px; height: 6px; border: 1.5px solid currentColor; border-radius: 8px 8px 4px 4px; transform: translateX(-50%); }
.account-popover { position: absolute; z-index: 800; top: calc(100% + 15px); right: -42px; width: 290px; padding: 22px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 18px 55px rgba(0,0,0,.24); }
.account-popover[hidden] { display: none; }
.account-popover::before { content: ""; position: absolute; right: 54px; top: -9px; width: 18px; height: 18px; background: #fff; transform: rotate(45deg); }
.account-popover form { display: grid; gap: 7px; margin-bottom: 20px; }
.account-popover input { width: 100%; height: 38px; padding: 7px 11px; border: 1px solid #aaa; border-radius: 5px; }
.account-popover .button { min-height: 38px; padding: 7px; border-radius: 4px; }
.account-popover > a { margin: 9px 4px; color: #164b79; font-size: .83rem; font-weight: 800; }
.password-wrap { position: relative; }
.password-wrap button { position: absolute; right: 7px; top: 50%; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #607982; cursor: pointer; transform: translateY(-50%); }
.password-wrap button:hover, .password-wrap button:focus-visible { background: #e7f3f6; color: var(--blue); }
.password-wrap button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.password-wrap .password-eye-off { display: none; }
.password-wrap button.is-revealed .password-eye { display: none; }
.password-wrap button.is-revealed .password-eye-off { display: block; }
.password-requirements { display: flex; flex-wrap: wrap; gap: 7px 18px; margin: -4px 0 19px; padding: 0; color: var(--muted); font-size: .72rem; list-style: none; }
.password-requirements li::before { content: "○"; margin-right: 6px; color: #8ba0a7; }
.password-requirements li.is-valid { color: #27785b; }
.password-requirements li.is-valid::before { content: "✓"; color: #27785b; font-weight: 900; }

.listing-checks { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 15px 0 25px; }
.listing-checks label { color: var(--ink); font-weight: 700; }
.listing-current-image { width: 110px; height: 90px; margin-bottom: 10px; border-radius: 10px; object-fit: cover; }
.listing-flags { display: grid; gap: 8px; padding-top: 15px; color: var(--ink-2); }
.listing-owner-actions { display: flex; gap: 8px; margin-top: 20px; }
.button--danger { border-color: #b23b3b; background: #b23b3b; }
.member-list-row { padding: 13px; border-radius: 12px; background: #fff; }
.member-list-row > a { padding: 0; }
.member-list-actions { display: flex; gap: 15px; margin-top: 8px; }
.member-list-actions a { color: var(--blue); font-size: .8rem; font-weight: 800; }

@media (max-width: 1050px) {
  .clinic-filters { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
  .article-list-row { grid-template-columns: 260px 1fr; gap: 28px; }
  .article-list-image { width: 260px; height: 210px; }
}
@media (max-width: 600px) {
  .article-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .article-card--featured { grid-column: span 2; }
  .article-card--side { grid-column: auto; }
  .article-card .card-body h3 { font-size: .9rem; }
  .article-tags span { font-size: .58rem; }
  .article-list-row { grid-template-columns: 1fr; gap: 18px; }
  .article-list-image { width: 100%; height: auto; aspect-ratio: 1.35; }
  .article-list-copy h2 { font-size: 1.25rem; }
  .clinic-filters { grid-template-columns: 1fr; }
  .account-popover { position: fixed; top: 76px; right: 14px; left: 14px; width: auto; }
  .services-summary .service-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 82vw; grid-template-columns: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 5px 2px 18px; }
  .services-summary .service-card { scroll-snap-align: start; min-height: 235px; }
}

/* v0.10 — PSD alignment and revised account/listing controls */
.article-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px 24px;
}
.article-grid .article-card { grid-column: span 2; }
.article-grid .article-card:nth-child(1) { grid-column: span 4; }
.article-grid .article-card:nth-child(2) { grid-column: span 2; }
.article-grid .article-card:nth-child(1) .card-media,
.article-grid .article-card:nth-child(2) .card-media { height: 430px; aspect-ratio: auto; }
.article-grid .article-card:nth-child(n+3) .card-media { height: 275px; aspect-ratio: auto; }
.article-card .card-media img { object-position: center; }

.article-category-filter {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 0 0 62px;
}
.article-category-filter label {
  display: block;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 800;
}
.article-category-filter select {
  min-width: 235px;
  min-height: 42px;
  padding: 8px 38px 8px 13px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.article-list { gap: 48px; max-width: 1040px; }
.article-list-row { grid-template-columns: 330px minmax(0, 1fr); gap: 50px; }
.article-list-image { width: 330px; height: 250px; }
.article-list-copy h2 { font-size: 1.55rem; font-weight: 500; }
.article-list-copy p { margin: 22px 0 10px; }

.account-toggle { background: #fff; }
.account-toggle:hover { background: #e9f5fa; }
.account-toggle img { width: 25px; height: 25px; object-fit: contain; }
.account-popover {
  right: 0;
  top: calc(100% + 12px);
  border: 1px solid rgba(1,37,51,.1);
  border-radius: 4px 4px 24px 24px;
  box-shadow: 0 16px 42px rgba(1,37,51,.2);
}
.account-popover::before { right: 12px; }
.account-popover form { gap: 6px; }
.account-popover > a { display: block; }

.service-list--psd { gap: 36px; width: min(100%, 1080px); max-width: none; margin-inline: auto; }
.service-list--psd .service-row { min-height: 250px; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(34px, 5vw, 62px); padding: 20px 28px; border: 1px solid rgba(4,49,59,.08); border-radius: 24px; background: #fff; box-shadow: 0 10px 30px rgba(4,49,59,.06); }
.service-list--psd .service-row--reverse { grid-template-columns: minmax(0, 1fr) 250px; }
.service-list--psd .service-row-media { width: 250px; height: 250px; border-radius: 54px 22px 54px 22px; }
.service-list--psd .service-row--reverse .service-row-media { border-radius: 26px 62px 26px 62px; }
.service-list--psd .service-row-content h2 {
  color: #5748ed;
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
}
.service-list--psd .service-row-content { color: #777; line-height: 1.45; }
.services-page-section { padding-block: 42px 58px; }
.service-list--compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: none;
}
.service-list--compact .service-card {
  display: grid;
  min-width: 0;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
  border: 1px solid rgba(4,49,59,.1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(4,49,59,.08);
}
.service-list--compact .service-row-media {
  width: 100%;
  height: 190px;
  border-radius: 0;
}
.service-list--compact .service-row-media img { transition: transform .35s ease; }
.service-list--compact .service-card:hover .service-row-media img { transform: scale(1.035); }
.service-list--compact .service-row-content { padding: 22px 24px 24px; color: var(--muted); line-height: 1.55; }
.service-list--compact .service-row-content h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.25;
}
.service-list--compact .service-row-content p { margin: 0 0 9px; }
.service-list--compact + .section-action { margin-top: 32px; }
.clinic-user-rating { color: var(--ink); }
.clinic-user-rating span { color: #f3b51b; letter-spacing: 1px; }

.listing-card-top,
.listing-card-facts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.listing-card-top { color: var(--muted); font-size: .75rem; }
.listing-type {
  padding: 4px 9px;
  border-radius: 20px;
  background: var(--sky);
  color: var(--ink-2);
  font-weight: 800;
}
.listing-card-facts {
  margin: 13px 0 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}
.listing-card-facts strong { color: var(--blue); font-size: .95rem; }
.listings-top-action { padding-top: 34px; text-align: right; }
.listings-page { padding-top: 35px; }

@media (max-width: 820px) {
  .article-grid .article-card:nth-child(1) .card-media,
  .article-grid .article-card:nth-child(2) .card-media { height: 330px; }
  .article-grid .article-card:nth-child(n+3) .card-media { height: 220px; }
}

@media (max-width: 600px) {
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .article-grid .article-card,
  .article-grid .article-card:nth-child(1),
  .article-grid .article-card:nth-child(2) { grid-column: span 1; }
  .article-grid .article-card:nth-child(1) { grid-column: span 2; }
  .article-grid .article-card:nth-child(1) .card-media,
  .article-grid .article-card:nth-child(2) .card-media,
  .article-grid .article-card:nth-child(n+3) .card-media { height: 190px; aspect-ratio: auto; }
  .article-category-filter { display: block; margin-bottom: 38px; }
  .article-category-filter label { margin-bottom: 6px; }
  .article-category-filter select { width: 100%; min-width: 0; }
  .article-list-row { grid-template-columns: 1fr; gap: 18px; }
  .article-list-image { width: 100%; height: 230px; aspect-ratio: auto; }

  .services-summary .service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 7px;
    overflow: visible;
    padding: 0;
  }
  .services-summary .service-card {
    min-height: 145px;
    padding: 12px 7px;
    border-radius: 15px;
  }
  .services-summary .service-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    border-radius: 11px;
    font-size: 1.15rem;
  }
  .services-summary .service-card h3 { margin: 0; font-size: .72rem; line-height: 1.35; }
  .services-summary .service-card p { display: none; }
  .service-list--psd { gap: 38px; }
  .service-list--psd .service-row { min-height: 0; grid-template-columns: 1fr; gap: 20px; padding: 16px; border-radius: 18px; }
  .service-list--psd .service-row-media { width: 100%; height: auto; max-width: 300px; aspect-ratio: 4/3; margin: 0 auto; }
  .account-popover { border-radius: 4px 4px 24px 24px; }
}

/* v0.11 */
.icon-link,
.account-toggle,
.icon-link:hover,
.account-toggle:hover {
  background: transparent;
}
.icon-link:hover { color: #8fdbe1; }
.account-icon-figure {
  position: relative;
  display: block;
  width: 25px;
  height: 25px;
  border: 1.7px solid currentColor;
  border-radius: 50%;
}
.account-icon-figure::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transform: translateX(-50%);
}
.account-icon-figure i {
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 12px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-radius: 9px 9px 4px 4px;
  transform: translateX(-50%);
}
.search-icon-figure {
  position: relative;
  display: block;
  width: 19px;
  height: 19px;
  border: 1.8px solid currentColor;
  border-radius: 50%;
}
.search-icon-figure::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 8px;
  height: 1.8px;
  border-radius: 3px;
  background: currentColor;
  transform: rotate(48deg);
  transform-origin: left center;
}

.article-category-filter { position: relative; width: 190px; }
.article-category-multiselect { position: relative; width: 100%; }
.article-category-multiselect summary {
  min-height: 36px;
  padding: 6px 32px 6px 11px;
  border: 1px solid var(--blue);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: .74rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.article-category-multiselect summary::-webkit-details-marker { display: none; }
.article-category-multiselect summary::after {
  content: "⌄";
  position: absolute;
  top: 5px;
  right: 11px;
  color: var(--blue);
  font-size: 1rem;
}
.article-category-options {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  display: grid;
  width: 235px;
  max-height: 310px;
  gap: 7px;
  padding: 13px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 15px 38px rgba(1,37,51,.18);
}
.article-category-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: .75rem;
  cursor: pointer;
}
.article-category-options input { margin: 0; }
.article-category-options .button { margin-top: 5px; min-height: 34px; font-size: .72rem; }

.listing-card-link { display: block; height: 100%; }
.listing-card-link .card-body { display: flex; min-height: 205px; flex-direction: column; }
.listing-card-link .listing-card-facts { margin-top: auto; }

@media (max-width: 600px) {
  .article-category-filter { width: 170px; }
  .article-category-options { width: min(235px, calc(100vw - 28px)); }
}

/* v0.12 */
.account-icon-figure,
.search-icon-figure {
  width: 25px;
  height: 25px;
}
.search-icon-figure {
  border: 0;
  border-radius: 0;
}
.search-icon-figure::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 17px;
  height: 17px;
  border: 1.8px solid currentColor;
  border-radius: 50%;
}
.search-icon-figure::after {
  right: 0;
  bottom: 4px;
  width: 9px;
}
.profile-pet-card { margin: 0 0 22px; padding: 0; overflow: hidden; border: 1px solid #cfe1e5; border-left: 5px solid var(--blue); border-radius: 17px; background: #fff; box-shadow: 0 9px 28px rgba(1,37,51,.07); }
.profile-pet-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #dce9eb;
  background: linear-gradient(90deg,#e8f4f6,#f8fbfc);
}
.profile-pet-card__head strong { display: flex; align-items: center; gap: 9px; }
.profile-pet-card__head i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--blue); color: #fff; font-size: .72rem; font-style: normal; }
.profile-pet-card label i { display: inline-grid; width: 22px; height: 22px; margin-right: 5px; place-items: center; border-radius: 7px; background: #dff2f5; color: var(--blue); font-style: normal; font-size: .72rem; }
.profile-pet-layout { display: grid; grid-template-columns: minmax(210px,.75fr) minmax(0,2fr); }
.profile-pet-identity { padding: 22px; background: #f1f8f9; }
.profile-pet-identity > p { margin: 0 0 16px; color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .03em; }
.profile-pet-details { padding: 22px; }
.profile-pet-short-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.profile-pet-notes { margin-top: 14px; }
.profile-pet-card .button-link {
  border: 0;
  background: transparent;
  color: #b42318;
  cursor: pointer;
  text-decoration: underline;
}
.profile-editor [data-add-profile-pet] { margin: 0 10px 18px 0; }
.services-merged-section { scroll-margin-top: 90px; }

/* v0.13 */
.article-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -50px 0 50px;
}
.article-active-filters:empty { display: none; }
.article-active-filters a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
}
.article-active-filters a span[aria-hidden="true"] { color: #b42318; font-size: 1.1rem; line-height: 1; }
.article-clear-filters { background: var(--sky); }
.article-filter-loading {
  min-height: 250px;
  padding: 90px 20px;
  color: var(--muted);
  text-align: center;
}
[data-article-results][aria-busy="true"] { opacity: .75; }

.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b8c2c5;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  line-height: 1;
}
.star-rating button { display: block; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; line-height: 1; cursor: pointer; }
.star-rating button span[aria-hidden="true"],
.star-rating--readonly span { display: block; transition: color .15s ease, transform .15s ease; }
.star-rating button:hover span[aria-hidden="true"],
.star-rating button.is-active span[aria-hidden="true"],
.star-rating--readonly span.is-active { color: #f3b51b; }
.star-rating button:hover span[aria-hidden="true"] { transform: scale(1.1); }
.star-rating button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 3px; }
.star-rating button:disabled { cursor: wait; opacity: .7; }
.star-rating-form { margin-top: 12px; }
.star-rating-form .rating-help { margin: 8px 0 15px; color: var(--muted); font-size: .8rem; }
.rating-inline-feedback { min-height: 24px; color: var(--muted); font-size: .78rem; font-weight: 800; }
.rating-inline-feedback.is-success { color: #17663a; }

/* v0.17 profile dashboard */
.member-dashboard { max-width: 1180px; margin: 0 auto; padding: 0; overflow: hidden; background: #fff; }
.logged-in .auth-section { min-height: 0; align-items: start; padding-block: 42px; }
.dashboard-welcome { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 30px 34px 28px; background: linear-gradient(135deg, #f2f9fa, #fff); text-align: center; }
.dashboard-welcome .profile-heading { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; text-align: center; }
.dashboard-welcome .profile-heading img { width: 120px; height: 120px; border: 4px solid #fff; object-position: 50% 50%; box-shadow: 0 8px 26px rgba(1,37,51,.16); }
.profile-avatar-button { position: relative; display: block; flex: 0 0 auto; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.profile-avatar-button img { display: block; border-radius: 50%; }
.profile-avatar-button span { position: absolute; right: -1px; bottom: 2px; display: grid; place-items: center; width: 29px; height: 29px; border: 3px solid #fff; border-radius: 50%; background: var(--blue); color: #fff; font-size: .78rem; box-shadow: 0 4px 12px rgba(1,37,51,.2); }
.profile-avatar-button:hover img, .profile-avatar-button:focus-visible img { filter: brightness(.9); }
.profile-avatar-form { margin: 0; }
.dashboard-welcome .profile-heading .eyebrow { margin-bottom: 3px; color: var(--blue); }
.dashboard-welcome .profile-heading h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.dashboard-welcome .profile-heading p:last-child { margin-top: 5px; color: var(--muted); font-size: .8rem; }
.dashboard-welcome .button { min-width: 220px; text-align: center; }
.dashboard-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.dashboard-stats button { display: grid; gap: 2px; padding: 22px 30px; border: 0; background: transparent; text-align: center; cursor: pointer; transition: background .18s ease; }
.dashboard-stats button:hover, .dashboard-stats button[aria-expanded="true"] { background: #eaf6f8; }
.dashboard-stats button + button { border-left: 1px solid var(--line); }
.dashboard-stats strong { color: var(--ink); font-size: 1.65rem; line-height: 1; }
.dashboard-stats span { color: var(--muted); font-size: .75rem; }
.dashboard-stat-details { background: #f7fbfc; }
.dashboard-stat-details > section { padding: 24px 30px; border-bottom: 1px solid var(--line); }
.dashboard-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.dashboard-detail-head h3 { margin: 0; }
.dashboard-detail-head button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.dashboard-detail-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.dashboard-detail-list article, .dashboard-detail-list a { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; }
.dashboard-detail-list strong, .dashboard-detail-list small { display: block; }
.dashboard-detail-list small { margin-top: 3px; color: var(--muted); }
.dashboard-rating-stars { color: #f3b51b; letter-spacing: 1px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, .7fr); gap: 24px; padding: 30px 34px; background: #f8fbfc; }
.dashboard-pets, .dashboard-quick { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.dashboard-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.dashboard-section-head h3, .dashboard-quick h3 { margin: 2px 0 0; }
.dashboard-section-head > a { color: var(--blue); font-size: .78rem; font-weight: 800; }
.pet-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pet-summary-grid article { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px; border-radius: 13px; background: var(--mist); }
.pet-summary-icon { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #dff1f4; color: var(--blue); }
.pet-summary-grid h4 { overflow: hidden; margin: 0 0 3px; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.pet-summary-grid p { overflow: hidden; margin: 0; color: var(--muted); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-empty { padding: 22px; border-radius: 13px; background: var(--mist); color: var(--muted); }
.dashboard-empty p { margin-top: 0; }
.dashboard-empty a { color: var(--blue); font-weight: 800; }
.dashboard-quick > a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .8rem; font-weight: 800; }
.dashboard-quick > a span { color: var(--blue); }
.member-dashboard .profile-editor { margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.member-dashboard .profile-editor summary { display: flex; justify-content: space-between; padding: 22px 34px; }
.member-dashboard .profile-editor summary span { color: var(--blue); font-size: 1.2rem; }
.member-dashboard .profile-editor form { padding: 10px 34px 32px; }
.profile-personal-panel { display: grid; grid-template-columns: 220px 1fr; gap: 26px; margin-bottom: 34px; padding: 23px; border-radius: 18px; background: linear-gradient(135deg,#e8f4f6 0 220px,#fff 220px); box-shadow: inset 0 0 0 1px #d6e5e8; }
.profile-personal-intro { display: flex; align-items: flex-start; gap: 12px; }
.profile-personal-icon { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--blue); color: #fff; font-size: 1.35rem; }
.profile-personal-intro h3 { margin: 1px 0 5px; font-size: 1rem; }
.profile-personal-intro p { margin: 0; color: var(--muted); font-size: .68rem; }
.profile-fields-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 18px; margin: 0; }
.profile-field { position: relative; margin: 0; padding: 0; border: 0; background: transparent; }
.profile-field:focus-within { transform: none; }
.profile-field label { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.profile-field label span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #dff1f4; color: var(--blue); font-size: .66rem; font-weight: 900; }
.profile-field input { background: #f7fafb; border-color: #cadde1; }
.profile-field small { display: block; margin-top: 7px; color: var(--muted); font-size: .67rem; }
.profile-field--phone { grid-column: 1 / -1; max-width: 55%; }
.account-popover-user { display: flex; align-items: center; gap: 11px; margin: 0 0 14px !important; padding: 0 0 14px; border-bottom: 1px solid var(--line); color: var(--ink) !important; }
.account-popover-user img { flex: 0 0 48px; border-radius: 50%; object-fit: cover; }
.account-popover-user strong { overflow: hidden; text-overflow: ellipsis; }
.rating-feedback { max-width: 430px; margin: 0 auto 16px; padding: 11px 16px; border: 1px solid #9fd5b5; border-radius: 10px; background: #eaf8ef; color: #17663a; font-weight: 800; }
.rating-inline-feedback.is-success, .comment-submit-feedback.is-success { color: #18794e; font-weight: 700; }
.rating-inline-feedback:not(:empty), .comment-submit-feedback:not(:empty) { margin: 12px 0; padding: 11px 14px; border-radius: 10px; background: #eef8f3; }
.comment-submit-feedback.is-error { color: #a33434; background: #fff0f0; }
.form-required-note { margin: 0 0 12px; color: var(--muted); font-size: .75rem; }
.form-required-note span { color: #b33030; }
.auth-form .form-field > label small { color: var(--muted); font-size: .72rem; font-weight: 500; }
.auth-form .form-field > small { display: block; margin-top: 6px; color: var(--muted); font-size: .68rem; line-height: 1.45; }
.dashboard-footer { padding: 17px 34px; border-top: 1px solid var(--line); text-align: right; }
.dashboard-footer a { color: #a33434; font-size: .76rem; font-weight: 800; }

.comment-card > header { display: flex; align-items: center; gap: 12px; }
.comment-card > header img { border-radius: 50%; }
.comment-card > header strong, .comment-card > header time { display: block; }
.comment-card > header time { margin-top: 3px; color: var(--muted); font-size: .7rem; }
.comment-copy { margin: 14px 0; }
.comment-owner-actions { display: flex; align-items: flex-start; gap: 16px; padding-top: 10px; border-top: 1px solid var(--line); }
.comment-owner-actions summary, .comment-owner-actions .button-link { color: var(--blue); font-size: .74rem; font-weight: 800; cursor: pointer; }
.comment-owner-actions details { flex: 1; }
.comment-owner-actions details form { display: grid; gap: 10px; margin-top: 12px; }
.comment-owner-actions textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.comment-owner-actions .button { justify-self: start; }
.comment-owner-actions > form .button-link { border: 0; background: transparent; color: #a33434; }
.comment-action-feedback { grid-column: 1 / -1; width: 100%; font-size: .75rem; }
.comment-action-feedback.is-success { color: #18794e; font-weight: 700; }
.comment-action-feedback.is-error { color: #a33434; font-weight: 700; }

/* v0.29 — account, booking calendar and responsive feedback */
.brand-logo,
.custom-logo { width: 78px; height: 78px; object-fit: contain; }
.header-inner { min-height: 82px; }
.primary-nav .menu a { font-size: clamp(.79rem, .88vw, .94rem); }
.header-actions .icon-link { width: 44px; height: 44px; }
.button--hero-outline { border: 2px solid var(--blue); background: transparent; color: #fff; box-shadow: none; }
.button--hero-outline:hover,
.button--hero-outline:focus-visible { background: var(--blue); color: #fff; }

.account-popover { overflow: hidden; border: 1px solid rgba(6,51,64,.12); box-shadow: 0 18px 46px rgba(3,38,49,.2); }
.account-popover-guest { display: flex; align-items: center; gap: 12px; margin: -4px -4px 14px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg,#e8f6f8,#f7fbfc); color: var(--ink); }
.account-popover-guest-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1.35rem; }
.account-popover-guest strong,
.account-popover-guest small { display: block; }
.account-popover-guest small { margin-top: 3px; color: var(--muted); font-size: .69rem; }
.account-popover form { display: grid; gap: 9px; }
.account-popover form input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #c8d9de; border-radius: 10px; background: #fff; }
.account-popover form .button { width: 100%; }
.account-login-feedback { min-height: 0; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.account-login-feedback:not(:empty) { padding: 9px 10px; border-radius: 8px; background: #eef6f8; }
.account-login-feedback.is-error { color: #a33434; background: #fff0f0; }
.account-login-feedback.is-success { color: #18794e; background: #eef8f3; }
.account-popover-user { text-align: center; }
.account-popover-user > img { width: 72px; height: 72px; margin-inline: auto; box-shadow: 0 6px 18px rgba(3,38,49,.18); }
.account-popover-user > span { align-items: center; }
.profile-username { margin-block: 2px !important; color: var(--blue) !important; font-weight: 700; }

.username-status { display: block; min-height: 1.2em; margin-top: 6px; font-weight: 700; }
.username-status.is-available { color: #18794e; }
.username-status.is-unavailable { color: #b22d39; }
.username-field input.is-valid { border-color: #2b9a6d; box-shadow: 0 0 0 3px rgba(43,154,109,.12); }
.username-field input.is-invalid { border-color: #c84450; box-shadow: 0 0 0 3px rgba(200,68,80,.12); }
.registration-submit-feedback { min-height: 20px; margin-bottom: 8px; color: #a33434; font-size: .78rem; font-weight: 700; }
.auth-shell--single .auth-card { align-self: stretch; }
.auth-back-link { display: inline-block; margin-top: 18px; color: var(--blue); font-weight: 800; }

.booking-date-row { position: relative; grid-template-columns: repeat(2,minmax(0,1fr)); }
.booking-date-button { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.booking-date-button::after { content: "▣"; float: right; color: var(--blue); }
.booking-calendar-popover { position: relative; z-index: 15; width: min(440px,100%); margin: 8px 0 22px; padding: 16px; border: 1px solid #c7dce1; border-radius: 16px; background: #fff; box-shadow: 0 16px 36px rgba(3,38,49,.16); }
.booking-calendar-head { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 8px; margin-bottom: 10px; text-align: center; }
.booking-calendar-head button { display: grid; place-items: center; height: 38px; border: 0; border-radius: 10px; background: var(--sky); color: var(--ink); font-size: 1.5rem; cursor: pointer; }
.booking-calendar-week,
.booking-calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; }
.booking-calendar-week span { padding: 5px 0; color: var(--muted); text-align: center; font-size: .66rem; font-weight: 800; }
.booking-calendar-grid button { aspect-ratio: 1; border: 1px solid transparent; border-radius: 9px; background: #f3f8f9; color: var(--ink); cursor: pointer; }
.booking-calendar-grid button:hover:not(:disabled),
.booking-calendar-grid button.is-selected { border-color: var(--blue); background: var(--blue); color: #fff; }
.booking-calendar-grid button:disabled { background: #f6f6f6; color: #b7c0c3; text-decoration: line-through; cursor: not-allowed; }
.booking-calendar-popover > p { margin: 10px 0 0; color: var(--muted); font-size: .7rem; }

.site-page-loader { position: fixed; inset: 0; z-index: 99999; display: grid; place-content: center; justify-items: center; gap: 13px; background: rgba(3,43,56,.78); color: #fff; opacity: 0; visibility: hidden; transition: opacity .18s ease,visibility .18s ease; }
.site-page-loader span { width: 42px; height: 42px; border: 4px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: vetnet-spin .75s linear infinite; }
.site-page-loader b { font-size: .82rem; }
body.is-page-leaving .site-page-loader { opacity: 1; visibility: visible; }
@keyframes vetnet-spin { to { transform: rotate(360deg); } }
.profile-avatar-form.is-uploading .profile-avatar-button { opacity: .55; pointer-events: none; }
.profile-upload-status { display: block; margin-top: 7px; color: var(--blue); font-size: .72rem; font-weight: 800; text-align: center; }

@media (max-width: 900px) {
  .brand-logo,
  .custom-logo { width: 68px; height: 68px; }
  .header-inner { min-height: 74px; }
  .menu-toggle span:not(.screen-reader-text) { width: 30px; height: 3px; }
  .primary-nav .menu a { padding-block: 15px; font-size: 1.08rem; }
  .header-actions .icon-link { width: 46px; height: 46px; }
}
@media (max-width: 620px) {
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .hero-actions .button { width: 100%; padding-inline: 10px; }
  .booking-date-row { grid-template-columns: 1fr; }
  .booking-calendar-popover { margin-inline: 0; padding: 12px; }
}
.site-action-toast {
  position: fixed;
  z-index: 100000;
  right: 22px;
  bottom: 22px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 12px;
  background: #18794e;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 38px rgba(1,37,51,.24);
  transition: opacity .25s ease, transform .25s ease;
}
.site-action-toast.is-error { background: #a33434; }
.site-action-toast.is-hiding { opacity: 0; transform: translateY(8px); pointer-events: none; }

/* v0.18.7 dashboard, comments and policy */
#faq { scroll-margin-top: 105px; }
.member-dashboard { max-width: 1060px; border-radius: 26px; box-shadow: 0 18px 55px rgba(1,37,51,.10); }
.dashboard-welcome { padding: 25px 30px; }
.dashboard-welcome .button { min-height: 44px; }
.dashboard-grid { grid-template-columns: minmax(0,1.35fr) minmax(320px,.85fr); padding: 24px 30px 30px; }
.dashboard-pets, .dashboard-quick { padding: 21px; }
.dashboard-quick-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 17px; }
.dashboard-quick-grid > a, .dashboard-quick-grid > button { display: flex; min-height: 72px; align-items: center; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #f7fbfc; color: var(--ink); font: inherit; font-size: .72rem; font-weight: 800; text-align: left; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.dashboard-quick-grid > a:hover, .dashboard-quick-grid > button:hover { transform: translateY(-2px); border-color: #9ccbd3; background: #eef8fa; }
.dashboard-quick-grid > a > span, .dashboard-quick-grid > button > span { display: grid; flex: 0 0 31px; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: #dff1f4; color: var(--blue); font-size: 1rem; }
.dashboard-detail-list > article { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 0; overflow: hidden; }
.dashboard-item-main { min-width: 0; padding: 14px; border: 0 !important; background: transparent !important; }
.dashboard-detail-list > article > form { padding-right: 14px; }
.dashboard-delete-button { padding: 7px 10px; border: 0; border-radius: 8px; background: #fff0f0; color: #a33434; font-size: .69rem; font-weight: 800; cursor: pointer; }
.dashboard-delete-button:hover { background: #fadddd; }
.comment-owner-actions { display: block; padding-top: 10px; }
.comment-action-buttons { display: flex; min-height: 34px; align-items: center; gap: 18px; }
.comment-action-buttons > form { display: flex; align-items: center; margin: 0; }
.comment-action-buttons .button-link, [data-comment-edit-toggle] { display: inline-flex; min-height: 32px; align-items: center; padding: 4px 0; border: 0; background: transparent; color: var(--blue); font-size: .74rem; font-weight: 800; cursor: pointer; }
.comment-action-buttons form .button-link { color: #a33434; }
.comment-edit-form { display: grid; width: 100%; gap: 12px; margin-top: 13px; padding: 16px; border: 1px solid #cfe1e5; border-radius: 13px; background: #fff; }
.comment-edit-form[hidden] { display: none; }
.comment-edit-form textarea { width: 100%; min-height: 120px; resize: vertical; font: inherit; line-height: 1.55; }
.comment-edit-controls { display: flex; align-items: center; gap: 14px; }
.comment-edit-controls .button { min-height: 40px; padding: 9px 16px; }
.comment-edit-controls .button-link { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.comment-action-feedback { display: none; }
.comment-submit-feedback:empty { display: none; }
.privacy-page-section { padding-block: 45px 70px; background: #f7fbfc; }
.privacy-policy-card { padding: clamp(24px,5vw,52px); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 16px 46px rgba(1,37,51,.08); }
.privacy-policy-card h2 { margin-top: 32px; font-size: clamp(1.25rem,2vw,1.65rem); }
.privacy-policy-card p { color: #435d66; line-height: 1.8; }
.privacy-updated { color: var(--blue) !important; font-size: .78rem; font-weight: 800; }
.inner-hero--clinic .inner-hero__inner { min-height: 170px; }
.account-popover { width: min(290px,calc(100vw - 24px)); padding: 18px 20px 15px; border-radius: 18px 18px 20px 20px; box-shadow: 0 16px 38px rgba(1,37,51,.24); }
.account-popover-user { gap: 10px; margin-bottom: 8px !important; padding-bottom: 11px; }
.account-popover-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.account-popover-status { padding: 3px 7px; border-radius: 999px; background: #e8f7ee; color: #27785b; font-size: .58rem; letter-spacing: 0; text-transform: none; }
.account-popover-user { flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.account-popover > a.account-popover-user { display: flex; width: 100%; }
.account-popover-user img { flex: 0 0 76px; width: 76px; height: 76px; border: 4px solid #dff1f4; border-radius: 50%; object-fit: cover; object-position: center; box-shadow: 0 7px 18px rgba(1,37,51,.18); }
.account-popover-user > span { display: grid; min-width: 0; gap: 4px; justify-items: center; max-width: 100%; }
.account-popover-user strong { font-size: .9rem; }
.account-popover-user small { overflow: hidden; color: var(--muted); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.account-popover-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 2px 0 8px; }
.account-popover-actions a { display: flex; align-items: center; gap: 6px; margin: 0; padding: 9px 8px; border: 1px solid var(--line); border-radius: 10px; background: #f7fbfc; color: var(--ink); font-size: .67rem; }
.account-popover-actions a:hover { border-color: #9ccbd3; background: #eef8fa; }
.account-popover-actions a span { color: var(--blue); font-size: .95rem; }
.account-popover > a:last-child { display: block; margin: 0; padding: 7px 4px 2px; border-top: 1px solid var(--line); color: #a33434; font-size: .68rem; }
section[data-dashboard-detail="pets"] .dashboard-detail-list { grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 10px; }
section[data-dashboard-detail="pets"] .dashboard-detail-list > article { display: flex; align-items: center; justify-content: flex-start; min-height: 0; gap: 10px; padding: 11px 13px; }
section[data-dashboard-detail="pets"] .dashboard-detail-list > article > div { min-width: 0; text-align: left; }
section[data-dashboard-detail="pets"] .dashboard-detail-list > article > span { flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: #dff1f4; color: var(--blue); }
.pet-summary-grid article { align-items: center; }
.pet-summary-grid article > div { min-width: 0; }

@media (max-width: 820px) {
  .member-dashboard { border-radius: 18px; }
  .dashboard-grid { grid-template-columns: 1fr; padding: 18px; }
  .dashboard-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .dashboard-quick-grid { grid-template-columns: 1fr; }
  .dashboard-detail-list > article { grid-template-columns: 1fr auto; }
  .dashboard-item-main { padding: 12px; }
  .comment-edit-form { padding: 12px; }
  .site-action-toast { right: 12px; bottom: 12px; width: calc(100vw - 24px); text-align: center; }
}

@media (max-width: 720px) {
  .dashboard-welcome .profile-heading img { width: 100px; height: 100px; }
  .dashboard-welcome { align-items: center; flex-direction: column; padding: 24px 20px; text-align: center; }
  .dashboard-welcome .profile-heading { align-items: center; }
  .dashboard-welcome .button { width: auto; min-width: 200px; text-align: center; }
  .dashboard-stats button { padding: 18px 8px; }
  .dashboard-detail-list { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; padding: 20px; }
  .pet-summary-grid { grid-template-columns: 1fr; }
  .member-dashboard .profile-editor summary { padding-inline: 20px; }
  .member-dashboard .profile-editor form { padding-inline: 20px; }
  .profile-fields-grid { grid-template-columns: 1fr; }
  .profile-personal-panel { grid-template-columns: 1fr; background: linear-gradient(180deg,#e8f4f6 0 92px,#fff 92px); }
  .profile-field--phone { grid-column: auto; max-width: none; }
  .profile-pet-layout { grid-template-columns: 1fr; }
  .profile-pet-short-fields { grid-template-columns: 1fr 1fr; }
  .dashboard-footer { padding-inline: 20px; }
}

.article-main,
.article-main .entry-content,
.article-main .entry-content > * {
  min-width: 0;
  max-width: 100%;
}
.article-main .entry-content {
  overflow-wrap: anywhere;
  word-break: normal;
}
.article-main .entry-content iframe,
.article-main .entry-content video,
.article-main .entry-content embed,
.article-main .entry-content object {
  max-width: 100%;
}
.article-main .entry-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}
.article-main .entry-content pre { max-width: 100%; overflow-x: auto; }

@media (max-width: 820px) {
  .header-inner { gap: 8px; }
  .menu-toggle {
    position: relative;
    z-index: 4;
    order: -3;
    flex: 0 0 auto;
    margin: 0 2px 0 -8px;
  }
  .brand { order: -2; }
  .header-actions {
    position: relative;
    z-index: 5;
    margin-left: auto;
  }
  .account-menu,
  .account-toggle { position: relative; z-index: 6; pointer-events: auto; touch-action: manipulation; }
  .account-popover {
    position: fixed;
    z-index: 1000;
    top: 72px;
    right: 12px;
    left: 12px;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
  }
  .account-popover::before { display: none; }
}

@media (max-width: 600px) {
  .article-single-layout {
    gap: 30px;
    width: 100%;
    padding-top: 28px;
    padding-bottom: 55px;
  }
  .entry-header { padding: 48px 0; overflow: hidden; }
  .entry-header h1 { font-size: clamp(1.8rem, 9vw, 2.6rem); overflow-wrap: anywhere; }
  .article-main .entry-featured { margin-bottom: 25px; }
  .article-main .entry-content { font-size: .96rem; line-height: 1.7; }
  .article-main .entry-content figure { width: 100% !important; margin-right: 0; margin-left: 0; }
  .article-active-filters { margin: -25px 0 35px; }
}

/* v0.14 — simplified navigation, compact heroes and four-step booking */
.primary-nav .menu { gap: clamp(10px, 1.3vw, 22px); }
.primary-nav .menu a { font-size: clamp(.7rem, .76vw, .82rem); }

.home-hero,
.home-hero .hero-inner { min-height: 470px; }
.home-hero .hero-copy { padding-block: 48px; }
.home-hero h1 { font-size: clamp(2.35rem, 4.6vw, 4rem); }

.inner-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(112deg, #012533 0%, #06454b 64%, #4f918f 100%);
}
.inner-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 58%;
  opacity: .32;
  background: rgba(255,255,255,.16);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%);
}
.inner-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 185px;
  flex-direction: column;
  justify-content: center;
  padding-block: 30px;
}
.inner-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.15;
}
.inner-hero p {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.78);
  font-size: .95rem;
}

.section-heading--compact { margin-bottom: 30px; }
.section.home-services { padding: 58px 0 32px; }
.section.home-articles { padding: 64px 0 48px; }
.section.home-about { padding-block: 48px; }
.home-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.home-service-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(4,49,59,.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(4,49,59,.09);
}
.home-service-card__media {
  width: 108px;
  height: 92px;
  overflow: hidden;
  border-radius: 13px;
  background: var(--sky);
}
.home-service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.home-service-card__body { min-width: 0; }
.home-service-card h3 { margin: 0 0 6px; color: var(--ink); font-size: 1rem; line-height: 1.35; }
.home-service-card p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }

.about-section-nav {
  position: sticky;
  z-index: 20;
  top: 78px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
}
.about-section-nav .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.about-section-nav a {
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 800;
}
.about-section-nav a:hover { background: var(--sky); color: var(--blue); }
.about-page section[id] { scroll-margin-top: 142px; }
.service-row-content h3 { margin-top: 0; color: var(--ink); font-size: clamp(1.55rem, 3vw, 2.35rem); }

.booking-page { padding-top: 26px; }
.booking-intro { width: min(930px, calc(100% - 40px)); margin: 0 auto 16px; color: var(--muted); }
.booking-form { scroll-margin-top: 96px; }
.booking-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 42px;
  padding: 0;
  list-style: none;
}
.booking-progress li {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: .7rem;
  text-align: center;
}
.booking-progress li::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 17px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--line);
}
.booking-progress li:first-child::before { display: none; }
.booking-progress span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
}
.booking-progress li.is-active,
.booking-progress li.is-complete { color: var(--ink); }
.booking-progress li.is-active span,
.booking-progress li.is-complete span { border-color: var(--blue); background: var(--blue); color: #fff; }
.booking-progress li.is-complete::before,
.booking-progress li.is-active::before { background: var(--blue); }
.booking-panel[hidden] { display: none !important; }
.booking-panel { min-height: 345px; }
.booking-navigation {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
}
.booking-navigation--end { justify-content: flex-end; }
.booking-date-row { align-items: end; }
.booking-date-row .form-field { margin-bottom: 0; }

@media (max-width: 1120px) and (min-width: 821px) {
  .header-inner { gap: 14px; }
  .brand-name { display: none; }
  .brand-logo { width: 50px; height: 50px; }
  .primary-nav .menu { gap: 10px; }
  .primary-nav .menu a { font-size: .67rem; }
  .header-actions { gap: 4px; }
  .icon-link { width: 38px; height: 38px; }
  .home-service-card { grid-template-columns: 82px minmax(0,1fr); gap: 12px; padding: 14px; }
  .home-service-card__media { width: 82px; height: 76px; }
  .home-service-card p { display: none; }
}

@media (max-width: 820px) {
  .service-list--compact { grid-template-columns: 1fr; gap: 18px; }
  .service-list--compact .service-card { grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: none; }
  .service-list--compact .service-row-media { height: 100%; min-height: 180px; }
  .service-list--psd .service-row { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; padding: 18px; }
  .service-list--psd .service-row--reverse { grid-template-columns: minmax(0, 1fr) 210px; }
  .service-list--psd .service-row-media { width: 210px; height: 210px; }
  .home-hero,
  .home-hero .hero-inner { min-height: 410px; }
  .home-hero .hero-copy { width: min(560px, 88%); padding-block: 38px; }
  .home-hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .home-hero p:not(.eyebrow) { max-width: 430px; margin-bottom: 22px; font-size: .92rem; }
  .inner-hero__inner { min-height: 145px; padding-block: 23px; }
  .inner-hero h1 { font-size: clamp(1.65rem, 7vw, 2.4rem); }
  .inner-hero p { margin-top: 6px; font-size: .82rem; line-height: 1.5; }
  .section.home-services { padding: 44px 0 26px; }
  .section.home-articles { padding: 48px 0 36px; }
  .section.home-about { padding-block: 36px; }
  .home-service-grid { gap: 10px; }
  .home-service-card { display: block; padding: 10px; text-align: center; }
  .home-service-card__media { width: 100%; height: 78px; margin-bottom: 9px; }
  .home-service-card h3 { margin: 0; font-size: clamp(.67rem, 2.5vw, .85rem); line-height: 1.35; overflow-wrap: anywhere; }
  .home-service-card p { display: none; }
  .about-section-nav { top: 68px; }
  .about-page section[id] { scroll-margin-top: 124px; }
  .booking-page { padding-top: 18px; }
  .booking-panel { min-height: 0; }
  .booking-progress { margin-bottom: 28px; }
}

@media (max-width: 560px) {
  .service-list--compact .service-card { grid-template-columns: 1fr; grid-template-rows: 160px 1fr; }
  .service-list--compact .service-row-media { min-height: 0; height: 160px; }
  .service-list--compact .service-row-content { padding: 18px; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding-block: 58px; }
  .home-hero,
  .home-hero .hero-inner { min-height: 365px; }
  .home-hero .hero-copy { width: 94%; padding-block: 30px; }
  .home-hero h1 { margin-bottom: 13px; font-size: clamp(1.78rem, 8.5vw, 2.45rem); }
  .home-hero p:not(.eyebrow) { font-size: .82rem; line-height: 1.55; }
  .hero-actions .button { min-height: 42px; padding: 9px 14px; font-size: .76rem; }
  .inner-hero__inner { min-height: 124px; }
  .inner-hero h1 { font-size: clamp(1.5rem, 7.5vw, 2rem); }
  .inner-hero p { max-width: 92%; font-size: .74rem; }
  .section-heading--compact { margin-bottom: 22px; }
  .section-heading--compact h2 { font-size: 1.65rem; }
  .home-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .home-service-card { padding: 7px; border-radius: 12px; }
  .home-service-card__media { height: 62px; border-radius: 9px; }
  .home-service-card h3 { font-size: clamp(.58rem, 2.6vw, .72rem); }
  .home-about__layout { grid-template-columns: 1fr; gap: 28px; }
  .home-about__mark { width: 150px; justify-self: start; }
  .about-section-nav { overflow-x: auto; }
  .about-section-nav .container { width: max-content; min-width: 100%; justify-content: flex-start; flex-wrap: nowrap; padding-inline: 14px; }
  .about-section-nav a { flex: 0 0 auto; font-size: .7rem; }
  .booking-intro { width: min(100% - 28px, 930px); font-size: .78rem; }
  .booking-form { padding: 20px 15px; }
  .booking-progress li { gap: 4px; font-size: .58rem; }
  .booking-progress span { width: 30px; height: 30px; }
  .booking-progress li::before { top: 14px; }
  .booking-progress b { font-weight: 800; }
  .booking-step { gap: 12px; margin-bottom: 18px; }
  .booking-step > span { width: 40px; height: 40px; font-size: .75rem; }
  .booking-step h2 { font-size: 1.2rem; }
  .booking-step p { font-size: .72rem; }
  .booking-navigation .button { min-width: 0; min-height: 42px; padding: 9px 16px; font-size: .76rem; }
  .service-list--psd .service-row { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
  .service-list--psd .service-row--reverse { grid-template-columns: 1fr; }
  .service-list--psd .service-row-media { width: 100%; height: auto; max-width: 300px; aspect-ratio: 4/3; margin: 0 auto; }
  .site-action-toast { right: 16px; bottom: 16px; }
  .entry-content iframe,
  .entry-content video,
  .entry-content embed,
  .entry-content object { width: 100%; max-width: 100%; }
}

/* Final v0.29 responsive sizing overrides. */
@media (max-width: 1120px) and (min-width: 821px) {
  .brand-logo, .custom-logo { width: 64px; height: 64px; }
  .primary-nav .menu a { font-size: .76rem; }
  .icon-link { width: 42px; height: 42px; }
}
@media (max-width: 820px) {
  .brand-logo, .custom-logo { width: 66px; height: 66px; }
  .primary-nav .menu a { font-size: 1.08rem; }
  .menu-toggle span:not(.screen-reader-text) { width: 30px; height: 3px; }
}
@media (max-width: 600px) {
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .hero-actions .button { width: 100%; font-size: .72rem; }
}
