@charset "utf-8";

/* ============================================================
   1. CORE FOUNDATION & VARIABLES (2026)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --pinstripe: 1.5px solid #ffffff;
    --cc-blue: #3a6c85;
    --cc-dark: #2a3439;
    --cc-slate: #69828f;
    --cc-green: #009444;
}

* {
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0; 
    padding: 0;
    background-color: #f4f4f4;
    color: var(--cc-dark);
}

/* ============================================================
   2. MAIN GRID SHELL
   ============================================================ */
.grid {
    max-width: 950px;
    margin: auto;
    display: grid;
    min-height: 100vh;
    grid-template-columns: 100%;
    grid-template-rows: auto auto 1fr auto; 
    grid-template-areas: 
        "hd" 
        "nav" 
        "art" 
        "ft";
}

@media (min-width: 768px) {
    .grid {
        background-color: #ffffff;
        box-shadow: -1px 0px 2px #69828f, 1px 0px 2px #69828f;
    }
}

/* ============================================================
   3. HEADER & LOGO
   ============================================================ */
header {
    grid-area: hd;
    background-color: var(--cc-dark);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23ffffff' fill-opacity='0.09' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
    padding: 15px 0;
}

.logo { 
    margin: 0 auto; 
    display: block; 
    width: 85%; 
    max-width: 450px; 
    height: auto; 
}

/* ============================================================
   4. NAVIGATION (Desktop & Mobile)
   ============================================================ */
.desktop-nav, .mobile-nav {
    grid-area: nav;
    background-color: var(--cc-blue);
    border-top: var(--pinstripe);
    border-bottom: var(--pinstripe);
}

.desktop-nav { display: none; }
.mobile-nav { display: block; }

@media (min-width: 768px) {
    .desktop-nav { display: block; }
    .mobile-nav { display: none; }
    .desktop-nav ul { text-align: center; padding: 10px 0; margin: 0; list-style: none; }
    .desktop-nav li { display: inline-block; margin: 0 12px; }
    .desktop-nav a { text-decoration: none; color: #ffffff; font-size: 16px; font-weight: 600; transition: 0.3s ease; }
    .desktop-nav a:hover { color: #f4f4f4; border-bottom: 2px solid #ffffff; }
}

.accordion { 
    background-color: var(--cc-blue); 
    color: #ffffff; 
    padding: 18px; 
    width: 100%; 
    border: none; 
    text-transform: uppercase; 
    font-size: 18px; 
    font-weight: 600; 
    cursor: pointer; 
}

.mobile-nav .panel {
    display: none;
    background-color: var(--cc-slate);
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.mobile-nav .panel ul { padding: 0; margin: 0; list-style: none; }
.mobile-nav .panel li { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-nav .panel li:last-child { border-bottom: none; }
.mobile-nav .panel a { color: #ffffff; text-decoration: none !important; display: block; font-size: 18px; font-weight: 600; }

/* ============================================================
   5. ARTICLE LAYOUT & TYPOGRAPHY
   ============================================================ */
article { 
    grid-area: art; 
    padding: 30px; 
    line-height: 1.6; 
    background-color: #ffffff; 
}

/* Headline Styles */
.article-header h1 {
    color: var(--cc-blue);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    margin: 0 0 1.1rem 0;
}

.article-header h2 {
    color: var(--cc-dark);
    font-size: 1.35rem; 
    font-weight: 300; 
    line-height: 1.4;
    text-align: left;
    opacity: 0.9;
    margin: 0 0 1.1rem 0;
}

.byline-wrapper {
    color: var(--cc-dark);
    font-size: 1.35rem; 
    font-weight: 700;
    line-height: 1.2;
    display: block;
    margin-bottom: 1.5rem;
}

/* Body Text Styles */
.article-text p {
    font-size: 1.15rem; /* 14pt equivalent */
    color: #333333;
    line-height: 1.7;
    text-align: left; 
    margin: 0 0 1.5rem 0;
}

@media (min-width: 768px) {
    .article-text p {
        text-align: justify;
        text-justify: inter-word;
    }
}

.article-text h3 {
    color: var(--cc-blue);
    font-size: 1.6rem;
    font-weight: 700;
    text-align: left;
    line-height: 1.3;
    margin: 2.8rem 0 1.2rem 0;
}

.article-text a { color: var(--cc-blue); text-decoration: none; font-weight: 600; }
.article-text a:hover { text-decoration: underline; }

/* ============================================================
   6. IMAGES & FIGURES
   ============================================================ */

/* Main Hero Image */
.article-hero {
    display: block;
    width: 100%;
    margin: 1.1rem 0 2rem 0;
    padding: 0;
}

.article-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.article-hero figcaption, 
.article-body-image figcaption {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 11pt;
    color: var(--cc-slate);
    font-style: italic;
    line-height: 1.4;
}

/* In-Article Images (Centered 600px) */
.article-body-image {
    display: block;
    width: 100%;
    max-width: 600px; 
    margin: 2.5rem auto; 
}

.article-body-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* ============================================================
   7. FOOTER & RESPONSIVE REFINEMENTS
   ============================================================ */
footer {
    grid-area: ft;
    background-color: var(--cc-dark);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
    padding: 50px 20px; 
    color: #aebfc7; 
    text-align: center; 
    border-top: var(--pinstripe);
}

footer ul { 
    list-style: none; 
    padding: 0; 
    margin: 0 auto 25px auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

footer li { display: inline-block; }
footer a { color: #aebfc7; text-decoration: none; font-weight: 600; text-transform: uppercase; }
footer p { font-size: 11px; margin-top: 35px; opacity: 0.6; }

@media (min-width: 768px) {
    footer { border-top: 3px solid var(--cc-blue); }
}

/* Mobile Footer Stacking (< 600px) */
@media (max-width: 600px) {
    footer ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    footer a { font-size: 14px; letter-spacing: 1px; }
}

/* ============================================================
   8. UTILITIES (Back to Top)
   ============================================================ */
#backToTop {
    display: none; 
    position: fixed; 
    bottom: 25px; 
    left: 25px; 
    z-index: 99; 
    width: 50px; 
    height: 50px; 
    padding: 0 !important;
    background-color: var(--cc-green); 
    color: #ffffff; 
    border: none; 
    border-radius: 50%; 
    display: flex !important; 
    align-items: center; 
    justify-content: center;
    font-size: 24px; 
    font-weight: bold; 
    text-decoration: none; 
    box-shadow: 2px 4px 10px rgba(0,0,0,0.2); 
    cursor: pointer; 
    transition: all 0.3s ease;
}

#backToTop:hover { 
    background-color: var(--cc-dark); 
    transform: scale(1.1); 
}

/* ============================================================
   ARTICLE CALL-OUT (LANDSCAPE IMAGE RIGHT)
   ============================================================ */

.read-also-box {
    margin: 2.5rem 0;
    padding: 1.2rem;
    background-color: #f9f9f9;
    border-left: 4px solid var(--cc-green);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 750px;
}

.read-also-box:hover {
    background-color: #f0f4f7;
    border-left-width: 8px; /* The "growing bar" effect */
}

.read-also-content {
    flex-grow: 1;
}

.read-also-thumb {
    flex-shrink: 0;
    /* Landscape settings: 120px wide by 80px high (3:2 ratio) */
    width: 120px; 
    height: 80px;
    overflow: hidden;
    border-radius: 2px;
}

.read-also-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Still crops nicely if original is different ratio */
}

/* Typography remains consistent with your elegant style */
.read-also-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cc-slate);
    letter-spacing: 1.2px;
    margin-bottom: 4px;
}

.read-also-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cc-dark);
    line-height: 1.3;
}

/* Mobile: Ensure the landscape image doesn't squash the text */
@media (max-width: 480px) {
    .read-also-box {
        gap: 15px;
        padding: 1rem;
    }
    .read-also-thumb {
        width: 90px;
        height: 60px;
    }
}