/* Studio Ligjore – public site. Colors come from Admin > Color Palette as CSS variables. */
:root {
  --primary: #1c2b45; --accent: #b08d57; --dark: #0f1a2b; --light: #f7f4ee; --text: #2b2f36;
  --muted: #646b78; --border: #e7e1d6; --white: #fff;
  --radius: 10px; --shadow: 0 10px 30px rgba(15, 26, 43, .08); --shadow-lg: 0 18px 50px rgba(15, 26, 43, .16);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px; --gutter: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5, .h3, .h4, .h5 { font-family: var(--serif); color: var(--dark); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3, .h3 { font-size: 1.3rem; }
.h4 { font-size: 1.15rem; } .h5 { font-size: 1rem; font-family: var(--sans); font-weight: 600; margin-bottom: .2em; }
p { margin: 0 0 1em; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.mt { margin-top: 28px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--dark); color: #fff; padding: 8px 14px; z-index: 1000; border-radius: 6px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .6em; }
.kicker-light { color: #e6cf9f; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 6px; border: 1.5px solid transparent; font: 600 .95rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--dark); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 85%, #000); color: #fff; }
.btn-outline { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--dark); }
.btn-outline-dark { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline-dark:hover { background: var(--primary); color: #fff; }
.btn-whatsapp { background: #25d366; color: #0b3d1f; }
.btn-whatsapp:hover { background: #1fb457; color: #fff; }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center-row { justify-content: center; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 0 var(--border); }
.topbar { background: var(--dark); color: #cfd5df; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.topbar-info a:hover { color: #fff; }
.topbar .icon { color: var(--accent); width: 15px; height: 15px; }
.lang-switch { display: flex; gap: 4px; }
.lang-switch a { color: #cfd5df; text-decoration: none; padding: 2px 8px; border-radius: 4px; font-weight: 600; font-size: .8rem; }
.lang-switch a.active, .lang-switch a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.navbar-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dark); margin-right: auto; }
.logo-img { height: 56px; width: auto; border-radius: 8px; }
.logo-footer .logo-img { height: 72px; }
.logo-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: var(--accent); }
.logo-mark .icon { width: 24px; height: 24px; }
.logo-text { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; line-height: 1.1; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 12px; color: var(--dark); text-decoration: none; font-weight: 500; font-size: .95rem; border-radius: 6px; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--primary); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--dark); cursor: pointer; border-radius: 6px; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-nav { border-top: 1px solid var(--border); padding: 12px var(--gutter) 20px; background: #fff; max-height: calc(100vh - 70px); overflow-y: auto; }
.mobile-nav ul { list-style: none; margin: 0 0 14px; padding: 0; }
.mobile-nav li a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--border); color: var(--dark); text-decoration: none; font-weight: 500; font-size: 1.05rem; }
.mobile-nav li a.active { color: var(--accent); }
.mobile-nav-contact { display: grid; gap: 10px; margin: 16px 0 12px; }
.mobile-nav-contact a { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.mobile-nav-contact .icon { color: var(--accent); }
.lang-switch-mobile { gap: 8px; }
.lang-switch-mobile a { color: var(--text); border: 1px solid var(--border); padding: 6px 14px; }
.lang-switch-mobile a.active { background: var(--primary); border-color: var(--primary); color: #fff; }

@media (max-width: 1080px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .navbar-inner { min-height: 66px; }
}
@media (min-width: 1081px) { .mobile-nav, .mobile-only { display: none !important; } }
@media (max-width: 760px) { .topbar { display: none; } .logo-text { font-size: 1.1rem; } .logo-mark { width: 38px; height: 38px; } .navbar .logo-img { height: 46px; } }

/* Hero */
.hero { position: relative; color: #fff; background: var(--dark); min-height: min(78vh, 680px); display: flex; align-items: center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, color-mix(in srgb, var(--dark) 92%, transparent) 0%, color-mix(in srgb, var(--dark) 70%, transparent) 50%, color-mix(in srgb, var(--dark) 25%, transparent) 100%); z-index: 1; }
.hero-inner { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 110px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero-text { font-size: 1.15rem; max-width: 620px; color: #e3e7ee; margin-bottom: 1.6em; }

/* Stats */
.stats { position: relative; z-index: 3; margin-top: -56px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 26px 20px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--primary); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }
.stats-flat { margin: 0 0 8px; }
.stats-flat .stats-grid { box-shadow: none; border: 1px solid var(--border); }

/* Sections */
.section { padding: 72px 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--primary); color: #d8dde6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }
.section-dark .section-head p:last-child { color: #c3cad6; }
.stats + .section { padding-top: 64px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { position: relative; }
.split-media img, .cta-media img, .side-media img, .content-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.content-media img { aspect-ratio: 3 / 2; }
.media-badge { position: absolute; right: -14px; bottom: -18px; background: var(--accent); color: #fff; padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.media-badge strong { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; }
.media-badge span { font-size: .85rem; }
.prose { font-size: 1.02rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding: 0; list-style: none; margin: 0 0 1em; }
.prose li { position: relative; padding-left: 28px; margin-bottom: .45em; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.lead, .lead-prose { font-size: 1.12rem; }

/* Cards */
.card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.card-pad { padding: 28px; }
.card-link { position: absolute; inset: 0; z-index: 2; }
.practice-card:hover, .team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-media { position: relative; }
.card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-icon { position: absolute; left: 20px; bottom: -22px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--primary); color: var(--accent); border-radius: 10px; box-shadow: var(--shadow); }
.card-icon .icon { width: 24px; height: 24px; }
.card-body { padding: 34px 22px 22px; }
.team-card .card-body { padding-top: 20px; }
.card-body h3 { margin-bottom: .35em; }
.card-body p { color: var(--muted); font-size: .95rem; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: .9rem; }
.card:hover .more .icon { transform: translateX(3px); }
.more .icon { transition: transform .2s; }
.team-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.profile-side .team-photo img { border-radius: var(--radius); }
.role { color: var(--accent) !important; font-weight: 600; font-size: .92rem !important; margin-bottom: .5em; }

/* Features */
.feature { padding: 8px 4px; }
.feature-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); margin-bottom: 14px; }
.feature-icon .icon { width: 24px; height: 24px; }
.feature p { font-size: .95rem; margin: 0; }
.feature-light p { color: var(--muted); }

/* CTA band */
.cta-band { background: var(--light); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta-content p { color: var(--muted); font-size: 1.05rem; }
.cta-content .btn-outline { border-color: var(--primary); color: var(--primary); }
.cta-content .btn-outline:hover { background: var(--primary); color: #fff; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--dark); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--accent); left: 0; top: 6px; width: 14px; height: 2px; transition: transform .2s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-answer { padding: 0 22px 8px; color: var(--muted); }

/* Page banner */
.page-banner { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.page-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-banner-inner { position: relative; padding-top: 56px; padding-bottom: 52px; }
.page-banner h1 { color: #fff; margin-bottom: .3em; }
.page-banner .lead { color: #d5dbe5; max-width: 760px; margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: #aeb7c5; margin-bottom: 14px; }
.breadcrumbs a { color: #e6cf9f; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Practice detail / sidebar */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.content-media { margin-bottom: 28px; }
.sidebar { display: grid; gap: 20px; position: sticky; top: 140px; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: .95rem; border-radius: 4px; }
.side-links li:last-child a { border-bottom: 0; }
.side-links .icon { color: var(--accent); }
.side-links a:hover, .side-links a.active { background: var(--light); color: var(--primary); font-weight: 600; }
.sidebar-cta { background: var(--primary); border-color: var(--primary); color: #d8dde6; display: grid; gap: 10px; }
.sidebar-cta h2 { color: #fff; }
.sidebar-cta p { margin: 0 0 6px; font-size: .95rem; }

/* Profile */
.profile { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 48px; align-items: start; }
.profile-side { display: grid; gap: 20px; }
.profile-contact { display: grid; gap: 10px; }
.profile-contact h2 { margin: 0; }
.profile-contact a:not(.btn) { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; word-break: break-word; }
.profile-contact a:not(.btn) .icon { color: var(--accent); }
.cv { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.form-layout-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.form-card { box-shadow: var(--shadow); scroll-margin-top: 130px; }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin: 0; border: 0; padding: 0; min-width: 0; align-content: start; }
.field label, .field legend { font-weight: 600; font-size: .9rem; color: var(--dark); padding: 0; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); padding: 12px 14px; border: 1px solid #d6d0c4; border-radius: 6px; background: #fff; transition: border-color .2s, box-shadow .2s; min-height: 48px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.has-error input, .has-error select, .has-error textarea { border-color: #b42318; }
.field-error { color: #b42318; font-size: .85rem; margin: 0; }
.field-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; }
.field-check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--primary); flex: none; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span { display: inline-block; padding: 10px 16px; border: 1px solid #d6d0c4; border-radius: 999px; cursor: pointer; font-size: .92rem; transition: all .2s; }
.radio-pill input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.radio-pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-note { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 0; }
.form-note .icon { color: var(--accent); margin-top: 3px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 6px; margin-bottom: 16px; font-size: .95rem; }
.alert-error { background: #fef3f2; color: #912018; border: 1px solid #fecdca; }
.success-box { text-align: center; padding: 30px 10px; }
.success-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #ecfdf3; color: #067647; margin-bottom: 16px; }
.success-icon .icon { width: 32px; height: 32px; }
.success-box p { font-size: 1.1rem; max-width: 480px; margin: 0 auto 20px; }
.form-side { display: grid; gap: 20px; }
.contact-list, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li, .footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon, .footer-contact .icon { color: var(--accent); margin-top: 4px; }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-cards { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--light); }
.info-card .feature-icon { margin: 0; width: 46px; height: 46px; flex: none; }
.info-card p { margin: 0; color: var(--muted); }
.info-card a { color: var(--text); text-decoration: none; word-break: break-word; }

/* Map */
.map-wrap { height: 400px; background: var(--light); border-top: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent { height: 100%; display: grid; place-content: center; justify-items: center; text-align: center; gap: 4px; padding: 20px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--dark); color: #aeb7c5; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.logo-footer { color: #fff; margin-bottom: 14px; }
.footer-title { font-family: var(--sans); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #cfd5df; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.footer-bottom p { margin: 0; }

/* WhatsApp & cookie banner */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); padding: 20px 22px; display: flex; gap: 20px; align-items: center; border-top: 3px solid var(--accent); }
.cookie-banner[hidden] { display: none; }
.cookie-text p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-actions .btn { padding: .7em 1.1em; font-size: .88rem; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .with-sidebar, .profile { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .profile-side { grid-template-columns: minmax(0, 300px) 1fr; align-items: start; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .cta-grid, .form-layout, .form-layout-contact { grid-template-columns: 1fr; gap: 32px; }
  .form-layout-contact .form-card { order: -1; }
  .section { padding: 52px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .media-badge { right: 12px; bottom: -16px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .form-row { grid-template-columns: 1fr; }
  .team-grid { max-width: 420px; margin: 0 auto; }
  .profile-side { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 56px; padding-bottom: 96px; }
  .hero-text { font-size: 1.02rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .stat { padding: 18px 10px; }
  .stat strong { font-size: 1.7rem; }
  .section-head { margin-bottom: 28px; }
  .card-pad { padding: 22px 18px; }
  .cookie-banner { flex-direction: column; align-items: stretch; padding: 18px; }
  .cookie-actions .btn { flex: 1; white-space: normal; padding-left: .6em; padding-right: .6em; }
  .map-wrap { height: 320px; }
  .page-banner-inner { padding-top: 40px; padding-bottom: 38px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .wa-float, .cookie-banner, .cta-band { display: none !important; } }

/* Articles */
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .82rem !important; color: var(--muted); margin-bottom: .5em; }
.article-meta .icon { color: var(--accent); width: 15px; height: 15px; }
.article-card .card-body { padding-top: 20px; }
.card-media-ph { display: grid; place-items: center; aspect-ratio: 3 / 2; background: var(--light); color: var(--accent); }
.card-media-ph .icon { width: 40px; height: 40px; }
.article-lead { color: var(--dark); font-weight: 500; }
.article-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }
.back-link { font-weight: 600; text-decoration: none; }
.share { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; }
.share a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); color: var(--primary); }
.share a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.author-box { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--text); }
.author-box:hover { box-shadow: var(--shadow); }
.author-photo img { width: 64px; height: 64px; object-fit: cover; object-position: top; border-radius: 50%; }
.author-box .role { display: block; margin: 2px 0 0; }
.side-articles { list-style: none; margin: 0; padding: 0; }
.side-articles a { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--dark); font-weight: 500; font-size: .95rem; line-height: 1.4; }
.side-articles li:last-child a { border-bottom: 0; }
.side-articles a:hover span { color: var(--accent); }
.side-articles time { font-size: .8rem; color: var(--muted); font-weight: 400; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 36px; color: var(--muted); }
.muted-text { color: var(--muted); }

/* Visual editor content */
.prose h2 { font-size: 1.6rem; margin-top: 1.3em; }
.prose h4 { font-size: 1.1rem; margin-top: 1.2em; }
.prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose ol li { padding-left: 4px; margin-bottom: .45em; }
.prose ol li::before { content: none; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--accent); background: var(--light); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { max-width: 100%; height: auto; border-radius: 8px; margin: 1em 0; }
.prose img[style*="float: left"], .prose img[style*="float:left"] { margin: 6px 22px 12px 0; }
.prose img[style*="float: right"], .prose img[style*="float:right"] { margin: 6px 0 12px 22px; }
.prose figure { margin: 1.4em 0; }
.prose figure.align-center, .prose figure[style*="margin-left: auto"] { text-align: center; }
.prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: -4px; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; margin: 1.2em 0; max-width: 100%; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--light); color: var(--dark); }
.prose a { color: var(--accent); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.prose::after { content: ""; display: table; clear: both; }
@media (max-width: 640px) {
  .prose img[style*="float"] { float: none !important; display: block; margin: 1em 0 !important; width: 100% !important; height: auto !important; }
}

/* Team cards: centered, so 1, 2 or 3+ members always look balanced */
.grid.team-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 370px)); justify-content: center; }

/* Useful links page */
.link-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.link-card { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--dark); text-decoration: none; transition: box-shadow .2s, border-color .2s, transform .2s; }
.link-card:hover { color: var(--dark); border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.link-card .feature-icon { margin: 0; width: 44px; height: 44px; flex: none; }
.link-card-text { flex: 1; min-width: 0; display: grid; gap: 2px; line-height: 1.35; }
.link-card-text small { color: var(--muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-card-arrow { color: var(--accent); transform: rotate(-45deg); transition: transform .2s; }
.link-card:hover .link-card-arrow { transform: rotate(-45deg) translateX(3px); }
@media (max-width: 640px) { .link-cards { grid-template-columns: 1fr; gap: 10px; } }
.footer-copy { display: grid; gap: 4px; }
.footer-credit { font-size: .8rem; color: #8e99ab; }
.footer-credit a { color: #cfd5df; text-decoration: underline; text-underline-offset: 3px; }

/* Short pages: keep the footer at the bottom of the screen */
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
