/* ARTICLE LAYOUT
   -------------------------------------------------- */

#main-content {
    background-color: #241f55;
    /* slightly richer black */
    color: #e7e7ea;
    /* softer than pure white */
}

/* Center the article and control line length */
.article-wrapper {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 32px 120px;
}

/* Cancel global all-caps & tracking just inside articles */
.article-wrapper,
.article-wrapper * {
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* HERO / TITLE
   -------------------------------------------------- */

.article-hero {
    padding-top: 160px;
    /* clear fixed header */
    padding-bottom: 48px;
    text-align: left;
}

.article-hero-title {
    font-size: clamp(2.6rem, 4vw, 3.4rem);
    line-height: 1.08;
    font-weight: 700;
    margin: 0;
}

/* Optional subtitle / meta */
.article-hero-subtitle {
    margin-top: 16px;
    font-size: 0.95rem;
    opacity: 0.7;
}

/* BODY TYPOGRAPHY
   -------------------------------------------------- */

.article-body {
    margin-top: 32px;
    font-size: 1.02rem;
    line-height: 1.8;
}

/* vertical rhythm between blocks */
.article-body>*+* {
    margin-top: 1.3em;
}

/* paragraphs: comfortable line length & softer color */
.article-body p {
    max-width: 70ch;
    color: #d6d6da;
}

/* headings inside body */
.article-body h2,
.article-body h3 {
    margin-top: 2.6em;
    margin-bottom: 0.4em;
    font-weight: 600;
}

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

.article-body h3 {
    font-size: 1.15rem;
    opacity: 0.9;
}

/* lists */
.article-body ul,
.article-body ol {
    padding-left: 1.4rem;
}

.article-body li+li {
    margin-top: 0.35em;
}

/* pull quotes / callouts (optional class) */
.article-body .callout {
    margin: 2.2em 0;
    padding: 1.2em 1.4em;
    border-left: 3px solid #555;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

/* LINKS */
.article-body a {
    color: #f5f5f5;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

/* RESPONSIVE
   -------------------------------------------------- */

@media (max-width: 1024px) {
    .article-wrapper {
        padding: 0 24px 96px;
        max-width: 680px;
    }
}

@media (max-width: 767px) {
    .article-hero {
        padding-top: 120px;
        padding-bottom: 32px;
    }

    .article-hero-title {
        font-size: clamp(2.1rem, 7vw, 2.6rem);
    }

    .article-body {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .article-wrapper {
        padding: 0 18px 72px;
    }
}