/* ==========================================================================
   TIMVEST INSIGHTS PAGE STYLES (insights.css)
   ========================================================================== */

/* 
   -------------------------------------------------------------------------
   EASY COLOR CUSTOMIZATION (SECTION-BY-SECTION VARIABLES)
   Modify these variables to alter background, text, card, or highlight colors.
   -------------------------------------------------------------------------
*/
:root {
    /* Global Palette Defaults */
    --brand-red: #c8102e;
    --brand-red-hover: #a00c23;
    --brand-pill: #c8102e;
    --accent-gold: #c8a362;
    --text-white: #ffffff;
    --text-black: #000000;
    --text-muted: rgba(255, 255, 255, 0.78);
    --border-subtle: rgba(255, 255, 255, 0.08);

    /* Header Nav Colors */
    --header-bg: transparent;
    --nav-text: #ffffff;
    --nav-hover: #c8a362;
    --pill-text: #ffffff;

    /* Global Typography */
    --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* --- SECTION 1: HERO SECTION --- */
    --hero-bg-overlay-top: rgba(0, 0, 0, 0.65);
    --hero-bg-overlay-bottom: rgba(0, 0, 0, 0.90);
    --hero-text-color: #ffffff;

    /* --- SECTION 2: EDITORIAL THEMES SECTION --- */
    --themes-sec-bg: #0d0d0d;           /* Dark background */
    --themes-title-color: #ffffff;
    --themes-card-bg: #141414;          /* Dark card surface */
    --themes-card-border: rgba(255, 255, 255, 0.08);
    --themes-card-title: #ffffff;
    --themes-card-text: rgba(255, 255, 255, 0.75);

    /* --- SECTION 3: PUBLISHING FRAMEWORK (TABLE) SECTION --- */
    --framework-sec-bg: #121212;        /* Dark background */
    --framework-title-color: #ffffff;
    --framework-table-bg: #181818;
    --framework-table-header-bg: #1f1f1f;
    --framework-table-text: rgba(255, 255, 255, 0.85);

    /* --- SECTION 4: EDITORIAL BOILERPLATE & CTA SECTION --- */
    --boilerplate-sec-bg: #f7f5ef;      /* Light section background */
    --boilerplate-title-color: #000000;
    --boilerplate-text-color: #333333;
    --cta-box-bg: #141414;             /* Contrast dark CTA card */
    --cta-box-title: #ffffff;
    --cta-box-text: rgba(255, 255, 255, 0.8);

    /* --- SECTION 5: MEDIA ENQUIRIES SECTION --- */
    --media-sec-bg: #080808;            /* Pitch black section */
    --media-title-color: #ffffff;
    --media-text-color: rgba(255, 255, 255, 0.85);
    --media-card-bg: #121212;

    /* --- SECTION 6: FOOTER --- */
    --footer-bg: #050505;
    --input-bg: #1a1a1a;
}

/* Base resets & typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--themes-sec-bg);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.body-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ==========================================================================
   HEADER & HERO WRAPPER
   ========================================================================== */
.hero-wrapper {
    position: relative;
    min-height: 80vh;
    background: linear-gradient(180deg, var(--hero-bg-overlay-top) 0%, var(--hero-bg-overlay-bottom) 100%), 
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.75rem 0;
    background: var(--header-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-slot {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-slot img {
    height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
}

.nav-link {
    color: var(--nav-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--nav-hover);
}

.header-actions {
    display: flex;
    align-items: center;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-pill);
    color: var(--pill-text);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-height: 44px;
}

.btn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.3);
    filter: brightness(1.05);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--nav-text);
    margin: 5px 0;
    transition: 0.3s;
}

/* ==========================================================================
   SECTION 1: HERO SECTION
   ========================================================================== */
.insights-hero {
    padding: 8rem 0 5rem 0;
    color: var(--hero-text-color);
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 2rem;
    max-width: 1050px;
}

.hero-headline .highlight {
    color: var(--accent-gold);
}

.hero-intro {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 880px;
    line-height: 1.7;
}

/* ==========================================================================
   SECTION 2: EDITORIAL THEMES
   ========================================================================== */
.themes-section {
    background-color: var(--themes-sec-bg);
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.themes-section .section-title {
    color: var(--themes-title-color);
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
}

.theme-card {
    background-color: var(--themes-card-bg);
    border: 1px solid var(--themes-card-border);
    padding: 2rem 1.5rem;
    border-radius: 6px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.theme-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
}

.theme-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.theme-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--themes-card-title);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.theme-card p {
    font-size: 0.9rem;
    color: var(--themes-card-text);
    line-height: 1.6;
}

/* ==========================================================================
   SECTION 3: PUBLISHING FRAMEWORK (TABLE)
   ========================================================================== */
.framework-section {
    background-color: var(--framework-sec-bg);
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.framework-section .section-title {
    color: var(--framework-title-color);
}

.framework-table-wrapper {
    margin-top: 2.5rem;
    overflow-x: auto;
}

.framework-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--framework-table-bg);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.framework-table th {
    background-color: var(--framework-table-header-bg);
    text-align: left;
    padding: 1.25rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
    border-bottom: 1px solid var(--border-subtle);
}

.framework-table td {
    padding: 1.25rem 1.75rem;
    color: var(--framework-table-text);
    font-size: 0.98rem;
    border-bottom: 1px solid var(--border-subtle);
}

.framework-table tr:last-child td {
    border-bottom: none;
}

/* Badges for Content Labels */
.label-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-perspective { background-color: rgba(200, 162, 98, 0.2); color: var(--accent-gold); border: 1px solid var(--accent-gold); }
.badge-fieldnote   { background-color: rgba(40, 167, 69, 0.2); color: #5dd579; border: 1px solid #28a745; }
.badge-research    { background-color: rgba(0, 123, 255, 0.2); color: #66b0ff; border: 1px solid #007bff; }
.badge-update      { background-color: rgba(255, 193, 7, 0.2); color: #ffe066; border: 1px solid #ffc107; }
.badge-announcement{ background-color: rgba(200, 16, 46, 0.2); color: #ff6b81; border: 1px solid var(--brand-red); }
.badge-media       { background-color: rgba(23, 162, 184, 0.2); color: #5cdbfa; border: 1px solid #17a2b8; }

/* ==========================================================================
   SECTION 4: EDITORIAL BOILERPLATE & CTA
   ========================================================================== */
.boilerplate-section {
    background-color: var(--boilerplate-sec-bg);
    color: var(--boilerplate-text-color);
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.boilerplate-section .section-title {
    color: var(--boilerplate-title-color);
}

.author-note-box {
    border-left: 3px solid var(--brand-red);
    padding-left: 1.5rem;
    margin-top: 1.5rem;
}

.author-note-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    color: #222222;
}

.author-note-box cite {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #666666;
    font-style: normal;
}

.cta-box {
    background-color: var(--cta-box-bg);
    padding: 3rem 2.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
}

.cta-heading {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--cta-box-title);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1rem;
    color: var(--cta-box-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ==========================================================================
   SECTION 5: MEDIA ENQUIRIES
   ========================================================================== */
.media-enquiries-section {
    background-color: var(--media-sec-bg);
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.center-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.media-enquiries-section .section-title {
    color: var(--media-title-color);
}

.media-text {
    font-size: 1.1rem;
    color: var(--media-text-color);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.media-contact-card {
    background-color: var(--media-card-bg);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    border-radius: 6px;
    display: inline-block;
    width: 100%;
}

.media-email {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-gold);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.media-notice {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* ==========================================================================
   BUTTON STYLES
   ========================================================================== */
.btn-primary {
    background-color: var(--brand-pill);
    color: var(--text-white);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-tertiary {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    text-align: center;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}

.btn-tertiary:hover {
    color: var(--text-white);
    text-decoration: underline;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--footer-bg);
    padding: 5rem 0 3rem 0;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-white);
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand-col .logo-slot img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-address {
    font-size: 1.65rem;
    line-height: 1.3;
    font-weight: 600;
    color: var(--text-white);
    max-width: 440px;
    letter-spacing: -0.02em;
    margin-top: 0.35rem;
}

.newsletter-box {
    margin-top: 1rem;
    max-width: 440px;
}

.newsletter-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.newsletter-input-wrap {
    background-color: var(--input-bg);
    border-radius: 100px;
    padding: 5px 6px 5px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-input-wrap input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-white);
    font-size: 0.9rem;
    width: 100%;
}

.newsletter-input-wrap input::placeholder {
    color: var(--text-muted);
}

.btn-newsletter {
    background-color: var(--text-white);
    color: #111111;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.6rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.btn-newsletter:hover {
    opacity: 0.9;
}

.newsletter-consent {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.5;
}

.newsletter-consent a {
    color: var(--text-white);
    text-decoration: underline;
}

.footer-col h4 {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.footer-col a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--brand-pill);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.copyright-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.compliance-disclaimer {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .themes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2col {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .themes-grid {
        grid-template-columns: 1fr;
    }
    .hero-headline {
        font-size: 2.25rem;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
}