@layer properties {
    @supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))) {

        *,
        :before,
        :after,
        ::backdrop {
            --tw-blur: initial;
            --tw-brightness: initial;
            --tw-contrast: initial;
            --tw-grayscale: initial;
            --tw-hue-rotate: initial;
            --tw-invert: initial;
            --tw-opacity: initial;
            --tw-saturate: initial;
            --tw-sepia: initial;
            --tw-drop-shadow: initial;
            --tw-drop-shadow-color: initial;
            --tw-drop-shadow-alpha: 100%;
            --tw-drop-shadow-size: initial;
            --tw-border-style: solid;
            --tw-font-weight: initial
        }
    }
}

@layer theme {

    :root,
    :host {
        --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
        --color-white: #fff;
        --spacing: .25rem;
        --text-xs: .75rem;
        --text-xs--line-height: calc(1 / .75);
        --font-weight-bold: 700;
        --radius-sm: .25rem;
        --radius-md: .375rem;
        --radius-lg: .5rem;
        --shadow-sm: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
        --shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
        --default-font-family: var(--font-sans);
        --default-mono-font-family: var(--font-mono)
    }
}

@layer base {

    *,
    :after,
    :before,
    ::backdrop {
        box-sizing: border-box;
        border: 0 solid;
        margin: 0;
        padding: 0
    }

    ::file-selector-button {
        box-sizing: border-box;
        border: 0 solid;
        margin: 0;
        padding: 0
    }

    html,
    :host {
        -webkit-text-size-adjust: 100%;
        tab-size: 4;
        line-height: 1.5;
        font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
        font-feature-settings: var(--default-font-feature-settings, normal);
        font-variation-settings: var(--default-font-variation-settings, normal);
        -webkit-tap-highlight-color: transparent
    }

    hr {
        height: 0;
        color: inherit;
        border-top-width: 1px
    }

    abbr:where([title]) {
        -webkit-text-decoration: underline dotted;
        text-decoration: underline dotted
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: inherit;
        font-weight: inherit
    }

    a {
        color: inherit;
        -webkit-text-decoration: inherit;
        text-decoration: inherit
    }

    b,
    strong {
        font-weight: bolder
    }

    code,
    kbd,
    samp,
    pre {
        font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
        font-feature-settings: var(--default-mono-font-feature-settings, normal);
        font-variation-settings: var(--default-mono-font-variation-settings, normal);
        font-size: 1em
    }

    small {
        font-size: 80%
    }

    sub,
    sup {
        vertical-align: baseline;
        font-size: 75%;
        line-height: 0;
        position: relative
    }

    sub {
        bottom: -.25em
    }

    sup {
        top: -.5em
    }

    table {
        text-indent: 0;
        border-color: inherit;
        border-collapse: collapse
    }

    :-moz-focusring:where(:not(iframe)) {
        outline: auto
    }

    progress {
        vertical-align: baseline
    }

    summary {
        display: list-item
    }

    ol,
    ul,
    menu {
        list-style: none
    }

    img,
    svg,
    video,
    canvas,
    audio,
    iframe,
    embed,
    object {
        vertical-align: middle;
        display: block
    }

    img,
    video {
        max-width: 100%;
        height: auto
    }

    button,
    input,
    select,
    optgroup,
    textarea {
        font: inherit;
        font-feature-settings: inherit;
        font-variation-settings: inherit;
        letter-spacing: inherit;
        color: inherit;
        opacity: 1;
        background-color: #0000;
        border-radius: 0
    }

    ::file-selector-button {
        font: inherit;
        font-feature-settings: inherit;
        font-variation-settings: inherit;
        letter-spacing: inherit;
        color: inherit;
        opacity: 1;
        background-color: #0000;
        border-radius: 0
    }

    :where(select:is([multiple], [size])) optgroup {
        font-weight: bolder
    }

    :where(select:is([multiple], [size])) optgroup option {
        padding-inline-start: 20px
    }

    ::file-selector-button {
        margin-inline-end: 4px
    }

    ::placeholder {
        opacity: 1
    }

    @supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px) {
        ::placeholder {
            color: currentColor
        }

        @supports (color:color-mix(in lab, red, red)) {
            ::placeholder {
                color: color-mix(in oklab, currentcolor 50%, transparent)
            }
        }
    }

    textarea {
        resize: vertical
    }

    ::-webkit-search-decoration {
        -webkit-appearance: none
    }

    ::-webkit-date-and-time-value {
        min-height: 1lh;
        text-align: inherit
    }

    ::-webkit-datetime-edit {
        display: inline-flex
    }

    ::-webkit-datetime-edit-fields-wrapper {
        padding: 0
    }

    ::-webkit-datetime-edit {
        padding-block: 0
    }

    ::-webkit-datetime-edit-year-field {
        padding-block: 0
    }

    ::-webkit-datetime-edit-month-field {
        padding-block: 0
    }

    ::-webkit-datetime-edit-day-field {
        padding-block: 0
    }

    ::-webkit-datetime-edit-hour-field {
        padding-block: 0
    }

    ::-webkit-datetime-edit-minute-field {
        padding-block: 0
    }

    ::-webkit-datetime-edit-second-field {
        padding-block: 0
    }

    ::-webkit-datetime-edit-millisecond-field {
        padding-block: 0
    }

    ::-webkit-datetime-edit-meridiem-field {
        padding-block: 0
    }

    ::-webkit-calendar-picker-indicator {
        line-height: 1
    }

    :-moz-ui-invalid {
        box-shadow: none
    }

    button,
    input:where([type=button], [type=reset], [type=submit]) {
        appearance: button
    }

    ::file-selector-button {
        appearance: button
    }

    ::-webkit-inner-spin-button {
        height: auto
    }

    ::-webkit-outer-spin-button {
        height: auto
    }

    [hidden]:where(:not([hidden=until-found])) {
        display: none !important
    }

    @font-face {
        font-family: Heebo;
        src: url(./heebo-variable.ttf)format("truetype");
        font-weight: 100 900;
        font-display: swap
    }

    :root {
        color-scheme: light;
        --page-bg: #fafaf9;
        --surface: #fff;
        --surface-soft: #f5f3ef;
        --surface-strong: #29231e;
        --text: #292524;
        --text-muted: #78716c;
        --border: #e7e5e4;
        --primary: #b45309;
        --primary-hover: #92400e;
        --accent: #f59e0b;
        --focus: #d97706;
        --success: #15803d;
        --danger: #b91c1c;
        --shadow-sm: 0 2px 10px #29252414;
        --shadow-md: 0 12px 36px #2925241f;
        --radius-sm: .55rem;
        --radius-md: .85rem;
        --radius-lg: 1.25rem
    }

    :root[data-theme=dark] {
        color-scheme: dark;
        --page-bg: #0b0e13;
        --surface: #141922;
        --surface-soft: #1a212c;
        --surface-strong: #070a0e;
        --text: #e8ecf1;
        --text-muted: #97a1b0;
        --border: #232b36;
        --primary: #3b82f6;
        --primary-hover: #60a5fa;
        --accent: #3b82f6;
        --focus: #60a5fa;
        --success: #4ade80;
        --danger: #f87171;
        --shadow-sm: 0 2px 10px #0000003d;
        --shadow-md: 0 12px 36px #00000052
    }

    * {
        box-sizing: border-box
    }

    html {
        background: var(--page-bg);
        scroll-behavior: smooth;
        font-family: Heebo, system-ui, sans-serif
    }

    body {
        min-height: 100vh;
        min-width: calc(var(--spacing) * 80);
        color: var(--text);
        background: var(--page-bg);
        margin: 0;
        overflow-x: clip
    }

    body.site-shell {
        flex-direction: column;
        min-height: 100dvh;
        display: flex
    }

    button,
    input,
    textarea {
        font: inherit
    }

    button {
        cursor: pointer
    }

    a {
        color: inherit;
        text-decoration-line: none
    }

    img {
        max-width: 100%
    }

    :focus-visible {
        outline: 3px solid var(--focus)
    }

    @supports (color:color-mix(in lab, red, red)) {
        :focus-visible {
            outline: 3px solid color-mix(in srgb, var(--focus) 75%, transparent)
        }
    }

    :focus-visible {
        outline-offset: 3px
    }

    [hidden] {
        display: none !important
    }
}

@layer components {
    .site-container {
        width: min(100% - 2rem, 1180px);
        margin-inline: auto
    }

    .site-main {
        flex: 1 0 auto
    }

    .skip-link {
        z-index: 1000;
        color: #fff;
        background: var(--primary);
        border-radius: .5rem;
        padding: .65rem 1rem;
        position: fixed;
        top: .5rem;
        left: .5rem;
        transform: translateY(-150%)
    }

    .skip-link:focus {
        transform: translateY(0)
    }

    .visually-hidden {
        clip-path: inset(50%);
        white-space: nowrap;
        width: 1px;
        height: 1px;
        position: absolute;
        overflow: hidden
    }

    .site-header {
        z-index: 50;
        border-bottom: 1px solid var(--border);
        background: var(--surface);
        position: sticky;
        top: 0
    }

    @supports (color:color-mix(in lab, red, red)) {
        .site-header {
            background: color-mix(in srgb, var(--surface) 94%, transparent)
        }
    }

    .site-header {
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        box-shadow: 0 1px 8px #0000000a
    }

    .site-header__inner {
        align-items: center;
        gap: 1rem;
        min-height: 64px;
        padding-inline: 20px;
        display: flex
    }

    .brand {
        flex-shrink: 0;
        align-items: center;
        display: inline-flex
    }

    .site-header__actions {
        align-items: center;
        gap: .55rem;
        display: flex
    }

    .category-trigger {
        gap: .25rem;
        padding-inline: .25rem
    }

    .icon-button {
        width: 44px;
        height: 44px;
        color: var(--text);
        background: var(--surface-soft);
        border: 1px solid #0000;
        border-radius: 999px;
        place-items: center;
        padding: 0;
        display: inline-grid
    }

    .icon-button:hover {
        color: var(--primary);
        border-color: var(--primary)
    }

    @supports (color:color-mix(in lab, red, red)) {
        .icon-button:hover {
            border-color: color-mix(in srgb, var(--primary) 35%, transparent)
        }
    }

    .icon-button svg {
        fill: none;
        stroke: currentColor;
        stroke-width: 2px;
        stroke-linecap: round;
        stroke-linejoin: round;
        width: 1.25rem;
        height: 1.25rem
    }

    .theme-toggle__sun {
        display: none
    }

    [data-theme=dark] .theme-toggle__sun {
        display: block
    }

    [data-theme=dark] .theme-toggle__moon,
    .menu-toggle {
        display: none
    }

    .category-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
        padding-top: .75rem;
        padding-bottom: 1rem;
        display: grid
    }

    .category-menu a {
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        background: var(--surface);
        flex-direction: column;
        padding: 1rem;
        display: flex
    }

    .category-menu span {
        color: var(--text);
        font-weight: 750
    }

    .category-menu small {
        color: var(--text-muted)
    }

    .search-dialog {
        border-radius: var(--radius-lg);
        width: min(100% - 2rem, 600px);
        color: var(--text);
        background: var(--surface);
        box-shadow: var(--shadow-md);
        border: 0;
        padding: 0
    }

    .search-dialog::backdrop {
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
        background: #0c090694
    }

    .search-dialog__panel {
        padding: clamp(1.25rem, 4vw, 2rem)
    }

    .search-dialog__heading {
        justify-content: space-between;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.25rem;
        display: flex
    }

    .search-dialog h2 {
        margin: .15rem 0 0;
        font-size: clamp(1.5rem, 4vw, 2rem)
    }

    .search-dialog label {
        margin-bottom: .45rem;
        font-size: .9rem;
        font-weight: 650;
        display: block
    }

    .search-dialog__field {
        grid-template-columns: 1fr auto;
        gap: .5rem;
        display: grid
    }

    .search-dialog input {
        border: 1px solid var(--border);
        min-width: 0;
        height: 48px;
        color: var(--text);
        background: var(--page-bg);
        border-radius: 999px;
        padding-inline: 1rem
    }

    .search-dialog input[aria-invalid=true] {
        border-color: var(--danger)
    }

    .search-dialog__field button,
    .button {
        border-style: var(--tw-border-style);
        --tw-font-weight: var(--font-weight-bold);
        font-weight: var(--font-weight-bold);
        color: var(--color-white);
        background: var(--primary);
        border-width: 0;
        border-radius: 999px;
        justify-content: center;
        align-items: center;
        min-height: 46px;
        padding: .7rem 1.25rem;
        display: inline-flex
    }

    .search-dialog__field button:hover,
    .button:hover {
        background: var(--primary-hover)
    }

    .field-error {
        min-height: 1.4rem;
        color: var(--danger);
        margin: .4rem 0 0;
        font-size: .85rem
    }

    .page-hero {
        border-bottom: 1px solid var(--border);
        background: radial-gradient(circle at 85% 10%, var(--accent), transparent 30%), var(--surface);
        padding: clamp(1.5rem, 4vw, 2.75rem) 0
    }

    @supports (color:color-mix(in lab, red, red)) {
        .page-hero {
            background: radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 30%), var(--surface)
        }
    }

    .page-hero__inner {
        max-width: 760px
    }

    .eyebrow {
        color: var(--primary);
        letter-spacing: .12em;
        text-transform: uppercase;
        font-size: .78rem;
        font-weight: 800;
        display: inline-block
    }

    .page-hero h1 {
        letter-spacing: -.045em;
        margin: 0;
        font-size: clamp(2rem, 6vw, 3.7rem);
        line-height: 1.08
    }

    .section {
        padding: clamp(2.25rem, 6vw, 4.5rem) 0
    }

    .section--soft {
        background: var(--surface)
    }

    .section--starts-with-ad,
    .section--follows-ad {
        padding-top: clamp(1.25rem, 3vw, 2rem)
    }

    .section--has-trailing-ad {
        padding-bottom: clamp(.75rem, 2vw, 1.25rem)
    }

    .section-heading {
        margin-bottom: 1.5rem
    }

    .section-heading h2 {
        letter-spacing: -.035em;
        margin: 0;
        font-size: clamp(1.55rem, 4vw, 2.2rem)
    }

    .card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(1rem, 2.4vw, 1.6rem);
        display: grid
    }

    .article-card {
        border-style: var(--tw-border-style);
        border-width: 1px;
        border-color: var(--border);
        border-radius: var(--radius-md);
        background: var(--surface);
        min-width: 0;
        box-shadow: var(--shadow-sm);
        transition: transform .2s, box-shadow .2s;
        overflow: hidden
    }

    .article-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-3px)
    }

    .article-card__link {
        flex-direction: column;
        height: 100%;
        display: flex
    }

    .article-card__media {
        aspect-ratio: 16/9;
        background: var(--surface-soft);
        display: block;
        position: relative;
        overflow: hidden
    }

    .article-card__media img {
        object-fit: cover;
        opacity: 1;
        width: 100%;
        height: 100%;
        transition: opacity .25s, transform .35s
    }

    .article-card__media img[data-src],
    .article-card__media img[data-lazy-observed]:not(.is-loaded) {
        opacity: 0
    }

    .article-card:hover .article-card__media img {
        transform: scale(1.035)
    }

    .article-card__media img.is-loaded {
        opacity: 1
    }

    .article-card__media img.is-placeholder {
        object-fit: contain;
        padding: 18%
    }

    .article-card__body {
        flex-direction: column;
        flex: 1;
        padding: 1rem;
        display: flex
    }

    .article-card__meta {
        color: var(--text-muted);
        flex-wrap: wrap;
        align-items: center;
        gap: .25rem .45rem;
        margin-bottom: .55rem;
        font-size: .78rem;
        display: flex
    }

    .article-card__category {
        color: var(--primary);
        font-weight: 750
    }

    .article-card h3 {
        margin: 0;
        font-size: 1.08rem;
        line-height: 1.35
    }

    .article-card p {
        color: var(--text-muted);
        margin: .6rem 0 0;
        font-size: .91rem;
        line-height: 1.55
    }

    .article-card__read {
        color: var(--primary);
        margin-top: auto;
        padding-top: .85rem;
        font-size: .85rem;
        font-weight: 750
    }

    .article-list {
        gap: 1rem;
        display: grid
    }

    .article-list .article-card__link {
        grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
        align-items: stretch;
        display: grid
    }

    .article-list .article-card__media {
        aspect-ratio: auto;
        width: 100%;
        min-width: 0
    }

    .article-list .article-card__body {
        min-width: 0
    }

    .article-list .article-card h3 {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden
    }

    .load-more-wrap {
        padding-top: calc(var(--spacing) * 8);
        flex-direction: column;
        align-items: center;
        gap: .65rem;
        display: flex
    }

    .load-more {
        min-width: 150px
    }

    .load-more:disabled {
        cursor: wait;
        opacity: .65
    }

    .load-status {
        min-height: 1.4rem;
        color: var(--text-muted);
        margin: 0;
        font-size: .86rem
    }

    .ad_box {
        /* margin-bottom: calc(var(--spacing) * 4); */
        text-align: center;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        width: 100%;
        /* margin-top: clamp(1.25rem, 2.5vw, 1.75rem); */
        display: flex
    }

    .ad_box>div {
        width: 100%;
        color: #6f5217;
        pointer-events: none;
        place-items: center;
        font-size: clamp(.8rem, 2vw, 1rem);
        display: grid;
        overflow: hidden
    }

    .ad_box>p {
        text-align: center;
        font-size: var(--text-xs);
        line-height: var(--tw-leading, var(--text-xs--line-height));
        color: var(--text-muted);
        margin: 0;
        line-height: 1.35
    }

    .ad_box--home-first {
        margin-top: clamp(.75rem, 2vw, 1.25rem)
    }

    .home-top-ad {
        padding-bottom: clamp(.75rem, 2vw, 1.25rem)
    }

    .ad_box--before-results {
        margin-top: 0;
        margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem)
    }

    .ad_box--grid {
        grid-column: 1/-1;
        margin-top: 0
    }

    .ad_box--in-article {
        margin: clamp(1.25rem, 2.5vw, 1.75rem) 0
    }

    .ad_box--detail-primary {
        grid-area: primary-ad;
        margin-top: 0
    }

    .ad_box--after-detail {
        margin-top: clamp(1.25rem, 2.5vw, 1.75rem)
    }

    [data-theme=dark] .ad_box>div {
        /* color: #f1d59d; */
        background: #3a2a12
    }

    .featured-layout {
        grid-template-columns: minmax(0, 1.5fr) minmax(280px, .75fr);
        gap: 1.5rem;
        display: grid
    }

    .feature-card {
        border-radius: var(--radius-lg);
        color: #fff;
        min-height: 430px;
        box-shadow: var(--shadow-md);
        background: #33251a;
        transition: transform .25s, box-shadow .25s;
        position: relative;
        overflow: hidden
    }

    .feature-card img {
        object-fit: cover;
        opacity: .68;
        width: 100%;
        height: 100%;
        transition: transform .4s, opacity .25s;
        position: absolute;
        inset: 0
    }

    .feature-card:after {
        content: "";
        background: linear-gradient(#0000 20%, #0f0904e0);
        position: absolute;
        inset: 0
    }

    .feature-card__content {
        z-index: 1;
        padding: clamp(1.25rem, 4vw, 2.25rem);
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0
    }

    .feature-card h2 {
        max-width: 750px;
        margin: .45rem 0 .7rem;
        font-size: clamp(1.7rem, 4vw, 3rem);
        line-height: 1.08
    }

    .feature-card p {
        color: #ffffffc7;
        max-width: 680px;
        margin: 0
    }

    .editor-stack {
        grid-auto-rows: minmax(0, 1fr);
        gap: 1rem;
        display: grid
    }

    .editor-card {
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        background: var(--surface);
        grid-template-columns: 112px minmax(0, 1fr);
        align-items: center;
        gap: .9rem;
        padding: .75rem;
        transition: border-color .22s, box-shadow .22s, transform .22s;
        display: grid;
        overflow: hidden
    }

    .editor-card img {
        object-fit: cover;
        border-radius: var(--radius-sm);
        width: 112px;
        height: 86px;
        transition: transform .35s
    }

    .editor-card h3 {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        margin: .3rem 0 0;
        font-size: .98rem;
        line-height: 1.3;
        transition: color .22s;
        display: -webkit-box;
        overflow: hidden
    }

    @media(hover:hover)and (pointer:fine) {
        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 18px 42px #2925242e
        }

        .feature-card:hover img {
            opacity: .74;
            transform: scale(1.025)
        }

        .editor-card:hover {
            border-color: var(--primary)
        }

        @supports (color:color-mix(in lab, red, red)) {
            .editor-card:hover {
                border-color: color-mix(in srgb, var(--primary) 38%, var(--border))
            }
        }

        .editor-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-3px)
        }

        .editor-card:hover img {
            transform: scale(1.045)
        }

        .editor-card:hover h3 {
            color: var(--primary)
        }
    }

    .detail-page {
        padding: clamp(2rem, 5vw, 4rem) 0 0
    }

    .detail-page>.site-container {
        padding-bottom: clamp(.75rem, 2vw, 1.25rem)
    }

    .detail-header {
        text-align: center;
        max-width: 900px;
        margin: 0 auto clamp(1.25rem, 3vw, 1.75rem)
    }

    .detail-header h1 {
        letter-spacing: -.025em;
        margin: 0 0 .65rem;
        font-size: clamp(1.4rem, 3.2vw, 2.15rem);
        line-height: 1.2
    }

    .detail-meta {
        border-bottom: 1px solid var(--border);
        color: var(--text-muted);
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: .35rem;
        padding-bottom: .85rem;
        font-size: .82rem;
        display: flex
    }

    .detail-category {
        color: var(--primary);
        font-weight: 700
    }

    .detail-meta time:before {
        color: var(--text-muted);
        content: "·";
        margin-right: .35rem
    }

    .detail-layout {
        grid-template: "article primary-ad" "article recommendations" 1fr/minmax(0, 1fr) 300px;
        align-items: start;
        gap: 2rem clamp(2rem, 4vw, 3.5rem);
        display: grid
    }

    .article-content {
        grid-area: article;
        min-width: 0;
        font-size: 1.04rem;
        line-height: 1.8
    }

    .article-content>:first-child {
        margin-top: 0
    }

    .article-content h2,
    .article-content h3 {
        margin: 2rem 0 .7rem;
        line-height: 1.25
    }

    .article-content h2 {
        font-size: 1.65rem
    }

    .article-content h3 {
        font-size: 1.3rem
    }

    .article-content p,
    .article-content ul,
    .article-content ol {
        color: var(--text)
    }

    @supports (color:color-mix(in lab, red, red)) {

        .article-content p,
        .article-content ul,
        .article-content ol {
            color: color-mix(in srgb, var(--text) 87%, var(--text-muted))
        }
    }

    .article-content img {
        border-radius: var(--radius-md);
        width: 100%;
        margin: 1.5rem 0;
        display: block
    }

    .article-content blockquote {
        border-left: 4px solid var(--primary);
        background: var(--surface-soft);
        margin: 1.5rem 0;
        padding: 1rem 1.25rem
    }

    .detail-aside {
        grid-area: recommendations;
        align-self: stretch
    }

    .detail-aside__recommendations {
        position: sticky;
        top: 90px
    }

    .aside-title {
        margin: 0 0 1rem;
        font-size: 1.2rem
    }

    .aside-list {
        gap: .9rem;
        display: grid
    }

    .aside-card {
        border-bottom: 1px solid var(--border);
        grid-template-columns: 90px minmax(0, 1fr);
        align-items: center;
        gap: .8rem;
        padding-bottom: .9rem;
        display: grid
    }

    .aside-card:last-child {
        border-bottom: 0;
        padding-bottom: 0
    }

    .aside-card img {
        object-fit: cover;
        border-radius: var(--radius-sm);
        width: 90px;
        height: 68px
    }

    .aside-card__content {
        min-width: 0
    }

    .aside-card h3 {
        margin: 0;
        font-size: .88rem;
        line-height: 1.35;
        transition: color .2s
    }

    .aside-card__date {
        color: var(--text-muted);
        font-variant-numeric: tabular-nums;
        margin-top: .3rem;
        font-size: .75rem;
        line-height: 1.2;
        display: block
    }

    .aside-card:hover h3 {
        color: var(--primary)
    }

    .tags {
        border-top: 1px solid var(--border);
        flex-wrap: wrap;
        align-items: center;
        gap: .65rem;
        margin-top: 2.5rem;
        padding-top: 1.5rem;
        display: flex
    }

    .tags strong {
        margin-right: .15rem
    }

    .tags a {
        color: var(--primary);
        background: var(--primary);
        border-radius: 999px;
        padding: .42rem .8rem
    }

    @supports (color:color-mix(in lab, red, red)) {
        .tags a {
            background: color-mix(in srgb, var(--primary) 11%, var(--surface))
        }
    }

    .tags a {
        font-size: .86rem;
        font-weight: 650
    }

    .tags a:hover {
        color: #fff;
        background: var(--primary)
    }

    .detail-recommendations {
        border-top: 1px solid var(--border);
        padding-top: clamp(1.25rem, 3vw, 2rem)
    }

    .detail-recommendations .section-heading {
        margin-bottom: clamp(1.25rem, 3vw, 1.75rem)
    }

    .detail-recommendations__grid .article-card__body {
        min-height: 13rem
    }

    .search-page__section {
        /* min-height: 28rem */
    }

    .search-page__empty {
        border: 1px solid var(--primary);
        grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
        align-items: center;
        gap: clamp(1.5rem, 4vw, 3rem);
        max-width: 820px;
        margin: 0 auto clamp(2rem, 5vw, 3.5rem);
        padding: clamp(1.1rem, 3vw, 2rem);
        display: grid;
        position: relative;
        overflow: hidden
    }

    @supports (color:color-mix(in lab, red, red)) {
        .search-page__empty {
            border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--border))
        }
    }

    .search-page__empty {
        border-top: 4px solid var(--primary);
        border-radius: var(--radius-lg);
        background: radial-gradient(circle at 8% 10%, var(--accent), transparent 38%), linear-gradient(145deg, var(--surface), var(--primary))
    }

    @supports (color:color-mix(in lab, red, red)) {
        .search-page__empty {
            background: radial-gradient(circle at 8% 10%, color-mix(in srgb, var(--accent) 17%, transparent), transparent 38%), linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--primary) 4%, var(--surface-soft)))
        }
    }

    .search-page__empty {
        box-shadow: var(--shadow-sm)
    }

    .search-page__empty-media {
        aspect-ratio: 3/2;
        border: 1px solid var(--primary);
        place-items: center;
        padding: clamp(.55rem, 2vw, 1rem);
        display: grid;
        overflow: hidden
    }

    @supports (color:color-mix(in lab, red, red)) {
        .search-page__empty-media {
            border: 1px solid color-mix(in srgb, var(--primary) 16%, var(--border))
        }
    }

    .search-page__empty-media {
        border-radius: var(--radius-lg);
        background: var(--surface-soft);
        box-shadow: var(--shadow-sm)
    }

    .search-page__empty-media img {
        object-fit: contain;
        width: 100%;
        height: 100%;
        display: block
    }

    .search-page__empty-content {
        min-width: 0
    }

    .search-page__empty h2 {
        letter-spacing: -.035em;
        margin: 0 0 .65rem;
        font-size: clamp(1.65rem, 4vw, 2.45rem);
        line-height: 1.15
    }

    .search-page__empty-content>p {
        max-width: 34rem;
        color: var(--text-muted);
        margin: 0;
        line-height: 1.7
    }

    .search-page__empty-content strong {
        color: var(--text);
        overflow-wrap: anywhere;
        font-weight: 700
    }

    .search-page__empty-action {
        gap: .4rem;
        width: fit-content;
        margin-top: 1.35rem
    }

    .rich-page {
        padding: clamp(2rem, 6vw, 4.5rem) 0
    }

    .rich-content {
        max-width: 820px;
        margin-inline: auto;
        line-height: 1.75
    }

    .rich-content h1 {
        letter-spacing: -.04em;
        margin: 0 0 1rem;
        font-size: clamp(2.1rem, 6vw, 3.7rem)
    }

    .rich-content h2 {
        margin: 2.25rem 0 .65rem;
        font-size: 1.55rem
    }

    .rich-content h3 {
        margin: 1.5rem 0 .5rem;
        font-size: 1.15rem
    }

    .rich-content p,
    .rich-content li {
        color: var(--text)
    }

    @supports (color:color-mix(in lab, red, red)) {

        .rich-content p,
        .rich-content li {
            color: color-mix(in srgb, var(--text) 84%, var(--text-muted))
        }
    }

    .rich-content a {
        color: var(--primary);
        text-underline-offset: .2em;
        text-decoration: underline
    }

    .rich-content ul,
    .rich-content ol {
        padding-left: 1.3rem
    }

    .notice {
        border: 1px solid var(--primary);
        margin: 1.5rem 0;
        padding: 1rem 1.2rem
    }

    @supports (color:color-mix(in lab, red, red)) {
        .notice {
            border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--border))
        }
    }

    .notice {
        border-radius: var(--radius-md);
        background: var(--primary)
    }

    @supports (color:color-mix(in lab, red, red)) {
        .notice {
            background: color-mix(in srgb, var(--primary) 7%, var(--surface))
        }
    }

    .rich-table-wrap {
        margin-block: 1.5rem;
        overflow-x: auto
    }

    .rich-content table {
        border-collapse: collapse;
        width: 100%
    }

    .rich-content th,
    .rich-content td {
        border: 1px solid var(--border);
        text-align: left;
        padding: .75rem
    }

    .rich-content th {
        background: var(--surface-soft)
    }

    .contact-layout {
        grid-template-columns: .75fr 1.25fr;
        gap: clamp(2rem, 6vw, 5rem);
        display: grid
    }

    .contact-copy h1 {
        margin: .4rem 0 .8rem;
        font-size: clamp(2.2rem, 6vw, 3.7rem)
    }

    .contact-copy p {
        color: var(--text-muted);
        line-height: 1.7
    }

    .contact-form {
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        background: var(--surface);
        box-shadow: var(--shadow-sm);
        padding: clamp(1.25rem, 4vw, 2rem)
    }

    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        display: grid
    }

    .form-field {
        margin-bottom: 1rem
    }

    .form-field--full {
        grid-column: 1/-1
    }

    .form-field label {
        margin-bottom: .4rem;
        font-size: .9rem;
        font-weight: 700;
        display: block
    }

    .form-field input,
    .form-field textarea {
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        width: 100%;
        color: var(--text);
        background: var(--page-bg);
        padding: .8rem .9rem;
        transition: border-color .18s, box-shadow .18s, background-color .18s
    }

    .form-field input:focus,
    .form-field textarea:focus {
        border-color: var(--focus)
    }

    @supports (color:color-mix(in lab, red, red)) {

        .form-field input:focus,
        .form-field textarea:focus {
            border-color: color-mix(in srgb, var(--focus) 55%, var(--border))
        }
    }

    .form-field input:focus,
    .form-field textarea:focus {
        background: var(--surface);
        box-shadow: 0 0 0 3px var(--focus);
        outline: none
    }

    @supports (color:color-mix(in lab, red, red)) {

        .form-field input:focus,
        .form-field textarea:focus {
            box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 12%, transparent)
        }
    }

    .form-field:focus-within label {
        color: var(--primary)
    }

    .form-field input {
        min-height: 48px
    }

    .form-field textarea {
        resize: vertical;
        min-height: 150px
    }

    .form-field [aria-invalid=true] {
        border-color: var(--danger)
    }

    .form-field [aria-invalid=true]:focus {
        border-color: var(--danger);
        box-shadow: 0 0 0 3px var(--danger)
    }

    @supports (color:color-mix(in lab, red, red)) {
        .form-field [aria-invalid=true]:focus {
            box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 12%, transparent)
        }
    }

    .contact-form button:disabled {
        cursor: wait;
        opacity: .7
    }

    .not-found-page {
        place-items: center;
        min-height: 68vh;
        padding: clamp(2rem, 6vw, 4rem) 0;
        display: grid
    }

    .not-found-card {
        text-align: center;
        justify-items: center;
        max-width: 680px;
        display: grid
    }

    .not-found-image {
        aspect-ratio: 3/2;
        border: 1px solid var(--border);
        object-fit: cover;
        width: min(100%, 460px);
        box-shadow: var(--shadow-md);
        border-radius: 1.25rem;
        display: block
    }

    .not-found-card h1 {
        letter-spacing: -.04em;
        margin: 1.5rem 0 0;
        font-size: clamp(1.8rem, 4vw, 2.5rem)
    }

    .not-found-primary {
        min-width: 150px;
        box-shadow: 0 .55rem 1.25rem var(--primary);
        margin-top: 1.25rem
    }

    @supports (color:color-mix(in lab, red, red)) {
        .not-found-primary {
            box-shadow: 0 .55rem 1.25rem color-mix(in srgb, var(--primary) 24%, transparent)
        }
    }

    .site-footer {
        color: #f5eee8;
        background: #17110c;
        border-top: 1px solid #3b3027;
        margin-top: auto
    }

    .site-footer__inner {
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        display: flex
    }

    .footer-brand img {
        width: 112px;
        display: block
    }

    .site-footer__content {
        text-align: right
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: .4rem 1.25rem;
        display: flex
    }

    .footer-nav a {
        color: #eee2d7;
        font-size: .87rem
    }

    .footer-nav a:hover {
        color: #fbbf24
    }

    .site-footer p {
        color: #a99a8c;
        margin: .45rem 0 0;
        font-size: .8rem
    }

    .back-to-top {
        z-index: 40;
        color: #fff;
        background: var(--primary);
        opacity: 0;
        pointer-events: none;
        border: 0;
        border-radius: 999px;
        place-items: center;
        width: 46px;
        height: 46px;
        transition: opacity .2s, transform .2s, background .2s;
        display: grid;
        position: fixed;
        bottom: 1.15rem;
        right: 1.15rem;
        transform: translateY(12px);
        box-shadow: 0 8px 22px #b4530952
    }

    .back-to-top.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0)
    }

    .back-to-top:hover {
        background: var(--primary-hover)
    }

    .back-to-top svg {
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2px;
        width: 1.4rem
    }

    @media(max-width:900px) {
        .card-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr))
        }

        .featured-layout {
            grid-template-columns: 1fr
        }

        .detail-layout {
            grid-template: "primary-ad" "article" "recommendations" /1fr
        }

        .editor-stack {
            grid-template-columns: repeat(2, minmax(0, 1fr))
        }

        .detail-aside,
        .detail-aside__recommendations {
            position: static
        }

        .aside-list {
            grid-template-columns: repeat(2, minmax(0, 1fr))
        }

        .contact-layout {
            grid-template-columns: 1fr
        }
    }

    @media(max-width:720px) {
        .site-header {
            background: var(--surface);
            -webkit-backdrop-filter: none;
            backdrop-filter: none
        }

        .site-header__inner {
            min-height: 62px
        }

        .menu-toggle {
            display: inline-grid
        }

        .category-trigger {
            display: none
        }

        .article-list .article-card__link {
            grid-template-columns: 140px minmax(0, 1fr)
        }

        .article-list .article-card p {
            display: none
        }

        .editor-stack {
            grid-template-columns: 1fr
        }

        .section--starts-with-ad,
        .section--follows-ad {
            padding-top: 1rem
        }

        .section--has-trailing-ad {
            padding-bottom: .75rem
        }

        .detail-layout {
            row-gap: 1.25rem
        }

        .ad_box {
            margin-top: 1rem
        }

        .ad_box--home-first {
            margin-top: .75rem
        }

        .home-top-ad {
            padding-bottom: .75rem
        }

        .ad_box--detail-primary {
            margin-top: 0
        }

        .ad_box--before-results {
            margin-top: 0;
            margin-bottom: 1rem
        }

        .ad_box--grid {
            margin-top: 0
        }

        .ad_box--in-article {
            margin-block: 1.25rem
        }

        .ad_box--after-detail {
            margin-top: 1.25rem
        }

        .search-page__empty {
            text-align: center;
            grid-template-columns: 1fr;
            justify-items: center
        }

        .search-page__empty-media {
            width: min(100%, 18rem)
        }

        .search-page__empty-content>p,
        .search-page__empty-action {
            margin-inline: auto
        }

        .site-footer__inner {
            text-align: center;
            flex-direction: column
        }

        .site-footer__content {
            text-align: center
        }

        .footer-nav {
            justify-content: center
        }

        .contact-form {
            padding: 1rem
        }

        .contact-form .form-grid {
            gap: 0
        }

        .contact-form .form-field {
            margin-bottom: .75rem
        }

        .contact-form .field-error {
            min-height: 0;
            margin: 0
        }

        .contact-form .field-error:not(:empty) {
            min-height: 1.2rem;
            margin-top: .25rem
        }

        .contact-form textarea {
            min-height: 120px
        }

        .contact-form>.button {
            width: 100%
        }
    }

    @media(max-width:520px) {
        .site-container {
            width: min(100% - 1.25rem, 1180px)
        }

        .brand img {
            width: 96px
        }

        .site-header__actions {
            gap: .3rem
        }

        .icon-button {
            width: 42px;
            height: 42px
        }

        .card-grid {
            grid-template-columns: 1fr
        }

        .feature-card {
            min-height: 420px
        }

        .article-list .article-card__link {
            grid-template-columns: 112px minmax(0, 1fr)
        }

        .article-list .article-card__body {
            padding: .75rem
        }

        .article-list .article-card h3 {
            font-size: .95rem
        }

        .search-dialog__field,
        .form-grid {
            grid-template-columns: 1fr
        }

        .form-field--full {
            grid-column: auto
        }

        .aside-list {
            grid-template-columns: 1fr
        }

        .not-found-page {
            padding: 1.5rem 0 2.5rem
        }

        .not-found-card {
            width: min(100% - 1.25rem, 680px)
        }

        .not-found-image {
            border-radius: .9rem
        }
    }

    .site-header {
        z-index: 50;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: #fff;
        border-bottom: 1px solid #e5e5e5;
        position: relative;
        top: auto;
        box-shadow: 0 2px 4px #0000001a
    }

    .site-header__inner {
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        width: 100%;
        max-width: 1240px;
        min-height: 64px;
        margin-inline: auto;
        padding-block: 10px;
        padding-inline: 20px;
        display: flex
    }

    .brand img {
        width: auto;
        height: 34px;
        display: block
    }

    .site-header__actions {
        align-items: center;
        gap: 16px;
        margin-left: auto;
        display: flex
    }

    .category-control {
        position: relative
    }

    .category-trigger {
        color: #1f2937;
        text-transform: lowercase;
        background: 0 0;
        border: 0;
        border-radius: 40px;
        align-items: center;
        gap: .35rem;
        min-height: 44px;
        padding: 8px 16px;
        font-size: 1rem;
        font-weight: 500;
        display: flex
    }

    .category-trigger:hover {
        color: #1f2937;
        background: 0 0
    }

    .category-trigger svg {
        fill: none;
        stroke: currentColor;
        stroke-width: 2px;
        width: .9rem;
        transition: transform .2s
    }

    .category-trigger[aria-expanded=true] svg {
        transform: rotate(180deg)
    }

    .category-dropdown {
        z-index: 60;
        background: #fff;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        width: 240px;
        padding: 6px;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        box-shadow: 0 10px 30px #0000001f
    }

    .category-dropdown a {
        color: #1f2937;
        border-radius: 6px;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        min-height: 42px;
        padding: 0 12px;
        font-size: .95rem;
        display: flex
    }

    .category-dropdown a:hover {
        color: #b45309;
        background: #b4530914
    }

    .category-dropdown small {
        opacity: .55
    }

    .header-search {
        width: 300px;
        position: relative
    }

    .header-search__inner {
        position: relative
    }

    .header-search__form {
        background: #fff;
        border: 1px solid #e5e5e5;
        border-radius: 40px;
        width: 300px;
        height: 48px;
        position: relative;
        overflow: hidden
    }

    .header-search__form:focus-within {
        border-color: #b4530966;
        box-shadow: 0 0 0 3px #b453091f
    }

    .header-search__form input {
        color: #000000e6;
        background: 0 0;
        border: 0;
        outline: 0;
        width: 100%;
        height: 100%;
        padding: 0 62px 0 1em;
        font-size: .9rem
    }

    .header-search__form input::placeholder {
        color: #999
    }

    .header-search__form input[aria-invalid=true] {
        box-shadow: none
    }

    .header-search__form button {
        color: #333;
        background: 0 0;
        border: 0;
        place-items: center;
        width: 48px;
        height: 48px;
        padding: 0;
        display: grid;
        position: absolute;
        top: 0;
        right: 0
    }

    .header-search__form svg,
    .header-search__close svg,
    .header-icon svg {
        fill: none;
        stroke: currentColor;
        stroke-width: 2px;
        stroke-linecap: round;
        stroke-linejoin: round;
        width: 18px;
        height: 18px
    }

    .header-search__close {
        display: none
    }

    .search-message-stack {
        z-index: 120;
        pointer-events: none;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: min(100vw - 2rem, 420px);
        display: flex;
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translate(-50%)
    }

    .search-message {
        color: #e6a23c;
        text-align: left;
        opacity: 1;
        background: #fdf6ec;
        border: 1px solid #faecd8;
        border-radius: 4px;
        justify-content: center;
        align-items: center;
        gap: .55rem;
        width: fit-content;
        min-width: min(300px, 100vw - 2rem);
        max-width: 100%;
        min-height: 0;
        margin: 0;
        padding: .7rem 1rem;
        font-size: .875rem;
        font-weight: 500;
        line-height: 1.35;
        transition: opacity .2s, transform .2s;
        display: flex;
        transform: translateY(0);
        box-shadow: 0 4px 12px #0000001f
    }

    .search-message:before {
        content: "!";
        border: 1.5px solid;
        border-radius: 50%;
        flex: 0 0 1.1rem;
        place-items: center;
        width: 1.1rem;
        height: 1.1rem;
        font-size: .72rem;
        font-weight: 800;
        line-height: 1;
        display: inline-grid
    }

    .search-message.is-leaving {
        opacity: 0;
        transform: translateY(-12px)
    }

    .search-message--success {
        border-color: var(--success)
    }

    @supports (color:color-mix(in lab, red, red)) {
        .search-message--success {
            border-color: color-mix(in srgb, var(--success) 26%, var(--border))
        }
    }

    .search-message--success {
        color: var(--success);
        background: var(--success)
    }

    @supports (color:color-mix(in lab, red, red)) {
        .search-message--success {
            background: color-mix(in srgb, var(--success) 9%, var(--surface))
        }
    }

    .search-message--success:before {
        content: "✓"
    }

    .search-message--error {
        border-color: var(--danger)
    }

    @supports (color:color-mix(in lab, red, red)) {
        .search-message--error {
            border-color: color-mix(in srgb, var(--danger) 24%, var(--border))
        }
    }

    .search-message--error {
        color: var(--danger);
        background: var(--danger)
    }

    @supports (color:color-mix(in lab, red, red)) {
        .search-message--error {
            background: color-mix(in srgb, var(--danger) 8%, var(--surface))
        }
    }

    .header-icon {
        color: #333;
        background: #78716c1a;
        border: 0;
        border-radius: 48px;
        flex: 0 0 40px;
        place-items: center;
        width: 40px;
        height: 40px;
        padding: 0;
        transition: color .2s, background .2s;
        display: grid
    }

    .header-icon:hover {
        color: #000;
        background: #78716c29
    }

    .search-trigger,
    .menu-trigger,
    .category-drawer {
        display: none
    }

    [data-theme=dark] .site-header {
        background: #0b0e13;
        border-bottom-color: #232b36;
        box-shadow: 0 1px #ffffff0a
    }

    [data-theme=dark] .category-trigger {
        color: #c2cad6
    }

    [data-theme=dark] .category-trigger:hover {
        color: #fff
    }

    [data-theme=dark] .category-dropdown {
        background: #141922;
        border-color: #232b36
    }

    [data-theme=dark] .category-dropdown a {
        color: #e8ecf1
    }

    [data-theme=dark] .category-dropdown a:hover {
        color: #3b82f6;
        background: #3b82f624
    }

    [data-theme=dark] .header-search__form {
        background: #ffffff0a;
        border-color: #2a3340
    }

    [data-theme=dark] .header-search__form:focus-within {
        border-color: #3b82f67a;
        box-shadow: 0 0 0 3px #3b82f624
    }

    [data-theme=dark] .header-search__form input {
        color: #e8ecf1
    }

    [data-theme=dark] .header-search__form input::placeholder {
        color: #6b7685
    }

    [data-theme=dark] .header-search__form button {
        color: #e8ecf1
    }

    [data-theme=dark] .search-message {
        color: #eebe77;
        background: #2b2111;
        border-color: #594214;
        box-shadow: 0 4px 16px #0000004d
    }

    [data-theme=dark] .search-message--success {
        border-color: var(--success)
    }

    @supports (color:color-mix(in lab, red, red)) {
        [data-theme=dark] .search-message--success {
            border-color: color-mix(in srgb, var(--success) 32%, #1d3728)
        }
    }

    [data-theme=dark] .search-message--success {
        color: #86efac;
        background: #12251a
    }

    [data-theme=dark] .search-message--error {
        border-color: var(--danger)
    }

    @supports (color:color-mix(in lab, red, red)) {
        [data-theme=dark] .search-message--error {
            border-color: color-mix(in srgb, var(--danger) 32%, #442020)
        }
    }

    [data-theme=dark] .search-message--error {
        color: #fca5a5;
        background: #2b1517
    }

    [data-theme=dark] .header-icon {
        color: #e8ecf1;
        background: #ffffff0f
    }

    [data-theme=dark] .header-icon:hover {
        color: #fff;
        background: #ffffff1f
    }

    [data-theme=dark] .theme-toggle {
        background: #ffffff14;
        border: 1px solid #2a3340
    }

    @media(max-width:767px) {
        .site-header__inner {
            width: 100%;
            max-width: none;
            min-height: 64px;
            padding: 0 16px
        }

        .brand img {
            height: 34px
        }

        .site-header__actions {
            gap: 12px
        }

        .category-control {
            display: none
        }

        .search-trigger,
        .menu-trigger {
            display: grid
        }

        .header-search {
            z-index: 100;
            -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
            background: #00000080;
            width: auto;
            display: none;
            position: fixed;
            inset: 0
        }

        .header-search.is-open {
            display: block
        }

        .header-search__inner {
            background: #fff;
            border-bottom: 1px solid #e5e5e5;
            align-items: center;
            height: 64px;
            padding: 0 16px;
            display: flex;
            box-shadow: 0 2px 4px #0000001a
        }

        .header-search__form {
            flex: 1;
            width: auto;
            min-width: 0
        }

        .header-search__close {
            color: #333;
            background: 0 0;
            border: 0;
            flex: 0 0 40px;
            place-items: center;
            width: 40px;
            height: 40px;
            margin-left: 12px;
            padding: 0;
            display: grid
        }

        .search-message-stack {
            top: 20px
        }

        .category-drawer {
            z-index: 90;
            visibility: hidden;
            pointer-events: none;
            opacity: 0;
            transition: opacity .25s, visibility .25s;
            display: block;
            position: fixed;
            inset: 0
        }

        .category-drawer.is-open {
            visibility: visible;
            pointer-events: auto;
            opacity: 1
        }

        .category-drawer__backdrop {
            background: #0000007a;
            border: 0;
            width: 100%;
            height: 100%;
            position: absolute;
            inset: 0
        }

        .category-drawer__panel {
            background: #fff;
            width: min(80%, 320px);
            height: 100%;
            transition: transform .3s cubic-bezier(.32, .72, 0, 1);
            position: absolute;
            top: 0;
            right: 0;
            transform: translate(100%);
            box-shadow: -4px 0 24px #00000026
        }

        .category-drawer.is-open .category-drawer__panel {
            transform: translate(0)
        }

        .category-drawer__header {
            color: #1f2937;
            border-bottom: 1px solid #e5e5e5;
            justify-content: space-between;
            align-items: center;
            height: 64px;
            padding: 0 12px 0 20px;
            font-size: 1.1rem;
            font-weight: 600;
            display: flex
        }

        .category-drawer nav {
            padding: 8px 12px 24px
        }

        .category-drawer nav a {
            color: #1f2937;
            border-radius: 10px;
            grid-template-columns: 1fr auto 18px;
            align-items: center;
            gap: .75rem;
            min-height: 52px;
            padding: 0 8px;
            font-weight: 500;
            display: grid
        }

        .category-drawer nav a:hover {
            color: #b45309;
            background: #b4530914
        }

        .category-drawer nav small {
            opacity: .55
        }

        .category-drawer nav svg {
            fill: none;
            stroke: currentColor;
            stroke-width: 2px;
            width: 16px
        }

        [data-theme=dark] .header-search__inner {
            background: #05070ae6;
            border-bottom-color: #232b36;
            box-shadow: 0 1px #ffffff0a
        }

        [data-theme=dark] .header-search__form {
            background: #141922
        }

        [data-theme=dark] .header-search__close {
            color: #e8ecf1
        }

        [data-theme=dark] .category-drawer__panel {
            background: #0b0e13
        }

        [data-theme=dark] .category-drawer__header {
            color: #e8ecf1;
            border-bottom-color: #232b36
        }

        [data-theme=dark] .category-drawer nav a {
            color: #c2cad6
        }

        [data-theme=dark] .category-drawer nav a:hover {
            color: #3b82f6;
            background: #3b82f624
        }
    }

    @media(prefers-reduced-motion:reduce) {

        *,
        :before,
        :after {
            scroll-behavior: auto !important;
            transition-duration: .01ms !important;
            animation-duration: .01ms !important;
            animation-iteration-count: 1 !important
        }
    }
}

@layer utilities {
    .invisible {
        visibility: hidden
    }

    .visible {
        visibility: visible
    }

    .fixed {
        position: fixed
    }

    .static {
        position: static
    }

    .container {
        width: 100%
    }

    @media(min-width:40rem) {
        .container {
            max-width: 40rem
        }
    }

    @media(min-width:48rem) {
        .container {
            max-width: 48rem
        }
    }

    @media(min-width:64rem) {
        .container {
            max-width: 64rem
        }
    }

    @media(min-width:80rem) {
        .container {
            max-width: 80rem
        }
    }

    @media(min-width:96rem) {
        .container {
            max-width: 96rem
        }
    }

    .grid {
        display: grid
    }

    .hidden {
        display: none
    }

    .inline {
        display: inline
    }

    .blur {
        --tw-blur: blur(8px);
        filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )
    }
}

@property --tw-blur {
    syntax: "*";
    inherits: false
}

@property --tw-brightness {
    syntax: "*";
    inherits: false
}

@property --tw-contrast {
    syntax: "*";
    inherits: false
}

@property --tw-grayscale {
    syntax: "*";
    inherits: false
}

@property --tw-hue-rotate {
    syntax: "*";
    inherits: false
}

@property --tw-invert {
    syntax: "*";
    inherits: false
}

@property --tw-opacity {
    syntax: "*";
    inherits: false
}

@property --tw-saturate {
    syntax: "*";
    inherits: false
}

@property --tw-sepia {
    syntax: "*";
    inherits: false
}

@property --tw-drop-shadow {
    syntax: "*";
    inherits: false
}

@property --tw-drop-shadow-color {
    syntax: "*";
    inherits: false
}

@property --tw-drop-shadow-alpha {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 100%
}

@property --tw-drop-shadow-size {
    syntax: "*";
    inherits: false
}

@property --tw-border-style {
    syntax: "*";
    inherits: false;
    initial-value: solid
}

@property --tw-font-weight {
    syntax: "*";
    inherits: false
}

/*$vite$:1*/