/*
Theme Name:   ELKAT
Theme URI:    https://elkat-posthouse.com
Author:       ELKAT Post House
Description:  The ELKAT Post House site, version 2 ("wild"): torn paper, angled colour panels, film grain and big type on stills. Built for the ELKAT site only. Works with the ELKAT Core plugin; looks complete with free Elementor, with Elementor Pro's theme builder, or with no Elementor at all.
Version: 1.7.1
Requires at least: 6.4
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  elkat
*/

/* ==========================================================================
   Fonts: Plus Jakarta Sans, self-hosted (no request to Google). OFL licence in assets/fonts.
   ========================================================================== */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url("assets/fonts/plus-jakarta-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("assets/fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }

/* ==========================================================================
   Design tokens. THE ONLY PLACE colours, fonts and the space scale are set for the theme.
   Brand pack "ELKAT Post House", section 5; background changed to off-white by Merio, 22 Oct 2026.
   The plugin's pieces read these same names.
   ========================================================================== */
:root {
	--elkat-stone: #f4f4f2;        /* page background: neutral off-white */
	--elkat-stone-light: #fafaf9;
	--elkat-charcoal: #383636;     /* body text instead of pure black */
	--elkat-ink: #181616;          /* near-black: lines, big type on violet */
	--elkat-navy: #03334f;         /* dull azure: dark sections */
	--elkat-cyan: #168794;         /* deep cyan: large text and rules only */
	--elkat-moss: #126b76;         /* cyan darkened for white text */
	--elkat-fog: #cfe3e5;
	--elkat-violet: #af4fed;       /* logo block E: large type and fills only */
	--elkat-plum: #5b2f72;
	--elkat-azure: #2987bf;        /* the electric-blue highlight: underlines, active item, focus */
	--elkat-azure-text: #1f6a8f;   /* 5.4:1 on the background: safe for small text */
	--elkat-cyan-text: #126b76;
	--elkat-cyan-tint: #8fcad1;    /* cyan on dark */
	--elkat-grey: #5e5e5b;         /* secondary text, 5.9:1 */
	--elkat-rule: #c2c2bd;
	--elkat-paper: #f4f4f2;        /* light text on dark surfaces: the same in light and dark mode */
	--elkat-font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Space scale: mobile first, grows on wide screens */
	--elkat-s1: 0.5rem;
	--elkat-s2: 1rem;
	--elkat-s3: 1.5rem;
	--elkat-s4: 2.5rem;
	--elkat-s5: clamp(3.5rem, 8vw, 6.5rem);
	--elkat-s6: clamp(5rem, 12vw, 10rem);
	--elkat-margin: clamp(1.25rem, 5vw, 4rem);
	--elkat-maxw: 78rem;
}

/* ==========================================================================
   Dark mode: the whole page goes black. The visitor chooses it with the switch in the header; ELKAT > Design sets
   what new visitors get and the dark colours. Colour fields (teal, plum, violet, navy) stay as they are.
   ========================================================================== */
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] {
	color-scheme: dark;
	--elkat-stone: #0b0b0c;        /* the page */
	--elkat-stone-light: #131315;
	--elkat-charcoal: #dcdcd7;     /* body text */
	--elkat-ink: #f4f4f2;          /* headings, thin lines, strong text */
	--elkat-grey: #a6a6a1;         /* secondary text */
	--elkat-rule: #2f2f32;
	--elkat-fog: #16222a;
	--elkat-cyan-text: #6cc2cb;
	--elkat-azure-text: #7cc6f2;
}
html[data-theme="dark"] .site-logo .logo-dark { display: none; }
html[data-theme="dark"] .site-logo .logo-light { display: block; }
html[data-theme="dark"] .elementor-widget-text-editor, html[data-theme="dark"] .elementor-widget-text-editor p, html[data-theme="dark"] .elementor-widget-heading .elementor-heading-title { color: var(--elkat-charcoal); }
/* Safety net. Something outside the ELKAT variables (Elementor's Site Settings, another plugin, the Customizer) can paint the page
   or the plain text in fixed light colours, which would leave dark mode half applied. These rules win over such colours:
   the page, the text that inherits from it, and the headings and plain paragraphs that are not inside a colour field. */
html[data-theme="dark"], html[data-theme="dark"] body { background-color: var(--elkat-stone) !important; }
html[data-theme="dark"] body { color: var(--elkat-charcoal) !important; }
html[data-theme="dark"] body :is(h1, h2, h3, h4, h5, h6, .elementor-heading-title):not(.elkat-panel *, .elkat-band *, .elkat-hero *, .site-footer *, .elkat-lightbox *, .elkat-on-navy *, .elkat-on-moss *, .elkat-on-plum *, .elkat-tone-navy *, .elkat-tone-moss *, .elkat-tone-plum *) { color: var(--elkat-ink); }
html[data-theme="dark"] body :is(p, li, dt, dd, blockquote, figcaption, label):not([class*="elkat-"], .elkat-panel *, .elkat-band *, .elkat-hero *, .site-footer *, .elkat-lightbox *, .elkat-on-navy *, .elkat-on-moss *, .elkat-on-plum *, .elkat-tone-navy *, .elkat-tone-moss *, .elkat-tone-plum *) { color: var(--elkat-charcoal); }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--elkat-stone); color: var(--elkat-charcoal); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--elkat-font);
	font-size: 1rem;
	line-height: 1.7;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-x: clip;
}
.site-main { flex: 1; }
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin-top: 0; }
:focus-visible { outline: 3px solid var(--elkat-azure); outline-offset: 3px; border-radius: 2px; }

.skip-link { position: absolute; left: var(--elkat-margin); top: -4rem; background: var(--elkat-charcoal); color: var(--elkat-stone); padding: 0.75rem 1rem; z-index: 100; }
.skip-link:focus { top: 0.75rem; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

/* ==========================================================================
   Header. On a page marked "header floats over the first section" (Home), it sits in white over the hero still.
   ========================================================================== */
.site-header { position: relative; z-index: 40; border-bottom: 1px solid var(--elkat-rule); }
.site-header__scrim { display: none; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; }
.site-logo { display: block; line-height: 0; }
.site-logo img { height: 2.75rem; width: auto; }
.site-logo .logo-light { display: none; }
.menu-toggle { display: none; font: inherit; font-size: 0.9375rem; font-weight: 500; padding: 0.5rem 1rem; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.js .menu-toggle { display: inline-block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.site-nav a { display: block; padding: 0.5rem 0; font-size: 0.9375rem; text-decoration: none; text-underline-offset: 0.4em; text-decoration-thickness: 2px; transition: color 0.3s ease; }
.site-nav a:hover { color: var(--elkat-azure-text); }
.site-nav .current-menu-item > a, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--elkat-azure); }
.js .site-nav { display: none; position: absolute; inset-inline: 0; top: 100%; z-index: 40; padding: 0.5rem var(--elkat-margin) 1.5rem; background: var(--elkat-stone); color: var(--elkat-charcoal); border-bottom: 1px solid var(--elkat-rule); }
.js .site-nav.is-open { display: block; }

.elkat-header-over .site-header { position: absolute; inset-inline: 0; top: 0; border-bottom: 0; color: #fff; }
.elkat-header-over .site-header__scrim { display: block; position: absolute; inset-inline: 0; top: 0; height: 9rem; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgb(3 20 32 / 0.65), rgb(3 20 32 / 0)); }
.elkat-header-over .site-logo .logo-dark { display: none; }
.elkat-header-over .site-logo .logo-light { display: block; }
.elkat-header-over .site-nav a:hover { color: var(--elkat-cyan-tint); }
.elkat-header-over.js .site-nav { background: var(--elkat-navy); color: #fff; border-color: rgb(255 255 255 / 0.3); }
.elkat-header-over :focus-visible { outline-color: #fff; }

@media (min-width: 48rem) {
	.site-header__bar { padding-block: 1.25rem; }
	.site-logo img { height: 3.5rem; }
}

/* The menu shows in a row from 48rem; with 3 or more header buttons from 64rem, with 5 or more from 80rem. */
@media (min-width: 48rem) {
	.site-header[data-bp="48"] .menu-toggle, .js .site-header[data-bp="48"] .menu-toggle { display: none; }
	.site-header[data-bp="48"] .site-nav, .js .site-header[data-bp="48"] .site-nav { display: flex; align-items: center; gap: 2rem; position: static; padding: 0; background: transparent; border: 0; color: inherit; }
	.elkat-header-over.js .site-header[data-bp="48"] .site-nav { background: transparent; border: 0; }
	.site-header[data-bp="48"] .site-nav ul { flex-direction: row; gap: 2rem; }
	.site-header[data-bp="48"] .site-actions { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 1.5rem; margin-top: 0; padding-top: 0; border-top: 0; }
	.site-header[data-bp="48"] .site-actions--rule { border-left: 1px solid color-mix(in srgb, currentColor 30%, transparent); padding-left: 1.5rem; }
	.site-header[data-bp="48"].site-header--below .site-actions--rule { border-left: 0; padding-left: 0; }
	.site-header[data-bp="48"] .site-nav .site-action { min-height: 2.25rem; justify-content: flex-start; padding-block: 0.4rem; }
	.site-header[data-bp="48"] .site-nav .site-action--text + .site-action--text::before { content: "/"; content: "/" / ""; position: absolute; left: -0.95rem; opacity: 0.5; }
	.site-header[data-bp="48"] .site-nav .menu-item-has-children { position: relative; display: flex; align-items: center; gap: 0.25rem; }
	.site-header[data-bp="48"] .submenu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }
	.site-header[data-bp="48"] .site-nav .sub-menu { display: none; position: absolute; top: 100%; left: -1rem; min-width: 16rem; margin: 0; padding: 0.5rem 0; list-style: none; background: var(--elkat-stone); color: var(--elkat-ink); border: 1px solid var(--elkat-ink); z-index: 60; }
	.site-header[data-bp="48"] .site-nav .menu-item-has-children:hover > .sub-menu, .site-header[data-bp="48"] .site-nav .menu-item-has-children:focus-within > .sub-menu, .site-header[data-bp="48"] .site-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
	.site-header[data-bp="48"] .site-nav .sub-menu a, .elkat-header-over .site-header[data-bp="48"] .site-nav .sub-menu a { display: block; padding: 0.65rem 1.25rem; font-size: 0.95rem; color: var(--elkat-ink); }
	.site-header[data-bp="48"] .site-nav .sub-menu a:hover, .elkat-header-over .site-header[data-bp="48"] .site-nav .sub-menu a:hover { color: var(--elkat-ink); text-decoration: underline; text-decoration-color: var(--elkat-azure); text-underline-offset: 0.3em; }
	.site-header[data-bp="48"] .site-nav .sub-menu .menu-item-has-children { display: flex; align-items: center; justify-content: space-between; }
	.site-header[data-bp="48"] .site-nav .sub-menu .menu-item-has-children > a { flex: 1; }
	.site-header[data-bp="48"] .site-nav .sub-menu .sub-menu { left: auto; right: 100%; top: -0.5rem; }
	.site-header[data-bp="48"] .site-nav .site-action.site-action--desk-only { display: inline-flex; }
	.site-header[data-bp="48"].site-header--below .site-nav { flex-direction: column; align-items: flex-end; gap: 0.75rem; }
}

@media (min-width: 64rem) {
	.site-header[data-bp="64"] .menu-toggle, .js .site-header[data-bp="64"] .menu-toggle { display: none; }
	.site-header[data-bp="64"] .site-nav, .js .site-header[data-bp="64"] .site-nav { display: flex; align-items: center; gap: 2rem; position: static; padding: 0; background: transparent; border: 0; color: inherit; }
	.elkat-header-over.js .site-header[data-bp="64"] .site-nav { background: transparent; border: 0; }
	.site-header[data-bp="64"] .site-nav ul { flex-direction: row; gap: 2rem; }
	.site-header[data-bp="64"] .site-actions { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 1.5rem; margin-top: 0; padding-top: 0; border-top: 0; }
	.site-header[data-bp="64"] .site-actions--rule { border-left: 1px solid color-mix(in srgb, currentColor 30%, transparent); padding-left: 1.5rem; }
	.site-header[data-bp="64"].site-header--below .site-actions--rule { border-left: 0; padding-left: 0; }
	.site-header[data-bp="64"] .site-nav .site-action { min-height: 2.25rem; justify-content: flex-start; padding-block: 0.4rem; }
	.site-header[data-bp="64"] .site-nav .site-action--text + .site-action--text::before { content: "/"; content: "/" / ""; position: absolute; left: -0.95rem; opacity: 0.5; }
	.site-header[data-bp="64"] .site-nav .menu-item-has-children { position: relative; display: flex; align-items: center; gap: 0.25rem; }
	.site-header[data-bp="64"] .submenu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }
	.site-header[data-bp="64"] .site-nav .sub-menu { display: none; position: absolute; top: 100%; left: -1rem; min-width: 16rem; margin: 0; padding: 0.5rem 0; list-style: none; background: var(--elkat-stone); color: var(--elkat-ink); border: 1px solid var(--elkat-ink); z-index: 60; }
	.site-header[data-bp="64"] .site-nav .menu-item-has-children:hover > .sub-menu, .site-header[data-bp="64"] .site-nav .menu-item-has-children:focus-within > .sub-menu, .site-header[data-bp="64"] .site-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
	.site-header[data-bp="64"] .site-nav .sub-menu a, .elkat-header-over .site-header[data-bp="64"] .site-nav .sub-menu a { display: block; padding: 0.65rem 1.25rem; font-size: 0.95rem; color: var(--elkat-ink); }
	.site-header[data-bp="64"] .site-nav .sub-menu a:hover, .elkat-header-over .site-header[data-bp="64"] .site-nav .sub-menu a:hover { color: var(--elkat-ink); text-decoration: underline; text-decoration-color: var(--elkat-azure); text-underline-offset: 0.3em; }
	.site-header[data-bp="64"] .site-nav .sub-menu .menu-item-has-children { display: flex; align-items: center; justify-content: space-between; }
	.site-header[data-bp="64"] .site-nav .sub-menu .menu-item-has-children > a { flex: 1; }
	.site-header[data-bp="64"] .site-nav .sub-menu .sub-menu { left: auto; right: 100%; top: -0.5rem; }
	.site-header[data-bp="64"] .site-nav .site-action.site-action--desk-only { display: inline-flex; }
	.site-header[data-bp="64"].site-header--below .site-nav { flex-direction: column; align-items: flex-end; gap: 0.75rem; }
}

@media (min-width: 80rem) {
	.site-header[data-bp="80"] .menu-toggle, .js .site-header[data-bp="80"] .menu-toggle { display: none; }
	.site-header[data-bp="80"] .site-nav, .js .site-header[data-bp="80"] .site-nav { display: flex; align-items: center; gap: 2rem; position: static; padding: 0; background: transparent; border: 0; color: inherit; }
	.elkat-header-over.js .site-header[data-bp="80"] .site-nav { background: transparent; border: 0; }
	.site-header[data-bp="80"] .site-nav ul { flex-direction: row; gap: 2rem; }
	.site-header[data-bp="80"] .site-actions { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 1.5rem; margin-top: 0; padding-top: 0; border-top: 0; }
	.site-header[data-bp="80"] .site-actions--rule { border-left: 1px solid color-mix(in srgb, currentColor 30%, transparent); padding-left: 1.5rem; }
	.site-header[data-bp="80"].site-header--below .site-actions--rule { border-left: 0; padding-left: 0; }
	.site-header[data-bp="80"] .site-nav .site-action { min-height: 2.25rem; justify-content: flex-start; padding-block: 0.4rem; }
	.site-header[data-bp="80"] .site-nav .site-action--text + .site-action--text::before { content: "/"; content: "/" / ""; position: absolute; left: -0.95rem; opacity: 0.5; }
	.site-header[data-bp="80"] .site-nav .menu-item-has-children { position: relative; display: flex; align-items: center; gap: 0.25rem; }
	.site-header[data-bp="80"] .submenu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }
	.site-header[data-bp="80"] .site-nav .sub-menu { display: none; position: absolute; top: 100%; left: -1rem; min-width: 16rem; margin: 0; padding: 0.5rem 0; list-style: none; background: var(--elkat-stone); color: var(--elkat-ink); border: 1px solid var(--elkat-ink); z-index: 60; }
	.site-header[data-bp="80"] .site-nav .menu-item-has-children:hover > .sub-menu, .site-header[data-bp="80"] .site-nav .menu-item-has-children:focus-within > .sub-menu, .site-header[data-bp="80"] .site-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
	.site-header[data-bp="80"] .site-nav .sub-menu a, .elkat-header-over .site-header[data-bp="80"] .site-nav .sub-menu a { display: block; padding: 0.65rem 1.25rem; font-size: 0.95rem; color: var(--elkat-ink); }
	.site-header[data-bp="80"] .site-nav .sub-menu a:hover, .elkat-header-over .site-header[data-bp="80"] .site-nav .sub-menu a:hover { color: var(--elkat-ink); text-decoration: underline; text-decoration-color: var(--elkat-azure); text-underline-offset: 0.3em; }
	.site-header[data-bp="80"] .site-nav .sub-menu .menu-item-has-children { display: flex; align-items: center; justify-content: space-between; }
	.site-header[data-bp="80"] .site-nav .sub-menu .menu-item-has-children > a { flex: 1; }
	.site-header[data-bp="80"] .site-nav .sub-menu .sub-menu { left: auto; right: 100%; top: -0.5rem; }
	.site-header[data-bp="80"] .site-nav .site-action.site-action--desk-only { display: inline-flex; }
	.site-header[data-bp="80"].site-header--below .site-nav { flex-direction: column; align-items: flex-end; gap: 0.75rem; }
}

/* Submenus. Small screens: shown under their item, indented. Wide screens: a panel, see the width blocks above. */
.site-nav .sub-menu { list-style: none; margin: 0; padding: 0 0 0 1rem; }
.submenu-toggle { display: none; }

/* Header buttons (ELKAT > Header buttons): partner links in the same quiet voice as the menu.
   Three styles: text (with a thin slash between links), outline (a 1px line), filled (one main button).
   Small screens: a list under a thin rule inside the menu, 44px touch targets. */
.site-actions { --act-ring: var(--elkat-ink, #181616); --act-fill: var(--elkat-ink, #181616); --act-on-fill: var(--elkat-stone, #fff); display: flex; flex-direction: column; align-items: stretch; gap: 0.25rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.elkat-header-over .site-actions { --act-ring: #fff; --act-fill: #fff; --act-on-fill: #181616; }
.site-nav .site-action { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 0; font-size: 0.9375rem; font-weight: 500; line-height: 1.2; text-decoration: none; color: var(--btn-fg, inherit); border: 1px solid transparent; border-radius: var(--act-radius, 0); white-space: nowrap; }
.site-nav .site-action--outline { padding-inline: 1rem; border-color: currentColor; }
.site-nav .site-action--filled { padding-inline: 1rem; color: var(--btn-fg, var(--act-on-fill)); background: var(--btn-bg, var(--act-fill)); border-color: var(--btn-bg, var(--act-fill)); }
.site-nav .site-action--outline:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.site-nav .site-action--text:hover, .site-nav .site-action--outline:hover, .elkat-header-over .site-nav .site-action--text:hover, .elkat-header-over .site-nav .site-action--outline:hover { color: var(--btn-fg, inherit); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.35em; }
.site-nav .site-action--filled:hover, .elkat-header-over .site-nav .site-action--filled:hover { color: var(--btn-fg, var(--act-on-fill)); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.35em; }
.site-nav .site-action:focus-visible, .elkat-header-over .site-nav .site-action:focus-visible { outline: 2px solid var(--act-ring); outline-offset: 3px; }
.site-action__icon { flex: none; width: 1.05em; height: 1.05em; }
.site-action__icon-img { height: 1.25em; width: auto; flex: none; }
.site-nav .site-action--image { padding: 0; border: 0; background: none; min-height: 0; }
.site-action--image img { display: block; height: var(--act-h, 2rem); width: auto; max-width: none; }
.site-action--image .act-light { display: none; }
.elkat-header-over .site-action--image.has-light .act-dark { display: none; }
.elkat-header-over .site-action--image.has-light .act-light { display: block; }
.site-nav .site-action.site-action--desk-only { display: none; }

/* ==========================================================================
   Footer: lives inside a still from cleared work, under a torn edge of paper
   ========================================================================== */
.site-footer { position: relative; isolation: isolate; overflow: hidden; margin-top: var(--elkat-s4); background: var(--elkat-navy); color: var(--elkat-paper); }
.site-footer__still { position: absolute; inset: 0; z-index: -2; }
.site-footer__tint { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgb(3 51 79 / 0.35), rgb(3 51 79 / 0.88) 38%, rgb(3 30 46 / 0.96)); }
.site-footer__inner { padding-top: 8rem; padding-bottom: 2.5rem; }
.site-footer__grid { display: grid; gap: 3rem; }
.site-footer__logo img { height: 4rem; width: auto; }
.site-footer__tagline { margin-top: 2rem; max-width: 16ch; }
.site-footer .elkat-kicker { color: var(--elkat-cyan-tint); margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.25rem; }
.site-footer a { text-decoration: underline; text-decoration-color: var(--elkat-azure); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.site-footer a:hover { color: var(--elkat-cyan-tint); }
.site-footer :focus-visible { outline-color: var(--elkat-cyan-tint); }
.site-footer__rule { border: 0; border-top: 1px solid rgb(244 244 242 / 0.3); margin: 2.5rem 0; }
.site-footer__note { margin: 0.5rem 0 0; color: rgb(244 244 242 / 0.8); }
@media (min-width: 48rem) {
	.site-footer__inner { padding-top: 12rem; }
	.site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

/* ==========================================================================
   Default pages, posts and 404 (the designed pages use the pieces from ELKAT Core instead)
   ========================================================================== */
.entry { padding-block: var(--elkat-s5); }
.entry__head { margin-bottom: 2.5rem; }
.entry-content { max-width: 44rem; }
.entry-content > * + * { margin-top: 1.25rem; }
.entry-content h2 { font-weight: 800; font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.08; letter-spacing: -0.04em; margin-top: 2.5rem; }
.entry-content h3 { font-weight: 800; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.15; letter-spacing: -0.025em; margin-top: 2rem; }
.entry-content p, .entry-content li { max-width: 62ch; }
.entry-content a { text-decoration-color: var(--elkat-azure); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.entry-content a:hover { color: var(--elkat-azure-text); }
.entry-content img { height: auto; }
.entry-content .alignwide, .entry-content .alignfull { max-width: none; }
.entry-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.entry-list li { border-top: 1.5px solid var(--elkat-ink); padding: 1rem 0; }
.page-links, .nav-links { margin-top: 2rem; }
.search-form { display: flex; gap: 0.5rem; max-width: 30rem; }
.search-form input[type="search"] { flex: 1; font: inherit; padding: 0.8rem 0.9rem; border: 1.5px solid var(--elkat-grey); background: var(--elkat-stone-light); }
.search-form input[type="submit"] { font: inherit; font-weight: 500; padding: 0.8rem 1.4rem; border: 1.5px solid currentColor; background: transparent; cursor: pointer; }

/* The film page */
.film-main .film-body { padding-top: var(--elkat-s5); }
.film-main .film-video { margin-top: 3.5rem; border: 1.5px solid var(--elkat-ink); }
.film-main .film-video .elkat-ph-block { border: 0; }

/* Elementor: keep its sections from adding page margins around our header and footer */
.elementor-page .site-main--designed { padding: 0; }

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

/* The light / dark switch: sits with the header buttons, a small square with the moon (go dark) or the sun (go light) */
.theme-toggle { display: none; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 0; font: inherit; font-size: 0.9375rem; font-weight: 500; color: inherit; background: none; border: 1px solid transparent; cursor: pointer; }
.js .theme-toggle { display: inline-flex; }
.theme-toggle__icon { display: inline-flex; }
.theme-toggle__sun { display: none; }
html[data-theme="dark"] .theme-toggle__moon { display: none; }
html[data-theme="dark"] .theme-toggle__sun { display: inline-flex; }
.theme-toggle:hover .theme-toggle__label { text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1px; }
.theme-toggle:focus-visible { outline: 2px solid var(--act-ring, currentColor); outline-offset: 3px; }
@media (min-width: 48rem) {
	.site-header[data-bp="48"] .theme-toggle { min-height: 2.25rem; min-width: 2.25rem; justify-content: center; padding: 0.4rem; border-color: currentColor; border-radius: var(--act-radius, 0); }
	.site-header[data-bp="48"] .theme-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
}
@media (min-width: 64rem) {
	.site-header[data-bp="64"] .theme-toggle { min-height: 2.25rem; min-width: 2.25rem; justify-content: center; padding: 0.4rem; border-color: currentColor; border-radius: var(--act-radius, 0); }
	.site-header[data-bp="64"] .theme-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
}
@media (min-width: 80rem) {
	.site-header[data-bp="80"] .theme-toggle { min-height: 2.25rem; min-width: 2.25rem; justify-content: center; padding: 0.4rem; border-color: currentColor; border-radius: var(--act-radius, 0); }
	.site-header[data-bp="80"] .theme-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
}
