.search-panel,
.menu-panel {
    position: fixed;
    z-index: 300;
    inset: 0;
    overflow-y: auto;
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(8px);
    padding: clamp(20px, 5vw, 80px);
}

.search-panel[hidden],
.menu-panel[hidden] {
    display: none;
}

.search-panel__inner {
    position: relative;
    width: min(100%, 900px);
    margin: 10vh auto 0;
    padding: clamp(28px, 5vw, 64px);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.search-panel h2 {
    margin-bottom: 28px;
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: transparent;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.icon-button:hover {
    background: var(--gold-soft);
}

.search-panel__close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.search-form {
    display: flex;
    border: 1px solid var(--line);
}

.search-form input {
    flex: 1;
    min-width: 0;
    padding: 16px 18px;
    border: 0;
    outline: 0;
    background: #fff;
    font-size: 16px;
}

.search-form .button {
    flex: 0 0 auto;
    min-height: 0;
    border-width: 0 0 0 1px;
}

.search-panel__suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin-top: 20px;
    font-size: 11px;
}

.search-panel__suggestions span {
    font-weight: 800;
    text-transform: uppercase;
}

.search-panel__suggestions a {
    text-decoration-color: var(--gold);
}

.menu-panel__inner {
    position: relative;
    width: min(100%, 1100px);
    margin: 4vh auto;
    padding: clamp(28px, 5vw, 64px);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.menu-panel__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 34px;
}

.brand--small .brand__mark {
    font-size: 38px;
}

.menu-panel__top .brand {
    min-width: 0;
    max-width: calc(100% - 60px);
}

.menu-panel__top .brand__mark--word {
    font-size: clamp(20px, 4vw, 30px);
}

.menu-panel__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.menu-panel__label {
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.menu-panel__sections {
    display: flex;
    flex-direction: column;
}

.menu-panel__sections a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1;
    text-decoration: none;
}

.menu-panel__sections a span {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
}

.menu-panel__secondary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-panel__secondary a {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.menu-panel__secondary a:hover {
    text-decoration: underline;
}

.menu-panel__newsletter {
    max-width: 580px;
    margin-top: 46px;
}

.menu-panel__note {
    margin-top: 30px;
    font-family: var(--serif);
    font-style: italic;
    color: var(--muted);
}

.rail-heading,
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    border-top: 2px solid var(--line);
    padding-top: 5px;
}

.rail-heading h2,
.section-heading__title {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(24px, 2.6vw, 32px);
    font-style: italic;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1;
}

.section-heading--boxed {
    align-items: center;
}

.section-heading--boxed .section-heading__title {
    padding: 3px 10px 3px 0;
    background: var(--paper);
}

.section-heading__note {
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading__link {
    flex: 0 0 auto;
    padding-bottom: 3px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.section-heading__link:hover {
    text-decoration: underline;
    text-decoration-color: var(--gold);
}

.story-card {
    min-width: 0;
}

.story-card__media {
    display: block;
    overflow: hidden;
    background: var(--cream-deep);
}

.story-card__media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 450ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

.story-card:hover .story-card__media img,
.feature-story:hover .feature-story__media img,
.lead-story:hover .lead-story__media img,
.guide-card:hover .guide-card__media img {
    transform: scale(1.025);
}

.story-card__body {
    padding-top: 12px;
}

.story-card__title {
    margin: 8px 0 0;
    font-size: clamp(19px, 1.75vw, 25px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.story-card__title a {
    text-decoration: none;
}

.story-card__title a:hover {
    color: #4b3a0e;
}

.story-card__dek {
    margin: 10px 0 0;
    color: #3d3d3d;
    font-family: var(--serif);
    font-size: 14px;
    line-height: 1.38;
}

.story-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 9px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.3;
}

.byline a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.byline a:hover {
    text-decoration: underline;
}

.story-card--list {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 14px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
}

.story-card--list:first-child {
    border-top: 0;
    padding-top: 0;
}

.story-card--list .story-card__media img {
    aspect-ratio: 3 / 2;
}

.story-card--list .story-card__body {
    padding-top: 0;
}

.story-card--list .story-card__title {
    margin-top: 0;
    font-size: 15px;
    line-height: 1.14;
}

.story-card--list .story-card__meta {
    margin-top: 7px;
    font-size: 9px;
}

.story-card--text {
    padding: 13px 0;
    border-top: 1px solid var(--line);
}

.story-card--text .story-card__body {
    padding-top: 0;
}

.story-card--text .story-card__title {
    margin-top: 0;
    font-size: 20px;
}

.story-card--must .story-card__title {
    font-size: clamp(22px, 2vw, 28px);
}

.story-card--must .story-card__media img {
    aspect-ratio: 4 / 3;
}

.story-card--tall .story-card__title {
    font-size: clamp(24px, 2.3vw, 30px);
}

.story-card--tall .story-card__media img {
    aspect-ratio: 16 / 10;
}

.story-card--issue {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.story-card--issue .story-card__body {
    padding-top: 0;
}

.story-card--issue .story-card__title {
    margin-top: 0;
    font-size: 19px;
}

.story-card--grid .story-card__media img {
    aspect-ratio: 16 / 10;
}

.story-card--grid .story-card__title {
    font-size: clamp(21px, 2vw, 27px);
}

.feature-story__media {
    display: block;
    overflow: hidden;
    background: var(--cream-deep);
}

.feature-story__media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 450ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

.feature-story__body {
    padding-top: 15px;
}

.feature-story__title {
    margin: 9px 0 0;
    font-size: clamp(30px, 3.8vw, 48px);
    font-weight: 900;
    letter-spacing: -0.052em;
    line-height: 0.98;
}

.feature-story__title a {
    text-decoration: none;
}

.feature-story__title a:hover {
    color: #4b3a0e;
}

.feature-story__dek {
    max-width: 750px;
    margin: 13px 0 0;
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.42;
}

.meta-separator {
    color: var(--gold);
    font-weight: 800;
}

.breadcrumbs {
    margin-bottom: 26px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 7px;
    color: var(--gold);
}

.breadcrumbs a {
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs--article {
    max-width: 820px;
    margin-inline: auto;
    padding-top: 25px;
    text-align: center;
}

.breadcrumbs--article ol {
    justify-content: center;
}

.newsletter-form__label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.newsletter-form__row {
    display: flex;
    border: 1px solid var(--line);
    background: var(--paper);
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 15px 16px;
    border: 0;
    background: transparent;
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: 0;
}

.newsletter-form .button {
    flex: 0 0 auto;
    min-height: 0;
    border-width: 0 0 0 1px;
}

.newsletter-form__note {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
}

.newsletter-form__note a {
    text-decoration-color: var(--gold);
}

.newsletter-form__success {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-left: 3px solid var(--gold);
    background: var(--cream);
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
}

.newsletter-form--footer .newsletter-form__label,
.newsletter-form--home .newsletter-form__label,
.newsletter-form--article .newsletter-form__label {
    color: #fff;
}

.newsletter-form--footer .newsletter-form__row,
.newsletter-form--home .newsletter-form__row,
.newsletter-form--article .newsletter-form__row {
    border-color: #666;
}

.newsletter-form--footer .newsletter-form__note,
.newsletter-form--home .newsletter-form__note,
.newsletter-form--article .newsletter-form__note {
    color: #aaa;
}
