/* Shared document and article styles */
:root {
    color-scheme: light;
}
body {
    font-size: 16px;
    line-height: 1.65;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
.skip {
    position: absolute;
    left: -9999px;
}
.skip:focus {
    left: 12px;
    top: 12px;
    background: white;
    z-index: 9;
}
.issue {
    font-size: 12px;
    color: #805019;
    letter-spacing: .12em;
    font-weight: 700;
}
h1, h2, h3 {
    line-height: 1.4;
    margin: 0 0 14px;
}
h1 {
    font-family: "Noto Serif CJK SC", serif;
    font-size: clamp(30px, 3.3vw, 52px);
}
figcaption {
    font-size: 12px;
    margin-top: 8px;
    opacity: .8;
}
.article-page {
    max-width: 850px;
    padding: 32px 20px 60px;
    margin: auto;
}
.crumb {
    font-size: 14px;
    margin-bottom: 32px;
}
.article-page figure {
    margin: 25px 0;
}
.article-page figure img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
}
.article-page section {
    margin: 32px 0;
}
.lead {
    font-size: 19px;
    color: #67533d;
}
.related {
    border-top: 1px solid #bda98a;
    padding-top: 20px;
    display: grid;
    gap: 10px;
}
:root {
    --ink: #3c220f;
    --gold: #e6a51a;
    --paper: #f7f3ed;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--paper);
    color: #292018;
    font-family: "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: #98600a;
}
.wrap {
    width: min(94%, 1450px);
    margin: 0 auto;
}
.mast {
    display: block;
    padding: 0;
    background: #fffaf3;
    border: 0;
    position: static;
}
.top {
    display: flex;
    align-items: center;
    gap: 25px;
    min-height: 78px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: #4b260d;
}
.brand span {
    font-family: "Noto Serif CJK SC", serif;
    font-weight: 900;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: 2px;
}
.brand small {
    display: block;
    font: 600 15px/1.4 sans-serif;
    letter-spacing: 3px;
}
.slogan {
    font-family: serif;
    font-size: 21px;
    font-weight: bold;
    border-left: 1px solid #ad947b;
    padding-left: 24px;
    white-space: nowrap;
    margin: 0;
}
.search {
    display: flex;
    flex: 1;
    border: 1px solid #9a806b;
    border-radius: 28px;
    overflow: hidden;
    min-width: 180px;
    background: white;
}
.search input {
    min-width: 0;
    flex: 1;
    border: 0;
    background: transparent;
    padding: 10px 16px;
    font: inherit;
}
.search button {
    border: 0;
    color: white;
    background: #65340c;
    padding: 9px 22px;
    border-radius: 24px;
    cursor: pointer;
    font: inherit;
}
.utility {
    font-size: 14px;
    white-space: nowrap;
}
.mainnav {
    background: linear-gradient(90deg,#51300f,#2b1609);
    color: white;
}
.mainnav .wrap {
    display: flex;
    justify-content: space-around;
    gap: 0;
}
.mainnav a {
    display: block;
    padding: 12px 18px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}
.mainnav a:hover, .mainnav a[aria-current] {
    background: #a96a0c;
    border-radius: 30px;
}
.hero {
    padding: 0;
    position: relative;
    display: block;
    min-height: 275px;
    height: clamp(250px, 19vw, 330px);
    overflow: hidden;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #3f2815;
}
.hero-photo {
    position: absolute;
    inset: 0 0 0 35%;
    background: url("/assets/photo-0.webp") center/cover no-repeat;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(48,24,8,.25),#40250f 17%,rgba(64,37,15,.85) 35%,transparent 70%);
    pointer-events: none;
}
.camera {
    position: absolute;
    inset: 0 auto 0 0;
    width: 16%;
    background: url("/assets/camera.webp") center/cover;
}
.hero-copy {
    position: relative;
    z-index: 1;
    padding: 25px 0 28px 12%;
    color: #fff1c4;
}
.hero-copy h1 {
    margin: 0;
    font: 900 clamp(36px,4.7vw,72px)/1.25 "Noto Serif CJK SC",serif;
    letter-spacing: 3px;
    color: #fff0bc;
}
.hero-copy .eyebrow {
    font-size: 13px;
    letter-spacing: 3px;
    margin: 0 0 4px;
}
.hero-copy .subtitle {
    font: 700 clamp(18px,2vw,29px)/1.5 serif;
    margin: 4px 0 18px;
}
.cta {
    display: inline-block;
    background: #ffcc46;
    border-radius: 28px;
    color: #48270b;
    padding: 9px 25px;
    font-weight: bold;
}
.content {
    position: relative;
    padding: 0 0 14px;
    margin: -15px auto 0;
    z-index: 2;
}
.panel {
    background: #fff;
    border: 1px solid #eee6db;
    border-radius: 14px;
    box-shadow: 0 3px 10px #51300f0b;
}
.categories {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    padding: 14px 8px;
    margin-bottom: 12px;
}
.categories a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-right: 1px solid #eee;
    padding: 0 8px;
}
.categories a:last-child {
    border-right: 0;
}
.category-icon {
    color: #bc7b06;
    font-size: 34px;
    line-height: 1;
}
.categories strong, .categories small {
    display: block;
}
.categories strong {
    font-size: 17px;
}
.categories small {
    color: #665c50;
    font-size: 13px;
}
.columns {
    display: grid;
    grid-template-columns: minmax(0,3.8fr) minmax(240px,1fr);
    gap: 16px;
    align-items: stretch;
}
.recommendations, .reviews {
    padding: 8px 12px 12px;
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 10px;
    border: 0;
    padding: 0;
}
.section-head h2, .ranking h2 {
    font-size: 21px;
    line-height: 1.4;
    margin: 0;
    color: #211a15;
}
.section-head > a {
    font-size: 13px;
    white-space: nowrap;
}
.tiles {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 13px;
}
.tile {
    min-width: 0;
}
.tile img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.95;
    object-fit: cover;
    border-radius: 8px;
}
.tile h3 {
    margin: 6px 0 2px;
    font-size: 17px;
    line-height: 1.4;
}
.tile p {
    margin: 0;
    color: #62564b;
    font-size: 13px;
    line-height: 1.5;
}
.ranking {
    overflow: hidden;
    padding: 0 10px 6px;
}
.ranking h2 {
    padding: 10px 0;
    border-bottom: 1px solid #f0e8df;
}
.ranking h2 small {
    font-size: 12px;
    font-weight: 400;
    color: #6a5d50;
}
.ranking ol {
    list-style: none;
    counter-reset: rank;
    padding: 0;
    margin: 0;
}
.ranking li {
    counter-increment: rank;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f0ebe4;
    padding: 6px 0;
}
.ranking li::before {
    content: counter(rank);
    background: #c47e19;
    color: white;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 4px;
    text-align: center;
    flex-shrink: 0;
}
.ranking li:first-child::before {
    background: #b73419;
}
.ranking li a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}
.ranking img {
    width: 55px;
    height: 31px;
    object-fit: cover;
    border-radius: 4px;
}
.lower {
    display: grid;
    grid-template-columns: 44% 1fr;
    gap: 16px;
    margin-top: 14px;
}
.feature {
    border-radius: 12px;
    overflow: hidden;
    padding: 20px 24px;
    color: #fff8de;
    background: linear-gradient(90deg,#583617,#795022cc 65%,transparent),url("/assets/feature.webp") right center/auto 100% no-repeat,#795022;
}
.feature h2 {
    font: 800 clamp(23px,2.3vw,34px)/1.25 serif;
    margin: 7px 0;
}
.feature p {
    margin: 0 0 4px;
}
.feature a {
    display: inline-block;
    margin-top: 7px;
    font-size: 14px;
    color: #ffe39b;
}
.reviews > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}
.reviews img {
    border-radius: 5px;
    width: 112px;
    height: 43px;
    object-fit: cover;
}
.reviews strong,.reviews small {
    display: block;
}
.reviews small {
    color: #665c50;
    font-size: 13px;
}
.footer {
    background: linear-gradient(90deg,#39200f,#2e190c);
    color: #fff2dd;
    padding: 18px 0 0;
    margin: 0;
}
.footer .brand {
    color: #fff2dd;
}
.footer .brand span {
    font-size: 25px;
}
.footgrid {
    display: grid;
    grid-template-columns: 240px 1fr 240px;
    gap: 30px;
    align-items: center;
    font-size: 13px;
}
.footgrid p {
    border-left: 1px solid #927151;
    padding-left: 22px;
    margin: 0;
}
.footgrid nav strong {
    display: block;
    margin-bottom: 5px;
}
.copyright {
    border-top: 1px solid #72583c;
    margin-top: 14px;
    padding: 10px;
    text-align: center;
    font-size: 12px;
}
.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
[hidden] {
    display: none !important;
}
:focus-visible {
    outline: 3px solid #b97700;
    outline-offset: 3px;
}
@media(max-width: 1350px) {
    .slogan {
        display: none;
    }
    .top {
        gap: 15px;
    }
    .mainnav a {
        padding: 12px 10px;
        font-size: 15px;
    }
}
@media(max-width: 850px) {
    .top {
        flex-wrap: wrap;
        padding: 10px 0;
    }
    .utility {
        display: none;
    }
    .brand span {
        font-size: 27px;
    }
    .mainnav .wrap {
        overflow-x: auto;
        justify-content: flex-start;
    }
    .categories {
        grid-template-columns: repeat(3,minmax(0,1fr));
        row-gap: 16px;
    }
    .columns,.lower {
        grid-template-columns: 1fr;
    }
    .footgrid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .footgrid p {
        border: 0;
        padding: 0;
    }
}
@media(max-width: 500px) {
    .top .brand {
        width: 100%;
    }
    .search {
        flex-basis: 100%;
    }
    .hero {
        height: 255px;
    }
    .hero-photo {
        left: 25%;
    }
    .camera {
        display: none;
    }
    .hero::after {
        background: linear-gradient(90deg,#3e230fdd, #3e230f66 75%,transparent);
    }
    .hero-copy {
        padding: 30px 0;
    }
    .hero-copy h1 {
        font-size: 37px;
    }
    .categories {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .categories a {
        justify-content: flex-start;
    }
    .tiles {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .section-head h2 {
        font-size: 18px;
    }
    .tile h3 {
        font-size: 16px;
    }
    .reviews strong {
        font-size: 14px;
    }
}
/* Reset legacy article stylesheet rules on shared components. */
.mast .mainnav {
    display: block;
}
.footer {
    display: block;
}
.footer .copyright {
    width: 100%;
}
.mainnav .wrap {
    flex-wrap: nowrap;
}
@media(max-width: 500px) {
    .hero-copy .subtitle {
        max-width: 250px;
    }
}
.top, .search, .tiles, .tile, .footgrid > * {
    min-width: 0;
}
