@font-face {
    font-family: "Dancing Script Local";
    src: url("/assets/fonts/dancing-script/dancing-script-600.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Dancing Script Local";
    src: url("/assets/fonts/dancing-script/dancing-script-700.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --ds-ink: #221619;
    --ds-muted: #756267;
    --ds-wine: #7f1f26;
    --ds-red: #e74c3c;
    --ds-rose: #fff1f0;
    --ds-cream: #fffaf4;
    --ds-paper: #ffffff;
    --ds-line: #eadbd8;
    --ds-shadow: 0 24px 70px rgba(127, 31, 38, .13);
    --ds-radius: 26px;
    --ds-serif: Georgia, "Times New Roman", serif;
    --ds-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --ds-script: "Dancing Script Local", Georgia, "Times New Roman", serif;
    --ds-content-width: 800px;
    --ds-sidebar-width: 300px;
    --ds-layout-gap: 32px;
    --ds-page-gutter: 24px;
    --ds-shell-width: calc(var(--ds-content-width) + var(--ds-sidebar-width) + var(--ds-layout-gap));
}

* {
    box-sizing: border-box;
}

body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    color: var(--ds-ink);
    font-family: var(--ds-sans);
    background:
        radial-gradient(circle at 15% 0%, rgba(231, 76, 60, .12), transparent 28rem),
        linear-gradient(180deg, var(--ds-cream), #fff 24rem);
    overflow-x: hidden;
}

body::before,
body::after {
    position: fixed;
    z-index: 0;
    width: clamp(500px, 31vw, 660px);
    aspect-ratio: 1 / 1;
    background: url("/assets/design/peking-ohnivy-kun-hlava.avif") center / cover no-repeat;
    content: "";
    filter: saturate(.96) contrast(.98);
    mask-image: radial-gradient(ellipse at center, #000 0 44%, rgba(0, 0, 0, .78) 58%, transparent 78%);
    mix-blend-mode: multiply;
    opacity: .23;
    pointer-events: none;
}

body::before {
    left: clamp(-270px, -15vw, -210px);
    top: clamp(260px, 35vh, 420px);
    transform: scaleX(-1);
}

body::after {
    right: clamp(-270px, -15vw, -210px);
    top: clamp(320px, 44vh, 500px);
}

.site-header,
.site-main,
.site-footer {
    position: relative;
    z-index: 1;
}

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

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

.site-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    width: min(calc(100% - var(--ds-page-gutter) - var(--ds-page-gutter)), var(--ds-shell-width));
    max-width: none;
    margin: 0 auto;
    padding: 30px 0 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand__mark {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-family: var(--ds-serif);
    font-size: 30px;
    font-style: italic;
    background: linear-gradient(135deg, var(--ds-wine), var(--ds-red));
    box-shadow: 0 12px 28px rgba(127, 31, 38, .24);
}

.brand__text {
    font-family: var(--ds-serif);
    font-size: clamp(28px, 4vw, 46px);
    line-height: .9;
    color: var(--ds-wine);
}

.brand__text span {
    display: block;
    color: var(--ds-red);
    font-size: .72em;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    color: var(--ds-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.site-nav a:hover,
.eyebrow:hover {
    color: var(--ds-red);
}

.site-search {
    position: relative;
    justify-self: end;
}

.site-search summary {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--ds-line);
    border-radius: 50%;
    color: var(--ds-wine);
    background: rgba(255, 255, 255, .78);
    cursor: pointer;
    list-style: none;
}

.site-search summary::-webkit-details-marker {
    display: none;
}

.site-search[open] summary {
    color: #fff;
    border-color: transparent;
    background: var(--ds-wine);
}

.site-search__form {
    position: absolute;
    z-index: 20;
    top: calc(100% + 14px);
    right: 0;
    display: grid;
    width: min(calc(100vw - var(--ds-page-gutter) - var(--ds-page-gutter)), var(--ds-shell-width));
    gap: 10px;
    border: 1px solid var(--ds-line);
    border-radius: 22px;
    padding: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--ds-shadow);
}

.site-search__label {
    color: var(--ds-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.site-search__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.site-search__row input {
    width: 100%;
    border: 1px solid var(--ds-line);
    border-radius: 999px;
    padding: 13px 16px;
    background: var(--ds-cream);
}

.site-search__row button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 0 16px;
    color: #fff;
    font-weight: 800;
    background: var(--ds-wine);
    cursor: pointer;
}

.site-search__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

main {
    width: min(calc(100% - var(--ds-page-gutter) - var(--ds-page-gutter)), var(--ds-shell-width));
    max-width: none;
    margin: 0 auto;
    padding: 0 0 48px;
}

.hero {
    margin: 20px 0 34px;
}

.article-card {
    overflow: hidden;
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-radius);
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 12px 42px rgba(127, 31, 38, .08);
}

.article-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 25%, rgba(231, 76, 60, .08), transparent 16rem),
        var(--ds-rose);
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.article-card:not(.article-card--hero) .article-card__image img {
    object-fit: contain;
}

.article-card:hover .article-card__image img {
    transform: scale(1.04);
}

.article-card:not(.article-card--hero):hover .article-card__image img {
    transform: none;
}

.article-card__body {
    padding: 22px;
}

.article-card h2,
.article-detail h1,
.page-title h1,
.sidebar-box h2,
.interaction-card h2 {
    margin: 0;
    font-family: var(--ds-serif);
    line-height: 1.08;
}

.article-card h2 {
    font-size: clamp(22px, 2.5vw, 32px);
}

.article-card p,
.article-content,
.empty-state p {
    color: var(--ds-muted);
    line-height: 1.75;
}

.article-card time,
.article-detail time {
    display: inline-block;
    margin-top: 12px;
    color: var(--ds-muted);
    font-size: 13px;
}

.article-card--hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    min-height: 460px;
    border: 0;
    background: linear-gradient(135deg, rgba(127, 31, 38, .96), rgba(231, 76, 60, .88));
    box-shadow: var(--ds-shadow);
}

.article-card--hero .article-card__image {
    aspect-ratio: auto;
}

.article-card--hero .article-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    padding: clamp(28px, 5vw, 58px);
}

.article-card--hero p,
.article-card--hero time {
    color: rgba(255, 255, 255, .84);
}

.article-card--hero .eyebrow {
    color: #fff;
    border-color: rgba(255, 255, 255, .34);
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, var(--ds-content-width)) var(--ds-sidebar-width);
    gap: var(--ds-layout-gap);
    align-items: start;
}

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

.article-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-main {
    min-width: 0;
}

.layout--article {
    align-items: start;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 12px;
    border: 1px solid var(--ds-line);
    border-radius: 999px;
    padding: 6px 11px;
    color: var(--ds-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.sidebar {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 20px;
}

.sidebar-box {
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-radius);
    padding: 20px;
    background: rgba(255, 255, 255, .78);
}

.sidebar-box h2 {
    margin-bottom: 16px;
    color: var(--ds-wine);
}

.sidebar-box--placement {
    border: 0;
    padding: 0;
    background: transparent;
}

.sidebar-box--placement h2 {
    margin: 0 0 10px;
    padding: 0 2px;
}

.company-box {
    display: grid;
    gap: 14px;
}

.company-box--article {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 30px;
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-radius);
    padding: 14px 16px;
    background: rgba(255, 255, 255, .82);
}

.company-box__summary {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.company-box h2 {
    margin-bottom: 0;
}

.company-box__eyebrow {
    margin: 0;
    color: var(--ds-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.company-box__name {
    display: block;
    color: var(--ds-wine);
    font-weight: 800;
}

.company-box__text {
    margin: 0;
    color: var(--ds-muted);
    line-height: 1.7;
}

.company-box--article .company-box__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-box__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.company-box__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--ds-line);
    border-radius: 999px;
    padding: 7px 10px;
    color: var(--ds-wine);
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, .72);
}

.company-box__link:hover {
    color: var(--ds-red);
    border-color: rgba(166, 55, 68, .35);
}

.company-box__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    padding: 0;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    background: var(--ds-wine);
}

.company-box__icon i {
    line-height: 1;
}

.company-box__link--website_url .company-box__icon {
    background: #6d5960;
}

.company-box__link--link_linkedin .company-box__icon {
    background: #0a66c2;
}

.company-box__link--link_x .company-box__icon {
    background: #111;
}

.company-box__link--link_fb .company-box__icon {
    background: #1877f2;
}

.company-box__link--link_ig .company-box__icon {
    background: #c13584;
}

.company-box__link--link_youtube .company-box__icon {
    background: #d71920;
}

.today-box {
    display: grid;
    gap: 12px;
}

.today-box h2 {
    margin-bottom: 0;
}

.today-box__list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.today-box__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ds-muted);
    line-height: 1.45;
}

.today-box__link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
}

.today-box__link:hover .today-box__name {
    color: var(--ds-red);
}

.today-box__name {
    min-width: 0;
}

.today-box__icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    color: var(--ds-red);
    font-size: 14px;
    background: var(--ds-rose);
}

.today-box__icon i {
    line-height: 1;
}

.today-box--salutations .today-box__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.today-box--salutations .today-box__list li {
    border: 1px solid var(--ds-line);
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--ds-wine);
    font-weight: 800;
    background: rgba(255, 255, 255, .72);
}

.today-box__wish,
.contest-result__congrats,
.calendar-detail__lead {
    font-family: var(--ds-script);
    font-weight: 700;
    line-height: 1.15;
}

.today-box__wish {
    margin: 2px 0 0;
    color: var(--ds-wine);
    font-size: 24px;
}

.today-box__wish strong {
    color: var(--ds-red);
}

.today-box__wish a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.today-box__wish a:hover {
    color: var(--ds-red);
}

.name-directory-box {
    padding: 16px;
}

.name-directory-box h2 {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.05;
}

.name-directory-box__wish {
    border-bottom: 1px solid var(--ds-line);
    margin: 0 0 12px;
    padding-bottom: 12px;
}

.name-directory-box__main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--ds-line);
    border-radius: 999px;
    padding: 9px 12px;
    color: var(--ds-wine);
    font-weight: 800;
    background: rgba(255, 255, 255, .72);
}

.name-directory-box__main::after {
    color: var(--ds-red);
    content: "→";
}

.name-directory-box__main:hover {
    color: var(--ds-red);
    border-color: rgba(231, 76, 60, .3);
}

.daily-wisdom-box {
    display: grid;
    gap: 10px;
    border-color: rgba(127, 31, 38, .18);
    background: linear-gradient(145deg, #fff, var(--ds-rose));
}

.daily-wisdom-box h2 {
    margin-bottom: 0;
    font-size: 22px;
    line-height: 1.05;
}

.daily-wisdom-box__quote {
    margin: 0;
    color: var(--ds-wine);
    font-family: var(--ds-script);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.12;
}

.daily-wisdom-box__quote::before {
    content: "„";
}

.daily-wisdom-box__quote::after {
    content: "“";
}

.horoscope-box {
    padding: 14px;
}

.horoscope-box h2 {
    margin-bottom: 9px;
    font-size: 22px;
    line-height: 1.05;
}

.horoscope-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.horoscope-link {
    position: relative;
    display: grid;
    min-width: 0;
    place-items: center;
    border-radius: 50%;
    color: var(--ds-wine);
    transition: color .2s ease, transform .2s ease, background-color .2s ease;
}

.horoscope-link:hover {
    color: var(--ds-red);
    background: var(--ds-rose);
    transform: translateY(-1px);
}

.horoscope-link::after {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    z-index: 5;
    border-radius: 999px;
    padding: 5px 9px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    background: var(--ds-wine);
    box-shadow: 0 8px 18px rgba(127, 31, 38, .16);
    content: attr(data-sign);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity .16s ease, transform .16s ease;
}

.horoscope-link:hover::after,
.horoscope-link:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.horoscope-link__icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid rgba(231, 76, 60, .22);
    border-radius: 50%;
    color: var(--ds-red);
    background: rgba(255, 241, 240, .72);
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.horoscope-link:hover .horoscope-link__icon {
    border-color: rgba(127, 31, 38, .28);
    color: var(--ds-wine);
    background: #fff;
}

.horoscope-link__icon svg {
    width: 34px;
    height: 34px;
    overflow: visible;
}

.category-pill,
.mini-link {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--ds-line);
    padding: 12px 0;
    color: var(--ds-muted);
}

.category-pill:hover,
.mini-link:hover {
    color: var(--ds-red);
}

.feature-slot,
.contest-teaser {
    display: grid;
    gap: 10px;
    color: inherit;
}

.feature-slot {
    overflow: hidden;
    border: 1px solid rgba(127, 31, 38, .14);
    border-radius: 20px;
    background: linear-gradient(145deg, #fff, var(--ds-rose));
}

.feature-slot + .feature-slot {
    margin-top: 14px;
}

.article-placement {
    margin-top: 18px;
}

.feature-slot img {
    width: 100%;
    height: auto;
}

.feature-slot--content,
.feature-slot--sidebar {
    position: relative;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    transition: border-color .18s ease, box-shadow .18s ease, filter .18s ease, transform .18s ease;
}

.feature-slot--content {
    max-width: var(--ds-content-width);
    aspect-ratio: 4 / 1;
}

.feature-slot--content img,
.feature-slot--content .feature-slot__script {
    width: 100%;
    height: 100%;
}

.feature-slot--content img {
    object-fit: cover;
}

.feature-slot--sidebar {
    max-width: var(--ds-sidebar-width);
}

.feature-slot--sidebar img {
    width: 100%;
    height: auto;
}

.feature-slot--content img,
.feature-slot--sidebar img,
.feature-slot--content .feature-slot__script,
.feature-slot--sidebar .feature-slot__script {
    border-radius: inherit;
}

.feature-slot--content:hover,
.feature-slot--content:focus-visible,
.feature-slot--sidebar:hover,
.feature-slot--sidebar:focus-visible {
    border-color: rgba(196, 145, 55, .82);
    box-shadow: 0 0 0 3px rgba(196, 145, 55, .16), 0 16px 34px rgba(127, 31, 38, .14);
    filter: saturate(1.04);
    outline: none;
    transform: translateY(-2px);
}

.feature-slot--empty {
    padding: 20px;
}

.feature-slot--content.feature-slot--empty,
.feature-slot--sidebar.feature-slot--empty {
    display: grid;
    place-content: center;
    border: 1px dashed rgba(127, 31, 38, .2);
    border-radius: 18px;
    text-align: center;
    background: rgba(255, 241, 240, .7);
}

.feature-slot--content.feature-slot--empty {
    min-height: 200px;
}

.feature-slot--sidebar.feature-slot--empty {
    min-height: 300px;
}

.feature-slot--empty span,
.contest-teaser small,
.contest-teaser time,
.contest-teaser__status {
    color: var(--ds-muted);
    font-size: 13px;
}

.feature-slot--empty strong {
    color: var(--ds-wine);
    font-family: var(--ds-serif);
    font-size: 24px;
}

.feature-slot__fallback,
.feature-slot__script {
    padding: 18px;
}

.contest-teaser {
    border-top: 1px solid var(--ds-line);
    border-radius: 0;
    padding: 16px 0;
}

.contest-teaser:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.contest-teaser img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    object-fit: contain;
    background: var(--ds-rose);
}

.contest-teaser .eyebrow {
    margin-bottom: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.contest-teaser strong {
    color: var(--ds-wine);
    font-family: var(--ds-serif);
    font-size: 21px;
    line-height: 1.12;
}

.contest-teaser--empty {
    border-top: 0;
    padding: 0;
}

.contest-teaser--ended img {
    opacity: .82;
}

.contest-teaser__status {
    color: var(--ds-red);
    font-weight: 800;
}

.contest-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contest-list .contest-teaser {
    min-height: 100%;
    border: 1px solid var(--ds-line);
    padding: 18px;
    background: #fbf8ef;
    box-shadow: 0 8px 18px rgba(38, 24, 12, .05);
}

.contest-list .contest-teaser:first-of-type {
    border-top: 1px solid var(--ds-line);
    padding-top: 18px;
}

.contest-list .contest-teaser img {
    border-radius: 0;
    object-fit: cover;
}

.page-title {
    margin: 26px 0 28px;
    border-radius: var(--ds-radius);
    padding: 34px;
    background: var(--ds-rose);
}

.article-detail {
    max-width: var(--ds-content-width);
    margin: 18px auto 0;
}

.layout--article .article-detail {
    margin-top: 0;
}

.layout--article .calendar-detail {
    margin-top: 0;
}

.layout--article .article-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-detail__header {
    text-align: center;
    margin-bottom: 26px;
}

.article-detail__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.article-detail h1 {
    margin: 10px 0;
    font-size: clamp(36px, 6vw, 68px);
    color: var(--ds-wine);
}

.article-hero-image,
.article-figure {
    overflow: hidden;
    margin: 0 0 28px;
    border-radius: var(--ds-radius);
    background: var(--ds-rose);
}

.article-hero-image img,
.article-figure img {
    display: block;
    width: 100%;
}

.article-figure--portrait,
.article-figure--tall,
.article-figure--long {
    display: grid;
    justify-items: center;
    padding: 18px;
}

.article-figure--portrait img,
.article-figure--tall img,
.article-figure--long img {
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.article-figure--portrait img {
    max-height: 760px;
}

.article-figure--tall img {
    max-height: 660px;
}

.article-figure--long img {
    max-width: min(100%, 440px);
    max-height: 560px;
}

.article-figure figcaption {
    width: 100%;
    padding: 10px 16px;
    color: var(--ds-muted);
    font-size: 13px;
}

.article-gallery {
    display: grid;
    gap: 14px;
    margin: 0 0 28px;
}

.article-gallery--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-gallery--triptych {
    grid-template-columns: 1.15fr .85fr;
}

.article-gallery--triptych .article-gallery__item:first-child {
    grid-row: span 2;
}

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

.article-gallery--has-tall {
    align-items: start;
}

.article-gallery__item {
    overflow: hidden;
    display: grid;
    align-content: center;
    min-height: 210px;
    margin: 0;
    border-radius: 20px;
    background: var(--ds-rose);
}

.article-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 430px;
    object-fit: contain;
}

.article-gallery__item--wide img,
.article-gallery__item--landscape img {
    aspect-ratio: 4 / 3;
}

.article-gallery__item--portrait img,
.article-gallery__item--tall img,
.article-gallery__item--long img {
    width: auto;
    max-width: 100%;
    margin: 0 auto;
}

.article-gallery__item--tall img,
.article-gallery__item--long img {
    max-height: 520px;
}

.article-gallery__item--long img {
    max-width: min(100%, 320px);
}

.article-gallery__item figcaption {
    padding: 9px 12px;
    color: var(--ds-muted);
    font-size: 12px;
}

.article-content {
    font-size: 18px;
}

.article-content__text a {
    color: var(--ds-red);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-content__text ul,
.article-content__text ol {
    padding-left: 1.3em;
}

.article-quote,
.conversation-block,
.interaction-card,
.event-block,
.link-card,
.code-block {
    margin: 30px 0;
    border-radius: var(--ds-radius);
    padding: 26px;
    background: var(--ds-rose);
}

.article-quote {
    border-left: 6px solid var(--ds-red);
    font-family: var(--ds-serif);
    font-size: 24px;
    color: var(--ds-wine);
}

.article-quote cite {
    display: block;
    margin-top: 12px;
    color: var(--ds-muted);
    font-family: var(--ds-sans);
    font-size: 14px;
}

.conversation-block__ask {
    color: var(--ds-wine);
    font-weight: 700;
}

.interaction-card {
    border: 1px solid var(--ds-line);
    background: #fff;
    box-shadow: 0 16px 46px rgba(127, 31, 38, .08);
}

.embed-block {
    overflow: hidden;
    margin: 30px 0;
    border-radius: var(--ds-radius);
    background: var(--ds-ink);
}

.embed-block iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.code-block {
    overflow-x: auto;
    color: #fff;
    font-size: 15px;
    line-height: 1.65;
    background: #221619;
}

.link-card,
.event-block {
    border: 1px solid var(--ds-line);
    background: rgba(255, 255, 255, .86);
}

.link-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--ds-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.link-card a {
    color: var(--ds-wine);
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.event-block h2 {
    margin: 0 0 12px;
    color: var(--ds-wine);
    font-family: var(--ds-serif);
}

.event-block p {
    margin: 8px 0;
    color: var(--ds-muted);
}

.editor-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto 18px;
    border: 1px solid rgba(127, 31, 38, .2);
    border-radius: 18px;
    padding: 12px 14px;
    color: var(--ds-wine);
    background: rgba(255, 241, 240, .9);
}

.editor-bar a {
    display: inline-flex;
    border-radius: 999px;
    padding: 9px 14px;
    color: #fff;
    font-weight: 700;
    background: var(--ds-wine);
}

.interaction-card__form {
    display: grid;
    gap: 12px;
}

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

.interaction-card__status {
    margin: 14px 0 0;
    color: var(--ds-muted);
    font-weight: 700;
}

.interaction-card__status--ended {
    color: var(--ds-red);
}

.contest-result {
    position: relative;
    overflow: hidden;
    margin-top: 18px;
    border: 1px solid rgba(127, 31, 38, .18);
    border-radius: 24px;
    padding: clamp(20px, 4vw, 30px);
    color: var(--ds-muted);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 241, 240, .9)),
        radial-gradient(circle at 92% 8%, rgba(231, 76, 60, .2), transparent 16rem);
    box-shadow: 0 18px 48px rgba(127, 31, 38, .12);
}

.contest-result:not(.contest-result--pending)::before {
    content: "";
    position: absolute;
    top: -78px;
    right: -54px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(127, 31, 38, .1);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, .58) 0 34%, transparent 35%),
        repeating-conic-gradient(from 8deg, rgba(127, 31, 38, .1) 0 7deg, transparent 7deg 15deg);
    pointer-events: none;
}

.contest-result__header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.contest-result__seal {
    display: grid;
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    color: #fff;
    font-family: var(--ds-serif);
    font-size: 25px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--ds-wine), var(--ds-red));
    box-shadow: 0 13px 30px rgba(127, 31, 38, .24);
}

.contest-result__eyebrow {
    margin: 0 0 4px;
    color: var(--ds-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.contest-result h3 {
    margin: 0;
    color: var(--ds-wine);
    font-family: var(--ds-serif);
    font-size: clamp(27px, 4vw, 36px);
    line-height: 1.02;
}

.contest-result__body {
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.contest-result__congrats {
    margin: 0 0 16px;
    color: var(--ds-wine);
    font-size: clamp(26px, 3vw, 34px);
}

.contest-result__winners {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    counter-reset: winners;
    list-style: none;
}

.contest-result__winners li {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(127, 31, 38, .13);
    border-radius: 17px;
    padding: 11px 14px;
    color: var(--ds-ink);
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 10px 26px rgba(127, 31, 38, .06);
    counter-increment: winners;
}

.contest-result__winners li::before {
    content: counter(winners);
    display: grid;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: var(--ds-wine);
    font-family: var(--ds-serif);
    font-size: 18px;
    font-weight: 700;
    background: var(--ds-rose);
}

.contest-result__winners span {
    font-weight: 700;
}

.contest-result__date {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-top: 15px;
    border-radius: 999px;
    padding: 7px 11px;
    color: var(--ds-muted);
    background: rgba(255, 255, 255, .66);
}

.contest-result--pending {
    font-weight: 700;
}

.choice-row {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--ds-line);
    border-radius: 16px;
    padding: 12px 14px;
    background: var(--ds-cream);
}

.choice-row--full {
    grid-column: 1 / -1;
}

.choice-row--newsletter {
    background: rgba(255, 255, 255, .78);
}

.input {
    width: 100%;
    border: 1px solid var(--ds-line);
    border-radius: 16px;
    padding: 13px 14px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border: 0;
    border-radius: 999px;
    padding: 13px 22px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--ds-wine), var(--ds-red));
    cursor: pointer;
}

.poll-results {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.poll-results__row {
    position: relative;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    border-radius: 999px;
    padding: 9px 12px;
    background: var(--ds-rose);
}

.poll-results__row span,
.poll-results__row strong {
    position: relative;
    z-index: 1;
}

.hp-field {
    position: absolute;
    left: -9999px;
}

.flash {
    max-width: 820px;
    margin: 0 auto 20px;
    border-radius: 18px;
    padding: 14px 18px;
    background: var(--ds-rose);
    color: var(--ds-wine);
}

.related {
    margin-top: 56px;
}

.empty-state {
    grid-column: 1 / -1;
    border: 1px dashed var(--ds-line);
    border-radius: var(--ds-radius);
    padding: 34px;
    background: rgba(255, 255, 255, .74);
}

.empty-state--page {
    max-width: 760px;
    margin: 60px auto;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
}

.pagination a {
    border: 1px solid var(--ds-line);
    border-radius: 999px;
    padding: 10px 16px;
    background: #fff;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(280px, 420px) auto;
    align-items: start;
    gap: 20px;
    width: min(calc(100% - var(--ds-page-gutter) - var(--ds-page-gutter)), var(--ds-shell-width));
    max-width: none;
    margin: 0 auto;
    border-top: 1px solid var(--ds-line);
    padding: 28px 0 40px;
    color: var(--ds-muted);
}

.site-footer strong {
    display: block;
    color: var(--ds-wine);
    font-family: var(--ds-serif);
    font-size: 26px;
}

.site-footer nav {
    display: flex;
    gap: 14px;
}

.newsletter-signup {
    display: grid;
    gap: 8px;
}

.newsletter-signup__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.newsletter-signup__label {
    color: var(--ds-wine);
    font-weight: 800;
}

.newsletter-signup__row {
    display: flex;
    gap: 8px;
}

.newsletter-signup__input {
    min-width: 0;
    flex: 1;
    border: 1px solid var(--ds-line);
    border-radius: 999px;
    padding: 11px 14px;
    background: rgba(255, 255, 255, .86);
}

.newsletter-signup__button {
    border: 0;
    border-radius: 999px;
    padding: 11px 16px;
    background: var(--ds-wine);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.newsletter-signup__button:disabled,
.button:disabled {
    cursor: not-allowed;
    opacity: .58;
}

.newsletter-signup__note {
    font-size: 13px;
}

.notice-page {
    max-width: 760px;
    margin: 64px auto;
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-radius);
    padding: 34px;
    background: rgba(255, 255, 255, .82);
}

.calendar-detail {
    max-width: var(--ds-content-width);
    margin: 30px auto 0;
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-radius);
    padding: clamp(28px, 5vw, 54px);
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--ds-shadow);
}

.calendar-detail__header {
    text-align: center;
}

.horoscope-detail__heading-mark {
    display: inline-grid;
    justify-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.horoscope-detail__heading-mark .calendar-detail__icon {
    margin-bottom: 0;
}

.horoscope-detail__heading-mark .eyebrow {
    margin-bottom: 0;
}

.calendar-detail__icon {
    display: inline-grid;
    width: 54px;
    height: 54px;
    margin-right: 18px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 50%;
    color: var(--ds-red);
    font-size: 21px;
    background: var(--ds-rose);
}

.calendar-detail__header > .eyebrow {
    margin-bottom: 20px;
    vertical-align: middle;
}

.calendar-detail h1 {
    margin: 6px 0 0;
    color: var(--ds-wine);
    font-family: var(--ds-serif);
    font-size: clamp(38px, 5.7vw, 64px);
    line-height: 1.05;
}

.calendar-detail__lead {
    margin: 18px auto 0;
    max-width: 580px;
    color: var(--ds-red);
    font-size: clamp(27px, 4vw, 38px);
}

.calendar-detail__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 28px 0;
}

.calendar-detail__meta div {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    border: 1px solid var(--ds-line);
    border-radius: 999px;
    padding: 8px 13px;
    background: var(--ds-cream);
}

.calendar-detail__meta dt,
.calendar-detail__meta dd {
    display: inline;
    margin: 0;
}

.calendar-detail__meta dt {
    color: var(--ds-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.calendar-detail__meta dd {
    color: var(--ds-wine);
    font-weight: 800;
}

.calendar-detail__description {
    color: var(--ds-muted);
    font-size: 18px;
    line-height: 1.8;
}

.horoscope-detail__zodiac {
    border: 1px solid rgba(231, 76, 60, .2);
    background: rgba(255, 241, 240, .86);
}

.horoscope-detail__zodiac svg {
    width: 42px;
    height: 42px;
    overflow: visible;
}

.horoscope-detail__sections {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.horoscope-detail__section {
    border-top: 1px solid var(--ds-line);
    padding-top: 16px;
}

.horoscope-detail__section h2 {
    margin: 0 0 8px;
    color: var(--ds-wine);
    font-family: var(--ds-serif);
    font-size: 26px;
}

.horoscope-detail__section p {
    margin: 0;
    color: var(--ds-muted);
    font-size: 17px;
    line-height: 1.75;
    overflow-wrap: break-word;
}

.daily-affirmation {
    margin: 28px 0 0;
    border-top: 1px solid var(--ds-line);
    padding: 20px 10px;
    text-align: center;
}

.daily-affirmation__label {
    display: block;
    margin: 0;
    color: var(--ds-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.daily-affirmation__text {
    max-width: 620px;
    margin: 8px auto 0;
    color: var(--ds-wine);
    font-family: var(--ds-script);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
}

.daily-affirmation__more {
    margin: 12px 0 0;
}

.daily-affirmation__more a {
    display: inline-flex;
    border-bottom: 1px solid rgba(231, 76, 60, .4);
    color: var(--ds-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.daily-affirmation__more a:hover {
    color: var(--ds-wine);
    border-color: rgba(127, 31, 38, .45);
}

.daily-affirmation + .horoscope-detail__sections {
    margin-top: 22px;
}

.daily-affirmation + .horoscope-detail__sections .horoscope-detail__section:first-child {
    border-top: 0;
    padding-top: 0;
}

.horoscope-detail__magic {
    position: relative;
    margin-top: 28px;
    border: 1px solid rgba(231, 76, 60, .22);
    border-radius: 22px;
    padding: 22px;
    text-align: center;
    background:
        linear-gradient(145deg, rgba(255, 241, 240, .82), rgba(255, 255, 255, .96));
}

.horoscope-detail__magic::before,
.horoscope-detail__magic::after {
    position: absolute;
    color: rgba(231, 76, 60, .42);
    font-family: var(--ds-serif);
    font-size: 24px;
    line-height: 1;
    content: "✦";
}

.horoscope-detail__magic::before {
    top: 14px;
    left: 16px;
}

.horoscope-detail__magic::after {
    right: 16px;
    bottom: 14px;
}

.horoscope-detail__magic-title {
    margin: 0;
    color: var(--ds-red);
    font-family: var(--ds-script);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.horoscope-detail__magic-text {
    max-width: 560px;
    margin: 8px auto 0;
    color: var(--ds-muted);
    font-size: 15px;
    line-height: 1.65;
}

.horoscope-detail__chips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 10px;
    margin: 18px 0 0;
}

.horoscope-detail__chips span {
    display: grid;
    align-content: center;
    gap: 4px;
    min-height: 70px;
    border: 1px solid var(--ds-line);
    border-radius: 16px;
    padding: 10px 8px;
    background: rgba(255, 255, 255, .78);
}

.horoscope-detail__chips small {
    color: var(--ds-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.horoscope-detail__chips strong {
    color: var(--ds-wine);
    font-family: var(--ds-serif);
    font-size: 18px;
    line-height: 1.1;
}

.horoscope-detail__ritual {
    max-width: 620px;
    margin: 20px auto 0;
    border-top: 1px solid rgba(231, 76, 60, .18);
    padding-top: 18px;
}

.horoscope-detail__ritual h2 {
    margin: 0 0 8px;
    color: var(--ds-red);
    font-family: var(--ds-serif);
    font-size: 25px;
}

.horoscope-detail__ritual p {
    margin: 0;
    color: var(--ds-muted);
    font-size: 16px;
    line-height: 1.75;
}

.horoscope-picker__icon {
    color: var(--ds-red);
    font-family: var(--ds-serif);
    font-size: 32px;
}

.horoscope-picker__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.horoscope-picker__item {
    display: grid;
    justify-items: center;
    gap: 10px;
    border: 1px solid var(--ds-line);
    border-radius: 18px;
    padding: 18px 10px;
    color: var(--ds-wine);
    background: rgba(255, 255, 255, .72);
    transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.horoscope-picker__item:hover {
    color: var(--ds-red);
    border-color: rgba(231, 76, 60, .32);
    transform: translateY(-2px);
}

.horoscope-picker__item-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 1px solid rgba(231, 76, 60, .22);
    border-radius: 50%;
    color: var(--ds-red);
    background: var(--ds-rose);
}

.horoscope-picker__item-icon svg {
    width: 44px;
    height: 44px;
    overflow: visible;
}

.horoscope-picker__item span:not(.horoscope-picker__item-icon) {
    font-family: var(--ds-serif);
    font-size: 22px;
    font-weight: 700;
}

.chinese-horoscope__seal {
    border-radius: 16px;
    color: #fff;
    font-family: var(--ds-serif);
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(135deg, #8f1715, var(--ds-red));
    box-shadow: 0 14px 28px rgba(127, 31, 38, .18);
}

.horoscope-picker__item-icon.chinese-horoscope__seal {
    border: 0;
    border-radius: 18px;
    color: #fff;
    font-size: 34px;
    background: linear-gradient(135deg, #8f1715, #df372f);
}

.chinese-horoscope-picker__item small {
    max-width: 100%;
    color: var(--ds-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.chinese-horoscope-detail .horoscope-detail__zodiac {
    margin-bottom: 0;
}

.chinese-horoscope-detail .horoscope-detail__chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chinese-birth-year {
    display: grid;
    gap: 12px;
    margin: 24px 0 4px;
    border: 1px solid rgba(231, 76, 60, .18);
    border-radius: 18px;
    padding: 16px;
    background: rgba(255, 248, 236, .78);
}

.chinese-birth-year__form {
    display: grid;
    grid-template-columns: minmax(120px, auto) minmax(140px, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.chinese-birth-year__form label {
    color: var(--ds-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.chinese-birth-year__select {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(93, 69, 46, .24);
    border-radius: 12px;
    padding: 0 12px;
    color: var(--ds-wine);
    font: inherit;
    font-weight: 800;
    background: #fff;
}

.chinese-birth-year__button {
    min-height: 44px;
    padding: 0 18px;
}

.chinese-birth-year__result {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(231, 76, 60, .16);
    padding-top: 12px;
    color: var(--ds-wine);
}

.chinese-birth-year__icon.chinese-horoscope__seal {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    font-size: 30px;
}

.chinese-birth-year__result small,
.chinese-birth-year__result strong {
    display: block;
}

.chinese-birth-year__result small {
    color: var(--ds-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.chinese-birth-year__result strong {
    margin-top: 3px;
    font-family: var(--ds-serif);
    font-size: 26px;
    line-height: 1.05;
}

.chinese-horoscope-picker__item--active {
    border-color: rgba(231, 76, 60, .46);
    background: #fff6ee;
    box-shadow: 0 14px 30px rgba(127, 31, 38, .12);
}

.name-detail__initial {
    color: #fff;
    font-family: var(--ds-serif);
    font-size: 34px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--ds-wine), var(--ds-red));
}

.name-index__letters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.name-index__letters a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--ds-line);
    border-radius: 50%;
    color: var(--ds-red);
    font-weight: 800;
    background: #fff;
}

.name-index__letters a:hover {
    color: var(--ds-wine);
    border-color: rgba(127, 31, 38, .28);
}

.name-index__groups {
    display: grid;
    gap: 24px;
    margin-top: 32px;
}

.name-index__group {
    border-top: 1px solid var(--ds-line);
    padding-top: 18px;
}

.name-index__group h2 {
    margin: 0 0 12px;
    color: var(--ds-wine);
    font-family: var(--ds-serif);
    font-size: 30px;
}

.name-index__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.name-index__links a {
    border: 1px solid var(--ds-line);
    border-radius: 999px;
    padding: 7px 11px;
    color: var(--ds-wine);
    font-size: 14px;
    font-weight: 800;
    background: rgba(255, 255, 255, .75);
}

.name-index__links a:hover {
    color: var(--ds-red);
    border-color: rgba(231, 76, 60, .3);
}

.name-detail__sections {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}

.name-detail__section {
    border-top: 1px solid var(--ds-line);
    padding-top: 16px;
}

.name-detail__section h2 {
    margin: 0 0 8px;
    color: var(--ds-wine);
    font-family: var(--ds-serif);
    font-size: 26px;
}

.name-detail__section p {
    margin: 0;
    color: var(--ds-muted);
    font-size: 17px;
    line-height: 1.75;
}

.name-detail__section--magic {
    border: 1px solid rgba(231, 76, 60, .18);
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    background: rgba(255, 241, 240, .55);
}

.name-detail__section--magic h2 {
    color: var(--ds-red);
}

.name-detail__section--magic p {
    color: var(--ds-wine);
    font-family: var(--ds-script);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
}

.name-detail__section--guardian,
.name-detail__section--lucky {
    border: 1px solid rgba(127, 31, 38, .16);
    border-radius: 22px;
    padding: 26px;
    text-align: center;
}

.name-detail__section--guardian {
    background:
        radial-gradient(circle at 50% -30%, rgba(231, 76, 60, .15), transparent 16rem),
        rgba(255, 241, 240, .5);
}

.name-detail__section--lucky {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 250, 244, .9));
    box-shadow: 0 16px 42px rgba(127, 31, 38, .08);
}

.name-detail__section--guardian h2,
.name-detail__section--lucky h2 {
    color: var(--ds-red);
    font-size: 28px;
    text-align: center;
}

.name-detail__section .name-detail__guardian-title {
    color: var(--ds-wine);
    font-family: var(--ds-script);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.12;
    text-align: center;
}

.name-detail__section .name-detail__guardian-animal {
    display: inline-grid;
    width: auto;
    min-width: min(100%, 260px);
    margin: 18px auto 0;
    border: 1px solid var(--ds-line);
    border-radius: 999px;
    padding: 12px 26px 14px;
    background: rgba(255, 255, 255, .76);
}

.name-detail__guardian-animal span,
.name-detail__lucky-tags span {
    display: block;
    color: var(--ds-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.name-detail__guardian-animal strong {
    display: block;
    margin-top: 5px;
    color: var(--ds-wine);
    font-family: var(--ds-serif);
    font-size: 24px;
    line-height: 1.2;
}

.name-detail__section .name-detail__numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 18px 0 0;
}

.name-detail__numbers b {
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border: 2px solid rgba(127, 31, 38, .16);
    border-radius: 50%;
    color: var(--ds-wine);
    font-family: var(--ds-serif);
    font-size: 36px;
    line-height: 1;
    background: #fff;
    box-shadow: 0 14px 32px rgba(127, 31, 38, .12);
}

.name-detail__numbers b:nth-child(2),
.name-detail__numbers b:only-child {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--ds-wine), var(--ds-red));
    transform: translateY(-4px);
}

.name-detail__section .name-detail__lucky-tags {
    max-width: 440px;
    margin: 24px auto 0;
    border-top: 1px solid rgba(127, 31, 38, .12);
    padding-top: 16px;
    color: var(--ds-muted);
    font-size: 15px;
    text-align: center;
}

.name-detail__lucky-tags strong {
    display: block;
    margin-top: 6px;
    color: var(--ds-wine);
    font-size: 17px;
}

.mediakit-page {
    display: grid;
    gap: 26px;
}

.mediakit-page__hero,
.mediakit-page__section {
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-radius);
    padding: clamp(22px, 4vw, 38px);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 12px 42px rgba(127, 31, 38, .08);
}

.mediakit-page__hero {
    text-align: center;
}

.mediakit-page__hero img {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 18px;
    object-fit: contain;
}

.mediakit-page__hero .eyebrow {
    margin-left: auto;
    margin-right: auto;
}

.mediakit-page__hero h1 {
    margin: 10px 0 8px;
    color: var(--ds-wine);
    font-family: var(--ds-serif);
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1;
}

.mediakit-page__hero a {
    color: var(--ds-red);
    font-weight: 800;
}

.mediakit-page__section h2 {
    margin: 0 0 16px;
    color: var(--ds-wine);
    font-family: var(--ds-serif);
    font-size: 31px;
}

.mediakit-page__tiles,
.mediakit-page__metrics,
.mediakit-page__demographics,
.mediakit-page__prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mediakit-page__tiles div,
.mediakit-page__metric,
.mediakit-page__metrics div,
.mediakit-page__demographic,
.mediakit-page__prices article {
    border: 1px solid var(--ds-line);
    border-radius: 18px;
    padding: 16px;
    background: rgba(255, 250, 244, .72);
}

.mediakit-page__tiles span {
    color: var(--ds-wine);
    font-weight: 800;
    line-height: 1.45;
}

.mediakit-page__metrics span,
.mediakit-page__demographic span {
    display: block;
    color: var(--ds-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mediakit-page__metrics strong {
    display: block;
    margin-top: 5px;
    color: var(--ds-wine);
    font-family: var(--ds-serif);
    font-size: 28px;
}

.mediakit-page__demographic p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 9px 0 0;
}

.mediakit-page__demographic em {
    color: var(--ds-muted);
    font-style: normal;
}

.mediakit-page__demographic strong {
    color: var(--ds-wine);
}

.mediakit-page__prices article {
    display: grid;
    gap: 10px;
}

.mediakit-page__prices strong {
    color: var(--ds-wine);
    font-family: var(--ds-serif);
    font-size: 22px;
}

.mediakit-page__prices ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding-left: 18px;
    color: var(--ds-muted);
    line-height: 1.55;
}

.mediakit-page__prices span {
    color: var(--ds-red);
    font-weight: 900;
}

.mediakit-page__source,
.mediakit-page__note,
.mediakit-page__contact-note {
    margin: 14px 0 0;
    color: var(--ds-muted);
    font-size: 14px;
    line-height: 1.65;
}

.mediakit-page__source p,
.mediakit-page__note p,
.mediakit-page__contact-note p {
    margin: 0;
}

.mediakit-page__contact {
    display: grid;
    gap: 10px;
}

.mediakit-page__contact span,
.mediakit-page__contact a {
    color: var(--ds-wine);
    font-size: 18px;
    font-weight: 800;
}

.mediakit-page__contact a:hover {
    color: var(--ds-red);
}

.mediakit-page__contact p {
    margin: 0;
    color: var(--ds-muted);
    line-height: 1.65;
}

.mediakit-page__contact-note {
    margin-top: 4px;
}

.public-modal[hidden] {
    display: none;
}

.public-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 22px;
}

.public-modal-open body {
    overflow: hidden;
}

.public-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(34, 22, 25, .52);
    backdrop-filter: blur(8px);
}

.public-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(100%, 620px);
    max-height: min(90vh, 760px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .46);
    border-radius: var(--ds-radius);
    background: var(--ds-paper);
    box-shadow: var(--ds-shadow);
}

.public-modal__header,
.public-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
}

.public-modal__header {
    border-bottom: 1px solid var(--ds-line);
}

.public-modal__footer {
    border-top: 1px solid var(--ds-line);
}

.public-modal__title {
    margin: 0;
    color: var(--ds-wine);
    font-family: var(--ds-serif);
    font-size: 28px;
    line-height: 1.1;
}

.public-modal__close {
    display: grid;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--ds-line);
    border-radius: 50%;
    background: #fff;
    color: var(--ds-wine);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.public-modal__close:hover {
    color: var(--ds-red);
    border-color: rgba(231, 76, 60, .38);
}

.public-modal__body {
    overflow: auto;
    padding: 22px;
}

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

    .layout > :first-child {
        width: 100%;
        max-width: var(--ds-content-width);
    }

    .sidebar {
        position: static;
        width: 100%;
        max-width: var(--ds-sidebar-width);
    }
}

@media (max-width: 900px) {
    .site-header,
    .article-card--hero {
        grid-template-columns: 1fr;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .site-search {
        justify-self: start;
    }

    .site-search__form {
        left: 0;
        right: auto;
        width: calc(100vw - var(--ds-page-gutter) - var(--ds-page-gutter));
    }

    .site-search__row {
        grid-template-columns: 1fr;
    }

    .article-grid,
    .article-grid--compact {
        grid-template-columns: 1fr;
    }

    .article-gallery--pair,
    .article-gallery--triptych,
    .article-gallery--grid {
        grid-template-columns: 1fr;
    }

    .article-gallery--triptych .article-gallery__item:first-child {
        grid-row: auto;
    }

    .article-gallery__item img {
        max-height: 520px;
    }

    .article-figure--portrait img,
    .article-figure--tall img,
    .article-figure--long img {
        max-height: 520px;
    }

    .sidebar {
        max-width: none;
    }

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

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

    .name-detail__numbers b {
        width: 62px;
        height: 62px;
        font-size: 25px;
    }

    .mediakit-page__tiles,
    .mediakit-page__metrics,
    .mediakit-page__demographics,
    .mediakit-page__prices {
        grid-template-columns: 1fr;
    }

    .company-box--article {
        align-items: flex-start;
        flex-direction: column;
    }

    .company-box__summary {
        width: 100%;
    }

    .company-box--article .company-box__text {
        white-space: normal;
    }

    .interaction-card__form--grid {
        grid-template-columns: 1fr;
    }

    .contest-result__header {
        align-items: flex-start;
    }

    .contest-result__seal {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }

    .contest-result__winners li {
        align-items: flex-start;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .newsletter-signup__row {
        flex-direction: column;
    }

    .public-modal {
        padding: 12px;
    }

    .public-modal__header,
    .public-modal__footer,
    .public-modal__body {
        padding: 16px;
    }
}

/* Peking.cz theme */
:root {
    --ds-ink: #151515;
    --ds-muted: #645f55;
    --ds-wine: #7d1712;
    --ds-red: #a91f18;
    --ds-rose: #f5eee1;
    --ds-cream: #faf7ee;
    --ds-paper: #fbf8ef;
    --ds-line: #ddd3c3;
    --ds-gold: #af8b43;
    --ds-black: #171716;
    --ds-shadow: 0 12px 28px rgba(38, 24, 12, .08);
    --ds-radius: 6px;
    --ds-serif: Georgia, "Times New Roman", serif;
    --ds-sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --ds-content-width: 860px;
    --ds-sidebar-width: 320px;
    --ds-layout-gap: 32px;
    --ds-page-gutter: 24px;
    --ds-shell-width: 1280px;
}

html {
    overflow-x: hidden;
}

body {
    color: var(--ds-ink);
    overflow-x: hidden;
    background-color: #f4efe4;
    background-image:
        linear-gradient(180deg, #fbf8ef 0%, #f4efe4 100%),
        repeating-linear-gradient(90deg, rgba(0, 0, 0, .025) 0 1px, transparent 1px 80px);
    font-family: var(--ds-sans);
}

.site-page {
    width: min(100%, 1440px);
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0 auto;
    background: rgba(250, 247, 238, .82);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .04);
}

.container {
    width: min(calc(100% - 48px), var(--ds-shell-width));
    margin: 0 auto;
}

.site-header {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.site-header__topbar {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    padding: 0 clamp(24px, 5vw, 72px);
    color: #24211d;
    font-size: 13px;
}

.site-search {
    position: relative;
    justify-self: auto;
}

.site-search summary {
    display: flex;
    width: 178px;
    height: auto;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-bottom: 1px solid #1d1a18;
    border-radius: 0;
    padding: 0 0 5px;
    color: #5d554a;
    background: transparent;
    cursor: pointer;
    list-style: none;
}

.site-search summary::-webkit-details-marker {
    display: none;
}

.site-search[open] summary {
    color: var(--ds-red);
    background: transparent;
}

.site-search__form {
    position: absolute;
    z-index: 30;
    top: calc(100% + 14px);
    right: 0;
    display: grid;
    width: min(520px, calc(100vw - 48px));
    gap: 12px;
    border: 1px solid var(--ds-line);
    border-radius: 0;
    padding: 18px;
    background: #fbf8ef;
    box-shadow: 0 20px 40px rgba(38, 24, 12, .18);
}

.site-search__label,
.newsletter-signup__label,
.eyebrow,
.viewall,
.article-card__meta,
.home-mosaic__small {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.site-search__label {
    color: var(--ds-red);
}

.site-search__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.site-search__row input,
.newsletter-signup__input {
    width: 100%;
    min-width: 0;
    border: 1px solid #cfc6b8;
    border-radius: 0;
    padding: 14px 16px;
    color: var(--ds-ink);
    background: #fff;
    font: inherit;
}

.site-search__row button,
.newsletter-signup__button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 0;
    padding: 14px 22px;
    color: #fff;
    background: var(--ds-red);
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
}

.site-header__brandline {
    display: flex;
    min-height: 136px;
    align-items: center;
    justify-content: center;
    padding: 18px 24px 34px;
    background: rgba(252, 250, 244, .82);
    text-align: center;
}

.brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: var(--ds-ink);
}

.brand__text {
    color: var(--ds-ink);
    font-family: var(--ds-serif);
    font-size: 70px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
}

.brand__text span,
.site-footer__brand strong span {
    color: var(--ds-red);
}

.brand__text span {
    display: inline;
    font-size: inherit;
    letter-spacing: 0;
    text-transform: none;
}

.brand__seal {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ds-red);
    color: var(--ds-red);
    font-family: var(--ds-serif);
    font-size: 19px;
    line-height: 1;
}

.brand__tagline {
    position: absolute;
    bottom: -26px;
    left: 50%;
    width: max-content;
    transform: translateX(-50%);
    color: #4b433a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    min-height: 62px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0 32px;
    border-top: 1px solid var(--ds-line);
    border-bottom: 1px solid var(--ds-line);
    padding: 0 48px;
    color: #211d18;
    background: rgba(248, 244, 235, .9);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.site-menu__toggle {
    display: none;
}

.site-nav__link {
    position: relative;
    display: inline-flex;
    min-height: 62px;
    align-items: center;
}

.site-nav__link:hover,
.site-nav__link--active,
.eyebrow:hover,
.viewall:hover {
    color: var(--ds-red);
}

.site-nav__link--active::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: var(--ds-red);
    content: "";
}

.site-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.site-main > .layout,
.site-main > .page-title,
.site-main > .pagination,
.site-main > .flash,
.site-main > .notice-page,
.site-main > .related {
    width: min(calc(100% - 48px), var(--ds-shell-width));
    margin-right: auto;
    margin-left: auto;
}

.home-hero {
    position: relative;
    height: 550px;
    min-height: 550px;
    overflow: hidden;
    border-bottom: 1px solid var(--ds-line);
    background:
        radial-gradient(ellipse at -4% 28%, rgba(21, 21, 21, .16), transparent 27%),
        radial-gradient(ellipse at 7% 87%, rgba(21, 21, 21, .12), transparent 26%),
        #fbf8ef;
}

.home-hero::before {
    position: absolute;
    z-index: 1;
    left: -18px;
    bottom: 0;
    width: 390px;
    height: 430px;
    background:
        radial-gradient(ellipse at 11% 94%, rgba(21, 21, 21, .18), transparent 18%),
        linear-gradient(140deg, rgba(21, 21, 21, 0) 0%, rgba(21, 21, 21, .08) 60%, rgba(21, 21, 21, 0) 100%);
    clip-path: polygon(0 75%, 16% 49%, 30% 64%, 47% 31%, 68% 57%, 86% 42%, 100% 74%, 100% 100%, 0 100%);
    content: "";
    filter: blur(.2px);
    mix-blend-mode: multiply;
    opacity: .78;
}

.home-hero::after {
    position: absolute;
    z-index: 2;
    left: 74px;
    top: 112px;
    color: rgba(21, 21, 21, .78);
    content: "来\A跟\A我\A游\A龙\A城";
    font-family: var(--ds-serif);
    font-size: 29px;
    letter-spacing: 0;
    line-height: 1.08;
    white-space: pre;
}

.home-hero__media {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.home-hero__media::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(250, 247, 238, .96) 0%, rgba(250, 247, 238, .86) 30%, rgba(250, 247, 238, .34) 48%, rgba(250, 247, 238, 0) 62%);
    content: "";
    pointer-events: none;
}

.home-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.18);
    transform-origin: 84% center;
}

.home-hero__calligraphy {
    display: none;
}

.home-hero__content {
    position: relative;
    z-index: 3;
    display: flex;
    width: 52%;
    min-height: 550px;
    flex-direction: column;
    justify-content: center;
    padding: 54px 72px 54px clamp(210px, 16vw, 250px);
}

.home-hero__panel[hidden] {
    display: none;
}

.home-hero__content::before {
    position: absolute;
    left: 74px;
    top: 304px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 2px solid var(--ds-red);
    color: var(--ds-red);
    content: "京";
    font-family: var(--ds-serif);
    font-size: 18px;
    line-height: 1;
}

.home-hero--slideshow::before,
.home-hero--slideshow::after,
.home-hero--slideshow .home-hero__content::before {
    display: none;
}

.home-hero--slideshow .home-hero__media::after {
    background: linear-gradient(90deg, rgba(250, 247, 238, .62) 0%, rgba(250, 247, 238, .54) 30%, rgba(250, 247, 238, .16) 46%, rgba(250, 247, 238, 0) 60%);
}

.home-hero--slideshow .home-hero__content {
    padding-top: 36px;
    padding-bottom: 36px;
}

.home-hero.home-hero--slideshow h1 {
    margin-bottom: 18px;
    font-size: clamp(44px, 3.9vw, 56px);
    line-height: 1;
}

.home-hero.home-hero--slideshow p {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.55;
}

.home-hero h1 {
    margin: 0 0 24px;
    font-family: var(--ds-serif);
    font-size: 64px;
    line-height: 1;
}

.home-hero p {
    max-width: 520px;
    margin: 0 0 30px;
    color: #413a32;
    font-size: 18px;
    line-height: 1.65;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 14px;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: var(--ds-red);
}

.redline {
    display: block;
    width: 52px;
    height: 3px;
    margin: 0 0 24px;
    background: var(--ds-red);
}

.viewall {
    display: inline-flex;
    width: fit-content;
    border-bottom: 1px solid currentColor;
    padding-bottom: 5px;
    color: #111;
}

.home-section {
    position: relative;
    overflow: hidden;
    padding: 66px 0;
}

.home-section--alt {
    background: linear-gradient(90deg, rgba(255, 255, 255, .38), rgba(245, 238, 225, .78));
}

.home-section--alt::before {
    position: absolute;
    right: 84px;
    top: 55px;
    width: 118px;
    height: 240px;
    background:
        linear-gradient(90deg, transparent 48%, rgba(21, 21, 21, .52) 49%, rgba(21, 21, 21, .52) 51%, transparent 52%),
        linear-gradient(135deg, transparent 0 47%, rgba(21, 21, 21, .52) 48% 50%, transparent 51% 100%) 52px 20px / 66px 86px no-repeat,
        linear-gradient(225deg, transparent 0 47%, rgba(21, 21, 21, .52) 48% 50%, transparent 51% 100%) 2px 114px / 74px 92px no-repeat;
    content: "";
    opacity: .38;
}

.home-section--alt::after {
    position: absolute;
    right: 125px;
    bottom: 40px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 2px solid var(--ds-red);
    color: var(--ds-red);
    content: "京";
    font-family: var(--ds-serif);
    font-size: 17px;
    opacity: .88;
}

.home-section__row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(230px, 292px) repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.home-section--with-art .home-section__row {
    grid-template-columns: minmax(210px, 250px) minmax(220px, 270px) repeat(3, minmax(0, 1fr));
}

.home-section__intro {
    padding-top: 8px;
}

.home-section__intro h2,
.home-slider h2,
.home-mosaic h2,
.home-practical h2,
.home-calendar h2,
.newsletter-section h2 {
    margin: 0 0 18px;
    font-family: var(--ds-serif);
    font-size: 44px;
    line-height: 1.05;
}

.home-section__intro p {
    max-width: 100%;
    margin: 0 0 34px;
    color: #514a41;
    font-size: 16px;
    line-height: 1.7;
}

.home-section__art {
    min-height: 285px;
    overflow: hidden;
    border: 1px solid var(--ds-line);
    background: #ece2d0;
}

.home-section__art img {
    width: 100%;
    height: 100%;
    min-height: 285px;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: .92;
}

.article-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ds-line);
    border-radius: 0;
    background: #fbf8ef;
    box-shadow: 0 8px 18px rgba(38, 24, 12, .06);
}

.article-card__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #ece2d0;
}

.article-card__image img,
.article-card:not(.article-card--hero) .article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card:hover .article-card__image img {
    transform: scale(1.03);
}

.article-card__body {
    min-width: 0;
    padding: 18px;
}

.article-card h2,
.article-detail h1,
.page-title h1,
.sidebar-box h2,
.interaction-card h2 {
    font-family: var(--ds-serif);
}

.article-card h2 {
    margin: 0;
    font-size: clamp(18px, 1.45vw, 21px);
    line-height: 1.14;
    overflow-wrap: anywhere;
}

.article-card h2 a:hover,
.home-person h3 a:hover,
.home-itinerary h3 a:hover {
    color: var(--ds-red);
}

.article-card--section p {
    display: none;
}

.article-card__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-top: 18px;
    color: #6a6258;
}

.home-slider {
    overflow: hidden;
    padding: 58px 0 62px;
    border-bottom: 1px solid var(--ds-line);
    background: linear-gradient(90deg, rgba(255, 255, 255, .38), rgba(245, 238, 225, .78));
}

.home-slider__layout {
    display: grid;
    grid-template-columns: minmax(230px, 292px) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.home-slider__viewport {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.home-slider__viewport::before,
.home-slider__viewport::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 14px;
    width: 64px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
    content: "";
}

.home-slider__viewport::before {
    left: 0;
    background: linear-gradient(90deg, rgba(250, 247, 238, .96), rgba(250, 247, 238, 0));
}

.home-slider__viewport::after {
    right: 0;
    background: linear-gradient(270deg, rgba(250, 247, 238, .96), rgba(250, 247, 238, 0));
}

.home-slider--can-scroll .home-slider__viewport::after,
.home-slider--is-scrolled .home-slider__viewport::before {
    opacity: 1;
}

.home-slider__prev,
.home-slider__next {
    position: absolute;
    z-index: 3;
    top: 72px;
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(160, 32, 24, .28);
    border-radius: 50%;
    color: var(--ds-red);
    background: rgba(252, 250, 244, .94);
    box-shadow: 0 12px 26px rgba(56, 36, 18, .14);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: scale(.96);
    transition: color .18s ease, background .18s ease, opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}

.home-slider__prev {
    left: 0;
}

.home-slider__next {
    right: 0;
}

.home-slider__prev.is-visible,
.home-slider__next.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.home-slider__prev:hover,
.home-slider__next:hover {
    color: #fff;
    background: var(--ds-red);
    box-shadow: 0 16px 30px rgba(160, 32, 24, .24);
}

.home-slider__prev:focus-visible,
.home-slider__next:focus-visible {
    outline: 2px solid rgba(160, 32, 24, .42);
    outline-offset: 4px;
}

.home-slider__prev:hover {
    transform: translateX(-2px) scale(1);
}

.home-slider__next:hover {
    transform: translateX(2px) scale(1);
}

.home-slider__track {
    display: grid;
    width: 100%;
    max-width: 100%;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 44px) / 3);
    gap: 22px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0 0 14px;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.home-slider__track::-webkit-scrollbar {
    display: none;
}

.home-slider__track .article-card {
    scroll-snap-align: start;
}

.home-hero__media--slideshow {
    background: #fbf8ef;
}

.home-hero__slide {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .58s ease;
}

.home-hero__slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

.home-hero__media--slideshow .home-hero__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    transform: scale(1.01);
    transform-origin: center center;
    transition: transform 7.2s ease;
}

.home-hero__media--slideshow .home-hero__slide.is-active img {
    transform: scale(1.035);
}

.home-hero__controls {
    position: absolute;
    z-index: 4;
    right: clamp(24px, 4vw, 58px);
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 0;
}

.home-hero__control {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(240, 195, 91, .46);
    border-radius: 50%;
    color: #fff8ef;
    background: rgba(23, 18, 15, .72);
    box-shadow: 0 14px 26px rgba(0, 0, 0, .24);
    cursor: pointer;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.home-hero__control:hover,
.home-hero__control:focus-visible {
    color: #17120f;
    background: #f0c35b;
}

.home-hero__control:focus-visible {
    outline: 2px solid rgba(240, 195, 91, .5);
    outline-offset: 4px;
}

.article-card time,
.article-detail time {
    margin: 0;
    color: inherit;
    font-size: inherit;
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, var(--ds-content-width)) var(--ds-sidebar-width);
    gap: var(--ds-layout-gap);
    align-items: start;
    padding: 42px 0 56px;
}

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

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

.sidebar {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 20px;
}

.sidebar-box {
    border: 1px solid var(--ds-line);
    border-radius: 0;
    padding: 22px;
    background: #fbf8ef;
    box-shadow: 0 8px 18px rgba(38, 24, 12, .05);
}

.sidebar-box h2 {
    margin: 0 0 16px;
    color: var(--ds-wine);
}

.page-title {
    margin-top: 34px;
    border: 1px solid var(--ds-line);
    border-radius: 0;
    padding: 38px;
    background: #fbf8ef;
}

.article-detail h1 {
    color: var(--ds-black);
    font-size: 56px;
}

.article-hero-image,
.article-figure,
.notice-page,
.calendar-detail,
.mediakit-page__hero,
.mediakit-page__section {
    border-radius: 0;
}

.home-mosaic {
    padding: 84px 0 94px;
    background: #fbf8ef;
}

.home-mosaic__intro {
    display: grid;
    grid-template-columns: minmax(240px, 420px) minmax(0, 1fr);
    gap: 72px;
    align-items: end;
    margin-bottom: 34px;
}

.home-mosaic__intro p {
    margin: 0;
    color: #514a41;
    font-size: 17px;
    line-height: 1.7;
}

.home-mosaic__grid {
    display: grid;
    min-height: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.home-mosaic__card {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    background: #171716;
}

.home-mosaic__card--large {
    grid-row: auto;
}

.home-mosaic__card--wide {
    grid-column: auto;
}

.home-mosaic__card a,
.home-mosaic__card img {
    display: block;
    width: 100%;
    height: 100%;
}

.home-mosaic__card img {
    object-fit: cover;
    opacity: .84;
    transition: transform .35s ease, opacity .35s ease;
}

.home-mosaic__card:hover img {
    opacity: .96;
    transform: scale(1.03);
}

.home-mosaic__label {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    gap: 10px;
    padding: 26px;
    color: #fff;
    background: linear-gradient(180deg, rgba(23, 23, 22, 0), rgba(23, 23, 22, .88));
}

.home-mosaic__label strong {
    font-family: var(--ds-serif);
    font-size: 30px;
    line-height: 1.1;
}

.home-mosaic__small {
    color: #f0c0b8;
}

.home-numbers {
    padding: 54px 0;
    border-bottom: 1px solid var(--ds-line);
    background: #ece2d0;
}

.home-numbers__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #d4c8b8;
    border-bottom: 1px solid #d4c8b8;
}

.home-numbers__item {
    min-height: 220px;
    border-right: 1px solid #d4c8b8;
    padding: 34px 30px;
}

.home-numbers__item:last-child {
    border-right: 0;
}

.home-numbers__item strong {
    display: block;
    margin-bottom: 10px;
    color: var(--ds-red);
    font-family: var(--ds-serif);
    font-size: 58px;
    line-height: 1;
}

.home-numbers__item span {
    color: #403930;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.home-numbers__item p {
    margin: 12px 0 0;
    color: #5f574e;
    font-size: 14px;
    line-height: 1.6;
}

.home-interest {
    padding: 76px 0 84px;
    background: #fbf8ef;
}

.home-interest__header {
    margin-bottom: 26px;
}

.home-interest__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 5vw, 58px);
}

.home-interest__card {
    display: grid;
    gap: 16px;
    align-content: start;
}

.home-interest__image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 8.5;
    background: #ece2d0;
}

.home-interest__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .32s ease;
}

.home-interest__image:hover img {
    transform: scale(1.035);
}

.home-interest__card h3 {
    margin: 0;
    font-family: var(--ds-serif);
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.02;
}

.home-interest__card p {
    margin: 0;
    color: #8c7864;
    font-size: 18px;
    line-height: 1.8;
}

.home-practical {
    padding: 72px 0;
    border-bottom: 1px solid var(--ds-line);
    background: #f8f3e9;
}

.home-practical__grid {
    display: grid;
    grid-template-columns: minmax(240px, 270px) repeat(6, minmax(132px, 1fr));
    align-items: stretch;
}

.home-practical__intro {
    padding-right: 34px;
}

.home-practical__intro p {
    margin: 0;
    color: #544d44;
    font-size: 15px;
    line-height: 1.7;
}

.home-practical__item {
    display: grid;
    min-height: 172px;
    align-content: start;
    justify-items: center;
    gap: 12px;
    border: 1px solid #ddd4c6;
    border-right: 0;
    padding: 24px 12px;
    background: #fbf8ef;
    text-align: center;
}

.home-practical__item:last-child {
    border-right: 1px solid #ddd4c6;
}

.home-practical__icon {
    color: var(--ds-red);
    font-size: 30px;
}

.home-practical__item strong {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.home-practical__item small {
    color: var(--ds-muted);
}

.home-calendar {
    padding: 74px 0;
    border-top: 1px solid var(--ds-line);
    border-bottom: 1px solid var(--ds-line);
    background: #f5eee1;
}

.home-calendar__grid {
    display: grid;
    grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
}

.home-calendar__intro p {
    margin: 0;
    color: #544d44;
    font-size: 15px;
    line-height: 1.7;
}

.home-calendar__days {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-calendar__day {
    display: grid;
    min-height: 172px;
    align-content: start;
    gap: 12px;
    border: 1px solid #ddd4c6;
    padding: 22px;
    color: inherit;
    background: #fbf8ef;
    box-shadow: 0 8px 18px rgba(38, 24, 12, .05);
}

.home-calendar__day:hover {
    color: var(--ds-red);
}

.home-calendar__date {
    color: var(--ds-red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.home-calendar__day strong {
    font-family: var(--ds-serif);
    font-size: 24px;
    line-height: 1.12;
}

.home-calendar__text {
    color: #5d554a;
    font-size: 14px;
    line-height: 1.55;
}

.newsletter-section {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--ds-line);
    padding: 58px 0;
    background: #f5eee1;
}

.newsletter-section__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
    gap: 50px;
    align-items: center;
}

.newsletter-section p {
    margin: 0;
    color: #5c554b;
    font-size: 17px;
    line-height: 1.6;
}

.newsletter-signup {
    display: grid;
    gap: 8px;
}

.newsletter-signup__row {
    display: flex;
    gap: 0;
}

.newsletter-signup__button:disabled,
.button:disabled {
    cursor: not-allowed;
    opacity: .58;
}

.newsletter-signup__note {
    color: #6d6256;
    font-size: 13px;
}

.newsletter-signup__consent {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #6d6256;
    font-size: 13px;
}

.newsletter-signup__consent input {
    width: 16px;
    height: 16px;
    accent-color: var(--ds-red);
}

.site-footer {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-top: 1px solid var(--ds-line);
    padding: 56px 0 32px;
    color: var(--ds-ink);
    background:
        linear-gradient(90deg, rgba(250, 247, 238, .9), rgba(250, 247, 238, .94)),
        url("/assets/design/peking-ink-architektura.avif") left bottom / 260px auto no-repeat,
        #f7f1e6;
}

.site-footer::after {
    position: absolute;
    right: 88px;
    bottom: 42px;
    color: rgba(21, 21, 21, .16);
    font-family: var(--ds-serif);
    font-size: 88px;
    line-height: 1;
    content: "北京";
}

.site-footer__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(300px, 420px) minmax(210px, .8fr) minmax(160px, .55fr);
    gap: 56px;
    align-items: start;
}

.site-footer__brand strong {
    display: block;
    color: var(--ds-ink);
    font-family: var(--ds-serif);
    font-size: 47px;
    line-height: 1;
}

.site-footer__tagline {
    display: block;
    margin-top: 9px;
    color: #5d554a;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.site-footer__brand p {
    max-width: 360px;
    margin: 22px 0 0;
    color: #514a41;
    font-size: 15px;
    line-height: 1.7;
}

.site-footer__nav h2 {
    margin: 0 0 18px;
    color: var(--ds-ink);
    font-family: var(--ds-sans);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-footer .site-footer__nav {
    display: block;
    min-width: 0;
}

.site-footer__nav a {
    display: block;
    margin: 0 0 11px;
    color: #332d26;
    font-size: 14px;
    line-height: 1.35;
}

.site-footer__nav a:hover {
    color: var(--ds-red);
}

.site-footer__copyright {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    border-top: 1px solid rgba(21, 21, 21, .12);
    padding-top: 22px;
    color: #6d6256;
    font-size: 13px;
}

.poll-results__bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    appearance: none;
}

.poll-results__bar::-webkit-progress-bar {
    background: transparent;
}

.poll-results__bar::-webkit-progress-value {
    background: rgba(169, 31, 24, .18);
}

.poll-results__bar::-moz-progress-bar {
    background: rgba(169, 31, 24, .18);
}

.red-kicker {
    display: inline-flex;
    margin-bottom: 18px;
    color: #e65a4f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-feature {
    overflow: hidden;
    padding: 86px 0;
    color: #f4efe4;
    background: #171716;
}

.home-feature__inner {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 58px;
    align-items: center;
}

.home-feature__copy h2,
.home-interviews h2,
.home-itineraries h2 {
    margin: 0 0 22px;
    font-family: var(--ds-serif);
    font-size: 48px;
    line-height: 1.04;
}

.home-feature__copy p {
    max-width: 520px;
    margin: 0 0 28px;
    color: #d8d0c4;
    font-size: 17px;
    line-height: 1.75;
}

.home-feature__notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
}

.home-feature__notes div {
    border-top: 1px solid rgba(255, 255, 255, .18);
    padding-top: 16px;
    color: #cfc8bb;
    line-height: 1.55;
}

.home-feature__notes strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-family: var(--ds-serif);
    font-size: 22px;
}

.home-feature__grid {
    display: grid;
    grid-template-columns: 1.2fr .72fr;
    gap: 16px;
    min-height: 470px;
}

.home-feature__grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-feature__grid > div {
    display: grid;
    gap: 16px;
}

.home-interviews {
    padding: 78px 0;
    background: #f5eee1;
}

.home-interviews__grid {
    display: grid;
    grid-template-columns: 300px repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.home-interviews__intro p {
    margin: 0 0 28px;
    color: #544d44;
    font-size: 16px;
    line-height: 1.7;
}

.home-person {
    overflow: hidden;
    border: 1px solid var(--ds-line);
    background: #fbf8ef;
    box-shadow: 0 8px 18px rgba(38, 24, 12, .06);
}

.home-person > a:first-child {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #171716;
}

.home-person img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% top;
    transform: scale(1.34);
    transform-origin: 62% top;
}

.home-person__text {
    padding: 22px;
}

.home-person__text span,
.home-itinerary__days,
.home-itinerary a {
    color: var(--ds-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.home-person h3,
.home-itinerary h3,
.home-guide h3 {
    margin: 12px 0;
    font-family: var(--ds-serif);
    font-size: 30px;
    line-height: 1.08;
}

.home-person p,
.home-itinerary p,
.home-guide p {
    margin: 0;
    color: #5d554a;
    font-size: 15px;
    line-height: 1.6;
}

.home-itineraries {
    padding: 78px 0 86px;
    background: #fbf8ef;
}

.home-itineraries__header {
    display: grid;
    justify-items: center;
    margin-bottom: 34px;
    text-align: center;
}

.home-itineraries__header .redline {
    margin-right: auto;
    margin-left: auto;
}

.home-itineraries__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 310px;
    gap: 22px;
}

.home-itinerary {
    overflow: hidden;
    border: 1px solid var(--ds-line);
    background: #fff;
    box-shadow: 0 8px 22px rgba(38, 24, 12, .06);
}

.home-itinerary img {
    width: 100%;
    height: 185px;
    object-fit: cover;
}

.home-itinerary__body {
    padding: 26px;
}

.home-itinerary__days {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 8px 12px;
    color: #fff;
    background: var(--ds-red);
}

.home-itinerary a {
    display: inline-flex;
    margin-top: 20px;
}

.home-guide {
    position: relative;
    display: flex;
    min-height: 365px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 34px;
    color: #fff;
    background: var(--ds-red);
}

.home-guide::after {
    position: absolute;
    right: -18px;
    bottom: -48px;
    color: rgba(255, 255, 255, .08);
    font-family: var(--ds-serif);
    font-size: 150px;
    content: "北京";
}

.home-guide .red-kicker {
    color: #ffd8cb;
}

.home-guide h3,
.home-guide p {
    position: relative;
    z-index: 1;
    color: #fff;
}

.home-guide p {
    color: #f3e8df;
}

.home-guide .button {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    color: var(--ds-red);
    background: #fff;
}

.home-travel-guide {
    padding: 70px 0 76px;
    background:
        linear-gradient(90deg, rgba(177, 26, 26, .05), transparent 22%, transparent 78%, rgba(177, 26, 26, .05)),
        #f8f1e4;
}

.home-travel-guide__header {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.home-travel-guide__header p {
    max-width: 680px;
    margin: 14px auto 0;
    color: #6a5b49;
    font-size: 17px;
    line-height: 1.7;
}

.home-travel-guide .home-itineraries__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid #d9cbb9;
    border-bottom: 1px solid #d9cbb9;
}

.home-travel-guide__item {
    position: relative;
    display: grid;
    min-height: 255px;
    align-content: start;
    gap: 20px;
    overflow: hidden;
    border: 0;
    border-right: 1px solid #d9cbb9;
    padding: 28px 24px 30px;
    background: rgba(255, 252, 244, .72);
    box-shadow: none;
}

.home-travel-guide__item:nth-child(even) {
    background: rgba(244, 234, 218, .76);
}

.home-travel-guide__item:last-child {
    border-right: 0;
}

.home-travel-guide__number {
    position: absolute;
    right: 18px;
    top: 12px;
    color: rgba(127, 31, 38, .08);
    font-family: var(--ds-serif);
    font-size: 76px;
    font-weight: 900;
    line-height: 1;
}

.home-travel-guide__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(177, 26, 26, .25);
    color: var(--ds-red);
    background: #fff8ec;
    font-size: 20px;
}

.home-travel-guide__body {
    position: relative;
    z-index: 1;
    padding: 0;
}

.home-travel-guide .home-itinerary__days {
    margin: 0 0 12px;
    padding: 0;
    color: var(--ds-red);
    background: transparent;
}

.home-travel-guide .home-itinerary h3 {
    margin: 0 0 16px;
    font-size: 27px;
}

.home-travel-guide .home-itinerary p {
    color: #665846;
    font-size: 15px;
}

@media (max-width: 1080px) {
    .home-travel-guide .home-itineraries__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-travel-guide__item:nth-child(2n) {
        border-right: 0;
    }
}

@media (max-width: 680px) {
    .home-travel-guide {
        padding: 46px 0 52px;
    }

    .home-travel-guide .home-itineraries__grid {
        grid-template-columns: 1fr;
    }

    .home-travel-guide__item {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid #d9cbb9;
    }

    .home-travel-guide__item:last-child {
        border-bottom: 0;
    }

    .home-travel-guide__header p {
        font-size: 15px;
    }
}

.home-practical--static .home-practical__item {
    align-content: start;
}

.home-practical--static .home-practical__item p {
    margin: 0;
    color: #544d44;
    font-size: 14px;
    line-height: 1.55;
}

.home-section,
.home-slider,
.home-mosaic,
.home-interviews,
.home-practical,
.home-calendar {
    scroll-margin-top: 96px;
}

.home-section__row,
.home-slider__layout,
.home-interviews__grid,
.home-itineraries__grid {
    align-items: stretch;
}

.home-section__intro,
.home-slider__intro,
.home-practical__intro,
.home-interviews__intro {
    align-self: start;
}

.article-card {
    min-height: 100%;
}

.article-card__image {
    aspect-ratio: 16 / 9;
}

.article-card__image img {
    object-position: center center;
    transition: transform .28s ease, filter .28s ease;
}

.article-card__image img[src*="peking-hero-panorama"] {
    object-position: 78% center;
    transform: scale(1.28);
    transform-origin: 78% center;
}

.article-card:hover .article-card__image img[src*="peking-hero-panorama"] {
    transform: scale(1.32);
}

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

.article-card h2 {
    display: -webkit-box;
    min-height: 3.42em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.article-card__meta {
    margin-top: auto;
    padding-top: 18px;
}

.home-slider__track {
    grid-auto-columns: calc((100% - 44px) / 3);
}

.home-slider__track .article-card,
.home-section .article-card,
.home-person,
.home-itinerary {
    height: 100%;
}

.home-section__art {
    min-height: 100%;
}

.home-section__art img {
    min-height: 100%;
}

.home-mosaic__card {
    min-height: 330px;
}

.home-person > a:first-child {
    aspect-ratio: 16 / 11;
}

.home-person img {
    object-position: center 28%;
    transform: none;
}

.article-hero-image {
    aspect-ratio: 16 / 10;
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.article-hero-image img[src*="peking-hero-panorama"] {
    object-position: 72% center;
}

.related .article-grid {
    align-items: stretch;
}

.sidebar {
    gap: 22px;
}

.sidebar-box {
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(245, 238, 225, .18)),
        #fbf8ef;
}

.sidebar-box h2 {
    margin-bottom: 18px;
    font-size: 28px;
    line-height: 1.05;
}

.sidebar-box--latest .mini-link {
    align-items: flex-start;
    color: #403930;
    font-family: var(--ds-serif);
    font-size: 17px;
    line-height: 1.22;
}

.sidebar-year-card {
    overflow: hidden;
    padding: 0;
}

.sidebar-year-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #ece2d0;
}

.sidebar-year-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
    filter: brightness(1.1) contrast(1.02) saturate(1.03);
    transition: transform .28s ease;
}

.sidebar-year-card__media:hover img {
    transform: scale(1.03);
}

.sidebar-year-card__media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24, 21, 18, 0), rgba(24, 21, 18, .28));
    content: "";
}

.sidebar-year-card__media span {
    position: absolute;
    right: 18px;
    bottom: 14px;
    z-index: 1;
    color: rgba(255, 255, 255, .78);
    font-family: var(--ds-serif);
    font-size: 52px;
    line-height: 1;
}

.sidebar-year-card > :not(.sidebar-year-card__media) {
    margin-right: 22px;
    margin-left: 22px;
}

.sidebar-year-card .eyebrow {
    margin-top: 22px;
}

.sidebar-year-card p {
    margin: -8px 22px 18px;
    color: #62584f;
    font-size: 14px;
    line-height: 1.5;
}

.sidebar-year-card .viewall {
    margin-bottom: 24px;
}

.sidebar-days-card {
    display: grid;
    gap: 16px;
}

.sidebar-days-card .eyebrow {
    margin-bottom: -4px;
}

.sidebar-days-card h2 {
    margin-bottom: 2px;
}

.sidebar-days-card__list {
    display: grid;
    gap: 10px;
}

.sidebar-days-card__item {
    display: grid;
    gap: 5px;
    border-top: 1px solid #e4d8c8;
    padding-top: 12px;
}

.sidebar-days-card__item:first-child {
    border-top: 0;
    padding-top: 0;
}

.sidebar-days-card__item span {
    color: var(--ds-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sidebar-days-card__item strong {
    color: #403930;
    font-family: var(--ds-serif);
    font-size: 18px;
    line-height: 1.18;
    transition: color .18s ease;
}

.sidebar-days-card__item:hover strong {
    color: var(--ds-red);
}

.sidebar-chinese-horoscope {
    position: relative;
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 0;
    padding: 0;
    color: #fff7ea;
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 255, 255, .13), transparent 30%),
        linear-gradient(145deg, #2d2219 0%, #5b1716 52%, #251b15 100%);
    box-shadow: 0 16px 34px rgba(38, 24, 12, .18);
}

.sidebar-chinese-horoscope::after {
    position: absolute;
    right: -24px;
    bottom: -34px;
    color: rgba(255, 255, 255, .06);
    font-family: var(--ds-serif);
    font-size: 118px;
    font-weight: 900;
    line-height: 1;
    content: "中";
    pointer-events: none;
}

.sidebar-chinese-horoscope .eyebrow {
    color: #ffd4bd;
}

.sidebar-chinese-horoscope h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 22px 22px 14px;
    color: #fff7ea;
    font-size: 25px;
    line-height: 1.05;
}

.sidebar-chinese-horoscope__mode {
    position: relative;
    z-index: 1;
}

.sidebar-chinese-horoscope__mode-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.sidebar-chinese-horoscope__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 14px 12px;
}

.sidebar-chinese-horoscope__tab {
    display: grid;
    min-height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 247, 234, .24);
    border-radius: 999px;
    padding: 0 8px;
    color: rgba(255, 247, 234, .82);
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .08);
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

#sidebar-chinese-mode-sign:checked ~ .sidebar-chinese-horoscope__tabs .sidebar-chinese-horoscope__tab--sign,
#sidebar-chinese-mode-year:checked ~ .sidebar-chinese-horoscope__tabs .sidebar-chinese-horoscope__tab--year {
    border-color: #fff;
    color: var(--ds-red);
    background: #fff;
}

.sidebar-chinese-horoscope__panel {
    display: none;
}

#sidebar-chinese-mode-sign:checked ~ .sidebar-chinese-horoscope__panel--sign {
    display: block;
}

#sidebar-chinese-mode-year:checked ~ .sidebar-chinese-horoscope__panel--year {
    display: grid;
}

.sidebar-chinese-horoscope__panel--year {
    gap: 12px;
    padding: 14px;
    color: #6b2b21;
    background: rgba(255, 248, 236, .96);
}

.sidebar-chinese-horoscope__rail {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding: 12px 14px 16px;
    background: rgba(255, 248, 236, .96);
}

.sidebar-chinese-horoscope__item {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
    justify-items: center;
    gap: 7px;
    border: 1px solid rgba(103, 70, 39, .13);
    border-radius: 13px;
    padding: 10px 4px 9px;
    color: #6b2b21;
    text-align: center;
    background: rgba(255, 255, 255, .56);
    transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.sidebar-chinese-horoscope__item:hover {
    border-color: rgba(231, 76, 60, .34);
    color: var(--ds-red);
    background: #fff;
    transform: translateY(-1px);
}

.sidebar-chinese-horoscope__item--active {
    border-color: rgba(231, 76, 60, .42);
    color: var(--ds-red);
    background: #fff3e8;
}

.sidebar-chinese-horoscope__icon.chinese-horoscope__seal {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    font-size: 26px;
    line-height: 1;
    box-shadow: 0 8px 16px rgba(127, 31, 38, .15);
}

.sidebar-chinese-horoscope__item span:not(.sidebar-chinese-horoscope__icon) {
    max-width: 100%;
    overflow: hidden;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-chinese-horoscope__year-form {
    display: grid;
    gap: 9px;
}

.sidebar-chinese-horoscope__year-form label {
    color: var(--ds-red);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.sidebar-chinese-horoscope__year-select {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(103, 70, 39, .18);
    border-radius: 12px;
    padding: 0 11px;
    color: var(--ds-wine);
    font: inherit;
    font-weight: 850;
    background: #fff;
}

.sidebar-chinese-horoscope__year-button {
    min-height: 42px;
    border: 0;
    border-radius: 12px;
    padding: 0 14px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: var(--ds-red);
}

.sidebar-chinese-horoscope__year-result {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(231, 76, 60, .18);
    border-radius: 14px;
    padding: 10px;
    color: var(--ds-wine);
    background: #fff;
}

.sidebar-chinese-horoscope__year-icon.chinese-horoscope__seal {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    font-size: 27px;
    line-height: 1;
}

.sidebar-chinese-horoscope__year-result small,
.sidebar-chinese-horoscope__year-result strong {
    display: block;
}

.sidebar-chinese-horoscope__year-result small {
    color: rgba(93, 69, 46, .72);
    font-size: 11px;
    font-weight: 850;
}

.sidebar-chinese-horoscope__year-result strong {
    margin-top: 2px;
    color: var(--ds-red);
    font-size: 18px;
    line-height: 1.1;
}

.contest-teaser {
    position: relative;
    gap: 11px;
    transition: color .18s ease, transform .18s ease;
}

.contest-teaser:hover {
    color: var(--ds-red);
    transform: translateY(-1px);
}

.contest-teaser img,
.contest-list .contest-teaser img {
    aspect-ratio: 16 / 9;
    border-radius: 0;
    background: #ece2d0;
    object-fit: cover;
    object-position: 68% center;
}

.contest-list .contest-teaser {
    display: flex;
    min-height: 100%;
    flex-direction: column;
}

.contest-list .contest-teaser strong {
    font-size: 26px;
}

.contest-list .contest-teaser time,
.contest-list .contest-teaser__status {
    margin-top: auto;
}

.year-banner {
    padding: 76px 0;
    background: #241f19;
}

.year-banner__brand {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    color: #f8efe2;
}

.year-banner__brand strong {
    font-family: var(--ds-serif);
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1;
}

.year-banner__brand strong span {
    color: #ff3b30;
}

.year-banner__brand small {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.year-banner__inner {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    background: #1b1712;
}

.year-banner__image,
.year-banner__shade {
    position: absolute;
    inset: 0;
}

.year-banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
    filter: brightness(1.16) contrast(1.03) saturate(1.04);
}

.year-banner__shade {
    background:
        linear-gradient(90deg, rgba(24, 21, 18, .76) 0%, rgba(24, 21, 18, .48) 34%, rgba(24, 21, 18, .06) 66%, rgba(24, 21, 18, 0) 100%),
        linear-gradient(180deg, rgba(24, 21, 18, 0), rgba(24, 21, 18, .16));
}

.year-banner__content {
    position: relative;
    z-index: 1;
    display: grid;
    max-width: 560px;
    min-height: 420px;
    align-content: center;
    padding: 54px clamp(28px, 5vw, 70px);
    text-shadow: 0 2px 18px rgba(0, 0, 0, .42);
}

.year-banner__content .eyebrow {
    color: #f0c0b8;
}

.year-banner h2 {
    margin: 0;
    font-family: var(--ds-serif);
    font-size: clamp(42px, 5.4vw, 72px);
    line-height: .98;
}

.year-banner p {
    margin: 22px 0 0;
    color: #f2e7d8;
    font-size: 17px;
    line-height: 1.7;
}

.year-banner__dates {
    color: #fff;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.year-banner .button {
    width: fit-content;
    margin-top: 28px;
}

.year-banner__symbol {
    position: absolute;
    right: 34px;
    bottom: 22px;
    color: rgba(255, 255, 255, .22);
    font-family: var(--ds-serif);
    font-size: clamp(80px, 10vw, 150px);
    line-height: 1;
}

@media (max-width: 1180px) {
    .site-header__topbar {
        padding: 0 36px;
    }

    .site-nav {
        gap: 0 24px;
        padding: 0 28px;
    }

    .home-hero__content {
        width: 60%;
        padding: 46px 44px 46px clamp(150px, 15vw, 190px);
    }

    .home-section__row,
    .home-section--with-art .home-section__row,
    .home-slider__layout,
    .home-practical__grid,
    .home-interviews__grid,
    .home-itineraries__grid,
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-section__intro,
    .home-slider__intro,
    .home-practical__intro,
    .home-interviews__intro,
    .home-itineraries__header {
        grid-column: 1 / -1;
    }

    .home-slider__viewport {
        grid-column: 1 / -1;
    }

    .home-slider__prev,
    .home-slider__next {
        top: 68px;
    }

    .home-slider__prev {
        left: 8px;
    }

    .home-slider__next {
        right: 8px;
    }

    .home-section__intro p {
        max-width: 620px;
    }

    .home-section__art {
        display: none;
    }

    .home-feature__inner,
    .home-feature__grid {
        grid-template-columns: 1fr;
    }

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

    .home-calendar__grid {
        grid-template-columns: 1fr;
    }

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

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

    .layout > :first-child,
    .sidebar {
        width: 100%;
        max-width: none;
    }

    .sidebar {
        position: static;
    }
}

@media (max-width: 820px) {
    body::before,
    body::after {
        display: none;
    }

    .container,
    .site-main > .layout,
    .site-main > .page-title,
    .site-main > .pagination,
    .site-main > .flash,
    .site-main > .notice-page,
    .site-main > .related {
        width: min(calc(100% - 28px), var(--ds-shell-width));
    }

    .site-header__topbar {
        min-height: auto;
        display: block;
        padding: 10px 14px;
    }

    .site-search {
        width: 100%;
    }

    .site-search summary {
        width: 100%;
        padding-bottom: 4px;
        font-size: 13px;
    }

    .site-search__form {
        right: auto;
        left: 0;
        width: calc(100vw - 28px);
    }

    .site-search__row,
    .newsletter-section__inner,
    .home-mosaic__intro,
    .site-footer__grid,
    .site-footer__copyright {
        grid-template-columns: 1fr;
    }

    .site-search__row,
    .newsletter-signup__row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-header__brandline {
        min-height: 88px;
        padding: 14px 14px 24px;
    }

    .brand {
        gap: 10px;
    }

    .brand__text {
        font-size: 38px;
    }

    .brand__seal {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .brand__tagline {
        bottom: -17px;
        font-size: 10px;
        letter-spacing: .14em;
    }

    .site-menu {
        border-top: 1px solid var(--ds-line);
        border-bottom: 1px solid var(--ds-line);
        background: rgba(248, 244, 235, .96);
    }

    .site-menu__toggle {
        display: flex;
        width: 100%;
        min-height: 52px;
        align-items: center;
        justify-content: space-between;
        border: 0;
        padding: 0 18px;
        color: var(--ds-ink);
        background: transparent;
        font: inherit;
        font-size: 13px;
        font-weight: 900;
        letter-spacing: .08em;
        text-transform: uppercase;
        cursor: pointer;
    }

    .site-menu__bars,
    .site-menu__bars::before,
    .site-menu__bars::after {
        display: block;
        width: 22px;
        height: 2px;
        background: currentColor;
        content: "";
    }

    .site-menu__bars {
        position: relative;
    }

    .site-menu__bars::before,
    .site-menu__bars::after {
        position: absolute;
        left: 0;
    }

    .site-menu__bars::before {
        top: -7px;
    }

    .site-menu__bars::after {
        top: 7px;
    }

    .site-nav {
        display: none;
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: start;
        gap: 0;
        border-top: 1px solid var(--ds-line);
        border-bottom: 0;
        padding: 0;
    }

    .site-menu--open .site-nav {
        display: flex;
    }

    .site-nav__link {
        min-height: 48px;
        align-items: center;
        border-bottom: 1px solid rgba(93, 85, 74, .16);
        padding: 0 18px;
        font-size: 12px;
        white-space: normal;
    }

    .home-hero {
        position: relative;
        display: block;
        height: auto;
        min-height: 455px;
        overflow: hidden;
        background: #171716;
    }

    .home-hero::before,
    .home-hero::after,
    .home-hero__content::before {
        display: none;
    }

    .home-hero__media {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
    }

    .home-hero--slideshow .home-hero__media::after {
        background:
            linear-gradient(90deg, rgba(23, 23, 22, .28) 0%, rgba(23, 23, 22, .08) 54%, rgba(23, 23, 22, 0) 100%),
            linear-gradient(180deg, rgba(23, 23, 22, .03) 0%, rgba(23, 23, 22, .18) 28%, rgba(23, 23, 22, .82) 58%, #171716 100%);
    }

    .home-hero__content {
        position: relative;
        z-index: 3;
        width: 100%;
        min-height: 455px;
        justify-content: flex-end;
        padding: 170px 18px 24px;
        color: #fff;
        background: transparent;
    }

    .home-hero h1 {
        max-width: 12em;
        margin-bottom: 16px;
        font-size: clamp(32px, 8vw, 38px);
        line-height: 1;
        text-shadow: 0 2px 16px rgba(0, 0, 0, .5);
    }

    .home-hero p {
        max-width: 31rem;
        margin-bottom: 22px;
        color: #f4eadb;
        font-size: 16px;
        line-height: 1.55;
        text-shadow: 0 2px 12px rgba(0, 0, 0, .58);
    }

    .home-hero__media--slideshow .home-hero__slide img,
    .home-hero__media--slideshow .home-hero__slide.is-active img {
        object-position: 58% bottom;
        transform-origin: 58% bottom;
        transition: transform 7.2s ease;
    }

    .home-hero__media--slideshow .home-hero__slide img {
        transform: scale(1.03);
    }

    .home-hero__media--slideshow .home-hero__slide.is-active img {
        transform: scale(1.065);
    }

    .home-hero__calligraphy {
        top: 190px;
        right: 18px;
        bottom: auto;
        color: rgba(255, 255, 255, .24);
        font-size: 76px;
    }

    .home-section,
    .home-slider,
    .home-mosaic,
    .home-interest,
    .home-calendar,
    .year-banner,
    .newsletter-section {
        padding: 38px 0;
    }

    .home-interviews {
        padding: 38px 0 44px;
    }

    .home-section__row,
    .home-section--with-art .home-section__row,
    .home-slider__layout,
    .home-numbers__grid,
    .home-practical__grid,
    .home-calendar__grid,
    .home-calendar__days,
    .home-interviews__grid,
    .home-itineraries__grid,
    .home-feature__notes,
    .article-grid,
    .article-grid--compact,
    .contest-list {
        grid-template-columns: 1fr;
    }

    .home-section__intro h2,
    .home-slider h2,
    .home-mosaic h2,
    .home-practical h2,
    .home-calendar h2,
    .newsletter-section h2,
    .home-feature__copy h2,
    .home-interviews h2,
    .home-itineraries h2 {
        font-size: 34px;
    }

    .home-mosaic__grid {
        min-height: 0;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .home-mosaic__intro {
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: start;
        margin-bottom: 24px;
    }

    .home-mosaic__intro p {
        font-size: 16px;
        line-height: 1.65;
    }

    .home-mosaic__intro .redline {
        margin-bottom: 0;
    }

    .home-slider__track {
        grid-auto-columns: 100%;
    }

    .article-card h2 {
        min-height: 0;
        font-size: 27px;
        line-height: 1.08;
        -webkit-line-clamp: 2;
    }

    .article-card__body {
        padding: 16px;
    }

    .article-card__meta {
        padding-top: 12px;
    }

    .home-interest__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px;
    }

    .home-interest__card {
        gap: 12px;
    }

    .home-interest__image {
        aspect-ratio: 16 / 10;
    }

    .home-interest__card h3 {
        font-size: 25px;
        line-height: 1;
    }

    .home-interest__card p {
        color: #8a7764;
        font-size: 15px;
        line-height: 1.7;
    }

    .home-hero__controls {
        top: auto;
        right: 18px;
        bottom: 24px;
        gap: 0;
    }

    .home-hero__control {
        width: 44px;
        height: 44px;
    }

    @media (max-width: 420px) {
        .home-hero__controls {
            right: 16px;
            bottom: 22px;
            gap: 0;
        }

        .home-hero__control {
            width: 42px;
            height: 42px;
        }
    }

    .home-mosaic__card,
    .home-mosaic__card--large,
    .home-mosaic__card--wide {
        grid-row: auto;
        grid-column: auto;
        height: 320px;
    }

    .home-numbers__item {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid #d4c8b8;
    }

    .home-numbers__item:last-child {
        border-bottom: 0;
    }

    .home-feature__grid {
        min-height: 0;
    }

    .home-feature__grid > img,
    .home-feature__grid > div img {
        min-height: 220px;
    }

    .home-itinerary img {
        height: 220px;
    }

    .year-banner__inner,
    .year-banner__content {
        min-height: 0;
    }

    .year-banner__brand {
        display: grid;
        justify-content: start;
        gap: 4px;
        margin-bottom: 14px;
    }

    .year-banner__brand strong {
        font-size: 34px;
    }

    .year-banner__brand small {
        color: #dbcdbd;
        font-size: 10px;
    }

    .year-banner__inner {
        display: block;
        border: 0;
        color: var(--ds-ink);
        background: #fbf8ef;
    }

    .year-banner__image {
        position: static;
        display: block;
        aspect-ratio: 16 / 10;
        height: auto;
        object-position: 70% center;
    }

    .year-banner__shade {
        display: none;
    }

    .year-banner__content {
        display: block;
        padding: 22px 20px 24px;
        text-shadow: none;
    }

    .year-banner__content .eyebrow {
        color: var(--ds-red);
    }

    .year-banner h2 {
        color: var(--ds-wine);
        font-size: 38px;
    }

    .year-banner p {
        color: #5d554a;
        font-size: 15px;
    }

    .year-banner__dates {
        color: var(--ds-ink);
    }

    .year-banner__symbol {
        display: none;
    }

    .article-detail h1 {
        font-size: 38px;
    }

    .home-person > a:first-child {
        aspect-ratio: 16 / 9;
    }

    .home-person__text {
        padding: 16px;
    }

    .home-person h3 {
        margin: 8px 0;
        font-size: 24px;
    }

    .home-person p {
        font-size: 14px;
        line-height: 1.5;
    }

    .chinese-birth-year__form {
        grid-template-columns: 1fr;
    }

    .chinese-birth-year__button {
        width: 100%;
    }

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

    @media (max-width: 360px) {
        .home-hero h1 {
            font-size: 34px;
        }

        .home-slider h2,
        .home-interviews h2,
        .home-section__intro h2 {
            font-size: 31px;
        }

        .article-card h2 {
            font-size: 24px;
        }

        .home-interest__grid {
            gap: 26px 16px;
        }

        .home-interest__card h3 {
            font-size: 22px;
        }

        .home-interest__card p {
            font-size: 14px;
        }

        .chinese-horoscope-detail .horoscope-detail__chips {
            grid-template-columns: 1fr;
        }
    }

    .site-footer {
        padding: 48px 0 32px;
    }
}
