/* The Economic Review - Magazine Spread Style */
/* Near-black (#111827) header + Indigo (#6366f1) accent + Light gray (#f9fafb) body */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    background-color: #f9fafb;
    color: #374151;
    line-height: 1.65;
}

/* ---- DARK NAV WITH PILL LINKS ---- */
.mag-nav {
    background-color: #111827;
    padding: 0 20px;
}

.mag-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mag-brand {
    font-family: 'Arial Black', 'Helvetica Neue', Impact, sans-serif;
    font-size: 1.3rem;
    color: #fff;
    text-decoration: none;
    padding: 14px 0;
    letter-spacing: -0.5px;
}

.mag-brand em {
    color: #a5b4fc;
    font-style: normal;
}

.pill-nav {
    list-style: none;
    display: flex;
    gap: 8px;
}

.pill-nav a {
    color: #d1d5db;
    text-decoration: none;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    transition: background-color 0.2s, color 0.2s;
}

.pill-nav a:hover,
.pill-nav a.active {
    background-color: #6366f1;
    color: #fff;
}

/* ---- FEATURED HERO LAYOUT ---- */
.featured-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    min-height: 340px;
}

.hero-main {
    grid-row: 1 / 3;
    background: linear-gradient(135deg, #312e81, #6366f1);
    border-radius: 10px;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.hero-main .hero-tag {
    font-family: system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #c7d2fe;
    margin-bottom: 8px;
}

.hero-main h2 {
    font-family: 'Arial Black', 'Helvetica Neue', Impact, sans-serif;
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 8px;
}

.hero-main p {
    font-size: 0.9rem;
    color: #e0e7ff;
    line-height: 1.5;
    margin-bottom: 10px;
}

.hero-main a {
    color: #fff;
    font-family: system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.hero-main a:hover {
    text-decoration: underline;
}

.hero-side {
    background: linear-gradient(135deg, #1e1b4b, #4338ca);
    border-radius: 10px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.hero-side .hero-tag {
    font-family: system-ui, sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #c7d2fe;
    margin-bottom: 4px;
}

.hero-side h3 {
    font-family: 'Arial Black', 'Helvetica Neue', Impact, sans-serif;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 6px;
}

.hero-side p {
    font-size: 0.78rem;
    color: #c7d2fe;
    line-height: 1.45;
}

/* ---- MASONRY-STYLE GRID ---- */
.masonry-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 60px;
}

.masonry-label {
    font-family: 'Arial Black', 'Helvetica Neue', Impact, sans-serif;
    font-size: 1.2rem;
    color: #111827;
    margin-bottom: 16px;
    margin-top: 10px;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(160px, auto);
    gap: 16px;
}

.masonry-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 24px 22px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.masonry-card:hover {
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.12);
}

.masonry-card.tall {
    grid-row: span 2;
}

.masonry-card .pill-tag {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: #fff;
    font-family: system-ui, sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    align-self: flex-start;
}

.masonry-card h3 {
    font-family: 'Arial Black', 'Helvetica Neue', Impact, sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 8px;
}

.masonry-card p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.55;
}

.masonry-card a.card-link {
    font-family: system-ui, sans-serif;
    font-size: 0.8rem;
    color: #6366f1;
    text-decoration: none;
    font-weight: 700;
    margin-top: 8px;
}

.masonry-card a.card-link:hover {
    text-decoration: underline;
}

/* ---- ABOUT: MAGAZINE MASTHEAD ---- */
.masthead-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.masthead-section .about-prose {
    max-width: 800px;
    margin-bottom: 40px;
}

.masthead-section .about-prose p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 14px;
}

.masthead-heading {
    font-family: 'Arial Black', 'Helvetica Neue', Impact, sans-serif;
    font-size: 1.6rem;
    color: #111827;
    margin-bottom: 20px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.staff-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}

.staff-card .indigo-stripe {
    height: 5px;
    background: linear-gradient(90deg, #6366f1, #818cf8);
}

.staff-card .card-body {
    padding: 22px 20px;
}

.staff-card h3 {
    font-family: 'Arial Black', 'Helvetica Neue', Impact, sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 2px;
}

.staff-card .s-role {
    font-family: system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: #6366f1;
    margin-bottom: 12px;
}

.staff-card p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 10px;
}

.staff-card a {
    font-family: system-ui, sans-serif;
    font-size: 0.78rem;
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
}

.staff-card a:hover {
    text-decoration: underline;
}

/* ---- CONTACT: FULL-WIDTH INDIGO ---- */
.contact-indigo {
    background: linear-gradient(135deg, #4338ca, #6366f1);
    padding: 60px 20px;
}

.contact-indigo-inner {
    max-width: 560px;
    margin: 0 auto;
}

.contact-indigo h2 {
    font-family: 'Arial Black', 'Helvetica Neue', Impact, sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 6px;
}

.contact-indigo .contact-sub {
    color: #c7d2fe;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.underline-form label {
    display: block;
    font-family: system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #c7d2fe;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.underline-form input,
.underline-form textarea {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.95rem;
    margin-bottom: 22px;
    transition: border-color 0.2s;
}

.underline-form input::placeholder,
.underline-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.underline-form input:focus,
.underline-form textarea:focus {
    outline: none;
    border-bottom-color: #fff;
}

.underline-form textarea {
    height: 100px;
    resize: vertical;
}

.underline-form button {
    background-color: #fff;
    color: #4338ca;
    border: none;
    padding: 12px 36px;
    font-family: system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.underline-form button:hover {
    opacity: 0.9;
}

/* ---- ARTICLE CONTENT ---- */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
}

.article-content h1 {
    font-family: 'Arial Black', 'Helvetica Neue', Impact, sans-serif;
    font-size: 2.2rem;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.2;
}

.article-meta {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.article-content h2 {
    font-family: 'Arial Black', 'Helvetica Neue', Impact, sans-serif;
    font-size: 1.4rem;
    color: #111827;
    margin: 32px 0 14px;
}

.article-content p {
    margin-bottom: 18px;
    color: #4b5563;
}

.article-content ul,
.article-content ol {
    margin: 0 0 18px 24px;
    color: #4b5563;
}

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

/* ---- FOOTER ---- */
.site-footer {
    background-color: #111827;
    color: #6b7280;
    text-align: center;
    padding: 20px;
    font-family: system-ui, sans-serif;
    font-size: 0.78rem;
}

.site-footer a {
    color: #a5b4fc;
    text-decoration: none;
}

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

.site-footer .disclaimer {
    margin-top: 6px;
    font-size: 0.72rem;
    color: #4b5563;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .featured-hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .hero-main {
        grid-row: auto;
    }
    .masonry-grid {
        grid-template-columns: 1fr 1fr;
    }
    .staff-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .masonry-grid {
        grid-template-columns: 1fr;
    }
    .mag-nav-inner {
        flex-direction: column;
        gap: 8px;
    }
    .pill-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-main h2 {
        font-size: 1.3rem;
    }
}
