/* ==========================================================================
   START SECTION 1: CSS CUSTOM PROPERTIES (THEME VARIABLES)
   Centralized color palette, shadows, and cubic-bezier animation curve
   ========================================================================== */
:root {
    --primary-red: #d32f2f;
    --deep-red: #b71c1c;
    --success-green: #00897b;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --text-dark: #2d3436;
    --card-shadow: 0 15px 35px rgba(0,0,0,0.08);
    --card-hover-shadow: 0 20px 40px rgba(0,0,0,0.14);
    --transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}
/* END SECTION 1: CSS CUSTOM PROPERTIES */

/* ==========================================================================
   START SECTION 2: GLOBAL RESET & BASE TYPOGRAPHY
   Ensures consistent box-sizing, smooth scrolling, and font rendering
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

a, button, img, .sub-card, .img-card, .category-block, .red-block, .feed-item, .discussed-item, .discussed-article, .news-3col-item, .gallery-item, .health-item, .most-read-item {
    transition: var(--transition);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}
/* END SECTION 2: GLOBAL RESET & BASE TYPOGRAPHY */

/* ==========================================================================
   START SECTION 3: SCROLL REVEAL ANIMATIONS
   Triggered via IntersectionObserver in script.js when sections enter viewport
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* END SECTION 3: SCROLL REVEAL ANIMATIONS */

/* ==========================================================================
   START SECTION 4: TOP UTILITY BAR
   Houses live date/time clock, E-Paper button, and bilingual switch button
   ========================================================================== */
.top-bar {
    background: #111;
    color: rgba(255,255,255,0.85);
    padding: 8px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    text-align: center;
}

.top-bar-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.epaper-btn {
    background: var(--primary-red);
    padding: 3px 14px;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

.epaper-btn:hover {
    transform: scale(1.06);
    background: var(--deep-red);
}

.lang-btn {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 3px 12px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-family: inherit;
    font-size: 0.75rem;
}

.lang-btn:hover {
    background: var(--success-green);
    border-color: var(--success-green);
    transform: translateY(-1px);
}

@media (min-width: 768px) {
    .top-bar {
        flex-direction: row;
        justify-content: space-between;
        padding: 8px 10%;
    }
}
/* END SECTION 4: TOP UTILITY BAR */

/* ==========================================================================
   START SECTION 5: BRANDING HEADER & IMAGE LOGO
   Displays img/logo.png on the left and rounded search input on the right
   ========================================================================== */
header {
    background: var(--white);
    padding: 15px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 54px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

.logo-img:hover {
    transform: scale(1.02);
}

.search-box {
    display: flex;
    background: #f1f2f6;
    border-radius: 50px;
    padding: 4px;
    border: 2px solid #eee;
    width: 100%;
    max-width: 350px;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary-red);
    background: #fff;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.1);
}

.search-box input {
    border: none;
    background: transparent;
    padding: 6px 15px;
    outline: none;
    flex-grow: 1;
    font-family: inherit;
    font-size: 0.85rem;
}

.search-box button {
    background: var(--text-dark);
    color: white;
    border: none;
    padding: 6px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.8rem;
    font-family: inherit;
}

.search-box button:hover {
    background: var(--primary-red);
}

@media (min-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        padding: 18px 10%;
    }
    .logo-img {
        height: 68px;
        max-width: 300px;
    }
}
/* END SECTION 5: BRANDING HEADER & IMAGE LOGO */

/* ==========================================================================
   START SECTION 6: STICKY NAVIGATION BAR
   Remains pinned to top of viewport; horizontal scroll enabled on mobile
   ========================================================================== */
nav {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 5%;
    border-bottom: 4px solid var(--primary-red);
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

nav::-webkit-scrollbar {
    display: none;
}

nav a {
    padding: 14px 2px;
    font-weight: 700;
    color: #444;
    white-space: nowrap;
    position: relative;
    font-size: 0.92rem;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--primary-red);
}

nav a:hover::after {
    width: 100%;
}

@media (min-width: 768px) {
    nav {
        padding: 0 10%;
        gap: 26px;
    }
}
/* END SECTION 6: STICKY NAVIGATION BAR */

/* ==========================================================================
   START SECTION 7: BREAKING NEWS TICKER
   Includes blinking live indicator dot and scrolling marquee bar
   ========================================================================== */
.ticker {
    margin: 12px 5%;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    overflow: hidden;
    border: 1px solid #ddd;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.ticker-title {
    background: var(--success-green);
    color: white;
    padding: 8px 15px;
    font-weight: 800;
    font-size: 0.82rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: pulseDot 1.4s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
}

marquee {
    font-size: 0.85rem;
    padding: 8px 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.ticker-text {
    font-size: 0.85rem;
    padding: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .ticker {
        margin: 15px 10%;
    }
}
/* END SECTION 7: BREAKING NEWS TICKER */

/* ==========================================================================
   START SECTION 8: MAIN CONTENT GRID (EQUAL HEIGHT 3-COLUMN LAYOUT)
   Aligns Column 1, Column 2, and Column 3 so their bottoms match with zero empty space
   ========================================================================== */
.main-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px 5%;
    align-items: stretch;
}

.main-col-left,
.main-col-middle,
.main-col-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 1024px) {
    .main-container {
        grid-template-columns: 2fr 1fr 0.8fr;
        padding: 15px 10%;
    }
    .post-details-layout {
        grid-template-columns: 2.5fr 1fr;
    }
}
/* END SECTION 8: MAIN CONTENT GRID */

/* ==========================================================================
   START SECTION 9: HERO FEATURED STORY CARD
   Circular framed banner image on red gradient + bold headline & CTA button
   ========================================================================== */
.hero-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.hero-card:hover {
    box-shadow: var(--card-hover-shadow);
}

.hero-banner {
    background: linear-gradient(135deg, var(--primary-red), #630d0d);
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    border-radius: 50%;
    border: 8px solid rgba(255,255,255,0.22);
    box-shadow: 0 15px 30px rgba(0,0,0,0.35);
    object-fit: cover;
    aspect-ratio: 1/1;
}

.hero-card:hover .hero-banner img {
    transform: scale(1.04);
}

.hero-content {
    padding: 25px;
}

.hero-content h1 {
    font-size: 1.5rem;
    color: #111;
    margin-bottom: 12px;
    line-height: 1.35;
}

.hero-content h1:hover {
    color: var(--primary-red);
}

.hero-content p {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.6;
}

.hero-btn {
    margin-top: 15px;
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
}

.hero-btn:hover {
    background: var(--deep-red);
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 1.95rem;
    }
    .hero-banner {
        padding: 45px;
    }
}
/* END SECTION 9: HERO FEATURED STORY CARD */

/* ==========================================================================
   START SECTION 10: MIDDLE COLUMN SIDEBARS (LATEST UPDATES & MOST READ)
   Fills the entire vertical height of Column 2 so there is no white gap
   ========================================================================== */
.sidebar {
    background: var(--white);
    padding: 18px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

.sidebar-fill {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#most-read-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.sidebar h3, .sidebar-title {
    font-size: 1.1rem;
    color: var(--success-green);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.feed-item {
    display: flex;
    gap: 12px;
    margin-bottom: 13px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.feed-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.feed-item img {
    width: 82px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.feed-item:hover img {
    transform: scale(1.05);
}

.feed-item h4 {
    font-size: 0.85rem;
    margin: 0 0 4px 0;
    line-height: 1.35;
    color: #222;
}

.feed-item:hover h4 {
    color: var(--primary-red);
}

.feed-time {
    font-size: 0.72rem;
    color: #888;
    display: block;
}

/* Most Read Numbered Item Styling */
.most-read-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.most-read-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.most-read-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f2f6;
    color: var(--primary-red);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.most-read-item:hover .most-read-rank {
    background: var(--primary-red);
    color: #fff;
}

.most-read-item h4 {
    font-size: 0.85rem;
    line-height: 1.35;
    color: #222;
}

.most-read-item:hover h4 {
    color: var(--primary-red);
}
/* END SECTION 10: MIDDLE COLUMN SIDEBARS */

/* ==========================================================================
   START SECTION 11: RIGHT COLUMN ADS, E-PAPER CARD & PRAYER WIDGET
   Fills the entire vertical height of Column 3 so there is no white gap
   ========================================================================== */
.ad-slot {
    background: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #777;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--card-shadow);
}

.ad-banner-box {
    height: 155px;
}

.ad-promo-box {
    height: 330px;
}

.ad-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75);
}

.ad-slot:hover img {
    transform: scale(1.04);
}

.ad-overlay-text {
    position: absolute;
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    text-align: center;
    backdrop-filter: blur(3px);
}

/* Right Info Cards (E-Paper & Prayer Times) */
.right-info-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid #eee;
}

.right-card-fill {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.right-card-fill .right-info-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.right-info-header {
    background: var(--primary-red);
    color: var(--white);
    padding: 9px 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
}

.right-info-header.bg-green-header {
    background: var(--success-green);
}

.right-info-body {
    padding: 14px;
    text-align: center;
}

.right-info-body img {
    width: 100%;
    height: 135px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid #eee;
}

.right-info-body p {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.4;
}

.epaper-card-btn {
    display: inline-block;
    width: 100%;
    background: #111;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.82rem;
}

.epaper-card-btn:hover {
    background: var(--primary-red);
}

.prayer-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    text-align: left;
}

.prayer-list li {
    display: flex;
    justify-content: space-between;
    padding: 7px 10px;
    font-size: 0.82rem;
    border-bottom: 1px dashed #e0e0e0;
    color: #333;
}

.prayer-list li:nth-child(odd) {
    background: #f9fbfb;
}

.prayer-list li strong {
    color: var(--success-green);
}

.weather-mini-box {
    background: #f1f2f6;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.weather-mini-box i {
    color: #f39c12;
    font-size: 1rem;
}
/* END SECTION 11: RIGHT COLUMN ADS, E-PAPER CARD & PRAYER WIDGET */

/* ==========================================================================
   START SECTION 12: SUB-STORIES 2-COLUMN GRID (BELOW HERO)
   ========================================================================== */
.sub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 600px) {
    .sub-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.sub-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    cursor: pointer;
}

.sub-card img {
    width: 100%;
    height: 165px;
    object-fit: cover;
}

.sub-card-body {
    padding: 15px;
}

.sub-card h3 {
    font-size: 0.96rem;
    line-height: 1.4;
    color: #111;
    margin-bottom: 6px;
}

.sub-card p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.45;
}

.sub-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover-shadow);
}

.sub-card:hover h3 {
    color: var(--primary-red);
}
/* END SECTION 12: SUB-STORIES 2-COLUMN GRID */

/* ==========================================================================
   START SECTION 13: DISCUSSED NEWS SECTION (INSIDE MAIN CONTAINER)
   ========================================================================== */
.discussed-section {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    flex-grow: 1;
}

.section-title {
    text-align: center;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    margin-bottom: 20px;
    font-weight: 700;
    color: #333;
    font-size: 1.05rem;
}

.discussed-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 768px) {
    .discussed-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.discussed-item {
    display: flex;
    gap: 14px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

.discussed-item:hover {
    background: #f9fbfb;
}

.discussed-item img {
    width: 115px;
    height: 82px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.discussed-text h4 {
    font-size: 0.92rem;
    margin-bottom: 5px;
    color: #111;
    line-height: 1.35;
}

.discussed-item:hover .discussed-text h4 {
    color: var(--primary-red);
}

.discussed-text p {
    font-size: 0.8rem;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* END SECTION 13: DISCUSSED NEWS SECTION */

/* ==========================================================================
   START SECTION 14: SECTION TWO STYLES (3-COL CARDS + IN-DEPTH + SOCIAL)
   ========================================================================== */
.section-two-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 15px 5%;
    margin-top: 10px;
    margin-bottom: 30px;
}

@media (min-width: 1024px) {
    .section-two-container {
        grid-template-columns: 3fr 1fr;
        padding: 15px 10%;
    }
}

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

@media (min-width: 600px) {
    .grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .grid-3-col {
        grid-template-columns: repeat(3, 1fr);
    }
}

.img-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.img-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.img-wrap {
    overflow: hidden;
    border-bottom: 2px solid #ccc;
}

.img-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.img-card:hover img {
    transform: scale(1.06);
}

.img-card-title {
    padding: 12px;
    background: #f4f4f4;
    color: #222;
    flex-grow: 1;
}

.img-card-title h4 {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
}

.img-card:hover .img-card-title h4 {
    color: var(--primary-red);
}

.card-extra-desc {
    font-size: 0.78rem;
    color: #555;
    font-weight: 400;
    line-height: 1.45;
}

.img-card.bg-green .img-card-title {
    background: #dce8d6;
}

.discussed-header-custom {
    text-align: center;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    font-weight: bold;
    color: #444;
    margin: 30px 0 20px 0;
    font-size: 1.1rem;
    background: #fafafa;
}

.discussed-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .discussed-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.discussed-article {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.discussed-article:hover {
    box-shadow: var(--card-shadow);
    transform: translateY(-3px);
}

.discussed-article img {
    width: 120px;
    height: 85px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid #eee;
}

.discussed-article-content h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: #111;
    line-height: 1.35;
}

.discussed-article:hover .discussed-article-content h4 {
    color: var(--primary-red);
}

.discussed-article-content p {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.discussed-article-content a {
    color: var(--primary-red);
    font-weight: 600;
}

.sidebar-widget {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: var(--card-shadow);
}

.sidebar-widget-header {
    background: #d32f2f;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 1rem;
}

.fb-placeholder {
    padding: 20px 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.yt-placeholder {
    background: #cc181e;
    color: white;
    text-align: center;
    padding: 40px 10px;
    font-size: 1.6rem;
    font-weight: bold;
    cursor: pointer;
}

.yt-placeholder:hover {
    background: #a81217;
}

.anusondhan-header {
    background: #f4f4f4;
    color: #333;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
}

.anusondhan-content {
    padding: 20px 15px;
}

.anusondhan-featured {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.anusondhan-featured img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-red);
    flex-shrink: 0;
}

.anusondhan-featured h4 {
    font-size: 0.95rem;
    color: #111;
    line-height: 1.35;
}

.anusondhan-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.anusondhan-list li {
    font-size: 0.85rem;
    padding: 8px 0 8px 16px;
    border-top: 1px dotted #ccc;
    position: relative;
    color: #444;
    cursor: pointer;
}

.anusondhan-list li:hover {
    color: var(--primary-red);
    padding-left: 20px;
}

.anusondhan-list li::before {
    content: "▶";
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 0.6rem;
    color: var(--primary-red);
}
/* END SECTION 14: SECTION TWO STYLES */

/* ==========================================================================
   START SECTION 15: 3-COLUMN CATEGORICAL NEWS SECTION
   ========================================================================== */
.news-3col-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 15px 5%;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .news-3col-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .news-3col-wrapper {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 15px 10%;
    }
}

.news-3col-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-3col-category {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.news-3col-header {
    background: #f1f2f6;
    padding: 8px 15px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    border-left: 4px solid var(--success-green);
    margin-bottom: 15px;
}

.news-3col-header.no-border {
    border-left: none;
    border-bottom: 3px solid var(--success-green);
    text-align: center;
}

.news-3col-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.news-3col-item:last-of-type {
    margin-bottom: 12px;
}

.news-3col-item img {
    width: 118px;
    height: 82px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid #eee;
}

.news-3col-item:hover img {
    transform: scale(1.04);
}

.news-3col-item-content h4 {
    font-size: 0.94rem;
    margin-bottom: 5px;
    color: #111;
    line-height: 1.35;
}

.news-3col-item:hover .news-3col-item-content h4 {
    color: var(--primary-red);
}

.news-3col-item-content p {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-3col-item-content a {
    color: var(--primary-red);
    font-weight: 600;
}

.news-3col-block-item {
    margin-bottom: 15px;
}

.news-3col-block-item img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #eee;
}

.news-3col-block-item h4 {
    font-size: 1.05rem;
    color: #111;
    line-height: 1.4;
    font-weight: 700;
}

.news-3col-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-3col-bullet-list li {
    font-size: 0.85rem;
    padding: 8px 0 8px 16px;
    border-bottom: 1px dotted #ccc;
    position: relative;
    color: #444;
    line-height: 1.4;
    cursor: pointer;
}

.news-3col-bullet-list li:hover {
    color: var(--primary-red);
    padding-left: 20px;
}

.news-3col-bullet-list li:last-child {
    border-bottom: none;
}

.news-3col-bullet-list li::before {
    content: "▶";
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 0.6rem;
    color: var(--success-green);
}
/* END SECTION 15: 3-COLUMN CATEGORICAL NEWS SECTION */

/* ==========================================================================
   START SECTION 16: 5-COLUMN CATEGORY GRID
   ========================================================================== */
.image-row-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
    margin: 30px 5%;
}

@media (min-width: 768px) {
    .image-row-grid {
        grid-template-columns: repeat(3, 1fr);
        margin: 30px 10%;
    }
}

@media (min-width: 1200px) {
    .image-row-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.category-block {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-top: 2px solid #ddd;
}

.category-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.category-header {
    background: #f8f9fa;
    padding: 10px 15px;
    border-left: 5px solid var(--success-green);
    font-weight: 700;
    font-size: 1.05rem;
    border-bottom: 1px solid #eee;
    color: #333;
    text-align: center;
}

.cat-news-wrapper {
    padding: 15px;
}

.cat-main-story {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.cat-main-story img {
    width: 100%;
    height: 135px;
    border-radius: 4px;
    object-fit: cover;
}

.cat-main-story h4 {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #111;
    font-weight: 700;
}

.cat-main-story:hover h4 {
    color: var(--primary-red);
}

.cat-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.cat-list li {
    font-size: 0.83rem;
    color: #444;
    padding: 6px 0 6px 16px;
    position: relative;
    line-height: 1.35;
    border-bottom: 1px dotted #eee;
    cursor: pointer;
}

.cat-list li:last-child {
    border-bottom: none;
}

.cat-list li:hover {
    color: var(--primary-red);
}

.cat-list li::before {
    content: "▶";
    position: absolute;
    left: 0;
    font-size: 0.6rem;
    top: 9px;
    color: #888;
}
/* END SECTION 16: 5-COLUMN CATEGORY GRID */

/* ==========================================================================
   START SECTION 17: PHOTO GALLERY SECTION ('ছবিঘর' - 6 COLUMNS ON DESKTOP)
   ========================================================================== */
.photo-gallery-section {
    margin: 30px 5%;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

@media (min-width: 768px) {
    .photo-gallery-section {
        margin: 30px 10%;
    }
}

.gallery-header {
    background: var(--success-green);
    color: white;
    padding: 6px 22px;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 12px;
    border-radius: 4px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 6px;
}

.gallery-item img {
    width: 100%;
    height: 105px;
    object-fit: cover;
    border-radius: 4px;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-item p {
    font-size: 0.78rem;
    line-height: 1.3;
    margin-top: 8px;
    color: #222;
    font-weight: 600;
}

.gallery-item:hover p {
    color: var(--primary-red);
}
/* END SECTION 17: PHOTO GALLERY SECTION */

/* ==========================================================================
   START SECTION 18: 4-COLUMN RED HEADER SECTION
   ========================================================================== */
.four-column-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 5%;
}

@media (min-width: 768px) {
    .four-column-grid {
        margin: 30px 10%;
    }
}

.red-block {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.red-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.red-header {
    background: var(--primary-red);
    color: white;
    text-align: center;
    padding: 9px;
    font-weight: bold;
    font-size: 1rem;
}

.red-content {
    padding: 15px;
}

.red-content img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 12px;
}

.red-content h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #111;
}

.red-desc {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.45;
    margin-bottom: 8px;
}
/* END SECTION 18: 4-COLUMN RED HEADER SECTION */

/* ==========================================================================
   START SECTION 19: HEALTH & WELLNESS SECTION ('স্বাস্থ্য ও চিকিৎসা')
   ========================================================================== */
.health-section {
    margin: 30px 5%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    border-bottom: 1px solid #ddd;
}

@media (min-width: 768px) {
    .health-section {
        margin: 30px 10%;
    }
}

.health-header {
    background: var(--success-green);
    color: white;
    padding: 8px 20px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    border-radius: 4px;
}

.health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 20px;
}

.health-item {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
}

.health-item:hover {
    transform: translateY(-4px);
    background: #f0f7f6;
}

.health-item img {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px auto;
    border: 3px solid var(--success-green);
}

.health-item p {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    color: #222;
}

.health-item p::before {
    content: "“ ";
    font-size: 1.3rem;
    color: var(--primary-red);
}
/* END SECTION 19: HEALTH & WELLNESS SECTION */

/* ==========================================================================
   START SECTION 20: MAIN FOOTER & SCROLL-TO-TOP BUTTON
   ========================================================================== */
.main-footer {
    background: #b2b2b2;
    color: #333;
    padding: 30px 10% 10px 10%;
    margin-top: 40px;
    border-top: 5px solid #111;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #888;
}

.footer-logo-img {
    height: 56px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    font-size: 1.6rem;
    color: #222;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a:hover {
    background: var(--primary-red);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    padding: 20px 0;
    font-size: 0.9rem;
    font-weight: bold;
}

.footer-links-grid div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-links-grid a:hover {
    color: var(--deep-red);
    padding-left: 4px;
}

.footer-info {
    padding: 20px 0;
    border-top: 1px solid #888;
    font-size: 0.85rem;
    line-height: 1.65;
}

.footer-bottom-bar {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 12px 10px;
    margin: 0 -12.5%;
    font-size: 0.8rem;
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-red);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 6px 18px rgba(211, 47, 47, 0.4);
}

.scroll-top:hover {
    background: var(--deep-red);
    transform: translateY(-4px);
}
/* END SECTION 20: MAIN FOOTER & SCROLL-TO-TOP BUTTON */

/* ==========================================================================
   START SECTION 21: RESPONSIVE BREAKPOINTS & MOBILE TYPOGRAPHY OPTIMIZATION
   Reduces font sizes on mobile (<768px) for comfortable, compact reading
   ========================================================================== */
@media (max-width: 1100px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .four-column-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    body {
        font-size: 12.5px;
        line-height: 1.45;
    }

    .top-bar {
        font-size: 0.68rem;
        padding: 6px 4%;
        gap: 5px;
    }

    .logo-img {
        height: 44px;
        max-width: 200px;
    }

    .search-box input {
        font-size: 0.78rem;
        padding: 5px 12px;
    }

    .search-box button {
        font-size: 0.75rem;
        padding: 5px 15px;
    }

    nav a {
        padding: 10px 0;
        font-size: 0.8rem;
    }

    .ticker-title {
        font-size: 0.72rem;
        padding: 6px 10px;
    }

    marquee, .ticker-text {
        font-size: 0.76rem;
        padding: 6px 8px;
    }

    .hero-banner {
        padding: 20px;
    }

    .hero-banner img {
        max-width: 190px;
    }

    .hero-content {
        padding: 16px;
    }

    .hero-content h1 {
        font-size: 1.18rem;
        margin-bottom: 8px;
    }

    .hero-content p {
        font-size: 0.8rem;
    }

    .sub-card h3,
    .discussed-text h4,
    .img-card-title h4,
    .discussed-article-content h4,
    .news-3col-item-content h4,
    .cat-main-story h4,
    .red-content h4 {
        font-size: 0.84rem;
        line-height: 1.35;
    }

    .sub-card p,
    .discussed-text p,
    .card-extra-desc,
    .discussed-article-content p,
    .news-3col-item-content p,
    .red-desc {
        font-size: 0.74rem;
    }

    .feed-item h4,
    .most-read-item h4,
    .anusondhan-list li,
    .news-3col-bullet-list li,
    .cat-list li {
        font-size: 0.78rem;
    }

    .section-title,
    .discussed-header-custom,
    .news-3col-header,
    .category-header,
    .red-header,
    .sidebar h3 {
        font-size: 0.92rem;
    }

    .article-title {
        font-size: 1.35rem;
    }

    .article-body {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
        font-size: 0.78rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 12px;
    }

    .footer-info {
        font-size: 0.75rem;
    }

    .footer-bottom-bar {
        font-size: 0.72rem;
        margin: 0 -6%;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .four-column-grid {
        grid-template-columns: 1fr;
    }
}
/* END SECTION 21: RESPONSIVE BREAKPOINTS & MOBILE TYPOGRAPHY OPTIMIZATION */