/* ═══════════════════════════════════════════════════════════
   ECOG TIMES — NEWSPAPER STYLE ARTICLES PAGE
   ═══════════════════════════════════════════════════════════ */

/* Newspaper Masthead */
.newspaper-masthead {
    background: #fdf8f0;
    padding: 20px 0 0;
    border-bottom: 4px double #1a1a2e;
    margin-top: 80px;
}

.masthead-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.masthead-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 12px;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-bottom: 12px;
    border-bottom: 1px solid #d4c5a9;
}

.masthead-rule {
    height: 3px;
    background: #1a1a2e;
    margin: 10px 0;
}

.masthead-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 15px 0;
}

.masthead-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.masthead-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 56px;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 6px;
    line-height: 1;
    margin: 0;
}

.masthead-tagline {
    font-family: 'Georgia', serif;
    font-size: 14px;
    color: #555;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 5px 0 0;
}

.masthead-nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-family: 'Georgia', serif;
    font-size: 12px;
    color: #888;
    letter-spacing: 1px;
    padding: 12px 0;
    border-top: 1px solid #d4c5a9;
}

/* Newspaper Body */
.newspaper-body {
    background: #fdf8f0;
    padding: 40px 0 60px;
}

.newspaper-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Dividers */
.newspaper-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #c4b08a, transparent);
    margin: 35px 0;
}

/* Lead Story */
.lead-story {
    position: relative;
}

.lead-story-badge {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 14px;
    margin-bottom: 15px;
}

.lead-headline {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 38px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
    margin: 0 0 15px;
}

.lead-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #777;
    font-family: 'Georgia', serif;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.lead-meta i {
    margin-right: 5px;
    color: #b08d57;
}

.lead-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.lead-image-wrap img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.05);
}

.image-caption {
    font-family: 'Georgia', serif;
    font-size: 11px;
    color: #888;
    font-style: italic;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #d4c5a9;
}

.lead-text p {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
    text-align: justify;
}

.drop-cap::first-letter {
    font-size: 72px;
    float: left;
    line-height: 0.8;
    margin: 0 10px 0 0;
    color: #1a1a2e;
    font-family: 'Georgia', serif;
    font-weight: 700;
}

/* Two Column Layout */
.newspaper-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.news-column-article {
    border-left: 3px solid #1a1a2e;
    padding-left: 20px;
}

.column-label {
    display: inline-block;
    font-family: 'Arial', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #b08d57;
    text-transform: uppercase;
    margin-bottom: 10px;
    border-bottom: 2px solid #b08d57;
    padding-bottom: 3px;
}

.column-headline {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    margin: 0 0 10px;
}

.column-meta {
    font-size: 12px;
    color: #999;
    font-family: 'Georgia', serif;
    margin-bottom: 15px;
}

.column-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(30%) contrast(1.05);
    margin-bottom: 15px;
}

.news-column-article p {
    font-family: 'Georgia', serif;
    font-size: 15px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 12px;
    text-align: justify;
}

/* Quote Banner */
.newspaper-quote-banner {
    background: #1a1a2e;
    color: #fdf8f0;
    padding: 40px 50px;
    text-align: center;
    position: relative;
}

.newspaper-quote-banner i {
    font-size: 28px;
    color: #b08d57;
    margin-bottom: 15px;
    display: block;
}

.newspaper-quote-banner blockquote {
    font-family: 'Georgia', serif;
    font-size: 22px;
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 15px;
    color: #e8dcc8;
}

.newspaper-quote-banner cite {
    font-family: 'Georgia', serif;
    font-size: 14px;
    color: #b08d57;
    letter-spacing: 1px;
}

/* Three Column Grid */
.newspaper-three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card-newspaper {
    padding: 20px;
    border: 1px solid #d4c5a9;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.news-card-newspaper:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.card-label {
    display: inline-block;
    font-family: 'Arial', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #c0392b;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.news-card-newspaper h4 {
    font-family: 'Georgia', serif;
    font-size: 19px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    margin: 0 0 8px;
}

.card-meta {
    font-size: 11px;
    color: #999;
    font-family: 'Georgia', serif;
    margin-bottom: 12px;
}

.news-card-newspaper p {
    font-family: 'Georgia', serif;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    text-align: justify;
}

.read-more-link {
    display: inline-block;
    margin-top: 10px;
    font-family: 'Georgia', serif;
    font-size: 13px;
    color: #b08d57;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.read-more-link:hover {
    color: #1a1a2e;
}

/* Feature Story */
.feature-story {
    background: #fff;
    border: 1px solid #d4c5a9;
    padding: 30px;
}

.feature-story-inner {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    align-items: start;
}

.feature-image-wrap img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    filter: grayscale(20%);
}

.feature-headline {
    font-family: 'Georgia', serif;
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    margin: 0 0 10px;
}

.feature-content p {
    font-family: 'Georgia', serif;
    font-size: 15px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 12px;
    text-align: justify;
}

/* Milestones Sidebar */
.milestones-sidebar {
    background: #1a1a2e;
    color: #fdf8f0;
    padding: 25px;
}

.sidebar-title {
    font-family: 'Georgia', serif;
    font-size: 20px;
    color: #b08d57;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(176,141,87,0.3);
}

.sidebar-title i {
    margin-right: 8px;
}

.milestone-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.milestone-date {
    display: inline-block;
    font-family: 'Arial', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #b08d57;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.milestone-item p {
    font-family: 'Georgia', serif;
    font-size: 14px;
    line-height: 1.5;
    color: #ccc;
    margin: 0;
}

.sidebar-cta {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(176,141,87,0.3);
}

.sidebar-cta h4 {
    font-family: 'Georgia', serif;
    font-size: 16px;
    color: #b08d57;
    margin: 0 0 12px;
}

.sidebar-social {
    display: flex;
    gap: 10px;
}

.sidebar-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(176,141,87,0.4);
    color: #b08d57;
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none;
}

.sidebar-social a:hover {
    background: #b08d57;
    color: #1a1a2e;
}

/* Zoho Bigin Section */
.newspaper-bigin-section {
    background: #fdf8f0;
    padding: 50px 20px;
    border-top: 4px double #1a1a2e;
}

.bigin-inner {
    max-width: 800px;
    margin: 0 auto;
}

.bigin-header {
    text-align: center;
    margin-bottom: 30px;
}

.bigin-header h3 {
    font-family: 'Georgia', serif;
    font-size: 28px;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.bigin-header p {
    font-family: 'Georgia', serif;
    font-size: 15px;
    color: #777;
}

.bigin-form-wrap {
    background: #fff;
    border: 1px solid #d4c5a9;
    padding: 10px;
}

.bigin-form-wrap iframe {
    display: block;
}

/* Footer */
.newspaper-footer {
    background: #ffffff;
    color: #555;
    padding: 50px 20px 30px;
    border-top: 4px double #1a1a2e;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0d6c2;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-family: 'Georgia', serif;
    font-size: 14px;
    line-height: 1.6;
    color: #777;
}

.footer-links-group h4 {
    font-family: 'Georgia', serif;
    font-size: 16px;
    color: #1a1a2e;
    margin: 0 0 15px;
}

.footer-links-group a {
    display: block;
    font-family: 'Georgia', serif;
    font-size: 14px;
    color: #777;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.3s;
}

.footer-links-group a:hover {
    color: #b08d57;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
}

.footer-bottom p {
    font-family: 'Georgia', serif;
    font-size: 12px;
    color: #999;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .lead-story-grid {
        grid-template-columns: 1fr;
    }
    .feature-story-inner {
        grid-template-columns: 1fr;
    }
    .feature-image-wrap img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .newspaper-masthead {
        margin-top: 70px;
    }
    .masthead-title {
        font-size: 32px;
        letter-spacing: 3px;
    }
    .masthead-tagline {
        font-size: 11px;
        letter-spacing: 1.5px;
    }
    .masthead-logo {
        width: 45px;
        height: 45px;
    }
    .masthead-top-bar {
        flex-direction: column;
        gap: 5px;
    }
    .masthead-nav-bar {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 10px;
    }
    .lead-headline {
        font-size: 26px;
    }
    .lead-image-wrap img {
        height: 220px;
    }
    .newspaper-two-col {
        grid-template-columns: 1fr;
    }
    .newspaper-three-col {
        grid-template-columns: 1fr;
    }
    .newspaper-quote-banner {
        padding: 30px 20px;
    }
    .newspaper-quote-banner blockquote {
        font-size: 18px;
    }
    .feature-story {
        padding: 20px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .bigin-form-wrap iframe {
        height: 450px;
    }
    .masthead-logo-row {
        gap: 15px;
    }
    .column-headline {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .masthead-title {
        font-size: 24px;
        letter-spacing: 2px;
    }
    .masthead-logo {
        width: 35px;
        height: 35px;
    }
    .lead-headline {
        font-size: 22px;
    }
    .lead-text p {
        font-size: 14px;
    }
    .drop-cap::first-letter {
        font-size: 52px;
    }
}

/* ═══════════════════════════════════════════════════════════
   SCROLL TO TOP BUTTON
   ═══════════════════════════════════════════════════════════ */

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #1a1a2e;
    color: #b08d57;
    border: 2px solid #b08d57;
    border-radius: 0;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9998;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: #b08d57;
    color: #1a1a2e;
}

/* Adjust TTS button position so it doesn't overlap */
.text-to-speech-btn {
    bottom: 90px !important;
    right: 30px !important;
}
