/* ==========================================================================
   static/css/app.css
   MIT SMR style layer — Bootstrap 5 er upore bosano.
   Structure:
     1. Design tokens
     2. Base typography
     3. Header / navigation
     4. Buttons & utilities
     5. Article cards
     6. Hero
     7. Home sections (events, topics tabs, insight list)
     8. Article detail
     9. Listing / hub pages
    10. Newsletter + footer
    11. Responsive
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
    --ink: #000000;
    --ink-soft: #222222;
    --ink-muted: #4a4a4a;
    --ink-faint: #767676;
    --rule: #e0e0e0;
    --rule-soft: #ececec;
    --paper: #ffffff;
    --wash: #f7f7f7;
    --wash-deep: #f0f0f0;
    --blue: #005b9c;
    --blue-dark: #00426f;
    --red: #a31f34;
    --red-dark: #7d1727;

    --font-sans: "Segoe UI", "Source Sans 3", -apple-system, BlinkMacSystemFont,
        "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Guyot Headline", Georgia, "Iowan Old Style", "Times New Roman", serif;

    --shell: 1264px;
    --gutter: 24px;
}

/* 2. Base typography ----------------------------------------------------- */
body {
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--ink);
    text-decoration: none;
}

a:hover {
    color: var(--blue);
}

.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    line-height: 1.2;
}

.eyebrow:hover {
    color: var(--blue-dark);
    text-decoration: underline;
}

.eyebrow--light {
    color: #9fd0f5;
}

.byline {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.35;
}

.byline a {
    color: var(--ink-muted);
}

.byline a:hover {
    color: var(--blue);
}

.timestamp {
    font-size: 13px;
    color: var(--ink-faint);
}

.rule-heavy {
    border-top: 3px solid var(--ink);
}

.rule-thin {
    border-top: 1px solid var(--rule);
}

/* Section header: heavy rule + serif title (SMR signature) */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    border-top: 3px solid var(--ink);
    padding-top: 14px;
    margin-bottom: 26px;
}

.section-head h2 {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
}

.section-head .section-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    white-space: nowrap;
}

/* 3. Header -------------------------------------------------------------- */
.utility-bar {
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.utility-bar .shell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    height: 36px;
}

.utility-bar a {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
}

.utility-bar a:hover {
    color: #fff;
    text-decoration: underline;
}

.utility-bar .utility-bar__note {
    margin-right: auto;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.masthead {
    border-bottom: 1px solid var(--rule);
    background: var(--paper);
}

.masthead .shell {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-block: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand__mark {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    padding-right: 12px;
    border-right: 1px solid var(--rule);
}

.brand__word {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.35;
    max-width: 150px;
    color: var(--ink-soft);
}

.masthead__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

.search-inline {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 3px;
}

.search-inline input {
    border: 0;
    outline: 0;
    font-size: 14px;
    width: 168px;
    background: transparent;
}

.search-inline button {
    border: 0;
    background: transparent;
    padding: 0 4px;
    line-height: 1;
    color: var(--ink);
}

.primary-nav {
    border-bottom: 1px solid var(--rule);
    background: var(--paper);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.primary-nav .shell {
    display: flex;
    align-items: stretch;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.primary-nav .shell::-webkit-scrollbar {
    display: none;
}

.primary-nav__link {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--ink-soft);
    padding: 14px 12px;
    border-bottom: 3px solid transparent;
}

.primary-nav__link:hover,
.primary-nav__link.is-active {
    color: var(--ink);
    border-bottom-color: var(--red);
}

.primary-nav__link--strong {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.08em;
}

/* Mega dropdown */
.nav-flyout {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-top: 1px solid var(--rule);
    border-bottom: 3px solid var(--ink);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.09);
    display: none;
    padding: 26px 0 30px;
}

.nav-item-has-flyout:hover .nav-flyout,
.nav-item-has-flyout:focus-within .nav-flyout {
    display: block;
}

.nav-flyout__title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 12px;
}

.nav-flyout__list a {
    display: block;
    font-size: 15px;
    padding: 5px 0;
    color: var(--ink-soft);
}

.nav-flyout__list a:hover {
    color: var(--blue);
}

.trending-strip {
    background: var(--wash);
    border-bottom: 1px solid var(--rule);
    font-size: 13px;
}

.trending-strip .shell {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-block: 9px;
    overflow-x: auto;
    scrollbar-width: none;
}

.trending-strip__label {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 11px;
    color: var(--ink-faint);
    white-space: nowrap;
}

.trending-strip a {
    white-space: nowrap;
    color: var(--ink-soft);
    font-weight: 600;
}

/* 4. Buttons ------------------------------------------------------------- */
.btn-smr {
    --bs-btn-padding-y: 0.55rem;
    --bs-btn-padding-x: 1.25rem;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid transparent;
    padding: 0.6rem 1.3rem;
    line-height: 1.1;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-smr--red {
    background: var(--red);
    color: #fff;
}

.btn-smr--red:hover {
    background: var(--red-dark);
    color: #fff;
}

.btn-smr--ink {
    background: var(--ink);
    color: #fff;
}

.btn-smr--ink:hover {
    background: #333;
    color: #fff;
}

.btn-smr--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.btn-smr--ghost:hover {
    background: var(--ink);
    color: #fff;
}

.btn-smr--light {
    background: #fff;
    color: var(--ink);
}

.btn-smr--light:hover {
    background: var(--wash-deep);
    color: var(--ink);
}

.btn-loadmore {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 34px auto 0;
    text-align: center;
}

/* 5. Article cards ------------------------------------------------------- */
.cover {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: #10222f;
    background-size: cover;
    overflow: hidden;
}

.cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            115deg,
            rgba(255, 255, 255, 0.05) 0 2px,
            transparent 2px 22px
        );
}

.cover--tall {
    aspect-ratio: 4 / 3;
}

.cover--wide {
    aspect-ratio: 21 / 9;
}

/* Asol image thakle gradient er upor er texture overlay ta lagbe na */
.cover:has(.cover__img)::after {
    display: none;
}

/* Janeway theke asol image — gradient tar niche fallback hishebe thake */
.cover__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

.cover__badge {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    background: var(--ink);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 10px;
}

.card-article {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-article .headline {
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.005em;
    margin: 0;
}

.card-article .headline a:hover {
    color: var(--blue);
}

.card-article .dek {
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.45;
    margin: 0;
}

.card-article--sm .headline {
    font-size: 17px;
    line-height: 1.28;
}

.card-article--lg .headline {
    font-size: 27px;
    line-height: 1.16;
}

/* Horizontal list row (Latest Insights) */
.row-article {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
}

.row-article:first-child {
    padding-top: 0;
}

.row-article__body .headline {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.24;
    margin: 6px 0 8px;
}

.row-article--reverse {
    grid-template-columns: 1fr 220px;
}

.row-article--reverse .row-article__body {
    order: -1;
}

/* Compact text-only link list (topic carousels) */
.link-list__item {
    padding: 14px 0;
    border-bottom: 1px solid var(--rule-soft);
}

.link-list__item:last-child {
    border-bottom: 0;
}

.link-list__item .headline {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.26;
    margin: 5px 0 6px;
}

/* 6. Hero ---------------------------------------------------------------- */
.hero {
    background: var(--ink);
    color: #fff;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 2.35fr) minmax(0, 1fr);
}

.hero__feature {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: flex-end;
    background-color: #0b2c4a;
    background-size: cover;
    background-position: center;
}

/* Hero e asol image thakle overlay tar upore boshbe, text sob theke upore */
.hero__feature .cover__img {
    z-index: 0;
}

.hero__feature::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.55) 42%,
        rgba(0, 0, 0, 0.1) 78%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 42px 48px 46px;
    max-width: 760px;
}

.hero__content .headline {
    font-family: var(--font-serif);
    font-size: 46px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin: 12px 0 14px;
    color: #fff;
}

.hero__content .headline a {
    color: #fff;
}

.hero__content .dek {
    font-size: 19px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 16px;
    max-width: 640px;
}

.hero__content .byline {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.hero__aside {
    background: var(--wash);
    color: var(--ink);
    padding: 34px 30px;
    border-left: 1px solid var(--rule);
}

.hero__aside h2 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    border-top: 3px solid var(--ink);
    padding-top: 12px;
    margin-bottom: 6px;
}

.read-next__item {
    padding: 15px 0;
    border-bottom: 1px solid var(--rule);
}

.read-next__item:last-child {
    border-bottom: 0;
}

.read-next__item .headline {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    margin: 5px 0 0;
}

/* 7. Home sections ------------------------------------------------------- */
.section {
    padding-block: 46px;
}

.section--wash {
    background: var(--wash);
}

.section--tight {
    padding-block: 32px;
}

.event-card {
    background: var(--ink);
    color: #fff;
    padding: 28px 26px 30px;
}

.event-card .eyebrow {
    color: #9fd0f5;
}

.event-card h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.12;
    margin: 10px 0 12px;
    color: #fff;
}

.event-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 20px;
}

.event-card__meta {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Topic tabs */
.topic-tabs {
    display: flex;
    gap: 26px;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.topic-tabs::-webkit-scrollbar {
    display: none;
}

.topic-tabs .nav-link {
    border: 0;
    border-radius: 0;
    padding: 0 0 12px;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--ink-faint);
    white-space: nowrap;
    background: transparent;
    border-bottom: 3px solid transparent;
}

.topic-tabs .nav-link.active,
.topic-tabs .nav-link:hover {
    color: var(--ink);
    border-bottom-color: var(--red);
    background: transparent;
}

.topic-grid {
    column-count: 3;
    column-gap: 40px;
}

.topic-grid .link-list__item {
    break-inside: avoid;
}

/* Insight list (More Insights) */
.insight-row {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 34px;
    padding: 26px 0;
    border-bottom: 1px solid var(--rule);
}

.insight-row:first-of-type {
    border-top: 1px solid var(--rule);
}

.insight-row .headline {
    font-family: var(--font-serif);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.18;
    margin: 8px 0 10px;
}

.insight-row .dek {
    font-size: 16px;
    color: var(--ink-muted);
    margin-bottom: 12px;
}

/* Sidebar widgets */
.widget {
    border-top: 3px solid var(--ink);
    padding-top: 14px;
    margin-bottom: 34px;
}

.widget__title {
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 14px;
}

.issue-card {
    background: var(--wash);
    padding: 24px;
    text-align: center;
}

.issue-card__cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    max-width: 210px;
    margin: 0 auto 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px 16px;
    text-align: left;
    color: #fff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.issue-card__cover .issue-card__masthead {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.15;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    padding-bottom: 8px;
}

.issue-card__cover .issue-card__line {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
}

/* 8. Article detail ------------------------------------------------------ */
.article-header {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    padding-block: 46px 30px;
}

.article-header h1 {
    font-family: var(--font-serif);
    font-size: 44px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin: 14px 0 16px;
}

.article-header .dek {
    font-size: 20px;
    line-height: 1.45;
    color: var(--ink-muted);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 16px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--rule);
    font-size: 14px;
    color: var(--ink-muted);
}

.article-hero {
    aspect-ratio: 21 / 9;
    margin-bottom: 34px;
}

.prose {
    max-width: 700px;
    margin: 0 auto;
    font-size: 19px;
    line-height: 1.68;
    color: var(--ink-soft);
}

.prose > p {
    margin-bottom: 24px;
}

.prose > p:first-of-type::first-letter {
    font-family: var(--font-serif);
    float: left;
    font-size: 68px;
    line-height: 0.82;
    font-weight: 700;
    padding: 6px 12px 0 0;
}

.prose h2 {
    font-family: var(--font-serif);
    font-size: 27px;
    font-weight: 700;
    margin: 36px 0 14px;
}

.prose blockquote {
    border-left: 3px solid var(--red);
    margin: 30px 0;
    padding: 4px 0 4px 22px;
    font-family: var(--font-serif);
    font-size: 24px;
    line-height: 1.35;
    font-weight: 700;
}

/* Janeway galley theke asa HTML — amader prose style er sathe milano */
.article-body img,
.article-body figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 26px auto;
}

.article-body figure {
    margin: 30px 0;
}

.article-body figcaption {
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.45;
    margin-top: 10px;
    padding-left: 2px;
    border-left: 3px solid var(--rule);
    padding-left: 12px;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 26px 0;
    font-size: 16px;
}

.article-body table th,
.article-body table td {
    border-bottom: 1px solid var(--rule);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.article-body table th {
    border-bottom: 2px solid var(--ink);
    font-weight: 700;
}

/* Boro table mobile e page ta chorate parbe na */
.article-body .table-wrap,
.article-body table {
    overflow-x: auto;
    display: block;
    max-width: 100%;
}

.article-body h2 {
    font-family: var(--font-serif);
    font-size: 27px;
    font-weight: 700;
    margin: 36px 0 14px;
}

.article-body h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    margin: 28px 0 12px;
}

.article-body p {
    margin-bottom: 24px;
}

.article-body sup a,
.article-body .footnote {
    color: var(--blue);
}

.article-body ol,
.article-body ul {
    margin: 0 0 24px 22px;
}

.article-body li {
    margin-bottom: 8px;
}

.galley-links {
    max-width: 700px;
    margin: 40px auto 0;
    border-top: 3px solid var(--ink);
    padding-top: 16px;
}

.galley-links h2 {
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
}

.galley-links li {
    padding: 9px 0;
    border-bottom: 1px solid var(--rule-soft);
    font-size: 16px;
    font-weight: 600;
}

.galley-links a {
    color: var(--blue);
}

.paywall {
    max-width: 700px;
    margin: 34px auto 0;
    background: var(--wash);
    border-top: 3px solid var(--ink);
    padding: 30px 28px;
    text-align: center;
}

.paywall h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.paywall p {
    color: var(--ink-muted);
    font-size: 16px;
    margin-bottom: 18px;
}

/* 9. Listing / hub pages ------------------------------------------------- */
.page-head {
    border-bottom: 1px solid var(--rule);
    padding-block: 40px 30px;
    margin-bottom: 36px;
}

.page-head h1 {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 8px 0 10px;
}

.page-head p {
    font-size: 18px;
    color: var(--ink-muted);
    max-width: 720px;
    margin: 0;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.filter-chip {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 14px;
    border: 1px solid var(--rule);
    color: var(--ink-muted);
}

.filter-chip:hover,
.filter-chip.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.pagination-smr {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-smr a,
.pagination-smr span {
    min-width: 40px;
    text-align: center;
    padding: 9px 12px;
    border: 1px solid var(--rule);
    font-size: 14px;
    font-weight: 600;
}

.pagination-smr .is-current {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.topic-group {
    margin-bottom: 40px;
}

.topic-group h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    border-top: 3px solid var(--ink);
    padding-top: 12px;
    margin-bottom: 14px;
}

/* Journey stepper (author / reviewer workflow) --------------------------- */
.journey {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Step gulor majhkhane connecting line */
.journey::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: var(--rule);
}

.journey__step {
    position: relative;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 18px;
    padding-bottom: 28px;
}

.journey__step:last-child {
    padding-bottom: 0;
}

.journey__num {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.journey__title {
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
    margin: 5px 0 8px;
}

.journey__text {
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-muted);
    margin: 0;
}

.journey__cta {
    margin-top: 14px;
}

@media (max-width: 575.98px) {
    .journey::before {
        left: 14px;
    }

    .journey__step {
        grid-template-columns: 30px 1fr;
        gap: 14px;
    }

    .journey__num {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .journey__title {
        font-size: 19px;
    }
}

/* 10. Newsletter + footer ------------------------------------------------ */
.newsletter {
    background: var(--wash);
    border-top: 1px solid var(--rule);
    padding-block: 48px;
}

.newsletter h2 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.newsletter p {
    color: var(--ink-muted);
    margin-bottom: 0;
}

.newsletter__form {
    display: flex;
    gap: 0;
    max-width: 460px;
}

.newsletter__form input {
    flex: 1;
    border: 1px solid var(--ink);
    border-right: 0;
    padding: 12px 14px;
    font-size: 15px;
    outline: 0;
    background: #fff;
}

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.78);
    padding-block: 46px 30px;
    font-size: 14px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
}

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

.footer-topics {
    columns: 3;
    column-gap: 28px;
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    align-items: center;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 10px;
}

/* Flash messages */
.flash {
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--rule);
}

.flash--success {
    background: #e8f4ea;
    color: #1c5c2c;
}

.flash--error {
    background: #fdeaec;
    color: var(--red-dark);
}

/* 11. Responsive --------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .hero__content .headline {
        font-size: 38px;
    }

    .topic-grid {
        column-count: 2;
    }
}

@media (max-width: 991.98px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__feature {
        min-height: 420px;
    }

    .hero__aside {
        border-left: 0;
        border-top: 1px solid var(--rule);
    }

    .insight-row {
        grid-template-columns: 1fr 220px;
        gap: 22px;
    }

    .footer-topics {
        columns: 2;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 17px;
    }

    .hero__content {
        padding: 26px 22px 30px;
    }

    .hero__content .headline {
        font-size: 30px;
    }

    .hero__content .dek {
        font-size: 17px;
    }

    .section-head h2 {
        font-size: 25px;
    }

    .article-header h1 {
        font-size: 32px;
    }

    .prose {
        font-size: 18px;
    }

    .insight-row {
        grid-template-columns: 1fr;
    }

    .insight-row .insight-row__cover {
        order: -1;
        margin-bottom: 4px;
    }

    .insight-row .headline {
        font-size: 22px;
    }

    .row-article {
        grid-template-columns: 104px 1fr;
        gap: 14px;
    }

    .topic-grid {
        column-count: 1;
    }

    .footer-topics {
        columns: 1;
    }

    .newsletter__form {
        max-width: none;
    }

    .masthead .shell {
        flex-wrap: wrap;
    }

    .search-inline input {
        width: 120px;
    }
}
