/* ============================================================
   RUSHED! MAGAZINE — Dark Editorial Theme for Ghost CMS
   ============================================================
   Aesthetic: Editorial, dark, minimalist, bold typography
   Fonts: Acumin Pro + Acumin Pro Wide (Adobe Typekit) + Ndot (custom)
   ============================================================ */

/* ============================================================
   0. CUSTOM FONT — Ndot
   ============================================================ */
@font-face {
    font-family: "ndot";
    src: url("../fonts/Ndot-55.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    /* Colors */
    --black: #1d1d1d;
    --black-deep: #1b1b1b;
    --black-pure: #000;
    --white: #e3e3e3;
    --white-pure: #fff;
    --grey: #c4c5ba;
    --grey-mid: #869791;
    --red-error: #e9180d;
    --overlay: rgba(27, 27, 27, 0.55);
    --border: rgba(227, 227, 227, 0.1);

    /* Typography */
    --font-family: "acumin-pro", sans-serif;
    --font-family-wide: "acumin-pro-wide", sans-serif;
    --font-family-ndot: "ndot", sans-serif;

    /* Layout */
    --max-width: 1600px;
    --padding-desktop: 40px;
    --padding-mobile: 16px;
    --content-width: 720px;
    --header-height: 72px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background: var(--black);
    color: var(--white);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-wide);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.96px;
    line-height: 1;
    color: var(--white);
}

ul, ol {
    list-style: none;
}

/* ============================================================
   3. LAYOUT / CONTAINER
   ============================================================ */
.site-main {
    flex: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.site-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding-desktop);
}

@media (max-width: 1079px) {
    .site-container {
        padding: 0 var(--padding-mobile);
    }
}

/* ============================================================
   4. HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px var(--padding-desktop);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    transition: background 0.3s ease;
}

.header--transparent {
    background: transparent;
}

.header--solid {
    background: var(--black);
}

@media (max-width: 1079px) {
    .header {
        padding: 16px var(--padding-mobile);
    }
}

/* Header left */
.header__left {
    display: flex;
    align-items: center;
}

.header__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    color: var(--white);
    cursor: pointer;
    background: none;
    border: none;
}

.header__hamburger svg {
    width: 24px;
    height: 24px;
}

/* Header center */
.header__center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__logo {
    display: flex;
    align-items: center;
    color: var(--white);
}

.header__logo img {
    max-height: 32px;
    width: auto;
}

.header__logo span {
    font-family: var(--font-family-ndot);
    font-size: 24px;
    font-weight: 400;
    color: var(--white);
    letter-spacing: normal;
    text-transform: none;
}

/* Header right */
.header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header__profile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    color: var(--white);
}

.header__profile svg {
    width: 24px;
    height: 24px;
}

/* ============================================================
   5. SIDE MENU (Hamburger overlay)
   ============================================================ */
.header__menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--black);
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: var(--padding-desktop);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.header__menu--open {
    transform: translateX(0);
}

.header__menu-close {
    align-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    color: var(--white);
    margin-bottom: 48px;
    cursor: pointer;
    background: none;
    border: none;
}

.header__menu-close svg {
    width: 24px;
    height: 24px;
}

/* Menu links */
.header__menu-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.header__menu-links ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.header__menu-link,
.header__menu-links a {
    font-family: var(--font-family-wide);
    font-size: 48px;
    line-height: 64px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.96px;
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.header__menu-link:hover,
.header__menu-links a:hover {
    opacity: 0.7;
}

@media (max-width: 1079px) {
    .header__menu {
        padding: var(--padding-mobile);
    }
    .header__menu-link,
    .header__menu-links a {
        font-size: 28px;
        line-height: 40px;
    }
}

/* Menu bottom links */
.header__menu-bottom-links {
    display: flex;
    gap: 16px;
    margin-top: auto;
    padding-top: 40px;
}

.header__menu-bottom-link {
    font-family: var(--font-family);
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    color: var(--grey);
    text-decoration: none;
    transition: color 0.2s ease;
}

.header__menu-bottom-link:hover {
    color: var(--white);
}

/* ============================================================
   6. HERO SLIDER
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--black);
}

@media (max-width: 1079px) {
    .hero {
        height: calc(100vh - 60px);
    }
}

.hero__swiper {
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
}

/* Hero image */
.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Ken Burns effect */
.swiper-slide-active .hero__image {
    animation: kenBurns 5s ease-in-out forwards;
}

@keyframes kenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

/* Overlay */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    z-index: 1;
}

/* Content */
.hero__content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
    max-width: 75%;
    color: var(--white);
}

@media (max-width: 1079px) {
    .hero__content {
        bottom: 24px;
        left: var(--padding-mobile);
        max-width: 90%;
    }
}

/* Fade in up for active slide content */
.swiper-slide-active .hero__content {
    animation: fadeInUp 0.6s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero title */
.hero__title {
    font-family: var(--font-family-wide);
    font-size: 48px;
    line-height: 64px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.96px;
    color: var(--white);
    margin: 0;
}

@media (max-width: 767px) {
    .hero__title {
        font-size: 28px;
        line-height: 36px;
    }
}

/* Hero meta */
.hero__meta {
    font-family: var(--font-family);
    font-size: 10px;
    line-height: 24px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    color: var(--grey);
    margin-top: 8px;
}

/* Swiper pagination dots */
.hero__pagination.swiper-pagination {
    position: absolute;
    bottom: 24px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 3;
}

.hero__pagination .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.4;
    width: 8px;
    height: 8px;
    margin: 0 4px;
}

.hero__pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--white-pure);
}

/* ============================================================
   7. FEATURED POSTS (Grid)
   ============================================================ */
.featured-posts {
    padding: 0 0 40px;
}

.featured-posts__title {
    font-family: var(--font-family-wide);
    font-size: 10px;
    line-height: 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    color: var(--grey);
    padding: 12px var(--padding-desktop);
}

@media (max-width: 1079px) {
    .featured-posts__title {
        padding: 12px var(--padding-mobile);
    }
}

/* Grid */
.featured-posts__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 0 var(--padding-desktop) 40px;
}

@media (max-width: 767px) {
    .featured-posts__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 var(--padding-mobile) 24px;
    }
}

/* Each post card */
.featured-post {
    position: relative;
    overflow: hidden;
}

.featured-post a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Card image */
.featured-post__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.featured-post__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-post:hover .featured-post__image img {
    transform: scale(1.03);
}

/* Hover overlay */
.featured-post__image-on-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-post:hover .featured-post__image-on-hover {
    opacity: 1;
}

/* Card info */
.featured-post__info-wrapper {
    padding: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.featured-post__post-title {
    font-family: var(--font-family-wide);
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.48px;
    color: var(--white);
}

@media (max-width: 767px) {
    .featured-post__post-title {
        font-size: 16px;
        line-height: 24px;
    }
}

.featured-post__info {
    font-family: var(--font-family);
    font-size: 10px;
    line-height: 24px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    color: var(--grey);
}

/* ============================================================
   8. NEWSLETTER SIGNUP
   ============================================================ */
.signup-form {
    padding: 40px;
    text-align: center;
}

@media (max-width: 767px) {
    .signup-form {
        padding: 40px var(--padding-mobile);
    }
}

.signup-form__content {
    max-width: 553px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .signup-form__content {
        max-width: 350px;
    }
}

.signup-form__title {
    font-family: var(--font-family-wide);
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.48px;
    color: var(--white);
    margin-bottom: 24px;
}

.signup-form__form {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: stretch;
    max-width: 553px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .signup-form__form {
        flex-direction: column;
    }
}

.signup-form__input {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--white);
    color: var(--white);
    font-family: var(--font-family);
    font-size: 14px;
    padding: 12px 0;
    outline: none;
    text-transform: uppercase;
    letter-spacing: -0.28px;
}

.signup-form__input::placeholder {
    color: var(--grey);
    text-transform: uppercase;
}

.signup-form__btn {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    font-family: var(--font-family-wide);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    padding: 14.5px 24px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.signup-form__btn:hover {
    background: var(--white);
    color: var(--black);
}

.signup-form .message-success {
    color: var(--grey);
    font-family: var(--font-family);
    font-size: 12px;
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

.signup-form .message-error {
    color: var(--red-error);
    font-family: var(--font-family);
    font-size: 12px;
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

/* ============================================================
   9. FOOTER
   ============================================================ */
.footer {
    padding: var(--padding-desktop);
    border-top: 1px solid var(--border);
}

@media (max-width: 767px) {
    .footer {
        padding: 24px var(--padding-mobile);
    }
}

/* Top nav */
.footer__top-nav {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
}

.footer__top-nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

.footer__top-nav-link,
.footer__top-nav a {
    font-family: var(--font-family);
    font-size: 10px;
    line-height: 24px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    color: var(--grey);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__top-nav-link:hover,
.footer__top-nav a:hover {
    color: var(--white);
}

/* Bottom links */
.footer__links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer__links--link {
    font-family: var(--font-family);
    font-size: 10px;
    line-height: 24px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    color: var(--grey);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__links--link:hover {
    color: var(--white);
}

/* Copyright */
.footer__copyright {
    font-family: var(--font-family);
    font-size: 10px;
    color: var(--grey);
    margin-top: 16px;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

/* ============================================================
   10. ARTICLE (Single Post / Page)
   ============================================================ */
.article {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
}

.article__header {
    text-align: center;
    padding: 0 var(--padding-desktop);
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    .article__header {
        padding: 0 var(--padding-mobile);
    }
}

.article__tag {
    display: inline-block;
    font-family: var(--font-family-wide);
    font-size: 10px;
    line-height: 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    color: var(--grey);
    margin-bottom: 16px;
}

.article__title {
    font-family: var(--font-family-wide);
    font-size: 48px;
    line-height: 64px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.96px;
    color: var(--white);
    max-width: var(--content-width);
    margin: 0 auto 16px;
}

@media (max-width: 767px) {
    .article__title {
        font-size: 28px;
        line-height: 36px;
        letter-spacing: -0.56px;
    }
}

.article__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-family);
    font-size: 10px;
    line-height: 24px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    color: var(--grey);
}

/* Feature image */
.article__hero {
    margin-bottom: 40px;
}

.article__hero img {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
}

/* Article content */
.article__content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--padding-desktop);
}

@media (max-width: 767px) {
    .article__content {
        padding: 0 var(--padding-mobile);
    }
}

.article__content p {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    letter-spacing: -0.32px;
    color: var(--white);
    margin: 1.5em 0;
}

.article__content img {
    width: 100%;
    height: auto;
    margin: 2em 0;
}

.article__content h2 {
    font-family: var(--font-family-wide);
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.48px;
    color: var(--white);
    margin: 2em 0 1em;
}

.article__content h3 {
    font-family: var(--font-family-wide);
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.36px;
    color: var(--white);
    margin: 2em 0 0.75em;
}

.article__content a {
    color: var(--white-pure);
    text-decoration: underline;
    text-underline-offset: 0.15em;
    transition: opacity 0.2s ease;
}

.article__content a:hover {
    opacity: 0.7;
}

.article__content strong {
    font-weight: 600;
}

.article__content em {
    font-style: italic;
}

.article__content blockquote {
    border-left: 2px solid var(--white);
    padding-left: 24px;
    font-style: italic;
    font-size: 18px;
    color: var(--grey);
    margin: 2em 0;
}

.article__content pre {
    background: var(--black-deep);
    border: 1px solid var(--border);
    padding: 24px;
    overflow-x: auto;
    font-family: 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px;
    line-height: 1.6;
    margin: 2em 0;
}

.article__content code {
    font-family: 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9em;
    background: var(--black-deep);
    padding: 0.15em 0.4em;
}

.article__content pre code {
    background: none;
    padding: 0;
}

.article__content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 3em 0;
}

.article__content ul,
.article__content ol {
    padding-left: 24px;
    list-style: disc;
}

.article__content ol {
    list-style: decimal;
}

.article__content li {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    letter-spacing: -0.32px;
    color: var(--white);
    margin-bottom: 0.5em;
}

.article__content figure {
    margin: 2em 0;
}

.article__content figcaption {
    text-align: center;
    font-size: 10px;
    color: var(--grey);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

/* Share buttons */
.article__share {
    max-width: var(--content-width);
    margin: 40px auto;
    padding: 0 var(--padding-desktop);
    display: flex;
    gap: 16px;
    align-items: center;
}

@media (max-width: 767px) {
    .article__share {
        padding: 0 var(--padding-mobile);
    }
}

.article__share-label {
    font-family: var(--font-family-wide);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    color: var(--grey);
}

.article__share a {
    font-family: var(--font-family);
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    color: var(--grey);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Related posts section */
.article__related {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

/* ============================================================
   11. GHOST CONTENT EDITOR OVERRIDES
   ============================================================ */
.gh-content {
    overflow-wrap: break-word;
    word-break: break-word;
}

.gh-content > * + * {
    margin-top: 1.5em;
}

/* Ghost editor — width classes */
.kg-width-wide {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.kg-width-full {
    max-width: none;
    margin-left: calc(-1 * var(--padding-desktop));
    margin-right: calc(-1 * var(--padding-desktop));
}

.gh-content .kg-width-wide {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.gh-content .kg-width-full {
    max-width: none;
    margin-left: calc(-1 * var(--padding-desktop));
    margin-right: calc(-1 * var(--padding-desktop));
}

@media (min-width: 800px) {
    .article__content .kg-width-wide {
        margin-left: calc((var(--content-width) - 1000px) / 2 - var(--padding-desktop));
        margin-right: calc((var(--content-width) - 1000px) / 2 - var(--padding-desktop));
    }
    .article__content .kg-width-full {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
}

/* Ghost card styles */
.kg-image-card img,
.kg-gallery-image img {
    width: 100%;
    height: auto;
}

.kg-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kg-gallery-row {
    display: flex;
    gap: 16px;
}

.kg-gallery-image {
    flex: 1;
}

.kg-gallery-image img {
    height: 100%;
    object-fit: cover;
}

.kg-bookmark-card {
    border: 1px solid var(--border);
}

.kg-bookmark-container {
    display: flex;
    text-decoration: none;
    color: var(--white);
}

.kg-bookmark-content {
    flex: 1;
    padding: 16px;
}

.kg-bookmark-title {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.kg-bookmark-description {
    font-size: 12px;
    color: var(--grey);
    margin-top: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.kg-bookmark-metadata {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 10px;
    color: var(--grey);
}

.kg-bookmark-icon {
    width: 16px;
    height: 16px;
}

.kg-bookmark-thumbnail {
    flex-shrink: 0;
    width: 140px;
}

.kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Button card */
.kg-button-card {
    text-align: center;
}

.kg-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 24px;
    font-family: var(--font-family-wide);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    text-decoration: none;
    border: 1px solid var(--white);
    color: var(--white);
    transition: all 0.3s ease;
}

.kg-btn:hover {
    background: var(--white);
    color: var(--black);
}

/* Callout card */
.kg-callout-card {
    padding: 24px;
    border: 1px solid var(--border);
    display: flex;
    gap: 16px;
}

.kg-callout-emoji {
    font-size: 24px;
    line-height: 1;
}

/* Toggle card */
.kg-toggle-card {
    border: 1px solid var(--border);
    padding: 16px 24px;
}

.kg-toggle-heading-text {
    font-weight: 600;
    color: var(--white);
}

/* Header card */
.kg-header-card {
    padding: 80px var(--padding-desktop);
    text-align: center;
}

.kg-header-card h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

/* Signup card */
.kg-signup-card {
    padding: 60px var(--padding-desktop);
    text-align: center;
}

/* Audio/Video/File cards */
.kg-audio-card,
.kg-video-card,
.kg-file-card {
    border: 1px solid var(--border);
}

.kg-video-card video {
    width: 100%;
}

/* ============================================================
   12. PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px var(--padding-desktop);
    border-top: 1px solid var(--border);
}

@media (max-width: 767px) {
    .pagination {
        padding: 24px var(--padding-mobile);
    }
}

.pagination__prev,
.pagination__next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family-wide);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.pagination__prev:hover,
.pagination__next:hover {
    opacity: 0.7;
}

.pagination__disabled {
    visibility: hidden;
}

.pagination__page {
    font-family: var(--font-family);
    font-size: 10px;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

.pagination__prev svg,
.pagination__next svg {
    width: 16px;
    height: 16px;
}

/* ============================================================
   13. TAG / ARCHIVE PAGE
   ============================================================ */
.archive {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
}

.archive__header {
    text-align: center;
    padding: 0 var(--padding-desktop) 40px;
}

@media (max-width: 767px) {
    .archive__header {
        padding: 0 var(--padding-mobile) 24px;
    }
}

.archive__title {
    font-family: var(--font-family-wide);
    font-size: 48px;
    line-height: 64px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.96px;
    color: var(--white);
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    .archive__title {
        font-size: 28px;
        line-height: 36px;
    }
}

.archive__description {
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--grey);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================================
   14. AUTHOR PAGE
   ============================================================ */
.author-page {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
}

.author-page__header {
    text-align: center;
    padding: 0 var(--padding-desktop) 40px;
}

@media (max-width: 767px) {
    .author-page__header {
        padding: 0 var(--padding-mobile) 24px;
    }
}

.author-page__image {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 24px;
}

.author-page__name {
    font-family: var(--font-family-wide);
    font-size: 48px;
    line-height: 64px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.96px;
    color: var(--white);
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    .author-page__name {
        font-size: 28px;
        line-height: 36px;
    }
}

.author-page__bio {
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--grey);
    max-width: 500px;
    margin: 0 auto 16px;
    line-height: 1.6;
}

.author-page__meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-family: var(--font-family);
    font-size: 10px;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

.author-page__meta a {
    color: var(--white);
    transition: opacity 0.2s ease;
}

.author-page__meta a:hover {
    opacity: 0.7;
}

/* ============================================================
   15. ERROR PAGES
   ============================================================ */
.error-page {
    text-align: center;
    padding: 80px var(--padding-desktop);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-page__code {
    font-family: var(--font-family-wide);
    font-size: clamp(80px, 15vw, 200px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -4px;
    line-height: 1;
    color: rgba(227, 227, 227, 0.15);
    margin-bottom: 16px;
}

.error-page__message {
    font-family: var(--font-family-wide);
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.48px;
    color: var(--white);
    margin-bottom: 8px;
}

.error-page__description {
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--grey);
    margin-bottom: 32px;
}

.error-page__btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 24px;
    font-family: var(--font-family-wide);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    text-decoration: none;
    border: 1px solid var(--white);
    color: var(--white);
    transition: all 0.3s ease;
}

.error-page__btn:hover {
    background: var(--white);
    color: var(--black);
}

/* ============================================================
   16. PAGE (Static pages)
   ============================================================ */
.page {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
}

.page__header {
    text-align: center;
    padding: 0 var(--padding-desktop) 40px;
}

@media (max-width: 767px) {
    .page__header {
        padding: 0 var(--padding-mobile) 24px;
    }
}

.page__title {
    font-family: var(--font-family-wide);
    font-size: 48px;
    line-height: 64px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.96px;
    color: var(--white);
    max-width: var(--content-width);
    margin: 0 auto;
}

@media (max-width: 767px) {
    .page__title {
        font-size: 28px;
        line-height: 36px;
    }
}

.page__content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--padding-desktop);
}

@media (max-width: 767px) {
    .page__content {
        padding: 0 var(--padding-mobile);
    }
}

/* Inherit article content styles for paragraphs */
.page__content p {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    letter-spacing: -0.32px;
    color: var(--white);
    margin: 1.5em 0;
}

.page__content h2 {
    font-family: var(--font-family-wide);
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.48px;
    color: var(--white);
    margin: 2em 0 1em;
}

.page__content a {
    color: var(--white-pure);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.page__content img {
    width: 100%;
    height: auto;
    margin: 2em 0;
}

/* ============================================================
   17. EDITORIAL SPREAD (Custom template)
   ============================================================ */
.editorial-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.editorial-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-hero__overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 80px var(--padding-desktop) 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    color: var(--white);
}

@media (max-width: 767px) {
    .editorial-hero__overlay {
        padding: 40px var(--padding-mobile) 24px;
    }
}

.editorial-hero__tag {
    font-family: var(--font-family-wide);
    font-size: 10px;
    line-height: 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    display: inline-block;
}

.editorial-hero__title {
    font-family: var(--font-family-wide);
    font-size: clamp(28px, 5vw, 64px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1.28px;
    color: var(--white-pure);
    max-width: 16em;
}

.editorial-hero__excerpt {
    font-family: var(--font-family);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 16px;
    max-width: 40em;
}

.editorial__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px var(--padding-desktop);
    font-family: var(--font-family);
    font-size: 10px;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: -0.2px;
    border-bottom: 1px solid var(--border);
    max-width: var(--content-width);
    margin: 0 auto;
}

@media (max-width: 767px) {
    .editorial__meta {
        padding: 16px var(--padding-mobile);
    }
}

/* ============================================================
   18. MEMBERSHIP CTA
   ============================================================ */
.membership-cta {
    padding: 60px 0;
    max-width: var(--content-width);
    margin: 0 auto;
}

.membership-cta__inner {
    text-align: center;
    padding: 40px;
    border: 1px solid var(--border);
}

.membership-cta__inner h3 {
    font-family: var(--font-family-wide);
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.48px;
    color: var(--white);
    margin-bottom: 16px;
}

.membership-cta__inner p {
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--grey);
    margin-bottom: 24px;
    max-width: 40em;
    margin-left: auto;
    margin-right: auto;
}

.membership-cta__buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.membership-cta__btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 24px;
    font-family: var(--font-family-wide);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    text-decoration: none;
    border: 1px solid var(--white);
    color: var(--white);
    transition: all 0.3s ease;
}

.membership-cta__btn:hover {
    background: var(--white);
    color: var(--black);
}

.membership-cta__btn--primary {
    background: var(--white);
    color: var(--black);
}

.membership-cta__btn--primary:hover {
    background: transparent;
    color: var(--white);
}

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

/* ============================================================
   20. PRINT STYLES
   ============================================================ */
@media print {
    .header,
    .footer,
    .signup-form,
    .article__related,
    .article__share,
    .hero,
    .pagination {
        display: none !important;
    }
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    .article__content p,
    .article__content li {
        color: #000;
    }
    .article__title {
        color: #000;
    }
}
