/* =====================================================================
   Ekay theme styles — "Klinik Işık" design
   ---------------------------------------------------------------------
   1. Design tokens (colors, fonts, sizes)  ← change the look here
   2. Base
   3. Layout helpers
   4. Buttons, pills
   5. Header, language switcher, mobile menu, announcement
   6. Showcase (Faaliyetler) + cards
   7. Activity page
   8. Forms
   9. CTA band, feedback block
   10. Block content (editor blocks: headings, columns, groups)
   11. Footer, lightbox, utilities
   ===================================================================== */

/* 1. DESIGN TOKENS ---------------------------------------------------- */
:root {
	/* Brand: logo blue is --sky. It is too light for text on white, so text/buttons use --blue and --navy. */
	--sky: #4BB9EF;
	--blue: #0B6FA4;      /* links, primary buttons (5.6:1 on white) */
	--blue-hover: #095A86;
	--navy: #0B2A3F;      /* headings, body text, dark buttons */
	--ink-2: #3B5568;     /* secondary text (7.5:1 on white) */
	--tint: #EAF6FD;      /* soft backgrounds */
	--line: #D6ECF8;      /* borders */
	--white: #ffffff;
	--ok: #0F7B4F;
	--error: #B42318;

	--font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--radius-lg: 24px;
	--radius: 16px;
	--radius-sm: 12px;
	--shadow: 0 12px 32px rgba(11, 42, 63, .08);

	--container: 1216px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 8vw, 96px);
	--card-w: min(380px, 82vw);
	--header-h: 84px;
}

/* 2. BASE ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
/* Page canvas is navy so the area below the footer (overscroll bounce, sub-pixel rounding)
   never shows as a white strip; body paints the white page on top. overflow-x: clip stops
   any stray wide element from causing sideways scrolling without breaking position: sticky. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--navy); overflow-x: clip; overscroll-behavior-y: none; }
body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--navy); color: var(--navy); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
/* Sticky footer: short pages must not leave a blank band under the footer. */
body { display: flex; flex-direction: column; min-height: calc(100vh - var(--admin-bar, 0px)); min-height: calc(100dvh - var(--admin-bar, 0px)); }
/* Body is navy (iOS Safari tints its bottom bar from it); the white page lives on header + main. */
.site-main { flex: 1 0 auto; background: var(--white); }
.announce, .site-header { flex: none; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; color: var(--white); }
.hl { color: #1E86BC; } /* highlighted word in headings (4.3:1 at large sizes only) */
[hidden] { display: none !important; }

/* 3. LAYOUT ----------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.center { text-align: center; }
.center img { margin-inline: auto; }
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }

/* 4. BUTTONS, PILLS --------------------------------------------------- */
.btn, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 14px; border: 0; font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary, .wp-block-button__link { background: var(--blue); color: var(--white); }
.btn--primary:hover, .wp-block-button__link:hover { background: var(--blue-hover); color: var(--white); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: #12405F; color: var(--white); }
.btn--soft { background: var(--tint); color: var(--navy); }
.btn--soft:hover { background: var(--line); color: var(--navy); }
.btn--muted { background: #F1F5F9; color: #475569; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn--lg { min-height: 56px; padding: 0 32px; }
.link-arrow { font-weight: 800; text-decoration: none; }
.link-back { font-weight: 700; text-decoration: none; font-size: 15px; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; line-height: 1.2; }
.pill .ekay-icon { width: 14px; height: 14px; }
.pill--upcoming { background: var(--blue); color: var(--white); }
.pill--past { background: #5B7385; color: var(--white); }
.pill--light { background: var(--white); color: var(--navy); }
.pill--soft { background: var(--tint); color: var(--navy); }

/* 5. HEADER ----------------------------------------------------------- */
.announce { background: var(--navy); color: var(--white); font-size: 14px; font-weight: 600; text-align: center; }
.announce .container { padding-block: 10px; }
.announce p { margin: 0; }
.announce a { color: var(--white); }

/* No backdrop-filter here: it would trap the fixed mobile menu panel inside the header. */
.site-header { position: sticky; top: var(--admin-bar, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.site-logo img { height: 52px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 0; }
.site-nav .menu a:hover, .site-nav .menu .current-menu-item > a, .site-nav .menu .current_page_item > a { color: var(--blue); }

.lang-switch { display: flex; gap: 2px; list-style: none; margin: 0; padding: 4px; background: var(--tint); border-radius: 999px; }
.lang-switch a { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 36px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--navy); text-decoration: none; }
.lang-switch a[aria-current] { background: var(--white); box-shadow: 0 1px 4px rgba(11,42,63,.12); }
.lang-switch a:hover { color: var(--blue); }

.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--tint); color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ekay-icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 24px; padding: 24px var(--gutter); overflow-y: auto; }
	body.nav-open { overflow: hidden; }
	body.nav-open .site-nav { display: flex; }
	body.nav-open .nav-toggle__open { display: none; }
	body.nav-open .nav-toggle__close { display: inline; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { display: block; padding: 14px 0; font-size: 20px; border-bottom: 1px solid var(--line); }
	.lang-switch { align-self: flex-start; }
}

/* 6. SHOWCASE + CARDS ------------------------------------------------- */
.showcase { padding-top: clamp(32px, 5vw, 56px); padding-bottom: 16px; }
.showcase__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.showcase__intro { max-width: 760px; }
.showcase__title { font-size: clamp(36px, 6vw, 60px); line-height: 1.04; margin: 0; }
.showcase__text { margin: 16px 0 0; font-size: clamp(16px, 2vw, 19px); color: var(--ink-2); max-width: 640px; }
.showcase__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.showcase__all { margin-top: 8px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--tint); color: var(--navy); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.filter:hover:not([aria-pressed="true"]) { background: var(--line); }
.arrows { display: flex; gap: 8px; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.arrow:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
@media (max-width: 600px) { .arrows { display: none; } }

.rail { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2)); padding: 24px max(var(--gutter), calc((100% - var(--container)) / 2)) 40px; scrollbar-width: thin; scrollbar-color: #BFE3F8 transparent; }
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: #BFE3F8; border-radius: 8px; }
.rail > .card { flex: 0 0 var(--card-w); scroll-snap-align: start; }
.rail__empty { color: var(--ink-2); padding-block: 24px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

.card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(11, 42, 63, .12); }
.card__media { display: block; aspect-ratio: 19 / 11; background: var(--tint); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: #7CC7EE; }
.card__placeholder .ekay-icon { width: 44px; height: 44px; }
.card__status { position: absolute; left: 16px; top: 16px; }
.card__mode { position: absolute; right: 16px; top: 16px; }
.card__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; flex: 1; }
.card__meta { margin: 0; font-size: 14px; font-weight: 800; color: var(--blue); }
.card__title { margin: 0; font-size: 21px; line-height: 1.28; font-weight: 800; }
.card__title a { color: var(--navy); text-decoration: none; }
.card__title a:hover { color: var(--blue); }
.card__cta { margin-top: auto; width: 100%; }
.capacity { margin-top: auto; }
.capacity + .card__cta { margin-top: 4px; }
.capacity__label { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.capacity__bar { height: 8px; background: var(--tint); border-radius: 8px; overflow: hidden; }
.capacity__bar span { display: block; height: 100%; background: #1E9BD7; border-radius: 8px; }

/* 7. ACTIVITY PAGE ---------------------------------------------------- */
.page-hero { padding-block: clamp(40px, 6vw, 72px) 24px; }
.page-hero__title { font-size: clamp(34px, 5vw, 54px); margin: 0 0 12px; }
.page-hero__lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 760px; }

.activity-hero { background: var(--tint); padding-block: clamp(32px, 5vw, 56px); }
.activity-hero__pills { display: flex; gap: 8px; margin: 16px 0 16px; }
.activity-hero__title { font-size: clamp(32px, 5vw, 52px); max-width: 900px; }
.facts { display: flex; flex-wrap: wrap; gap: 16px 40px; list-style: none; margin: 24px 0 0; padding: 0; }
.facts li { display: flex; align-items: flex-start; gap: 12px; font-weight: 700; }
.facts .ekay-icon { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--white); color: var(--blue); }
.facts__label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

.activity__layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding-block: 48px var(--section); align-items: start; }
@media (max-width: 960px) { .activity__layout { grid-template-columns: 1fr; } }
.admin-bar { --admin-bar: 32px; }
@media (max-width: 782px) { .admin-bar { --admin-bar: 46px; } }
@media (max-width: 600px) { .admin-bar { --admin-bar: 0px; } }
.activity__aside { position: sticky; top: calc(var(--admin-bar, 0px) + var(--header-h) + 24px); }
.activity__main { min-width: 0; }
.activity__main .wp-video, .activity__main video, .activity__main iframe, .activity__main img { max-width: 100%; }
/* Videos in the text: real shape of the file, capped in height, centered (see functions.php). */
.wp-video { width: auto !important; max-width: 100%; margin: 32px auto; display: flex; justify-content: center; }
.wp-video video { width: auto; height: auto; max-width: 100%; max-height: min(75vh, 640px); border-radius: var(--radius); background: var(--navy); }
@media (max-width: 960px) { .activity__aside { position: static; order: -1; } }
/* Past activities render an empty aside; drop it so it adds no grid gap. */
.activity__aside:not(:has(*)) { display: none; }
.activity__cover { margin: 0 0 32px; border-radius: var(--radius-lg); overflow: hidden; }
.activity__cover img { width: 100%; }
.activity__section { margin-top: 48px; }
.activity__section h2 { font-size: 28px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.gallery-grid a { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-grid a:hover img { transform: scale(1.04); }
.video-list { display: flex; flex-wrap: wrap; gap: 20px; }
.video { flex: 1 1 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.video iframe, .video video { width: 100%; height: 100%; border: 0; }
/* Uploaded files keep their own shape (portrait phone clips included) instead of
   being letterboxed into 16:9; several portrait clips sit side by side. */
.video--file { flex: 0 1 auto; aspect-ratio: auto; max-width: 100%; }
.video--file video { width: auto; height: auto; max-width: 100%; max-height: min(75vh, 640px); }

/* 8. FORMS ------------------------------------------------------------ */
.ekay-form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.ekay-form-title { font-size: 22px; margin-bottom: 16px; }
.ekay-field { margin: 0 0 16px; }
.ekay-field label { display: block; font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.ekay-field input, .ekay-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #B9DCF0; border-radius: var(--radius-sm); font: inherit; font-size: 16px; color: var(--navy); background: var(--white); }
.ekay-field textarea { resize: vertical; }
.ekay-field input:focus, .ekay-field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(75,185,239,.35); outline-offset: 0; }
.ekay-req { color: var(--error); }
.ekay-form-note { font-size: 14px; color: var(--ink-2); margin: 0 0 12px; }
.ekay-form button[type=submit] { width: 100%; }
/* Submit button for plugin forms (feedback, registration). */
.ekay-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; margin-top: 8px; padding: 0 28px; border: 0; border-radius: 14px; font: inherit; font-size: 17px; font-weight: 800; letter-spacing: .01em; cursor: pointer; -webkit-appearance: none; appearance: none; transition: background .2s, box-shadow .2s, transform .2s; }
.ekay-btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px rgba(11, 111, 164, .25); }
.ekay-btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(11, 111, 164, .32); }
.ekay-btn-primary:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(11, 111, 164, .25); }
.ekay-btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 14px; }
.ekay-btn__icon { flex: none; transition: transform .2s; }
.ekay-btn:hover .ekay-btn__icon { transform: translateX(3px); }
.ekay-btn[aria-busy=true] { cursor: progress; opacity: .75; transform: none; }
.ekay-btn[aria-busy=true] .ekay-btn__icon { animation: ekay-btn-nudge .8s ease-in-out infinite; }
@keyframes ekay-btn-nudge { 50% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .ekay-btn, .ekay-btn__icon { transition: none; } .ekay-btn[aria-busy=true] .ekay-btn__icon { animation: none; } }
.ekay-form-closed { margin: 0; font-weight: 700; }
.ekay-alert { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 700; margin-bottom: 16px; }
.ekay-alert.is-ok { background: #E7F6EE; color: var(--ok); }
.ekay-alert.is-error { background: #FDECEA; color: var(--error); }
.ekay-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 9. CTA BAND + FEEDBACK BLOCK ---------------------------------------- */
.cta-band { padding-block: var(--section); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band__inner > div { max-width: 680px; }
.cta-band__title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.cta-band__text { font-size: 18px; color: var(--ink-2); margin: 0; }

.feedback { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; max-width: var(--container); margin-inline: auto; padding: var(--section) var(--gutter); }
@media (max-width: 860px) { .feedback { grid-template-columns: 1fr; gap: 24px; } }
.feedback__title { font-size: clamp(30px, 4vw, 44px); }
.feedback__intro p { font-size: 18px; color: var(--ink-2); }

/* 10. BLOCK CONTENT --------------------------------------------------- */
.entry-content > * { max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.entry-content > .alignfull, .entry-content > .cta-band, .entry-content > .showcase { max-width: none; padding-inline: 0; }
.entry-content > .feedback { max-width: calc(var(--container) + 2 * var(--gutter)); padding-inline: var(--gutter); }
.entry-content > .alignwide { max-width: calc(1400px + 2 * var(--gutter)); }
.entry-content--narrow > *, .entry-content > p, .entry-content > ul, .entry-content > ol, .entry-content > h2, .entry-content > h3, .entry-content > blockquote { max-width: calc(780px + 2 * var(--gutter)); }
/* Prose keeps a 780px measure but starts at the container edge, in line with the page title. */
.entry-content > p, .entry-content > ul, .entry-content > ol, .entry-content > h2, .entry-content > h3, .entry-content > blockquote { margin-left: max(0px, calc((100% - var(--container) - 2 * var(--gutter)) / 2)); margin-right: auto; }
.activity .entry-content--narrow > * { max-width: 100%; padding-inline: 0; }
.entry-content { padding-bottom: 8px; }
.page-hero + .entry-content { padding-bottom: var(--section); }
.entry-content > p:first-child { margin-top: 32px; }
.entry-content h2 { font-size: clamp(26px, 3.5vw, 36px); margin-top: 1.4em; }
.entry-content h3 { font-size: 22px; margin-top: 1.3em; }

/* Group/section blocks with background colors from the editor palette. */
.entry-content .wp-block-group.has-background { padding-block: var(--section); }
.entry-content .wp-block-group > :first-child { margin-top: 0; }
.entry-content .wp-block-group.alignfull.has-background > * { max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.has-tint-background-color { background-color: var(--tint) !important; }
.has-navy-background-color { background-color: var(--navy) !important; }
.has-navy-background-color, .has-navy-background-color h2, .has-navy-background-color h3 { color: var(--white); }
.has-white-background-color { background-color: var(--white) !important; }
.has-blue-color { color: var(--blue) !important; }
.has-navy-color { color: var(--navy) !important; }

.wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; }
.wp-block-column { flex: 1 1 260px; min-width: 0; }
.ekay-feature { background: var(--white); border-radius: 20px; padding: 28px; height: 100%; }
.ekay-feature h3 { font-size: 20px; margin: 0 0 8px; }
.ekay-feature p { color: var(--ink-2); margin: 0; }
.ekay-feature .ekay-feature__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-weight: 800; }
.wp-block-image img { border-radius: var(--radius); }
/* Images added with "Ortam ekle" (classic editor): spacing, rounded corners and the
   alignment chosen in the editor. "Hizalama yok" and "Ortala" both sit centered on their own line. */
.entry-content img { height: auto; border-radius: var(--radius); }
.entry-content img.alignnone, .entry-content img.aligncenter,
.entry-content .wp-caption.alignnone, .entry-content .wp-caption.aligncenter { display: block; margin: 32px auto; }
.entry-content .alignleft { float: left; margin: 8px 28px 16px 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: 8px 0 16px 28px; max-width: 50%; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content .wp-caption img { display: block; margin: 0 auto; }
.entry-content .wp-caption-text, .entry-content figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-2); text-align: center; }
@media (max-width: 600px) { .entry-content .alignleft, .entry-content .alignright { float: none; display: block; margin: 24px auto; max-width: 100%; } }
.wp-block-quote { border-left: 4px solid var(--sky); margin-left: 0; padding-left: 20px; font-size: 20px; }

/* 11. FOOTER, LIGHTBOX, UTILITIES ------------------------------------- */
.site-footer { background: var(--navy); color: #CFE6F4; margin-top: 0; }
.site-footer a { color: #CFE6F4; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer__inner { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 40px; padding-block: 56px 32px; align-items: start; }
.site-footer__bottom { padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 800px) { .site-footer__inner { grid-template-columns: 1fr; } }
.site-footer__brand img { height: 48px; width: auto; margin-bottom: 16px; }
.site-footer__brand p { max-width: 420px; font-size: 15px; }
.site-footer__contact { display: grid; gap: 12px; font-size: 15px; }
.site-footer__contact a, .site-footer__contact p { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.site-footer__contact .ekay-icon { flex: none; margin-top: 3px; }
.social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255,255,255,.08); }
.social a:hover { background: rgba(255,255,255,.18); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: 14px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; }
.site-footer__feedback { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.placeholder-note { font-size: 14px; color: #8FB3C9; font-style: italic; }
.site-main .placeholder-note { color: var(--ink-2); padding-block: 16px; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 24, 38, .92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox img { max-height: 90vh; max-width: 100%; border-radius: var(--radius-sm); }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--white); color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; }
body.lightbox-open { overflow: hidden; }

.post-row { padding-block: 24px; border-bottom: 1px solid var(--line); }
.maintenance main { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* 404 page ----------------------------------------------------------- */
.not-found { flex: 1; display: flex; align-items: center; padding-block: var(--section); background: radial-gradient(ellipse at 50% 0%, var(--tint) 0%, var(--white) 70%); }
.not-found__inner { text-align: center; }
.not-found__code { margin: 0; font-size: clamp(96px, 22vw, 200px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--tint); -webkit-text-stroke: 2px #BFE3F8; }
.not-found__title { font-size: clamp(30px, 5vw, 48px); margin: 8px 0 12px; }
.not-found__text { max-width: 520px; margin: 0 auto 32px; font-size: clamp(16px, 2vw, 19px); color: var(--ink-2); }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.error404 .site-main { display: flex; flex-direction: column; }

/* 12. PHONES ---------------------------------------------------------- */
@media (max-width: 600px) {
	:root { --header-h: 68px; --gutter: 20px; --section: 48px; }
	body { font-size: 16px; line-height: 1.6; }
	.site-header__inner { gap: 12px; }
	.site-logo img { height: 42px; }
	.nav-toggle { width: 44px; height: 44px; }
	.site-nav { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
	.site-nav .menu a { font-size: 18px; }
	.btn { min-height: 52px; }
	.btn--lg { padding: 0 24px; }
	.showcase { padding-top: 28px; }
	.showcase__head { gap: 16px; }
	.showcase__title { font-size: 32px; line-height: 1.1; }
	.showcase__text { margin-top: 12px; font-size: 16px; }
	.showcase__controls { width: 100%; }
	.showcase__controls > .btn, .showcase__all { width: 100%; }
	.filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.filters::-webkit-scrollbar { display: none; }
	.filter { flex: none; }
	.rail { gap: 16px; padding-top: 16px; padding-bottom: 28px; }
	.card-grid { grid-template-columns: 1fr; gap: 16px; }
	.card__body { padding: 18px 20px 20px; }
	.card__title { font-size: 19px; }
	.page-hero__title, .activity-hero__title { font-size: 30px; }
	.page-hero__lead { font-size: 16px; }
	.facts { gap: 12px; }
	.facts li { width: 100%; }
	.activity__layout { gap: 28px; padding-block: 28px var(--section); }
	.activity__section { margin-top: 36px; }
	.activity__section h2 { font-size: 24px; }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.ekay-form-card { padding: 20px; border-radius: 20px; }
	.cta-band__inner { gap: 20px; }
	.cta-band__inner > div { max-width: none; }
	.cta-band__text, .feedback__intro p { font-size: 16px; }
	.cta-band .btn, .cta-band__inner .btn { width: 100%; }
	.entry-content h2 { font-size: 26px; }
	.entry-content h3 { font-size: 20px; }
	.ekay-feature { padding: 22px; }
	.wp-block-columns { gap: 16px; }
	.wp-block-buttons .wp-block-button, .wp-block-button__link { width: 100%; }
	.site-footer__inner { gap: 28px; padding-block: 40px 24px; }
	.site-footer__brand img { height: 44px; margin-bottom: 12px; }
	.lightbox { padding: 12px; }
}
