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

body {
    background: #e2e8f0;   /* subtle gray for screen, won't print */
    font-family: "Noto Serif Bengali", serif;
    line-height: 1.5;
    color: #111;
    padding: 2rem 1rem;
}

/* main news card - screen appearance */
.news-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    overflow: hidden;
    padding: 2rem 2rem 1.5rem 2rem;
}

/* ========== PRINT OPTIMIZATION ========== */
@media print {
    body {
        background: white;
        padding: 0;
        margin: 0;
        color: black;
        font-size: 12pt;  /* base readable print size */
    }

    .news-container {
        max-width: 100%;
        padding: 0.2in;
        margin: 0;
        box-shadow: none;
        border-radius: 0;
        background: white;
    }

    /* remove background colors, shadows, ensure high contrast */
    .logo-area, .category-badge, .featured-figure, .footer-info {
        break-inside: avoid;
    }

    h1, h2, p, .meta-text {
        orphans: 3;
        widows: 3;
    }

    /* ensure links show urls? not needed for contact but optional */
    a {
        text-decoration: none;
        color: black;
    }

    /* optional: hide any potential interactive extras (there are none) */
    .print-hint {
        display: none;
    }

    /* force images to fit page and be visible */
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    .featured-img {
        break-inside: avoid;
    }

    footer {
        border-top: 1px solid #ccc;
        margin-top: 1rem;
    }
}

/* -------------------------------
    LAYOUT COMPONENTS
------------------------------- */
/* logo row */
.logo-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    border-bottom: 2px solid #1e3a5f;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.logo-img {
    display: block;
    max-height: 70px;
    width: auto;
}

/* news category */
.category-section {
    margin-bottom: 1rem;
}

.category-badge {
    display: inline-block;
    background: #cf2e2e;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-family: "Noto Serif Bengali", serif;
}

/* headline */
.article-headline {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0.75rem 0 0.5rem 0;
    line-height: 1.2;
    color: #0b2b40;
}

.meta-date {
    font-size: 0.85rem;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
    font-family: "Noto Serif Bengali", serif;
}

/* featured image */
.featured-figure {
    margin: 1rem 0 1.5rem 0;
    background: #f8fafc;
    text-align: center;
}

.featured-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.img-caption {
    font-size: 0.8rem;
    color: #2d3748;
    margin-top: 0.5rem;
    font-style: italic;
    text-align: center;
}

/* news content */
.news-content {
    margin-top: 1rem;
}

.news-content p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    text-align: justify;
}

.news-content h3 {
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 600;
    color: #1e3a5f;
}

.dropcap::first-letter {
    font-size: 3.5rem;
    font-weight: bold;
    float: left;
    line-height: 0.8;
    margin-right: 0.5rem;
    color: #b22234;
}

/* pull quote style - extra */
.insight-quote {
    border-left: 4px solid #cf2e2e;
    background: #fef9e6;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    font-weight: 500;
    font-size: 1.05rem;
}

/* footer contact info */
.footer-info {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #cbd5e1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #2c3e50;
    font-family: "Noto Serif Bengali", serif;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact-details span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.copyright {
    font-size: 0.75rem;
    color: #5b6e8c;
}

/* print-friendly small hint - visible only screen */
.print-note {
    text-align: right;
    font-size: 0.7rem;
    margin-top: 0.5rem;
    color: #6b7280;
}

@media print {
    .print-note {
        display: none;
    }
}

/* responsiveness */
@media (max-width: 700px) {
    .news-container {
        padding: 1.25rem;
    }
    .article-headline {
        font-size: 1.8rem;
    }
    .footer-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
}
