:root {
    color-scheme: light;
    --bg: #f7f6f2;
    --surface: #ffffff;
    --surface-soft: #fbfaf7;
    --ink: #151411;
    --muted: #706a60;
    --line: #e4dfd5;
    --line-strong: #cec6b7;
    --brand: #11100e;
    --brand-deep: #080706;
    --brand-soft: #f2ede3;
    --teal: #8b6a16;
    --accent: #b8860b;
    --accent-dark: #8b6508;
    --accent-soft: #f8f0dc;
    --gold: #b8860b;
    --shadow-sm: 0 8px 24px rgba(30, 25, 18, 0.06);
    --shadow-md: 0 20px 48px rgba(30, 25, 18, 0.11);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--bg);
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

button,
input,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(19, 118, 107, 0.25);
    outline-offset: 2px;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 3px solid var(--accent);
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 28px rgba(13, 47, 41, 0.22);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1480px, calc(100% - 44px));
    min-height: 76px;
    margin: 0 auto;
}

.brand-block {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 13px;
    color: inherit;
    text-decoration: none;
}

.brand-block:hover .brand-mark {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(223, 90, 47, 0.36);
}

.brand-mark,
.empty-mark {
    display: grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(223, 90, 47, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-block h1 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1.25;
}

.brand-block p {
    max-width: 50vw;
    margin: 2px 0 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-meta {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    min-width: 0;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.065);
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    line-height: 1.4;
}

.header-meta > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
}

.header-meta > div > span {
    color: rgba(255, 255, 255, 0.56);
    font-size: 11px;
}

.header-meta strong {
    max-width: 54vw;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-meta strong.is-warning {
    color: #ffc078;
}

.header-meta-divider {
    align-self: stretch;
    width: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.status-dot {
    width: 8px;
    height: 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: #6ee7b7;
    box-shadow: 0 0 0 4px rgba(110, 231, 183, 0.1);
}

.page-shell {
    width: min(1480px, calc(100% - 44px));
    margin: 0 auto;
    padding: 28px 0 64px;
}

.toolbar {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) repeat(2, minmax(130px, 172px)) auto auto;
    gap: 13px;
    padding: 16px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--brand);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.control-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.control-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.search-field input,
.select-field select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: #fff;
    color: var(--ink);
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.search-field input {
    padding: 0 14px;
}

.select-field select {
    padding: 0 34px 0 12px;
}

.search-field input:hover,
.select-field select:hover {
    border-color: #9fb0a6;
}

.search-field input:focus,
.select-field select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(19, 118, 107, 0.11);
}

.search-field input::placeholder {
    color: #98a39d;
}

.sort-controls {
    display: flex;
    align-self: end;
    min-height: 44px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface-soft);
}

.sort-button {
    min-width: 78px;
    padding: 0 11px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.sort-button.is-active {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 5px 14px rgba(18, 60, 52, 0.22);
    font-weight: 700;
}

.secondary-button {
    align-self: end;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font-weight: 700;
    transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.secondary-button:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
    transform: translateY(-1px);
}

.summary-bar {
    display: flex;
    align-items: center;
    gap: 34px;
    min-height: 64px;
    color: var(--muted);
    font-size: 13px;
}

.summary-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.summary-item > span {
    color: var(--muted);
    font-size: 12px;
}

.summary-item p {
    margin: 0;
    color: var(--ink);
}

.summary-item strong {
    color: var(--brand);
    font-size: 18px;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.js .topic-card:not(.is-visible) {
    display: none;
}

.topic-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    box-shadow: 0 5px 18px rgba(30, 25, 18, 0.045);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.topic-card:hover {
    transform: translateY(-4px);
    border-color: #b9ae9d;
    box-shadow: var(--shadow-md);
}

.card-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
    border: 0;
    aspect-ratio: 3 / 4;
    background: #eeeae2;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
    appearance: none;
}

.card-media:focus-visible {
    outline: 3px solid #f2a170;
    outline-offset: -3px;
}

.card-media::after {
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    background: linear-gradient(to top, rgba(15, 13, 10, 0.78), transparent);
    content: "";
    pointer-events: none;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.topic-card:hover .card-media img {
    transform: scale(1.04);
}

.media-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: #eeeae2;
}

.media-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-age-overlay {
    position: absolute;
    z-index: 2;
    bottom: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    background: rgba(15, 13, 10, 0.58);
    color: #fff;
    font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
}

.card-body {
    display: flex;
    min-height: 142px;
    flex: 1;
    flex-direction: column;
    padding: 15px 15px 14px;
}

.card-heading-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 9px;
}

.card-title {
    min-width: 0;
    flex: 1;
    margin: 0;
    font-family: "Noto Serif SC", "Songti SC", STSong, serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}

.card-title-link {
    display: -webkit-box;
    overflow: hidden;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-title-link:hover {
    color: var(--accent-dark);
}

.card-price {
    flex: 0 0 auto;
    color: var(--accent-dark);
    font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 22px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.card-price::before {
    color: var(--muted);
    content: "价格 ";
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.card-footer span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detail-button {
    margin-left: auto;
    min-height: 32px;
    padding: 4px 12px;
    border: 1px solid var(--brand);
    border-radius: 4px;
    background: var(--brand);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.detail-button:hover {
    border-color: var(--accent);
    background: var(--accent);
}

.empty-state {
    display: grid;
    min-height: 330px;
    margin-top: 24px;
    place-items: center;
    align-content: center;
    gap: 14px;
    border: 1px dashed var(--line-strong);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--muted);
    text-align: center;
}

.empty-state h2 {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
}

.empty-state.is-hidden {
    display: none;
}

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 13px;
}

.pager button {
    min-width: 40px;
    min-height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font-weight: 700;
}

.pager .pager-nav {
    min-width: 72px;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pager .page-number {
    min-width: 38px;
    padding: 0 9px;
}

.pager .page-number.is-active {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}

.page-ellipsis {
    display: inline-grid;
    min-width: 24px;
    place-items: center;
    color: var(--muted);
    user-select: none;
}

.pager button:hover:not(:disabled) {
    border-color: var(--brand);
    color: var(--brand);
}

.pager .page-number.is-active:hover:not(:disabled) {
    border-color: var(--brand);
    color: #fff;
}

.pager button:disabled {
    cursor: not-allowed;
    opacity: 0.42;
}

.topic-dialog {
    width: min(1120px, calc(100% - 36px));
    max-height: min(90vh, 940px);
    padding: 0;
    overflow: hidden;
    border: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 32px 90px rgba(8, 7, 6, 0.42);
}

.topic-dialog::backdrop {
    background: rgba(10, 9, 8, 0.72);
    backdrop-filter: blur(7px);
}

.dialog-shell {
    display: grid;
    grid-template-columns: minmax(360px, 1.12fr) minmax(400px, 0.88fr);
    max-height: min(90vh, 940px);
    overflow: hidden;
}

.dialog-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 5px;
    background: rgba(14, 13, 11, 0.74);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.dialog-close:hover {
    background: var(--accent);
}

.dialog-images {
    display: grid;
    align-content: start;
    gap: 10px;
    max-height: min(90vh, 940px);
    padding: 12px;
    overflow-y: auto;
    background: #11100e;
}

.dialog-images:empty {
    display: none;
}

.dialog-images img {
    width: 100%;
    height: 350px;
    border-radius: 4px;
    object-fit: cover;
    background: #1b1916;
}

.dialog-image {
    cursor: zoom-in;
}

.dialog-image:focus-visible {
    outline: 3px solid #f2a170;
    outline-offset: -3px;
}

.dialog-image.is-placeholder {
    cursor: default;
}

.dialog-images.is-single img {
    height: 620px;
}

.dialog-content {
    max-height: min(90vh, 940px);
    padding: 32px;
    overflow-y: auto;
    background: var(--surface);
}

.dialog-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.dialog-eyebrow {
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 900;
}

.dialog-content h2 {
    margin: 5px 0 10px;
    font-family: "Noto Serif SC", "Songti SC", STSong, serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.38;
}

.dialog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 12px;
}

.detail-facts {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 0;
    margin-bottom: 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.fact-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
    padding: 14px 0;
    border: 0;
    background: transparent;
}

.fact-item + .fact-item {
    padding-left: 18px;
    border-left: 1px solid var(--line);
}

.fact-item span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.fact-item strong {
    overflow: hidden;
    color: var(--ink);
    font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 18px;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fact-price strong {
    color: var(--accent-dark);
    font-size: 30px;
    font-weight: 800;
}

.dialog-section {
    margin-top: 22px;
    padding-top: 21px;
    border-top: 1px solid var(--line);
}

.dialog-section h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-family: "Noto Serif SC", "Songti SC", STSong, serif;
    font-size: 18px;
    font-weight: 700;
}

.dialog-content p {
    margin: 0 0 22px;
    color: #3f3b35;
    font-size: 15px;
    line-height: 1.95;
    white-space: pre-wrap;
    word-break: break-word;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 22px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 22px;
    border-top: 1px solid var(--line);
}

.contact-item {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
    padding: 12px 70px 12px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}

.contact-item span {
    color: var(--muted);
    font-size: 12px;
}

.contact-item strong {
    overflow-wrap: anywhere;
    color: var(--ink);
    font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 15px;
}

.copy-button {
    position: absolute;
    top: 50%;
    right: 0;
    min-width: 48px;
    min-height: 28px;
    padding: 0 8px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transform: translateY(-50%);
}

.copy-button:hover:not(:disabled),
.copy-button.is-success {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.copy-button:disabled {
    cursor: default;
    opacity: 0.72;
}

.image-lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0;
    padding: 20px;
    overflow: hidden;
    border: 0;
    background: rgba(5, 10, 8, 0.95);
    color: #fff;
}

.image-lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.image-lightbox::backdrop {
    background: rgba(5, 10, 8, 0.92);
}

.image-lightbox img {
    display: block;
    flex: 0 1 auto;
    max-width: calc(100vw - 240px);
    max-height: 88vh;
    border-radius: 6px;
    object-fit: contain;
}

.lightbox-close {
    position: fixed;
    z-index: 3;
    top: 18px;
    right: 18px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 7px;
    background: rgba(18, 28, 24, 0.88);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
}

.lightbox-close:hover {
    background: var(--accent);
}

.lightbox-nav {
    position: static;
    z-index: 3;
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(18, 28, 24, 0.88);
    color: #fff;
    cursor: pointer;
    font-size: 34px;
    line-height: 1;
}

.lightbox-nav:hover:not(:disabled) {
    border-color: #f2a170;
    background: var(--accent);
}

.lightbox-nav:disabled {
    cursor: default;
    opacity: 0.3;
}

.lightbox-counter {
    position: fixed;
    z-index: 3;
    bottom: 20px;
    left: 50%;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(18, 28, 24, 0.88);
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    transform: translateX(-50%);
}

.service-chip {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 3px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: var(--surface-soft);
    color: #554f46;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 1300px) {
    .topic-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .topic-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .toolbar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .search-field {
        grid-column: 1 / -1;
    }

    .sort-controls {
        grid-column: span 2;
    }
}

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

    .dialog-shell {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .dialog-images {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
    }

    .dialog-images img,
    .dialog-images.is-single img {
        flex: 0 0 86%;
        height: min(48vh, 430px);
        scroll-snap-align: start;
    }

    .dialog-content {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 700px) {
    .header-inner,
    .page-shell {
        width: min(100% - 24px, 1480px);
    }

    .header-inner {
        min-height: 68px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-block h1 {
        font-size: 17px;
    }

    .header-meta {
        gap: 8px;
        padding: 7px 9px;
    }

    .header-meta strong {
        max-width: 36vw;
        font-size: 13px;
    }

    .page-shell {
        padding-top: 15px;
    }

    .topic-grid,
    .empty-state {
        margin-top: 16px;
    }

    .toolbar {
        grid-template-columns: 1fr;
        padding: 13px;
    }

    .search-field {
        grid-column: auto;
    }

    .sort-controls {
        grid-column: auto;
        width: 100%;
    }

    .sort-button {
        flex: 1;
    }

    .secondary-button {
        width: 100%;
    }

    .summary-bar {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        min-height: 68px;
    }

    .topic-grid {
        grid-template-columns: 1fr;
    }

    .card-media {
        aspect-ratio: 16 / 9;
    }

    .card-body {
        min-height: 0;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }

    .image-lightbox {
        padding: 12px;
    }

    .image-lightbox[open] {
        gap: 10px;
    }

    .image-lightbox img {
        max-width: calc(100vw - 120px);
        max-height: 76vh;
    }

    .lightbox-nav {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 29px;
    }

    .topic-dialog {
        width: calc(100% - 20px);
        max-height: 94vh;
    }

    .dialog-shell {
        max-height: 94vh;
    }

    .dialog-content {
        padding: 20px;
    }

    .dialog-heading {
        flex-direction: column;
        gap: 8px;
    }

    .dialog-content h2 {
        font-size: 21px;
    }

    .detail-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 520px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 0;
    }

    .brand-block p {
        display: none;
    }

    .header-meta {
        width: 100%;
        justify-content: space-between;
    }

    .header-meta > div {
        align-items: flex-start;
    }

    .header-meta strong {
        max-width: none;
        font-size: 12px;
    }
}
