/* Cyprus Auto Guide design system v3: white, charcoal, one Mediterranean blue */

@font-face { font-family: "Noto Sans Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/noto-sans-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Noto Sans Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/noto-sans-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Noto Sans Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/noto-sans-greek-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Noto Sans Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/noto-sans-greek-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+1F00-1FFF; }
@font-face { font-family: "Noto Sans Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/noto-sans-cyrillic-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Noto Sans Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/noto-sans-cyrillic-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }

:root {
  --ink: #1F2933;
  --ink-soft: #3E4C59;
  --muted: #616E7C;
  --blue: #0B5FA5;
  --blue-dark: #084B82;
  --blue-tint: #EEF4FA;
  --white: #FFFFFF;
  --tint: #F7F8FA;
  --line: #E4E7EB;
  --line-strong: #CBD2D9;
  --danger: #A32D1E;
  --danger-soft: #FBEAE7;
  --ok: #1E6F4A;
  --ok-soft: #E6F3EC;

  --font: "Noto Sans Variable", "Noto Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --fs-body: 1.0625rem;
  --lh-body: 1.65;
  --measure: 68ch;
  --wrap: 1180px;
  --gutter: 1rem;
  --radius: 4px;
  --radius-lg: 8px;
  --tap: 44px;
  --header-h: 68px;
}
@media (min-width: 900px) { :root { --fs-body: 1.125rem; --gutter: 2rem; --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink); background: var(--white); overflow-wrap: break-word; }
.article-body, .standfirst, .lede, .guide-item p, .feature-text p { overflow-wrap: anywhere; }
img, svg, video, picture { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { line-height: 1.15; color: var(--ink); font-weight: 700; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); }
p, ul, ol, table, figure, blockquote { margin: 0 0 1.15em; }
ul, ol { padding-inline-start: 1.4em; }
.article-body li + li, .panel li + li, .notice li + li { margin-top: .4em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
.visually-hidden { 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 { position: absolute; inset-inline-start: 0; top: -100px; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { top: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.measure { max-width: var(--measure); }
.eyebrow { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: .5rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: var(--tap); padding: .65rem 1.3rem; border-radius: var(--radius); font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; font-size: 1rem; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-gold { background: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: var(--blue); padding-inline: .5rem; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .55; cursor: not-allowed; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Preview ribbon */
.preview-ribbon { background: #3B2A00; color: #FFE7B0; font-size: .9rem; padding: .5rem var(--gutter); text-align: center; }
.preview-ribbon strong { color: #fff; }

/* Masthead */
.masthead { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.masthead-row { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; white-space: nowrap; flex: none; }
.brand img { height: 44px; width: auto; flex: none; max-width: none; }
@media (max-width: 599px) { .brand img { height: 36px; } }
.brand .brand-mark { width: 36px; height: 36px; flex: none; }
.nav-primary { display: none; margin-inline-start: auto; }
.nav-primary ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; }
.nav-primary a { display: inline-flex; align-items: center; min-height: var(--tap); padding: .4rem .75rem; color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav-primary a:hover { color: var(--blue); }
.nav-primary a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.masthead-tools { display: flex; align-items: center; gap: .15rem; margin-inline-start: auto; flex: none; }
@media (min-width: 1000px) { .nav-primary { display: block; } .masthead-tools { margin-inline-start: .5rem; } }
@media (min-width: 1000px) and (max-width: 1279px) { .nav-primary a { font-size: .88rem; padding: .4rem .55rem; } }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: var(--tap); min-height: var(--tap); padding: 0 .5rem; background: transparent; border: 1px solid transparent; border-radius: var(--radius); color: var(--ink); font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--tint); }
.icon-btn svg { width: 22px; height: 22px; flex: none; }

/* Language switcher: a labelled EN / EL control */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-current { display: inline-flex; align-items: center; gap: .4rem; min-height: 38px; padding: 0 .7rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-weight: 700; font-size: .85rem; letter-spacing: .04em; }
.lang-current:hover { border-color: var(--ink); }
.lang-current svg { width: 18px; height: 18px; color: var(--blue); }
.lang-code { font-weight: 700; letter-spacing: .04em; }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 10px 30px rgba(31,41,51,.14); min-width: 200px; padding: .35rem; margin: 0; list-style: none; z-index: 30; }
.lang-menu a, .lang-menu span { display: flex; align-items: center; gap: .6rem; min-height: var(--tap); padding: .4rem .8rem; border-radius: var(--radius); text-decoration: none; color: var(--ink); white-space: nowrap; }
.lang-menu .lang-code { color: var(--blue); min-width: 2ch; }
.lang-menu a:hover { background: var(--tint); }
.lang-menu [aria-current="true"] { font-weight: 700; background: var(--blue-tint); }
.lang-menu .unavailable { color: var(--muted); }

/* Mobile menu */
.menu-toggle { display: inline-flex; }
@media (min-width: 1000px) { .menu-toggle { display: none; } }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: .4rem 0; }
.mobile-nav a { display: flex; align-items: center; gap: .9rem; min-height: 52px; padding: .5rem var(--gutter); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.mobile-nav a:hover, .mobile-nav a[aria-current] { background: var(--tint); color: var(--blue); }
.mobile-nav a svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.mobile-nav .secondary a { font-weight: 500; font-size: 1rem; min-height: 46px; }
.mobile-nav .divider { border-top: 1px solid var(--line); margin: .3rem var(--gutter); }

/* Search */
.search-form { display: flex; gap: .5rem; max-width: 560px; }
.search-form input { flex: 1; min-height: var(--tap); padding: .5rem .9rem; font: inherit; border: 1px solid var(--line-strong); border-radius: var(--radius); min-width: 0; background: #fff; color: var(--ink); }
.search-form input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-tint); }
.search-panel { display: none; background: var(--tint); border-top: 1px solid var(--line); padding: .9rem 0; }
.search-panel[data-open="true"] { display: block; }

/* Hero */
.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 1.25rem; padding: 1.5rem 0 2rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; padding: 3rem 0 3.25rem; } }
.hero h1 { margin-bottom: .6rem; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.3rem); }
.hero .lede { font-size: 1.1em; color: var(--ink-soft); max-width: 40ch; line-height: 1.55; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.hero-media img, .hero-media picture { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); aspect-ratio: 16 / 10; }
@media (max-width: 899px) { .hero-copy { order: 1; } .hero-media { order: 2; } .hero-media img { aspect-ratio: 16 / 9; } }

/* Sections */
.section { padding: 2.75rem 0; }
@media (min-width: 900px) { .section { padding: 3.5rem 0; } }
.section-tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem 1.5rem; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); font-size: 1rem; flex-basis: 100%; }
.section-head.stacked { display: block; }
.section-head.stacked p { margin-top: .35rem; }
.section-head .more { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.section-head .more svg { width: 1em; height: 1em; }
.section-head .more:hover { text-decoration: underline; }
@media (min-width: 700px) { .section-head p { flex-basis: auto; margin-inline-end: auto; } }

/* Task navigation (six short routes) */
.tasks { padding: 1.75rem 0; }
@media (min-width: 900px) { .tasks { padding: 2.25rem 0; } }
.task-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 1000px) { .task-nav { grid-template-columns: repeat(3, 1fr); gap: .75rem; } }
.task-nav a { display: flex; align-items: flex-start; gap: .9rem; min-height: 72px; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); background: var(--white); transition: border-color .15s, background .15s; }
.task-nav a:hover { border-color: var(--blue); background: var(--blue-tint); }
.task-nav svg { width: 26px; height: 26px; flex: none; color: var(--blue); margin-top: .1rem; }
.task-text { display: grid; gap: .1rem; }
.task-text strong { font-size: 1.05rem; line-height: 1.25; }
.task-text span { font-size: .9rem; color: var(--muted); line-height: 1.4; }

/* Airport pair (image-led features) */
.airport-pair { display: grid; gap: 1.75rem; }
@media (min-width: 800px) { .airport-pair { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.airport-feature .thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-lg); background: var(--tint); margin-bottom: 1rem; }
.airport-feature .thumb img { width: 100%; height: 100%; object-fit: cover; }
.airport-feature h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.airport-feature h3 a, .guide-item h3 a, .feature-text h2 a { color: var(--ink); text-decoration: none; }
.airport-feature h3 a:hover, .guide-item h3 a:hover, .feature-text h2 a:hover { color: var(--blue); }
.airport-feature p { margin: 0; color: var(--ink-soft); }
.inline-links { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .95rem; display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; }
.inline-links-label { color: var(--muted); font-weight: 600; }
.inline-links a { text-decoration: none; font-weight: 500; }
.inline-links a:hover { text-decoration: underline; }

/* Long-term feature (editorial) */
.longterm-feature { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .longterm-feature { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3.5rem; } }
.feature-media img { width: 100%; height: auto; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.feature-text h2 { margin-bottom: .6rem; }
.feature-text > p { color: var(--ink-soft); margin-bottom: 1.25rem; }
.feature-text .inline-links { border-top: 0; padding-top: 0; margin-top: 1.25rem; }

/* Guide list (selected guides, archive) */
.guide-grid { display: grid; gap: 2rem 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
@media (min-width: 900px) { .guide-grid { grid-template-columns: repeat(3, 1fr); } }
.guide-item .thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-lg); background: var(--tint); margin-bottom: .9rem; }
.guide-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.guide-item h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.guide-item p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Selected guides: one lead with photo, then compact rows */
.guide-lead-list { display: grid; gap: 2rem; }
@media (min-width: 900px) { .guide-lead-list { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 3.5rem; align-items: start; } }
.guide-lead .thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-lg); background: var(--tint); margin-bottom: 1rem; }
.guide-lead .thumb img { width: 100%; height: 100%; object-fit: cover; }
.guide-lead h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.guide-lead h3 a { color: var(--ink); text-decoration: none; }
.guide-lead h3 a:hover { color: var(--blue); }
.guide-lead p { margin: 0; color: var(--ink-soft); }
.guide-rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.guide-rows li { border-bottom: 1px solid var(--line); }
.guide-rows a { display: grid; gap: .2rem; padding: .9rem .1rem; text-decoration: none; color: var(--ink); }
.guide-rows a:hover strong { color: var(--blue); }
.guide-rows strong { font-size: 1.05rem; line-height: 1.3; }
.guide-rows span { color: var(--muted); font-size: .92rem; line-height: 1.45; }

/* Ownership help: compact lists */
.ownership .topic-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.topic-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.topic-list li { border-bottom: 1px solid var(--line); }
.topic-list a { display: flex; align-items: center; gap: .8rem; min-height: 54px; padding: .5rem .1rem; text-decoration: none; color: var(--ink); font-weight: 600; }
.topic-list a:hover { color: var(--blue); }
.topic-list svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.topic-groups { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.topic-group h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.topic-group h3 a { color: inherit; text-decoration: none; }
.topic-group h3 a:hover { color: var(--blue); }
.topic-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.topic-group a { text-decoration: none; font-size: .97rem; }
.topic-group a:hover { text-decoration: underline; }

/* Business entries (home + directory) */
.business-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.business-list .card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 1rem .1rem; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 1rem; position: relative; }
.business-list .card h3 { font-size: 1.12rem; grid-column: 1; grid-row: 1; margin: 0; }
.business-list .card h3 a { color: var(--ink); text-decoration: none; }
.business-list .card h3 a:hover { color: var(--blue); }
.business-list .card h3 a::after { content: ""; position: absolute; inset: 0; }
.business-list .card p { grid-column: 1; grid-row: 2; margin: 0; color: var(--muted); font-size: .95em; }
.business-list .card .badge { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
@media (max-width: 599px) { .business-list .card { grid-template-columns: 1fr; } .business-list .card .badge { grid-column: 1; grid-row: 1; justify-self: start; margin-bottom: .3rem; } .business-list .card h3 { grid-row: 2; } .business-list .card p { grid-row: 3; } }
.badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 600; padding: .2rem .6rem; border-radius: 3px; background: var(--tint); color: var(--ink-soft); border: 1px solid var(--line-strong); letter-spacing: .02em; }
.badge-checked { background: var(--ok-soft); border-color: #BFDFCC; color: var(--ok); }
.badge-paid { background: #FFF4DB; border-color: #EBD39B; color: #6B4A0E; }
.directory-list .card { grid-template-columns: 1fr auto; }
.directory-list .card .summary { grid-column: 1; grid-row: 3; color: var(--ink); font-size: .98em; margin-top: .25rem; }
.directory-list .card .badge { grid-row: 1 / span 3; }
@media (max-width: 599px) { .directory-list .card { grid-template-columns: 1fr; } .directory-list .card .badge { grid-column: 1; grid-row: 1; justify-self: start; } .directory-list .card h3 { grid-row: 2; } .directory-list .card p { grid-row: 3; } .directory-list .card .summary { grid-row: 4; } }

/* Invitation (advertise) */
.invite { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.5rem; display: grid; gap: .9rem; }
@media (min-width: 800px) { .invite { grid-template-columns: 1fr auto; align-items: center; } }
.invite h2 { margin: 0 0 .25rem; font-size: 1.2rem; }
.invite p { margin: 0; color: var(--muted); }

/* Generic cards kept for category and legacy blocks */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; position: relative; }
.card h3 { margin: 0; font-size: 1.1rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { margin: 0; color: var(--muted); font-size: .95em; }
.card .card-icon { width: 40px; height: 40px; color: var(--blue); background: var(--blue-tint); border-radius: 50%; display: grid; place-items: center; }
.card .card-icon svg { width: 22px; height: 22px; }

/* Breadcrumb */
.breadcrumb { font-size: .86rem; color: var(--muted); margin: 1.1rem 0 .4rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: .5rem; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }

/* Article header */
.article-head .badge { margin-bottom: .9rem; }
.article-head { padding: .5rem 0 1.5rem; max-width: 860px; }
.article-head .standfirst { font-size: 1.15em; color: var(--ink-soft); max-width: var(--measure); margin: .6rem 0 0; line-height: 1.5; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .86rem; color: var(--muted); margin-top: 1rem; }
.featured { margin: 0 0 1.5rem; max-width: 860px; }
.featured .frame { aspect-ratio: 16 / 9; background: var(--tint); border-radius: var(--radius-lg); overflow: hidden; }
.featured img { width: 100%; height: 100%; object-fit: cover; }
.featured figcaption { font-size: .9rem; color: var(--muted); margin-top: .6rem; line-height: 1.5; }
.frame-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-size: .9rem; text-align: center; padding: 1rem; background: repeating-linear-gradient(45deg, var(--tint) 0 12px, #fff 12px 24px); }

/* Article layout */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-bottom: 3.5rem; }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 4rem; } }
.article-body { max-width: var(--measure); min-width: 0; }
.article-body > :first-child { margin-top: 0; }
.article-body > p:first-of-type { font-size: 1.03em; }
.article-body h2 { margin-top: 1.9em; scroll-margin-top: 1.5rem; padding-top: .2em; }
.article-body h3 { margin-top: 1.5em; scroll-margin-top: 1.5rem; }
.article-body img { border-radius: var(--radius); }
.article-body table { width: 100%; border-collapse: collapse; font-size: .95em; background: var(--white); }
.article-body th, .article-body td { text-align: start; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-body th { background: var(--tint); color: var(--ink); font-weight: 700; }
.table-scroll { overflow-x: auto; margin-bottom: 1.15em; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
.table-scroll table { margin: 0; min-width: 480px; }
.article-body blockquote { border-inline-start: 3px solid var(--blue); padding: .3rem 1rem; color: var(--ink-soft); margin-inline: 0; }
.article-body .checklist { list-style: none; padding: 0; }
.article-body .checklist li { padding-inline-start: 2rem; position: relative; }
.article-body .checklist li::before { content: ""; position: absolute; inset-inline-start: .2rem; top: .45em; width: 1rem; height: 1rem; border: 2px solid var(--blue); border-radius: 3px; }
.article-body ol > li::marker { color: var(--blue); font-weight: 700; }
.callout { border: 1px solid var(--line); border-inline-start: 3px solid var(--blue); background: var(--tint); padding: 1rem 1.2rem; border-radius: var(--radius); margin: 1.4em 0; }
.callout.warn { border-inline-start-color: #C98F35; background: #FFF8E8; }
.callout p:last-child { margin-bottom: 0; }

/* Sidebar */
.aside { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 1000px) { .aside { position: sticky; top: 1.25rem; max-height: calc(100vh - 2.5rem); overflow: auto; align-self: start; } }
.panel { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.15rem 1.25rem; background: var(--white); font-size: .95rem; }
.panel h2, .panel h3 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .7rem; font-weight: 700; }
.panel ul { padding-inline-start: 1.1em; margin: 0; }
.panel .meta-row { display: flex; justify-content: space-between; gap: .6rem; padding: .45rem 0; border-top: 1px solid var(--line); }
.panel .meta-row:first-of-type { border-top: 0; }
.panel .meta-row dt { color: var(--muted); }
.panel .meta-row dd { margin: 0; text-align: end; font-weight: 600; color: var(--ink); }
.toc nav ol { padding-inline-start: 1.25em; margin: 0; }
.toc nav li { margin-top: .35em; }
.toc nav a { color: var(--ink); text-decoration: none; }
.toc nav a:hover { color: var(--blue); text-decoration: underline; }
.toc details summary { cursor: pointer; font-weight: 700; color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; min-height: var(--tap); display: flex; align-items: center; }
@media (min-width: 1000px) { .toc details summary { pointer-events: none; list-style: none; } .toc details summary::-webkit-details-marker { display: none; } }

.cta-box { background: var(--blue-tint); border: 1px solid #CFE0F1; border-radius: var(--radius-lg); padding: 1.3rem 1.4rem; margin-bottom: 1.25rem; }
.cta-box h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.cta-box p { color: var(--ink-soft); margin: 0 0 .9rem; font-size: .95rem; }
.cta-box .btn { width: 100%; }
.cta-box .disclosure { font-size: .8rem; color: var(--muted); margin: .7rem 0 0; }
.next-steps { display: grid; gap: .75rem; }
.next-steps .cta-box { margin-bottom: 0; }
.next-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.next-links a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.next-links a:hover { border-color: var(--blue); color: var(--blue); }
.next-links svg { width: 1em; height: 1em; flex: none; color: var(--blue); }

.update-note { background: var(--tint); border-inline-start: 3px solid var(--blue); border-radius: var(--radius); padding: .9rem 1.1rem; font-size: .92rem; color: var(--ink-soft); margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

.related { margin-top: 2.5rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.related h2 { font-size: 1.1rem; }
.related ul { list-style: none; padding: 0; display: grid; gap: .4rem; }
.related a { display: block; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; }
.related a:hover { border-color: var(--blue); color: var(--blue); }

/* Archive / directory */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.5rem; }
.filters a, .filters button { min-height: 38px; display: inline-flex; align-items: center; padding: .3rem .9rem; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--ink); font: inherit; font-size: .92rem; background: #fff; cursor: pointer; }
.filters [aria-pressed="true"], .filters [aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty-state { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 1.5rem; text-align: center; color: var(--muted); background: var(--white); }
.category-grid .card p { font-size: .92em; }

/* Forms */
.form { display: grid; gap: 1rem; max-width: 640px; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; color: var(--ink); }
.field .help { font-size: .9rem; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; min-height: var(--tap); padding: .55rem .8rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; width: 100%; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-tint); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: .9rem; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin-top: .15em; flex: none; }
.check.invalid { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notice { border-radius: var(--radius); padding: 1rem 1.2rem; border: 1px solid var(--line); background: var(--tint); }
.notice.error { border-color: var(--danger); background: var(--danger-soft); color: #6E1F10; }
.notice.success { border-color: var(--ok); background: var(--ok-soft); color: var(--ok); }
.notice p:last-child { margin: 0; }

/* Search results */
.results { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.results li { border-bottom: 1px solid var(--line); padding: .9rem .1rem; }
.results a { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.results a:hover { color: var(--blue); text-decoration: underline; }
.results p { margin: .3rem 0 0; color: var(--muted); font-size: .95rem; }

/* Consent */
.consent { position: fixed; inset-inline: 0; bottom: 0; background: var(--white); border-top: 1px solid var(--line-strong); box-shadow: 0 -8px 24px rgba(31,41,51,.12); padding: 1rem var(--gutter); z-index: 50; font-size: .95rem; display: none; }
.consent[data-open="true"] { display: block; }
.consent-inner { max-width: var(--wrap); margin-inline: auto; display: grid; gap: .8rem; }
@media (min-width: 900px) { .consent-inner { grid-template-columns: 1fr auto; align-items: center; } }
.consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent p { margin: 0; }

/* Footer */
.footer { background: var(--ink); color: #C9D1D9; margin-top: 3rem; padding: 3rem 0 1.5rem; font-size: .95rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer h2 { color: #9FB3C8; font-size: .76rem; margin: 0 0 .8rem; letter-spacing: .12em; text-transform: uppercase; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.footer li a { display: inline-flex; min-height: 36px; align-items: center; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin: .7rem 0 0; max-width: 40ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2.2rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .88rem; }
.footer-bottom button { background: none; border: 0; color: #fff; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; min-height: 36px; }

/* 404 */
.not-found { padding: 3rem 0; max-width: var(--measure); }

/* Utilities */
.stack > * + * { margin-top: 1.25rem; }
.flow-sm > * + * { margin-top: .5rem; }
.center { text-align: center; }
.placeholder-copy { background: #FFF4D6; border: 1px dashed #C98F35; color: #5A3D07; padding: .15rem .35rem; border-radius: 3px; font-size: .9em; }

/* Greek navigation labels are longer */
@media (min-width: 1000px) { html[lang="el"] .nav-primary a { font-size: .86rem; padding: .4rem .5rem; } html[lang="el"] .brand img { height: 40px; } }
@media (min-width: 1000px) and (max-width: 1199px) { html[lang="el"] .nav-primary a { font-size: .8rem; padding: .4rem .4rem; } }
@media (min-width: 1000px) and (max-width: 1199px) { html[lang="el"] .nav-primary { display: none; } html[lang="el"] .menu-toggle { display: inline-flex; } html[lang="el"] .masthead-tools { margin-inline-start: auto; } }

@media (max-width: 999px) { .is-landing .aside { order: -1; } .is-landing .toc { display: none; } .is-landing .next-steps .cta-box .btn { width: auto; } }

/* Tables stack into labelled rows on phones (no horizontal scrolling) */
@media (max-width: 599px) {
  .table-scroll { overflow: visible; border: 0; border-radius: 0; }
  .table-scroll table, .article-body table { min-width: 0; display: block; }
  .article-body table thead { display: none; }
  .article-body table tbody, .article-body table tr, .article-body table td { display: block; width: 100%; }
  .article-body table tr { border: 1px solid var(--line); border-radius: var(--radius); padding: .35rem .8rem; margin-bottom: .75rem; background: var(--white); }
  .article-body table td { border: 0; padding: .45rem 0; border-top: 1px solid var(--line); }
  .article-body table td:first-child { border-top: 0; }
  .article-body table td[data-label]::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: .1rem; }
  .article-body table td:first-child { font-weight: 600; }
}
