/*
Theme Name: Angeln mit Plan
Description: Redaktionsthema für Angelschein, Fischarten und Ausrüstung.
Version: 1.6.0
Requires at least: 6.2
Requires PHP: 7.4
Author: Redaktion
License: GPL-2.0-or-later
Text Domain: angeln-mit-plan
*/

@font-face {
    font-family: "Manrope";
    src: url("assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
    font-family: "Manrope";
    src: url("assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2191-2193, U+2212;
}
@font-face {
    font-family: "Literata";
    src: url("assets/fonts/literata-latin-ext-wght-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
    font-family: "Literata";
    src: url("assets/fonts/literata-latin-wght-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2191-2193, U+2212;
}

:root {
    color-scheme: light;
    --ink: #17392f;
    --text: #263c35;
    --muted: #52685e;
    --paper: #fcfbf7;
    --line: #d8dfd6;
    --accent: #17665f;
    --gold: #e9bd76;
    --gold-text: #8a571c;
    --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-serif: "Literata", Georgia, serif;
    --reading-width: 650px;
    --single-shell-width: 714px;
    --site-shell-width: 1180px;
    font-family: var(--font-sans);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    line-height: 1.65;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; }

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    position: fixed;
    z-index: 1000;
    top: 0.5rem;
    left: 0.5rem;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0.6rem 0.9rem;
    clip: auto;
    color: #fff;
    background: var(--ink);
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    min-height: 82px;
    padding: .7rem clamp(1.2rem, 5vw, 5rem);
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: .28em;
    font-size: 1.17rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    white-space: nowrap;
}

.wordmark span { color: var(--gold-text); }

.menu-toggle { display: none; }

.site-header nav, .site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1.25rem;
}

.site-header nav a, .site-footer nav a {
    text-decoration: none;
    font-weight: 700;
    color: var(--ink);
}

.site-header nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border-bottom: 2px solid transparent;
    transition: color .18s ease, border-color .18s ease;
}
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--gold-text); }

.hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(125deg, #203c35 5%, #56715a 65%, #d6b37b);
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 39, 35, 0.88), rgba(15, 39, 35, 0.51) 53%, rgba(15, 39, 35, 0.08));
}

.hero-overlay {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 780px;
    padding: 3rem clamp(1.2rem, 5vw, 5rem);
}

.eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.hero .eyebrow { color: var(--gold); }

h1, h2, h3 { color: var(--ink); font-family: var(--font-serif); line-height: 1.2; }

.hero h1 {
    color: #fff;
    max-width: 19ch;
    font-size: clamp(2.4rem, 4.6vw, 4.35rem);
    letter-spacing: -0.035em;
    margin: 0.7rem 0;
}

.hero-overlay > p:not(.eyebrow) { font-size: 1.08rem; max-width: 43ch; }

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: .8rem;
    padding: .7rem 1.2rem;
    border-radius: 8px;
    background: var(--gold);
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}

.hero-cta:hover { background: #f1cc91; transform: translateY(-1px); }
.hero-cta:active { transform: translateY(0); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-top: 1.25rem; }
.hero-actions .hero-cta { margin-top: 0; }
.hero-cta-secondary { display: inline-flex; align-items: center; min-height: 48px; padding: .65rem .25rem; color: #fff; font-weight: 800; text-decoration-thickness: 2px; }
.hero-cta-secondary:hover { color: var(--gold); }
.hero-smallprint { margin: .55rem 0 0; color: #e7f0eb; font-size: .83rem !important; }

.illustration-note {
    margin: 0.25rem clamp(1.2rem, 5vw, 5rem) 0;
    color: var(--muted);
    font-size: 0.75rem;
}

.home-product {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(250px, .85fr);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4.5rem);
    max-width: var(--site-shell-width);
    margin: 2.4rem auto 0;
    padding: clamp(1.5rem, 4vw, 3.2rem);
    background: #e9eee8;
    border-radius: 16px;
}
.home-product h2 { max-width: 19ch; margin: .4rem 0 1rem; font-size: clamp(1.9rem, 3vw, 2.65rem); }
.home-product__copy > p:not(.eyebrow) { max-width: 60ch; }
.home-product__facts { display: grid; gap: .55rem; margin: 1.3rem 0; padding-left: 1.3rem; }
.home-product__facts li { padding-left: .2rem; }
.home-product__facts li::marker { color: var(--accent); }
.text-cta { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }
.home-product__status { margin-bottom: 0; color: var(--muted); font-size: .86rem; }
.home-product__visual { min-width: 0; margin: 0; padding: .75rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(23,57,47,.08); }
.home-product__visual img { display: block; width: 100%; height: auto; border-radius: 5px; }
.home-product__visual figcaption { margin-top: .55rem; color: var(--muted); font-size: .75rem; }

.measure-path {
    max-width: 1180px;
    margin: 3.1rem auto .2rem;
    padding: 0 clamp(1.2rem, 4vw, 2rem);
}
.measure-path-heading { margin: 0 0 1.2rem; font-size: clamp(1.55rem, 2.7vw, 2.1rem); }
.measure-path-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-block: 1px solid var(--line);
}
.measure-path-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .8rem;
    min-width: 0;
    padding: 1.3rem 1.1rem 1.4rem 0;
}
.measure-path-list li + li { padding-left: 1.1rem; border-left: 1px solid var(--line); }
.measure-path-number { color: var(--gold-text); font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.3; font-variant-numeric: tabular-nums; }
.measure-path-list a { color: var(--ink); font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--gold); }
.measure-path-list a:hover { color: var(--accent); }
.measure-path-list p { margin: .35rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.measure-path-list li:last-child { padding-right: 1rem; background: #f1f3eb; }

.page-heading {
    background: #e9eee8;
    padding: 2rem 0 2.2rem;
    border-bottom: 1px solid var(--line);
}
.page-heading__inner { max-width: var(--site-shell-width); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2rem); }
.page-heading--single .page-heading__inner { max-width: var(--single-shell-width); }

.page-heading h1 {
    font-size: clamp(2rem, 3.7vw, 3.3rem);
    margin: 0.4rem 0;
    max-width: 25ch;
    letter-spacing: -.03em;
}
.page-heading--product { padding-block: 1.65rem 1.8rem; }
.page-heading--product h1 { max-width: 23ch; font-size: clamp(2rem, 3.1vw, 2.7rem); }
.product-heading__summary { max-width: 54ch; margin: .75rem 0 0; font-size: 1.02rem; }
.page-heading--product .hero-cta { margin-top: 1rem; }
.product-heading__status { max-width: 60ch; margin: .6rem 0 0; color: var(--muted); font-size: .84rem; }

.site-main {
    display: grid;
    grid-template-columns: minmax(0, 720px) minmax(220px, 280px);
    gap: clamp(2rem, 5vw, 5rem);
    max-width: var(--site-shell-width);
    margin: auto;
    padding: 2.2rem clamp(1.2rem, 4vw, 2rem) 4rem;
}

.site-main--single { display: block; max-width: var(--single-shell-width); }
.site-main--single .editorial { margin-inline: auto; }

.editorial { font-size: 1.025rem; max-width: var(--reading-width); min-width: 0; }
.editorial > p:first-child { margin-top: 0; }
.editorial h2 { margin-top: 2.4rem; font-size: clamp(1.45rem, 2.4vw, 1.75rem); }
.editorial h3 { margin-top: 1.6rem; }
.editorial p { margin: 1.1rem 0; }
.editorial li { margin: 0.5rem 0; }
.editorial img { max-width: 100%; height: auto; }
.editorial .table-scroll { max-width: 100%; overflow-x: auto; margin: 1.6rem 0; border: 1px solid var(--line); border-radius: 8px; }
.editorial .table-scroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.editorial table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .87rem; line-height: 1.5; }
.guide-callout { margin: 0 0 2rem; padding: 1.2rem 1.35rem; background: #e9eee8; border-left: 4px solid var(--accent); border-radius: 0 9px 9px 0; }
.guide-callout strong { color: var(--ink); font-family: var(--font-serif); font-size: 1.23rem; }
.guide-callout p { margin: .45rem 0 .55rem; }
.guide-callout a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }
.editorial th, .editorial td { padding: .75rem .65rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.editorial th { background: #e9eee8; color: var(--ink); font-weight: 800; }
.editorial tr:last-child td { border-bottom: 0; }

.sleep-system-list { display: grid; gap: 1.15rem; margin: 1.35rem 0 2rem; }
.sleep-system-card {
    min-width: 0;
    padding: clamp(1.15rem, 3vw, 1.65rem);
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(23, 57, 47, .05);
}
.sleep-system-card__eyebrow {
    margin: 0 0 .3rem !important;
    color: var(--gold-text);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.sleep-system-card h3 { margin: .15rem 0 1rem; font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.sleep-system-card h3 span { display: inline-block; font-family: var(--font-sans); font-size: .78rem; font-weight: 700; vertical-align: middle; color: var(--muted); }
.sleep-system-card__visual { margin: 0 0 1rem; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.sleep-system-card__visual img { display: block; width: 100%; height: clamp(190px, 44vw, 310px); object-fit: contain; object-position: center; }
.sleep-system-card__visual figcaption { padding: .5rem .7rem; color: var(--muted); font-size: .73rem; line-height: 1.45; }
.sleep-system-card__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 1rem;
    padding: .8rem 0;
    background: #f1f4ee;
    border-radius: 8px;
}
.sleep-system-card__facts > div { min-width: 0; padding: 0 .9rem; }
.sleep-system-card__facts > div + div { border-left: 1px solid var(--line); }
.sleep-system-card__facts dt { color: var(--muted); font-size: .73rem; font-weight: 700; }
.sleep-system-card__facts dd { margin: .2rem 0 0; color: var(--ink); font-size: .9rem; font-weight: 800; line-height: 1.35; }
.sleep-system-card > p:not(.sleep-system-card__eyebrow) { margin: .85rem 0; }
.sleep-system-card__limit { padding-top: .85rem; border-top: 1px solid var(--line); }
.sleep-system-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .2rem;
    min-height: 48px;
    padding: .6rem 1rem;
    border-radius: 8px;
    background: var(--gold);
    color: var(--ink);
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}
.sleep-system-card__cta:hover { background: #f1cc91; }
.sleep-system-card__cta span { font-size: .8rem; font-weight: 700; }
.sleep-system-card__source { color: var(--muted); font-size: .8rem; }

.home-editorial > h2 { margin-top: 3rem; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.home-editorial > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.home-editorial > ol { padding-left: 1.5rem; }
.home-editorial > ol li { padding-left: .2rem; margin: .85rem 0; }

.post-meta { margin: .75rem 0 0; color: var(--muted); font-size: .9rem; }
.post-article { max-width: var(--reading-width); }
.post-article .wp-block-image, .post-article figure { max-width: 100%; margin-inline: 0; }
.post-feature { margin: 0 0 2rem; }
.post-feature img { display: block; width: 100%; height: auto; border-radius: 10px; }
.post-feature figcaption { color: var(--muted); font-size: .8rem; margin-top: .35rem; }
.post-back { display: inline-block; margin-top: 2rem; font-weight: 700; }
.post-next { margin-top: 2.5rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.post-next h2 { margin-top: 1rem; }
.post-next ul { padding-left: 1.35rem; }
.post-pages { display: flex; gap: .5rem; margin-top: 1.5rem; }
.post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 1180px; margin: auto; padding: 2rem clamp(1.2rem, 4vw, 2rem) 3rem; }
.post-card { min-width: 0; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.post-card h2, .post-card h3 { margin: .35rem 0 .7rem; font-size: clamp(1.4rem, 2vw, 1.7rem); }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--accent); text-decoration: underline; }
.post-card p { margin: .7rem 0; }
.post-card .post-meta { margin: 0; }
.post-card .post-read-more { font-weight: 800; }
.post-pagination { max-width: 1180px; margin: 0 auto 3rem; padding: 0 clamp(1.2rem, 4vw, 2rem); }
.post-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.post-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .4rem .65rem; border: 1px solid var(--line); border-radius: 6px; }
.post-pagination .page-numbers.current { background: var(--ink); color: #fff; }
.home-latest { max-width: 1180px; margin: 0 auto 4rem; padding: 0 clamp(1.2rem, 4vw, 2rem); }
.home-latest > h2 { margin: .3rem 0 1.2rem; font-size: clamp(1.55rem, 2.7vw, 2.1rem); }
.home-latest .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }

.aside-card {
    align-self: start;
    background: #f0f1e9;
    border-left: 3px solid var(--gold-text);
    padding: 1.4rem;
    border-radius: 0 10px 10px 0;
    position: sticky;
    top: 1rem;
}

.aside-card h2 { font-size: 1.3rem; margin: 0.35rem 0; }
.aside-card p { font-size: .94rem; }

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    background: #17392f;
    color: #e2ece7;
    padding: 2rem clamp(1.2rem, 5vw, 5rem);
}

.site-footer strong { color: #fff; }
.site-footer p { max-width: 50ch; margin: 0.3rem 0 0; font-size: 0.85rem; }
.site-footer nav a { color: #fff; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }

.alr-calculator, .alr-finder { margin: 1.35rem 0 2rem; }
.alr-calculator h2, .alr-finder h2 { margin-top: 0; }

@media (max-width: 850px) {
    .site-main { display: block; }
    .aside-card { position: static; margin-top: 2.5rem; }
    .post-list { grid-template-columns: 1fr; }
    .home-latest .post-list { grid-template-columns: 1fr; }
    .home-product { margin-inline: 1.2rem; }
}

@media (max-width: 680px) {
    .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: .75rem; min-height: 64px; padding: .5rem 1rem; }
    .wordmark { min-width: 0; min-height: 44px; font-size: 1rem; }
    .has-menu-js .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .65rem;
        min-height: 44px;
        padding: .55rem .75rem;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #f4f6f1;
        color: var(--ink);
        font: 700 .875rem/1 var(--font-sans);
        cursor: pointer;
    }
    .menu-toggle__icon { position: relative; display: block; width: 18px; height: 2px; background: currentColor; }
    .menu-toggle__icon::before, .menu-toggle__icon::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
    .menu-toggle__icon::before { top: -6px; }
    .menu-toggle__icon::after { top: 6px; }
    .site-header nav { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem .5rem; margin-top: .3rem; }
    .site-header nav a { justify-content: flex-start; min-height: 44px; padding: .45rem .5rem; font-size: .875rem; line-height: 1.35; text-align: left; }
    .has-menu-js .site-header nav { display: none; }
    .has-menu-js .site-header.is-open nav { display: flex; flex-direction: column; gap: 0; margin-top: .5rem; padding-top: .25rem; border-top: 1px solid var(--line); }
    .has-menu-js .site-header.is-open nav a { min-height: 48px; padding: .7rem .4rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
    .has-menu-js .site-header.is-open nav a[aria-current="page"] { border-bottom-color: var(--gold-text); }
    .hero { min-height: 365px; }
    .hero-image { object-position: 68% center; }
    .hero::after { background: linear-gradient(90deg, rgba(15, 39, 35, .88), rgba(15, 39, 35, .66)); }
    .hero-overlay { padding: 2.1rem 1.2rem 2.25rem; }
    .hero h1 { max-width: 20ch; font-size: clamp(2rem, 8.2vw, 2.65rem); }
    .hero-overlay > p:not(.eyebrow) { font-size: .98rem; }
    .hero-actions { align-items: stretch; flex-direction: column; margin-top: 1rem; }
    .hero-actions a { align-self: flex-start; }
    .hero-cta-secondary { padding-inline: 0; }
    .home-product { display: block; margin-top: 1.4rem; padding: 1.35rem; }
    .home-product h2 { font-size: 1.8rem; }
    .home-product__visual { margin-top: 1.5rem; }
    .measure-path { margin-top: 2rem; }
    .measure-path-list { display: block; }
    .measure-path-list li, .measure-path-list li + li { padding: .9rem .5rem; border-left: 0; border-top: 1px solid var(--line); }
    .measure-path-list li:first-child { border-top: 0; }
    .page-heading { padding-block: 1.55rem 1.65rem; }
    .page-heading h1 { hyphens: manual; overflow-wrap: anywhere; }
    .site-main { padding: 1.6rem 1.2rem 3rem; }
    .sleep-system-card__facts { display: block; padding: .15rem .85rem; }
    .sleep-system-card__facts > div { display: flex; justify-content: space-between; gap: .8rem; align-items: baseline; padding: .62rem 0; }
    .sleep-system-card__facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
    .sleep-system-card__facts dd { margin: 0; max-width: 62%; text-align: right; }
    .sleep-system-card__cta { display: flex; width: 100%; }
    .site-footer { flex-direction: column; }
}

@media (max-width: 280px) {
    .site-header { grid-template-columns: minmax(0, 1fr); row-gap: .2rem; }
    .wordmark { flex-wrap: wrap; white-space: normal; }
    .has-menu-js .menu-toggle { justify-self: start; }
    .site-header nav { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Optional newsletter; uses the site's existing type and color tokens. */
.amp-newsletter { margin-block: 3rem; padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: 10px; background: #eef1ea; }
.amp-newsletter h2 { margin-top: 0; }
.amp-newsletter-pending { display: none; padding: 1rem; margin-bottom: 1.5rem; border-left: 3px solid var(--accent); background: var(--paper); scroll-margin-top: 6rem; }
.amp-newsletter-pending:target { display: block; }
.amp-newsletter-pending h3 { margin-top: 0; }
.amp-newsletter-pending p { margin-bottom: 0; }
.amp-newsletter form { display: grid; gap: 1rem; }
.amp-newsletter-email-label { font-weight: 700; margin-bottom: -.5rem; }
.amp-newsletter input[type="email"] { width: 100%; min-height: 48px; padding: .8rem 1rem; border: 1px solid var(--muted); border-radius: 6px; color: var(--text); background: var(--paper); font: inherit; }
.amp-newsletter input:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; }
.amp-newsletter-consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .75rem; align-items: start; cursor: pointer; }
.amp-newsletter-consent input { width: 20px; height: 20px; margin: .3rem 0 0; accent-color: var(--accent); }
.amp-newsletter .amp-newsletter-note { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.65; }
.amp-newsletter button { justify-self: start; min-height: 48px; padding: .85rem 1.25rem; border: 0; border-radius: 6px; background: var(--gold); color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.amp-newsletter button:hover { background: #f1cc91; }
.amp-newsletter-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 480px) { .amp-newsletter button { width: 100%; } }

/* Clear app entry alongside the equipment and editorial navigation. */
.site-header nav .nav-login { border: 1px solid var(--ink); border-radius: 8px; padding: .55rem .9rem; background: var(--ink); color: #fff; justify-content: center; }
.site-header nav .nav-login:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.hero-explainer, .hero-equipment { margin: .3rem 0 0; font-size: .9rem !important; }
.hero-explainer a, .hero-equipment a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 700; text-underline-offset: .2em; }
.home-product__account, .product-heading__account { margin-block: 1rem; }
.home-product__account a, .product-heading__account a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }
@media (max-width: 680px) { .has-menu-js .site-header.is-open nav .nav-login { margin-top: .4rem; padding-inline: .9rem; border: 1px solid var(--ink); } }
@media (min-width: 681px) and (max-width: 1000px) {
    .site-header { flex-wrap: wrap; row-gap: .2rem; }
    .site-header nav { width: 100%; justify-content: space-between; gap: .25rem .5rem; }
}