/* ============================================
   SEVEN DAY WEEKEND
   Global styles
   ============================================ */

:root {
    --black: #050505;
    --black-soft: #101010;
    --yellow: #f5e500;
    --white: #ffffff;
    --grey: #a4a4a4;
    --dark-grey: #1d1d1d;
    --max-width: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

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

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

/* ============================================
   HEADER
   ============================================ */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;

    padding: 24px 40px;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.78),
        rgba(0, 0, 0, 0)
    );
}

.site-header__logo {
    display: block;
    flex: 0 0 auto;
}

.site-header__logo img {
    display: block;
    width: 220px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-nav a:hover {
    color: var(--yellow);
}

/* ============================================
   HOMEPAGE HERO
   ============================================ */

.hero {
    position: relative;
    min-height: 560px;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.05) 20%,
            rgba(0, 0, 0, 0.55) 65%,
            rgba(0, 0, 0, 0.95) 100%
        ),
        url("../assets/brand/hero.jpg") center center / cover no-repeat;

    display: flex;
    align-items: flex-end;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(245, 229, 0, 0.04),
            transparent 45%
        );

    pointer-events: none;
}

.hero__content {
    position: absolute;
    left: 40px;
    bottom: 52px;
    z-index: 2;
}

/* ============================================
   SHARED SECTION HEADINGS
   ============================================ */

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading .eyebrow {
    display: block;
    margin-bottom: 8px;
}

.section-heading h1,
.section-heading h2 {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

/* ============================================
   FEATURED
   ============================================ */

.featured {
    padding: 80px 40px 40px;
}

.featured-grid {
    display: grid;
    gap: 4px;
}

.featured-grid--single {
    grid-template-columns: 1fr;
}

.featured-grid--double {
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
}

.featured-card {
    position: relative;
    min-height: 520px;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.15) 70%
        ),
        var(--featured-image);

    background-color: #111;
    background-size: cover;
    background-position: center;

    overflow: hidden;
}

.featured-card--primary {
    min-height: 620px;
}

.featured-card--secondary {
    min-height: 420px;
}

.featured-grid--single .featured-card--secondary {
    min-height: 620px;
}

.featured-card__overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;

    padding: 36px;
}

.featured-card__overlay time {
    margin-top: 8px;

    color: var(--grey);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.featured-card__overlay h2 {
    max-width: 900px;
    margin: 8px 0 24px;

    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.featured-card--secondary .featured-card__overlay h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.5rem);
}

.featured-card__overlay h2 a {
    color: var(--white);
    text-decoration: none;
}

.featured-card__overlay h2 a:hover {
    color: var(--yellow);
}

.button {
    display: inline-block;
    padding: 12px 18px;

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.button--yellow {
    background: var(--yellow);
    color: var(--black);
}

.button--yellow:hover {
    background: var(--white);
}

/* ============================================
   LATEST / POST CARDS
   ============================================ */

.latest {
    padding: 70px 40px 90px;
}

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

.post-card {
    background: #111;
    overflow: hidden;
}

.post-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #181818;
}

.post-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

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

.post-card__placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 220px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    background:
        linear-gradient(
            135deg,
            transparent 0 62%,
            var(--yellow) 62% 68%,
            transparent 68%
        ),
        #181818;
}

.post-card__placeholder::before {
    content: "SDW";
    position: absolute;
    top: -0.12em;
    right: -0.04em;
    font-size: clamp(5rem, 10vw, 9rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.08em;
    color: rgba(255, 255, 255, 0.06);
}

.post-card__placeholder::after {
    content: "SIEBEN TAGE WOCHENENDE";
    position: absolute;
    left: 24px;
    top: 24px;
    color: var(--yellow);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.post-card__body {
    padding: 24px 24px 28px;
}

.post-card__category {
    display: inline-block;
    margin-right: 10px;

    color: var(--yellow);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-card__body time {
    color: #888;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.post-card h3 {
    margin: 14px 0 12px;

    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.post-card h3 a {
    color: var(--white);
    text-decoration: none;
}

.post-card h3 a:hover {
    color: var(--yellow);
}

.post-card p {
    margin: 0 0 22px;

    color: #c0c0c0;
    font-size: 0.95rem;
    line-height: 1.55;
}

.read-more {
    color: var(--yellow);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.read-more:hover {
    color: var(--white);
}

/* ============================================
   SINGLE POST
   ============================================ */

.single {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 180px 40px 100px;
}

.single__article {
    width: 100%;
}

.single__header {
    max-width: 980px;
    margin: 0 auto 42px;
}

.single__header .eyebrow {
    margin-right: 12px;
    color: var(--yellow);
}

.single__header time {
    color: var(--grey);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.single__header h1 {
    margin: 12px 0 0;

    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.9;
    letter-spacing: -0.055em;
}

.post-hero {
    max-width: 900px;
    margin: 0 auto 48px;
    background: #111;
    overflow: hidden;
}

.post-hero img {
    width: 100%;
    height: auto;
    max-height: 720px;
    object-fit: contain;
    margin: 0 auto;
}

.single__content {
    max-width: 900px;
    margin: 0 auto;

    font-size: 1.05rem;
    line-height: 1.7;
}

.single__content p {
    margin: 0 0 1.5rem;
}

.single__content h2 {
    margin: 4rem 0 1.5rem;

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.single__content a {
    color: var(--yellow);
    text-decoration: none;
}

.single__content a:hover {
    color: var(--white);
}

/* ============================================
   IMAGE GALLERY
   ============================================ */

.sdw-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin: 3rem 0;
}

.sdw-gallery__item {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #111;
}

.sdw-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 250ms ease, opacity 250ms ease;
}

.sdw-gallery__item:hover img {
    transform: scale(1.04);
    opacity: 0.88;
}

/* ============================================
   GALLERY LIGHTBOX
   ============================================ */

body.sdw-lightbox-open {
    overflow: hidden;
}

.sdw-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(0, 0, 0, 0.94);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 180ms ease,
        visibility 180ms ease;
}

.sdw-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sdw-lightbox__figure {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    margin: 0;
}

.sdw-lightbox__image {
    display: block;

    max-width: min(90vw, 1400px);
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;
}

.sdw-lightbox__close,
.sdw-lightbox__prev,
.sdw-lightbox__next {
    position: absolute;

    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    border: 0;

    background: rgba(0, 0, 0, 0.65);
    color: var(--white);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.4rem;
    line-height: 1;

    cursor: pointer;

    transition:
        background 150ms ease,
        color 150ms ease;
}

.sdw-lightbox__close:hover,
.sdw-lightbox__prev:hover,
.sdw-lightbox__next:hover {
    background: var(--yellow);
    color: var(--black);
}

.sdw-lightbox__close {
    top: 24px;
    right: 24px;
}

.sdw-lightbox__prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.sdw-lightbox__next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 700px) {
    .sdw-lightbox {
        padding: 16px;
    }

    .sdw-lightbox__image {
        max-width: 94vw;
        max-height: 84vh;
    }

    .sdw-lightbox__close,
    .sdw-lightbox__prev,
    .sdw-lightbox__next {
        width: 44px;
        height: 44px;
    }

    .sdw-lightbox__close {
        top: 12px;
        right: 12px;
    }

    .sdw-lightbox__prev {
        left: 10px;
    }

    .sdw-lightbox__next {
        right: 10px;
    }
}

/* ============================================
   SINGLE POST MEDIA
   ============================================ */

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

.media-item {
    min-width: 0;
}

.media-item__title {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
}

.media-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #111;
    overflow: hidden;
}

.media-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.media-embed--large {
    width: 100%;
    margin: 2rem 0 4px;
}

.spotify-embed {
    margin-top: 4px;
    background: #111;
}

.spotify-embed iframe {
    display: block;
    width: 100%;
    height: 352px;
    border: 0;
}

.soundcloud-block {
    margin: 2rem 0;
}

.soundcloud-block .media-item__title {
    margin-bottom: 8px;
}

.soundcloud-embed {
    width: 100%;
    background: #111;
    overflow: hidden;
}

.soundcloud-embed iframe {
    display: block;
    width: 100%;
    min-height: 166px;
    border: 0;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 50px;
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;
    padding: 0 12px;

    background: #111;
    color: var(--white);

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.pagination__link:hover,
.pagination__link--active {
    background: var(--yellow);
    color: var(--black);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    border-top: 1px solid #222;
    background: #000;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-title {
    margin: 0 0 15px;

    color: var(--yellow);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-text {
    max-width: 400px;
    margin: 0;

    color: var(--grey);
    font-size: 14px;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 7px;
}

.footer-links a {
    color: var(--grey);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;

    border-top: 1px solid #222;

    color: #666;
    font-size: 12px;
}

/* ============================================
   MOBILE / TABLET
   ============================================ */

@media (max-width: 850px) {
    .site-header {
        padding: 20px 24px;
        gap: 20px;
    }

    .site-header__logo img {
        width: 180px;
    }

    .site-nav {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .site-nav a {
        font-size: 0.72rem;
    }

    .hero {
        min-height: 520px;
    }

    .featured-grid--double {
        grid-template-columns: 1fr;
    }

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

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

    .single {
        padding: 150px 24px 80px;
    }

    .single__header {
        margin-bottom: 32px;
    }

    .single__header h1 {
        font-size: clamp(2.7rem, 9vw, 5rem);
    }

    .post-hero {
        margin-bottom: 36px;
    }
}

@media (max-width: 700px) {
    .site-header {
        position: absolute;
        align-items: flex-start;
        padding: 18px 20px;
    }

    .site-header__logo img {
        width: 130px;
    }

    .site-nav {
        gap: 8px 12px;
        max-width: 58%;
    }

    .site-nav a {
        font-size: 0.65rem;
    }

    .hero {
        min-height: 470px;
    }

    .hero__content {
        left: 20px;
        bottom: 24px;
    }

    .featured {
        padding: 50px 20px 20px;
    }

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

    .featured-card,
    .featured-card--primary,
    .featured-card--secondary {
        min-height: 420px;
    }

    .featured-card__overlay {
        padding: 24px;
    }

    .featured-card__overlay h2 {
        font-size: clamp(1.9rem, 9vw, 3.2rem);
    }

    .featured-card--secondary .featured-card__overlay h2 {
        font-size: clamp(1.7rem, 8vw, 2.6rem);
    }

    .latest {
        padding: 50px 20px 70px;
    }

    .post-card__body {
        padding: 20px;
    }

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

    .single {
        padding: 125px 20px 70px;
    }

    .single__header {
        margin-bottom: 28px;
    }

    .single__header h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .single__content {
        font-size: 1rem;
    }

    .single__content h2 {
        margin-top: 3rem;
    }

    .post-hero {
        margin-bottom: 30px;
    }

    .spotify-embed iframe {
        height: 352px;
    }

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

@media (max-width: 550px) {
    .site-header {
        gap: 12px;
    }

    .site-header__logo img {
        width: 125px;
    }

    .site-nav {
        max-width: 62%;
        gap: 6px 9px;
    }

    .site-nav a {
        font-size: 0.6rem;
        letter-spacing: 0.05em;
    }

    .hero {
        min-height: 440px;
    }

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

    .footer-inner {
        padding: 45px 20px;
    }

    .single {
        padding: 115px 16px 60px;
    }

    .single__header h1 {
        font-size: clamp(2.3rem, 13vw, 3.5rem);
    }

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


/* ============================================
   RESPONSIVE LAYOUT
   ============================================ */

.site-nav-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.site-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    transition:
        transform 180ms ease,
        opacity 180ms ease;
}

.site-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding: 48px 40px;
    border-top: 1px solid #222;
    background: var(--black-soft);
}

.site-footer strong,
.site-footer span {
    display: block;
}

.site-footer strong {
    margin-bottom: 6px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.site-footer span {
    color: var(--grey);
    font-size: 0.8rem;
}

.site-footer__links {
    display: flex;
    gap: 20px;
}

.site-footer__links a {
    color: var(--grey);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.site-footer__links a:hover {
    color: var(--yellow);
}

.page {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 180px 40px 100px;
}

.page-header,
.archive__header {
    margin-bottom: 56px;
}

.page-header h1,
.archive__header h1 {
    margin: 8px 0 0;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.9;
    letter-spacing: -0.055em;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

.page-content p {
    margin: 0 0 1.5rem;
}

.page-content h2 {
    margin: 4rem 0 1.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.page-content a {
    color: var(--yellow);
}

.page-content a:hover {
    color: var(--white);
}

.archive {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 180px 40px 100px;
}

.archive .latest {
    padding: 0;
}

@media (max-width: 1000px) {
    .site-header {
        padding: 20px 24px;
    }

    .site-header__logo img {
        width: 190px;
    }

    .site-nav {
        gap: 16px;
    }

    .featured {
        padding-left: 24px;
        padding-right: 24px;
    }

    .latest {
        padding-left: 24px;
        padding-right: 24px;
    }

    .single,
    .page,
    .archive {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 700px) {
    .site-header {
        position: absolute;
        padding: 16px;
        gap: 12px;
        align-items: center;
    }

    .site-header__logo img {
        width: 150px;
    }

    .site-nav-toggle {
        display: block;
        margin-left: auto;
        z-index: 3;
    }

    .site-nav {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 76px 16px 20px;
        background: rgba(5, 5, 5, 0.97);
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            transform 180ms ease,
            opacity 180ms ease,
            visibility 180ms ease;
    }

    .site-header.is-nav-open .site-nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-nav a {
        display: block;
        padding: 14px 4px;
        border-top: 1px solid #222;
        font-size: 0.85rem;
    }

    .site-nav-toggle span {
        transform-origin: center;
    }

    .site-header.is-nav-open .site-nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header.is-nav-open .site-nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.is-nav-open .site-nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        min-height: 500px;
        background-position: 58% center;
    }

    .hero__content {
        left: 20px;
        right: 20px;
        bottom: 32px;
    }

    .hero__content .eyebrow {
        font-size: 0.68rem;
    }

    .section-heading {
        margin-bottom: 20px;
    }

    .section-heading h1,
    .section-heading h2 {
        font-size: clamp(2.2rem, 12vw, 3.5rem);
    }

    .featured {
        padding: 56px 16px 24px;
    }

    .featured-grid--double {
        grid-template-columns: 1fr;
    }

    .featured-card,
    .featured-card--primary,
    .featured-card--secondary,
    .featured-grid--single .featured-card--secondary {
        min-height: 430px;
    }

    .featured-card__overlay {
        padding: 24px;
    }

    .featured-card__overlay h2,
    .featured-card--secondary .featured-card__overlay h2 {
        font-size: clamp(1.8rem, 9vw, 3rem);
    }

    .latest {
        padding: 56px 16px 64px;
    }

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

    .post-card__placeholder {
        min-height: 200px;
    }

    .post-card__body {
        padding: 20px 20px 24px;
    }

    .post-card h3 {
        font-size: 1.6rem;
    }

    .single,
    .page,
    .archive {
        padding: 120px 16px 64px;
    }

    .single__header {
        margin-bottom: 32px;
    }

    .single__header h1 {
        font-size: clamp(2.7rem, 13vw, 4.5rem);
    }

    .post-hero {
        margin-bottom: 32px;
    }

    .single__content,
    .page-content {
        font-size: 1rem;
        line-height: 1.65;
    }

    .sdw-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3px;
        margin: 2rem 0;
    }

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

    .spotify-embed iframe {
        height: 300px;
    }

    .soundcloud-embed iframe {
        min-height: 166px;
    }

    .pagination {
        flex-wrap: wrap;
        margin-top: 36px;
    }

    .page-header,
    .archive__header {
        margin-bottom: 40px;
    }

    .page-header h1,
    .archive__header h1 {
        font-size: clamp(2.7rem, 13vw, 4.5rem);
    }

    .site-footer {
        flex-direction: column;
        padding: 36px 16px;
        gap: 24px;
    }

    .site-footer__links {
        flex-wrap: wrap;
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}

.post-navigation {
  width: min(1100px, calc(100% - 40px));
  margin: 48px auto 72px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.post-navigation__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid #222;
  background: #fff;
  color: #111;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.post-navigation__item--next {
  text-align: right;
}

.post-navigation__item:hover {
  background: #111;
  color: #fff;
}

.post-navigation__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.post-navigation__item strong {
  font-size: 1rem;
  line-height: 1.3;
}

@media (max-width: 700px) {
  .post-navigation {
    width: min(100% - 28px, 600px);
    margin: 36px auto 56px;
    grid-template-columns: 1fr;
  }

  .post-navigation__item--next {
    text-align: left;
  }
}
