/* =========================================================
   Article page typography + layout
   Applies only within the article template you shared
   ========================================================= */
.glass {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
}

.gridline {
    background-image: linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at center, black 55%, transparent 95%);
    opacity: .35;
}


.article-page {
    /* Your HTML already has max-w-3xl; this keeps text comfy */
    line-height: 1.75;
    font-size: 1.05rem;
}

.article-hero {
    margin-bottom: 2rem;
}

.kicker {
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .8rem;
    opacity: .75;
    margin: 0 0 .5rem 0;
}

.article-title {
    font-size: clamp(2rem, 3.2vw, 3.1rem);
    line-height: 1.12;
    margin: 0 0 .9rem 0;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    font-size: .9rem;
    opacity: .8;
}

.meta-item {
    white-space: nowrap;
}

.meta-sep {
    opacity: .6;
}

.article-summary {
    margin-top: 1.15rem;
    font-size: 1.12rem;
    line-height: 1.6;
    opacity: .92;
    max-width: 70ch;
}

.article-source {
    margin-top: .9rem;
    font-size: .95rem;
    opacity: .85;
}

    .article-source a {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.article-body {
    /* Better reading measure */
    max-width: 72ch;
    margin-top: 2.25rem;
}

    /* =========================================================
   Markdown-rendered HTML inside article body
   ========================================================= */

    /* Base spacing */
    .article-body p {
        margin: 1rem 0;
    }

    /* Headings */
    .article-body h1,
    .article-body h2,
    .article-body h3,
    .article-body h4 {
        line-height: 1.2;
        letter-spacing: -0.01em;
        margin: 2.2rem 0 0.8rem 0;
        font-weight: 800;
    }

    .article-body h2 {
        font-size: 1.55rem;
    }

    .article-body h3 {
        font-size: 1.25rem;
        font-weight: 750;
    }

    .article-body h4 {
        font-size: 1.05rem;
        font-weight: 700;
        opacity: .95;
    }

    /* Prevent headings from sticking under fixed headers (if you have any) */
    .article-body h2, .article-body h3, .article-body h4 {
        scroll-margin-top: 90px;
    }

    /* Bold / italic (fixes “bold not bold” issues caused by resets) */
    .article-body strong,
    .article-body b {
        font-weight: 800;
    }

    .article-body em,
    .article-body i {
        font-style: italic;
    }

    /* Links */
    .article-body a {
        text-decoration: underline;
        text-underline-offset: 3px;
        text-decoration-thickness: 1px;
    }

        .article-body a:hover {
            text-decoration-thickness: 2px;
        }

    /* Lists: restore bullets + indentation (fixes “no bullet points”) */
    .article-body ul,
    .article-body ol {
        margin: 1rem 0 1rem 1.25rem;
        padding-left: 1rem;
    }

    .article-body ul {
        list-style: disc;
    }

    .article-body ol {
        list-style: decimal;
    }

    .article-body li {
        margin: 0.35rem 0;
    }

        .article-body li > ul,
        .article-body li > ol {
            margin-top: 0.5rem;
            margin-bottom: 0.5rem;
        }

    /* Horizontal rule */
    .article-body hr {
        border: 0;
        height: 1px;
        margin: 2rem 0;
        opacity: .18;
        background: currentColor;
    }

    /* Blockquotes */
    .article-body blockquote {
        margin: 1.5rem 0;
        padding: 0.9rem 1rem;
        border-left: 3px solid rgba(255,255,255,.28);
        background: rgba(255,255,255,.04);
        border-radius: 0.9rem;
        opacity: .95;
    }

        .article-body blockquote p {
            margin: 0.5rem 0;
        }

    /* Inline code */
    .article-body code {
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consol
    }

.support-card {
    margin-top: 2.25rem;
    padding: 1.5rem 1.5rem;
    border-radius: 1.25rem;
    max-width: 72ch; 
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .support-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, rgba(34,211,238,.10), rgba(99,102,241,.10) );
        pointer-events: none;
    }

    .support-card > * {
        position: relative;
    }

.support-text {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    opacity: .88;
}

.support-actions {
    margin-top: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}

.support-cta {
}

.support-note {
    font-size: .85rem;
    opacity: .65;
}

.support-break {
    display: inline;
}

@media (min-width: 640px) {
    .support-break {
        display: block;
    }
}
