/* Main Variables */
:root {
    --color-politics: #8b0000;
    /* Dark Red */
    --color-economy: #2e8b57;
    /* Sea Green */
    --color-opinion: #d2691e;
    /* Chocolate */
    --color-technology: #00008b;
    /* Dark Blue */
    --font-heading: 'Outfit', sans-serif;
    /* Modern, Professional, Bold */
    --font-body: 'Lora', serif;
    /* Elegant, High Readability */
}

body {
    font-family: var(--font-body);
    color: #1a1a1a;
    line-height: 1.7;
    /* Check: Improved readability */
    background-color: #fcfcfc;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #111;
}

a {
    transition: color 0.2s;
    color: inherit;
}

a:hover {
    color: #555;
    text-decoration: none;
}

/* --- SECTION BANDS (Full Width) --- */
.section-band {
    width: 100%;
    margin: 0;
    padding: 40px 0;
    display: block;
}

/* Main Hero Background */
.bg-hero {
    background-color: #0c2444;
    /* Navy Blue */
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Unique Background Colors for Bands */
.bg-politics {
    background-color: #faf3f3;
    /* Soft Red Tint */
}

.bg-economy {
    background-color: #e2e6ea;
    /* Light Grey */
}

.bg-opinion {
    background: linear-gradient(135deg, #fff9e6 0%, #ffefd5 50%, #fff8e1 100%) !important;
    position: relative;
    overflow: hidden;
}

.bg-opinion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(210, 105, 30, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(241, 196, 15, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.bg-technology {
    background-color: #e3f2fd;
    /* Light Blue Tint */
}

/* Section Titles */
.section-title {
    font-size: 1.75rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding-bottom: 10px;
    border-bottom: 3px solid #333;
    letter-spacing: 1px;
    display: inline-block;
}

/* Article Cards */
.post-title a {
    text-decoration: none;
    color: #222;
}

.post-title a:hover {
    color: #666;
}

.article-excerpt {
    font-family: 'Georgia', serif;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-top: 10px;
}

/* Category Badges */
.cat-badge {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 8px;
    color: #fff;
    background: #333;
    display: inline-block;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.badge-Politics {
    background-color: var(--color-politics);
}

.badge-Economy {
    background-color: var(--color-economy);
}

.badge-Opinion {
    background-color: var(--color-opinion);
}

.badge-Technology {
    background-color: var(--color-technology);
}

/* Images */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.img-hover-box {
    overflow: hidden;
    position: relative;
    border-radius: 2px;
}

.img-hover-box:hover .img-cover {
    transform: scale(1.03);
}

/* Opinion Card */
.opinion-card {
    background: transparent;
    text-align: center;
    padding: 20px;
}

.opinion-card .author-img {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.opinion-card:hover .author-img {
    transform: scale(1.05);
}

.opinion-quote-icon {
    font-size: 2rem;
    color: var(--color-opinion);
    opacity: 0.3;
    margin-bottom: 10px;
}

/* Footer Helper */
.text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* --- HORIZONTAL SCROLLING (New Feature) --- */
/* --- NEW HORIZONTAL LAYOUT SYSTEM --- */
.horizontal-scroll-layout {
    display: flex;
    /* Flexbox is best for this */
    flex-wrap: nowrap;
    /* CRITICAL: Never wrap */
    overflow-x: auto;
    gap: 25px;
    /* Nice space between cards */
    padding: 20px 5px;
    /* Padding for shadows not to clip */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #333 #ddd;
}

/* Scrollbar Styling */
.horizontal-scroll-layout::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll-layout::-webkit-scrollbar-track {
    background: #ddd;
    border-radius: 4px;
}

.horizontal-scroll-layout::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

/* GENERIC ITEM */
.h-item {
    flex: 0 0 320px;
    /* Fixed width, never grow/shrink */
    width: 320px;
    max-width: 320px;
}

/* OPINION CARD REDESIGN */
.opinion-new-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Soft premium shadow */
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 4px solid var(--color-opinion);
    /* Brand accent */
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.opinion-new-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.op-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8f9fa;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    z-index: 2;
}

.op-name {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.op-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 15px;
    color: #111;
}

.op-title a {
    text-decoration: none;
    color: #111;
}

.op-title a:hover {
    color: var(--color-opinion);
}

.op-quote {
    font-size: 0.9rem;
    font-style: italic;
    color: #555;
    position: relative;
    line-height: 1.5;
}

/* CIRCLE SCROLL ITEM (Premium Advanced Design) */
.circle-scroll-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 280px;
    flex: 0 0 280px;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.circle-scroll-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #f1c40f, #d2691e, #0c2444);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.circle-scroll-item:hover::before {
    opacity: 1;
}

.circle-scroll-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(210, 105, 30, 0.25);
    background: rgba(255, 255, 255, 0.95);
}

.circle-avatar-box {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, #f1c40f 0%, #d2691e 50%, #0c2444 100%);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(210, 105, 30, 0.3);
    position: relative;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.circle-avatar-box::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.3), rgba(210, 105, 30, 0.3));
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.circle-scroll-item:hover .circle-avatar-box::after {
    opacity: 1;
}

.circle-avatar-box img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #fff;
    transition: all 0.4s ease;
    filter: grayscale(10%);
}

.circle-scroll-item:hover .circle-avatar-box {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 20px 50px rgba(210, 105, 30, 0.4);
}

.circle-scroll-item:hover .circle-avatar-box img {
    filter: grayscale(0%);
    border-color: #f1c40f;
}

.circle-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0c2444 !important;
    text-decoration: none;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    padding-bottom: 8px;
    transition: all 0.3s ease;
}

.circle-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #f1c40f, #d2691e);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.circle-scroll-item:hover .circle-name::after {
    width: 60px;
}

.circle-scroll-item:hover .circle-name {
    color: #d2691e !important;
    transform: scale(1.05);
}

.circle-snippet {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: auto;
    margin-top: 5px;
    font-style: italic;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 10px;
}

.circle-snippet::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 3rem;
    color: rgba(241, 196, 15, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.circle-scroll-item:hover .circle-snippet {
    color: #222;
    transform: translateY(-2px);
}

/* TECH CARD REDESIGN */
.tech-new-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* height: 100%;  -- Removed fixed height for flexibility */
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tech-new-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tech-img-box {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.tech-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.tech-new-card:hover .tech-img-box img {
    transform: scale(1.1);
}

.tech-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tech-cat {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--color-technology);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.5px;
}

.tech-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: #000;
    margin-bottom: 0;
}

.tech-title a {
    text-decoration: none;
    color: #000;
}

.tech-title a:hover {
    color: var(--color-technology);
}

/* NAVBAR FIX */
.main-navbar {
    background-color: #0c2444 !important;
    /* Dark Navy Blue */
    padding-top: 15px;
    padding-bottom: 15px;
}

.main-navbar .nav-link {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    margin: 0 5px;
}

.main-navbar .nav-link:hover {
    color: #f1c40f !important;
    /* Gold hover */
}

/* Top Bar Dates and Icons */
.top-nav-bar {
    background-color: #ffffff;
    color: #0c2444;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.top-nav-bar i {
    color: #0c2444;
}

/* SAFE METADATA HIDING (Restoring Layout) */
.post-date,
.post-meta,
.fa-clock,
.fa-eye {
    display: none !important;
}

/* Hero Carousel: Hide ONLY the date part */
#heroCarousel .text-white.opacity-75 span:last-child {
    display: none !important;
}

/* Content List Dates (Specific targeting) */
.d-flex.text-muted.small:has(.fa-clock) {
    display: none !important;
}

/* Top Bar: Restore Layout (Inline) */
.top-nav-bar .small {
    display: inline-block !important;
    /* Fix: Was block, caused stacking */
}

/* Ensure Language Switcher Stays Horizontal */
.lang-switcher,
.lang-switcher a,
.lang-switcher span {
    display: inline-block !important;
}

/* Hide only the clock icon in top bar if present */
.top-nav-bar .fa-clock {
    display: none !important;
}

/* Footer: Restore Layout (Inline) */
footer .text-white-50.small {
    display: inline-block !important;
    /* Fix: Was block, caused stacking */
    margin-right: 5px;
}


footer .footer-link {
    display: inline-block !important;
    /* Fix: Was block, caused stacking */
}

/* HIDE ARTICLE RIGHT SIDE METADATA */
/* This targets the "Date" and "Views" container on the right side of the header */
.article-container .ms-auto.text-end.text-muted.small {
    display: none !important;
}

/* ========================================= */
/*  ARTICLE BODY STYLING - FIXING IMAGE FLOATS */
/* ========================================= */
/* NOTE: article.php uses .article-body, so we target that */
.article-body,
.font-serif-body {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    /* Legacy support */
    word-break: break-word;
    /* Non-standard but helpful */
}

.article-body img {
    max-width: 100%;
    height: auto;
    margin: 0 0 15px 0;
    /* Only bottom margin by default */
    border-radius: 4px;
    display: inline-block;
}

/* Remove ALL margin if image is inside a grid layout column */
.article-body .row img {
    margin: 0 !important;
}

/* Support Summernote 'Float Left' */
.article-body img[style*="float: left"],
.article-body img[align="left"] {
    float: left !important;
    margin-right: 25px !important;
    margin-bottom: 15px;
}

/* Support Summernote 'Float Right' */
.article-body img[style*="float: right"],
.article-body img[align="right"] {
    float: right !important;
    margin-left: 25px !important;
    margin-bottom: 15px;
}

/* --- ARTICLE BODY TEXT (Premium Typography) --- */
.article-body {
    font-family: var(--font-body);
    font-size: 1.15rem;
    /* ~18.5px, easier to read */
    line-height: 1.9;
    /* Very open and comfortable */
    color: #222;
    /* Deep Charcoal */
}

.article-body p {
    font-family: var(--font-body);
    /* Force Premium Font */
    font-size: inherit;
    /* CRITICAL: Allows JS parent resize to work */
    line-height: 1.9;
    color: #222;
    margin-bottom: 1.8rem;
}



/* PROFESSIONAL MAGAZINE-STYLE DROP CAP */
.article-body>p:first-of-type::first-letter,
.font-serif-body p:first-of-type::first-letter {
    font-family: 'Outfit', sans-serif;
    float: left;
    font-size: 3.8rem;
    /* Slightly smaller for cleaner lockup */
    line-height: 0.8;
    font-weight: 900;
    color: #0c2444;
    margin: 8px 10px 0 0;
    /* More spacing to avoid text overlap */
    padding: 2px;
    display: block;
    text-transform: uppercase;
}

/* HIDE EDITOR GUIDELINES IN VIEW MODE */
.article-body .border-dashed {
    border: none !important;
}

.article-body .table {
    background-color: transparent !important;
}

.article-body .table td,
.article-body .table th {
    background-color: transparent !important;
    border-color: #eee !important;
    /* Very subtle or none */
}

/* --- HORIZONTAL SCROLL LAYOUT (Fixed) --- */
.horizontal-scroll-layout {
    display: flex;
    flex-wrap: nowrap;
    /* FORCE ONE LINE */
    overflow-x: auto;
    gap: 20px;
    padding: 20px 5px 30px 5px;
    scrollbar-width: thin;
    scrollbar-color: #f1c40f #0c2444;
    /* Gold thumb, Blue track */
}

/* Scrollbar Styling for Webkit */
.horizontal-scroll-layout::-webkit-scrollbar {
    height: 6px;
}

.horizontal-scroll-layout::-webkit-scrollbar-track {
    background: #0c2444;
    border-radius: 3px;
}

.horizontal-scroll-layout::-webkit-scrollbar-thumb {
    background: #f1c40f;
    /* Gold accent */
    border-radius: 3px;
}

.h-item {
    flex: 0 0 auto;
    width: 280px;
    min-width: 280px;
    margin-right: 1.5rem;
    display: inline-block;
    /* Safety fallback */
    white-space: normal;
    /* Allow text inside card to wrap naturally */
}

/* WOW GRADIENT (Horn Analysis Brand) */
.bg-gradient-horn {
    background: linear-gradient(135deg, #0c2444 0%, #103b6b 50%, #0c2444 100%);
    color: white;
}

/* ==========================================================================
   💎 SUPREME EDITORIAL DESIGN - ULTRA LUXURY MAGAZINE STYLE 💎
   Inspired by: Financial Times • The Economist • Monocle • Kinfolk
   Premium Typography • Sophisticated Graphics • Elite Color Palette
   ========================================================================== */

/* Import Ultra-Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;0,700;0,900;1,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/* 1. Page Background - Sophisticated Cream */
.bg-light-styled {
    background: linear-gradient(to bottom, #fafbfc 0%, #f5f7fa 100%) !important;
}

/* 2. Article Container - Premium Card with Subtle Shadow */
.article-main-box {
    background: #ffffff;
    padding: 60px 80px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.05) !important;
    border-radius: 2px;
    border-top: 4px solid #0c2444;
    /* Signature navy accent */
    position: relative;
    overflow: hidden;
}

.article-main-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0c2444 0%, #FFD700 50%, #0c2444 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* 3. PREMIUM TITLE LAYOUT - Two-Part Headline (RESTORED & ENHANCED) */
.article-title-pro {
    font-family: 'Playfair Display', serif;
    font-size: 4.2rem !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    color: #0c2444 !important;
    letter-spacing: -2px !important;
    margin-bottom: 15px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #0c2444 0%, #1a4d7a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sub-headline (after colon) - Elegant & Lighter */
header .h3.text-muted {
    font-family: 'Lora', serif !important;
    font-size: 1.6rem !important;
    font-weight: 400 !important;
    font-style: italic;
    color: #5a6c7d !important;
    line-height: 1.5 !important;
    margin-top: 10px !important;
    padding-left: 4px;
    border-left: 3px solid #FFD700;
}

/* 4. BODY TEXT - Ultra-Readable with Rich Typography */
.article-body,
#article-content-body {
    font-family: 'Lora', 'Georgia', serif !important;
    font-size: 1.2rem !important;
    line-height: 2 !important;
    color: #1a1a1a !important;
    font-weight: 400 !important;
    letter-spacing: 0.02em !important;
    text-rendering: optimizeLegibility !important;
    max-width: 100%;
    margin-top: 40px;
}

.article-body p {
    margin-bottom: 2rem !important;
    text-align: justify !important;
    hyphens: auto !important;
}

/* KEEP BOLD TEXT - Premium Weight */
.article-body strong,
.article-body b {
    font-weight: 700 !important;
    color: #0c2444 !important;
    text-decoration: none;
}

/* 5. DROP CAP - Massive & Luxurious */
.article-body>p:first-of-type::first-letter,
#article-content-body>p:first-of-type::first-letter {
    float: left;
    font-family: 'Playfair Display', serif;
    font-size: 7.5rem !important;
    line-height: 0.68 !important;
    font-weight: 900 !important;
    color: #0c2444 !important;
    margin-right: 18px;
    margin-top: 12px;
    margin-bottom: -8px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

/* 6. HEADINGS - Colorful & Decorative (RESTORED & ENHANCED) */
.article-body h2,
#article-content-body h2 {
    font-family: 'Playfair Display', serif !important;
    font-size: 2.6rem !important;
    font-weight: 800 !important;
    color: #0c2444 !important;
    margin-top: 4.5rem !important;
    margin-bottom: 1.8rem !important;
    padding-bottom: 20px !important;
    padding-left: 30px !important;
    border-left: 6px solid #FFD700 !important;
    border-bottom: 2px solid #e9ecef !important;
    letter-spacing: -1px !important;
    position: relative;
    background: linear-gradient(to right, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
}

.article-body h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #0c2444 0%, #FFD700 100%);
}

.article-body h3,
#article-content-body h3 {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.9rem !important;
    font-weight: 700 !important;
    color: #1a4d7a !important;
    margin-top: 3rem !important;
    margin-bottom: 1.2rem !important;
    padding-left: 20px;
    border-left: 4px solid #5a9fd4;
}

.article-body h4,
#article-content-body h4 {
    font-family: 'Lora', serif !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    font-style: italic;
}

/* 7. BLOCKQUOTES - Magazine Pull Quote with Gold Accent */
.article-body blockquote,
#article-content-body blockquote {
    position: relative;
    font-family: 'Playfair Display', serif !important;
    font-size: 2rem !important;
    line-height: 1.5 !important;
    font-style: italic !important;
    font-weight: 500 !important;
    color: #0c2444 !important;
    text-align: center;
    padding: 3rem 4rem;
    margin: 4rem auto;
    max-width: 90%;
    border: none;
    background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
    border-left: 6px solid #FFD700;
    border-right: 6px solid #FFD700;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.15);
    border-radius: 4px;
}

.article-body blockquote::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    line-height: 1;
    color: rgba(255, 215, 0, 0.3);
    font-family: 'Georgia', serif;
}

.article-body blockquote p {
    margin: 0 !important;
    position: relative;
    z-index: 1;
}

/* 8. IMAGES - Premium Gallery Style */
.article-body img,
#article-content-body img {
    width: 100%;
    border-radius: 4px !important;
    margin: 3rem 0 !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.article-body img:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18), 0 10px 25px rgba(0, 0, 0, 0.12) !important;
}

/* 9. META BAR - Colorful & Modern */
.meta-bar {
    border-top: 3px solid #0c2444 !important;
    border-bottom: 3px solid #FFD700 !important;
    padding: 25px 0 !important;
    margin-bottom: 50px !important;
    background: linear-gradient(to right, rgba(12, 36, 68, 0.02) 0%, transparent 50%, rgba(255, 215, 0, 0.02) 100%);
}

.meta-share-icon {
    font-size: 1.3rem;
    color: #0c2444 !important;
    transition: all 0.3s ease;
}

.meta-share-icon:hover {
    color: #FFD700 !important;
    transform: translateY(-3px);
}

/* 10. LINKS - Underlined with Gold Hover */
.article-body a:not(.btn),
#article-content-body a:not(.btn) {
    color: #0c2444 !important;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 215, 0, 0.4);
    font-weight: 600;
    transition: all 0.3s ease;
}

.article-body a:not(.btn):hover,
#article-content-body a:not(.btn):hover {
    background: rgba(255, 215, 0, 0.15);
    border-bottom-color: #FFD700;
    padding: 2px 4px;
}

/* 11. Lists - Styled with Gold Bullets */
.article-body ul li::marker,
#article-content-body ul li::marker {
    color: #FFD700;
    font-size: 1.2em;
}

.article-body ol li::marker,
#article-content-body ol li::marker {
    color: #0c2444;
    font-weight: bold;
}

/* 12. Sidebar Premium Styling */
.newsletter-widget {
    background: linear-gradient(135deg, #0c2444 0%, #1a4d7a 100%) !important;
    border: none !important;
    padding: 50px 40px !important;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(12, 36, 68, 0.3);
}

.newsletter-widget h4,
.newsletter-widget p {
    color: #fff !important;
}

.newsletter-widget .btn-warning {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    border: none;
    color: #0c2444 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.newsletter-widget .btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.6);
}

/* 13. Responsive Adjustments */
@media (max-width: 768px) {
    .article-main-box {
        padding: 30px 20px !important;
    }

    .article-title-pro {
        font-size: 2.5rem !important;
    }

    .article-body,
    #article-content-body {
        font-size: 1.1rem !important;
    }

    .article-body h2,
    #article-content-body h2 {
        font-size: 2rem !important;
        padding-left: 20px !important;
    }
}

/* ========================================= */
/*  MOBILE RESPONSIVE TWEAKS */
/* ========================================= */

@media (max-width: 991px) {
    .main-navbar .navbar-collapse {
        background: #0c2444;
        padding: 20px;
        margin-top: 15px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-navbar .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .main-navbar .d-flex.align-items-center {
        margin-top: 15px;
        width: 100%;
    }

    .main-navbar form {
        width: 100%;
        margin-right: 0 !important;
    }

    .main-navbar input[name="q"] {
        flex-grow: 1;
        width: auto !important;
    }
}

@media (max-width: 768px) {

    /* 1. Global Spacing */
    .section-band {
        padding: 30px 0;
    }

    /* 2. Hero / Slider */
    .carousel-inner .position-relative {
        height: 350px !important;
    }

    .carousel-inner h1.post-title {
        font-size: 1.4rem !important;
    }

    .carousel-inner .p-5 {
        padding: 20px !important;
    }

    /* 3. Section Titles */
    .section-title {
        font-size: 1.35rem;
        margin-bottom: 1.5rem;
        border-bottom-width: 2px;
    }

    /* 4. Zone 1 Giant Hero */
    .section-band .img-hover-box img[style*="height: 500px"] {
        height: 280px !important;
    }

    .section-band h1.display-5 {
        font-size: 1.6rem !important;
    }

    /* 5. Horizontal Scrolls */
    .horizontal-scroll-layout {
        gap: 15px;
        padding: 10px 0 20px 0;
        justify-content: flex-start !important;
        /* Fix for mobile clipping */
    }

    .h-item {
        width: 260px;
        min-width: 260px;
        margin-right: 10px;
    }

    /* 6. Grid Layouts */
    .col-6 {
        padding-left: 8px;
        padding-right: 8px;
    }

    .col-6 .card-title {
        font-size: 0.85rem !important;
    }

    /* 7. Typography */
    .display-4 {
        font-size: 1.8rem !important;
    }

    .article-body {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .article-body>p:first-of-type::first-letter {
        font-size: 3rem;
        margin: 5px 8px 0 0;
    }

    /* 8. Top Bar Items */
    .top-nav-bar {
        text-align: center;
    }

    .top-nav-bar .container {
        justify-content: center !important;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .section-band .img-hover-box img[style*="height: 500px"] {
        height: 220px !important;
    }

    h1.display-5 {
        font-size: 1.3rem !important;
    }

    .carousel-inner .position-relative {
        height: 300px !important;
    }
}

/* --- DARK MODE --- */
body.dark-mode {
    background-color: #050505 !important;
    color: #dcdcdc !important;
}

/* Backgrounds */
body.dark-mode .bg-light,
body.dark-mode .bg-white,
body.dark-mode .card,
body.dark-mode .section-band.bg-white,
body.dark-mode .section-band.bg-light {
    background-color: #111 !important;
}

body.dark-mode .main-navbar {
    background-color: #0c2444 !important;
    /* Restored Signature Navy Blue */
    border-bottom: 1px solid #1a3a5f;
}

body.dark-mode .top-nav-bar {
    background-color: #000 !important;
    border-bottom: 1px solid #222;
}

/* Text */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .text-dark,
body.dark-mode .navbar-brand,
body.dark-mode .nav-link {
    color: #ffffff !important;
}

body.dark-mode .text-muted {
    color: #888 !important;
}

body.dark-mode a {
    color: #9ecfff;
}

body.dark-mode a:hover {
    color: #fff;
}

/* Borders */
body.dark-mode .border-bottom,
body.dark-mode .border,
body.dark-mode .border-top,
body.dark-mode .border-end,
body.dark-mode .border-start {
    border-color: #2a2a2a !important;
}

/* Inputs */
body.dark-mode input.form-control,
body.dark-mode textarea.form-control,
body.dark-mode select.form-control {
    background-color: #1a1a1a;
    border-color: #333;
    color: #fff;
}

body.dark-mode .circle-scroll-item .circle-name {
    color: #fff !important;
}

body.dark-mode .circle-scroll-item .circle-snippet {
    color: #ccc !important;
}

/* Fix specific cards */
body.dark-mode .tech-new-card {
    background-color: #151515;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}

/* Button override for dark mode toggle */
.theme-toggle-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s;
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
}


/* Logo styling for Dark Mode */
body.dark-mode .navbar-brand span.fw-bold {
    color: #ffffff !important;
}

body.dark-mode .navbar-brand svg path[fill='#0c2444'] {
    fill: #ffffff !important;
}

body.dark-mode .navbar-brand svg path[stroke='#f1c40f'] {
    stroke: #ffd700 !important;
    /* Keep gold or brighten it */
}


/* --- DARK MODE FIXES --- */

/* Fix invisible text in article body */
body.dark-mode p,
body.dark-mode div,
body.dark-mode span,
body.dark-mode li {
    color: #e0e0e0;
}

/* Fix Drop Cap visibility */
body.dark-mode .drop-cap {
    color: #f1c40f !important;
}

/* Fix Date & Socials in Top Bar */
body.dark-mode .top-nav-bar,
body.dark-mode .top-nav-bar a,
body.dark-mode .top-nav-bar i {
    color: #ffffff !important;
}

/* Title colors in lists */
body.dark-mode .fw-bold,
body.dark-mode strong,
body.dark-mode b {
    color: #fff !important;
}

/* Meta Bar (Author/Date on Articles) */
body.dark-mode .meta-bar,
body.dark-mode .text-secondary {
    color: #aaa !important;
}

/* Fix search bar borders */
body.dark-mode input.form-control {
    border: 1px solid #444 !important;
    background-color: #222 !important;
    color: #fff !important;
}

/* Fix 'Latest Updates' section headers */
body.dark-mode .section-title {
    color: #fff !important;
    /* Make section titles white */
    border-bottom-color: #f1c40f !important;
    /* Gold underline for contrast */
}

body.dark-mode .section-title span {
    color: #f1c40f !important;
    /* Highlighted part gold */
}

/* Cards visibility */
body.dark-mode .card-body {
    background-color: transparent !important;
}

/* Logo Fixes for Dark Mode */
body.dark-mode .navbar-brand .text-warning {
    color: #f1c40f !important;
    /* Ensure 'ANALYSIS' is visible gold */
}


/* --- DARK MODE FIXES 2.0 (Sidebars & Opinion) --- */

/* Fix Opinion Section text color */
body.dark-mode .section-band.bg-opinion {
    background-color: #d2691e !important;
    /* Keep original opinion color or slightly darker */
}

/* Force black text inside the opinion band when in dark mode (contrast against orange) */
body.dark-mode .section-band.bg-opinion h2,
body.dark-mode .section-band.bg-opinion a,
body.dark-mode .section-band.bg-opinion .circle-name,
body.dark-mode .section-band.bg-opinion .circle-snippet {
    color: #ffffff !important;
}

/* Fix Sidebar Article Titles usually disappearing */
body.dark-mode .list-group-item,
body.dark-mode .list-group-item a {
    background-color: transparent !important;
    color: #ffffff !important;
}

body.dark-mode .list-group-item .text-muted,
body.dark-mode .list-group-item .text-secondary {
    color: #aaaaaa !important;
}

/* Fix Footer Text (ensure visible) */
body.dark-mode footer.bg-navy {
    background-color: #000 !important;
    border-top: 1px solid #333 !important;
}

body.dark-mode footer p,
body.dark-mode footer a {
    color: #888 !important;
}

body.dark-mode footer a:hover {
    color: #fff !important;
}


/* --- DARK MODE DEEP FIXES (Author Bar & Sidebar) --- */

/* 1. Article Author Bar (Meta Bar) */
body.dark-mode .meta-bar {
    background-color: #1a1a1a !important;
    /* Dark Grey instead of White */
    border-color: #333 !important;
}

body.dark-mode .meta-bar h6 {
    color: #ffffff !important;
}

body.dark-mode .btn-ghost-circle {
    background-color: #2a2a2a !important;
    /* Dark circle buttons */
    border-color: #444 !important;
    color: #eee !important;
}

body.dark-mode .btn-ghost-circle:hover {
    background-color: #0c2444 !important;
    color: #fff !important;
}

/* 2. Sidebar Updates */
/* Fix the 'Latest Updates' text color */
body.dark-mode .sidebar h5,
/* Generic if used */
body.dark-mode .col-lg-4 h5.text-uppercase {
    color: #fff !important;
}

body.dark-mode .shadow-hover:hover {
    color: #cea00e !important;
    /* Gold hover */
}

/* 3. Newsletter Widget */
body.dark-mode .newsletter-widget {
    background-color: #151515 !important;
    border: 1px solid #333 !important;
}

body.dark-mode .newsletter-widget input.form-control {
    background-color: #222 !important;
    color: #fff !important;
    border: 1px solid #444 !important;
}

/* 4. Article Content Box */
body.dark-mode .article-main-box {
    background-color: #111 !important;
    /* Force black/dark background */
    border: 1px solid #222 !important;
}

/* 5. Breadcrumbs */
body.dark-mode .breadcrumb-item a {
    color: #aaa !important;
}

/* 6. Tags */
body.dark-mode .btn-light {
    background-color: #222 !important;
    border-color: #444 !important;
    color: #ccc !important;
}

/* 7. Image Captions */
body.dark-mode .text-muted {
    color: #999 !important;
}


/* --- DARK MODE SIDEBAR FIX (Latest Updates) --- */

/* Force Sidebar Links to be Visible */
body.dark-mode .text-dark.text-decoration-none.shadow-hover {
    color: #ffffff !important;
    /* Forces Sidebar Headlines (Beyond the Hype etc) to White */
}

/* Sidebar Hover Effect */
body.dark-mode .text-dark.text-decoration-none.shadow-hover:hover {
    color: #f1c40f !important;
    /* Gold on Hover */
}

/* Ensure the titles in sidebar h6 are visible */
body.dark-mode .col-lg-4 h6.fw-bold a {
    color: #eeeeee !important;
}

/* Fix any stubbornly white backgrounds in sidebar items */
body.dark-mode .row.mb-4.align-items-center {
    background-color: transparent !important;
}


/* --- DARK MODE: BLACKOUT FIXES --- */

/* 1. Make the main page background Black (Fixes white sides) */
body.dark-mode .bg-light-styled {
    background-color: #050505 !important;
}

/* 2. Ensure the Sticky Sidebar background matches */
body.dark-mode .col-lg-4,
body.dark-mode .sticky-top {
    background-color: transparent !important;
}

/* 3. Global Reset for any missed white containers */
body.dark-mode .container,
body.dark-mode .row {
    background-color: transparent !important;
}

/* --- STICKY HEADER FIX --- */
/* Ensure the Header is always ON TOP of EVERYTHING */
.sticky-top,
.main-navbar,
.header {
    z-index: 9999 !important;
    /* Forces it to be the highest layer */
    position: sticky !important;
    top: 0 !important;
}

/* Ensure the background is solid (not see-through) */
.main-navbar {
    background-color: #0c2444;
    /* Default Navy */
    opacity: 1 !important;
    /* No transparency */
}

/* Fix for Dark Mode Transparency issue if any */
body.dark-mode .main-navbar {
    background-color: #0c2444 !important;
    /* Solid Navy */
    background-image: none !important;
    /* Remove gradients if any */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Stronger shadow to separate layers */
}


/* --- Z-INDEX NUCLEAR OPTION --- */

/* 1. Header is GOD LAYER */
.main-navbar,
.header,
.top-nav-bar {
    position: relative;
    z-index: 2147483647 !important;
    /* Max INT value supported by browsers */
}

/* 2. Sidebar is PEASANT LAYER */
.col-lg-4,
.sticky-top {
    z-index: 1 !important;
    /* Send it to the basement */
    position: sticky !important;
    /* Ensure sticky behavior persists */
}

/* 3. Article Content is MIDDLE LAYER */
.col-lg-8,
.article-main-box {
    z-index: 5 !important;
    position: relative;
}

/* 4. Force Background Check */
.main-navbar {
    background-color: #0c2444;
    /* If transparent, things show through. This prevents that. */
}


/* --- STICKY NAV REWORK (The Final Fix) --- */

/* 1. Stop using 'sticky-top' class for the Main Navbar */
/* We will use 'fixed-top' but with a spacer to prevent layout jumps */
/* Actually, let's just force the header to be FIXED (always stays at top) */

.main-navbar {
    position: fixed !important;
    top: 35px !important;
    /* Push down to show the Date bar */
    width: 100% !important;
    left: 0;
    right: 0;
    z-index: 99999 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* Strong shadow so you know it's on top */
}

/* 2. Fix the Top Date Bar to be fixed too */
.top-nav-bar {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    height: 35px;
    /* Define height clearly */
}

/* 3. ADD PADDING TO BODY to prevent content hiding behind the fixed header */
body {
    padding-top: 130px !important;
    /* 35px TopBar + ~90px NavBar */
}


/* --- Z-INDEX FIX - THE HEADER RESCUE --- */

/* 1. Header (Main Navbar) - ULTRA COMPACT */
.main-navbar {
    position: fixed !important;
    top: 50px !important;
    width: 100% !important;
    z-index: 100000 !important;
    background-color: #0c2444 !important;
    opacity: 1 !important;
    padding: 0 !important;
    min-height: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
}

/* 2. Top Nav Bar (Date/Socials) - COMPACT */
.top-nav-bar {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    height: 50px !important;
    z-index: 100001 !important;
    background-color: #fff !important;
    padding: 10px 0 !important;
    font-size: 0.9rem !important;
    display: flex !important;
    align-items: center !important;
}

/* 3. Dropdown Menu (If overlapping) */
.navbar-collapse {
    z-index: 100002 !important;
}

/* 4. Fix Body Padding - MATCH HEADER */
body {
    padding-top: 120px !important;
}

/* Dark Mode Overrides */
body.dark-mode .top-nav-bar {
    background-color: #000 !important;
    color: #fff !important;
}


/* --- DARK MODE TOP BAR FIX (Text Color) --- */
/* Ensure the text inside the white top bar is VISIBLE in light mode */
/* And inverted correctly in Dark Mode */

/* 1. Default (Light Mode) */
.top-nav-bar {
    color: #0c2444 !important;
    /* Navy Text on White Background */
}

.top-nav-bar a,
.top-nav-bar span,
.top-nav-bar i,
.top-nav-bar strong {
    color: #0c2444 !important;
    /* Force all elements to be visible */
}

/* 2. Dark Mode Override */
body.dark-mode .top-nav-bar {
    background-color: #0c2444 !important;
    /* Match the main nav */
    border-bottom: 1px solid #1a3a5f;
}

body.dark-mode .top-nav-bar a,
body.dark-mode .top-nav-bar span,
body.dark-mode .top-nav-bar i,
body.dark-mode .top-nav-bar strong {
    color: #ffffff !important;
    /* White text on Navy Background */
}


/* --- HEADER REFACTOR (User Requested Layout) --- */

/* 1. Top Bar Reform */
.top-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 5% !important;
    /* User asked for light grey, but we must respect the Navy theme if active. 
       Let's use the user's grey for Light Mode default */
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    min-height: 40px;
}

/* Date Style */
.top-bar .date-text {
    color: #333;
    font-weight: 600;
}

/* Icons Gap */
.top-bar .social-icons {
    gap: 15px;
    display: flex;
    align-items: center;
}

/* Dark Mode Overrides for Top Bar Reform */
body.dark-mode .top-bar {
    background-color: #0c2444 !important;
    border-bottom: 1px solid #1a3a5f;
}

body.dark-mode .top-bar .date-text,
body.dark-mode .top-bar .social-icons i {
    color: #ffffff !important;
}

/* 2. Main Logo Visibility */
.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-brand {
    font-size: 22px !important;
    color: #ffffff !important;
    /* Default White on Navy */
    margin-left: 10px;
    letter-spacing: 1px;
}

/* Responsive Logo Color: If header becomes white (e.g. scrolled state or specific theme), switch to Blue */
body:not(.dark-mode) .main-navbar.bg-white .logo-brand {
    color: #003366 !important;
}

/* 3. Main Header Alignment */
.main-header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 5% !important;
    /* User said 15px 5%, but let's fit the 80px height */
    height: 80px !important;
    /* Fixed height for stability */
}

/* Ensure Navbar content fits in the 80px */
.main-navbar {
    padding: 0 !important;
    /* Let inner container handle padding */
}


/* --- INSTANT HEADER HOTFIX (User Request) --- */

/* 1. Remove the white line gap */
.main-navbar,
.main-header {
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
    border-bottom: none !important;
}

/* Ensure hero starts immediately */
.hero-section,
.bg-hero {
    margin-top: 0px !important;
}

/* 2. Fix Icon Sizes (Square 20px) */
.top-bar-icons img,
.top-bar-icons svg {
    height: 20px !important;
    width: 20px !important;
    object-fit: contain;
    vertical-align: middle;
}

/* 3. Premium Menu Links - COMPACT */
.nav-link {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #ffffff !important;
    padding: 10px 12px !important;
}

.nav-link:hover {
    color: #FFC107 !important;
}


/* --- MOBILE RESPONSIVENESS (Homepage) --- */

@media (max-width: 991px) {

    /* 1. Header Adjustments */
    .brand-logo svg {
        height: 30px !important;
        width: auto !important;
    }

    .brand-logo span {
        font-size: 16px !important;
    }

    .main-navbar {
        height: auto !important;
        padding: 10px 0 !important;
    }

    .main-header-inner {
        height: auto !important;
        flex-wrap: wrap;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .navbar-toggler {
        align-self: center;
        margin-left: auto;
        /* Push to right */
    }

    /* 2. Hero Section */
    .bg-hero .row {
        flex-direction: column-reverse;
        /* Text below image on mobile usually better, or keep standard */
    }

    .bg-hero h1 {
        font-size: 1.8rem !important;
        /* Smaller clear title */
    }

    .bg-hero img {
        height: auto !important;
        max-height: 250px;
        /* Limit hero image height */
    }

    /* 3. Section Bands (Horizontal Scroll Fixes) */
    .horizontal-scroll-layout {
        padding-left: 15px;
        /* Add breathing room */
        padding-right: 15px;
        gap: 15px;
        justify-content: flex-start !important;
    }

    .h-item {
        flex: 0 0 260px !important;
        /* Smaller cards for mobile */
        width: 260px !important;
    }

    /* 4. Opinion & Avatars */
    .circle-scroll-item {
        flex: 0 0 240px !important;
        width: 240px !important;
        padding: 20px 12px !important;
    }

    .circle-avatar-box {
        width: 140px !important;
        height: 140px !important;
    }

    .circle-name {
        font-size: 0.95rem !important;
        letter-spacing: 1px !important;
    }

    .circle-snippet {
        font-size: 0.9rem !important;
    }

    /* 5. General Text Scaling */
    h2.section-title {
        font-size: 1.4rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* 6. Fix Padding Gaps */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* 7. Hide less important elements if needed */
    .top-bar {
        font-size: 0.8rem;
        /* Smaller top text */
    }
}

@media (max-width: 576px) {

    /* Extra Small Screens */
    .bg-hero h1 {
        font-size: 1.5rem !important;
    }

    .nav-link {
        font-size: 14px !important;
        padding: 10px 0 !important;
    }

    /* Stacked links needs space */

    /* Stack the top bar info */
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
    }
}


/* --- MOBILE TOP BAR REFINEMENT --- */
@media (max-width: 576px) {
    .top-bar {
        padding: 5px 10px !important;
        height: auto !important;
        /* Allow growing */
    }

    /* Force side-by-side layout for standard mobiles */
    .top-bar .container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    /* Make text tiny but readable */
    .date-text {
        font-size: 11px !important;
        white-space: nowrap;
        /* Prevent date line break */
    }

    /* Tighten icon spacing */
    .top-bar-icons {
        gap: 8px !important;
    }

    /* Smaller Icons for Mobile */
    .top-bar-icons img,
    .top-bar-icons svg {
        height: 16px !important;
        width: 16px !important;
    }

    /* Ensure inner groups are tight */
    .top-bar-icons .d-flex {
        gap: 8px !important;
    }
}

/* --- NEW TYPOGRAPHIC LOGO --- */
/* The Container */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    margin-right: 1.5rem;
    /* Space from menu */
}

/* The Icon (Abstract Gold Line) - COMPACT */
.logo-icon .shield-shape {
    display: block;
    width: 3px;
    height: 35px;
    background: linear-gradient(to bottom, #FFD700, #B8860B);
    border-radius: 2px;
}

/* The Text Stack */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

/* Top Word: HORN (Classic & Strong) - COMPACT */
.word-horn {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: #ffffff;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Bottom Word: ANALYSIS (Modern & Clean) - COMPACT */
.word-analysis {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    color: #FFD700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 1px;
}

/* --- LOGO RESPONSIVE TWEAKS --- */
@media (max-width: 991px) {
    .word-horn {
        font-size: 22px;
    }

    .word-analysis {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .logo-icon .shield-shape {
        height: 35px;
    }
}

/* --- LOGO LIGHT MODE / DARK MODE --- */
/* Ensure logo text color adapts if the header background changes */
.main-navbar.bg-white .word-horn {
    color: #0c2444 !important;
}

body.dark-mode .word-horn {
    color: #ffffff !important;
}

/* --- MOBILE LOGO FINE TUNING --- */
@media (max-width: 576px) {
    .brand-logo {
        gap: 8px;
        /* Tighter gap */
        margin-right: 0;
        /* Remove unnecessary margin */
    }

    .word-horn {
        font-size: 18px !important;
        /* Smaller font */
        letter-spacing: 1px !important;
    }

    .word-analysis {
        font-size: 9px !important;
        letter-spacing: 1.5px !important;
    }

    .logo-icon .shield-shape {
        height: 30px !important;
        /* Smaller icon */
        width: 3px !important;
    }

    .main-header-inner {
        padding: 5px 15px !important;
        /* Ensure side padding */
    }
}

/* --- Mobile Logo Adjustments (Screens smaller than 768px) --- */
@media only screen and (max-width: 768px) {

    /* 1. Shrink the Gold Bar */
    .logo-icon .shield-shape {
        height: 35px !important;
        /* Reduced from 45px */
        width: 3px !important;
    }

    /* 2. Shrink the Main Text (HORN) */
    .word-horn {
        font-size: 20px !important;
        /* Reduced from 28px */
        letter-spacing: 1px;
    }

    /* 3. Shrink the Subtext (ANALYSIS) */
    .word-analysis {
        font-size: 10px !important;
        /* Reduced from 12px */
        letter-spacing: 2px;
    }

    /* 4. Fix Vertical Alignment */
    .brand-logo {
        gap: 8px;
        /* Tighter gap */
        margin-top: 2px;
        /* Slight nudge down to align with Menu button */
    }
}

/* --- Slim Top Utility Bar (Mobile Only) and Navbar Tweaks --- */
@media only screen and (max-width: 768px) {

    /* 1. Shrink the White Container (Top Bar containing Date/Icons) */
    .top-bar,
    .header-top,
    .top-nav-bar {
        padding-top: 2px !important;
        padding-bottom: 2px !important;
        height: auto !important;
        min-height: 30px !important;
        /* Very compact */
    }

    /* 2. Make the Date Text Smaller */
    .top-bar span,
    .header-top .date-text,
    .top-nav-bar .date-text {
        font-size: 10px !important;
        line-height: 12px;
        display: inline-block;
    }

    /* 3. Shrink the Icons (Flags & Moon) */
    .top-bar img,
    .top-bar .icon,
    .top-nav-bar img,
    .top-nav-bar i {
        height: 14px !important;
        width: auto !important;
        font-size: 14px !important;
        /* For font icons */
        margin-top: 0 !important;
    }

    /* 4. Ensure items are centered */
    .top-bar .container,
    .top-nav-bar .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-direction: row !important;
        /* Force row on mobile */
    }

    /* 5. Expand Blue Navy Navbar slightly */
    .main-navbar {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }
}


/* ==========================================================================
   🌙 DARK MODE DEEP FIXES - ARTICLE PAGE & SIDEBAR COMPLETE OVERHAUL
   ========================================================================== */

/* ARTICLE PAGE - Main Content Box Background Fix */
body.dark-mode .article-main-box,
body.dark-mode .bg-white,
body.dark-mode .shadow-sm.rounded {
    background-color: #0d0d0d !important;
    border-color: #1a1a1a !important;
}

/* ARTICLE PAGE - Content Background */
body.dark-mode .bg-light-styled {
    background: linear-gradient(to bottom, #050505 0%, #0a0a0a 100%) !important;
}

/* ARTICLE PAGE - Fix the white sidebar container */
body.dark-mode .col-lg-4 {
    background-color: transparent !important;
}

body.dark-mode .col-lg-4 .sticky-top {
    background-color: transparent !important;
}

/* ARTICLE PAGE SIDEBAR - Latest Updates Header */
body.dark-mode .col-lg-4 .d-flex.align-items-center.mb-4.border-bottom,
body.dark-mode .col-lg-4 .border-bottom {
    border-color: #2a2a2a !important;
    background-color: transparent !important;
}

body.dark-mode .col-lg-4 .bg-danger {
    background-color: #8b0000 !important;
}

/* ARTICLE PAGE SIDEBAR - Article items */
body.dark-mode .col-lg-4 .row.mb-4.align-items-center {
    background-color: transparent !important;
}

body.dark-mode .col-lg-4 h6.fw-bold,
body.dark-mode .col-lg-4 h6.fw-bold a,
body.dark-mode .col-lg-4 h5 {
    color: #e8e8e8 !important;
}

body.dark-mode .col-lg-4 h6.fw-bold a:hover {
    color: #f1c40f !important;
}

/* ARTICLE PAGE - Newsletter Widget Full Fix */
body.dark-mode .newsletter-widget {
    background: linear-gradient(135deg, #0c1a2e 0%, #1a2d4a 100%) !important;
    border: 1px solid #1e3a5f !important;
}

body.dark-mode .newsletter-widget h4 {
    color: #ffffff !important;
}

body.dark-mode .newsletter-widget p {
    color: #b8c5d4 !important;
}

body.dark-mode .newsletter-widget input.form-control {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

body.dark-mode .newsletter-widget input.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

body.dark-mode .newsletter-widget .icon-circle {
    background: linear-gradient(135deg, #FFD700 0%, #B8860B 100%) !important;
}

/* ARTICLE PAGE - Breadcrumb Fix */
body.dark-mode .breadcrumb,
body.dark-mode .breadcrumb-item {
    background-color: transparent !important;
}

body.dark-mode .breadcrumb-item a {
    color: #9ecfff !important;
}

body.dark-mode .breadcrumb-item.active {
    color: #888 !important;
}

/* ARTICLE PAGE - Title and Text Colors */
body.dark-mode .article-title-pro {
    background: linear-gradient(135deg, #f1c40f 0%, #ffffff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

body.dark-mode .article-body,
body.dark-mode #article-content-body,
body.dark-mode .article-body p,
body.dark-mode #article-content-body p {
    color: #d8d8d8 !important;
}

body.dark-mode .article-body h2,
body.dark-mode #article-content-body h2 {
    color: #f1c40f !important;
    border-left-color: #f1c40f !important;
    border-bottom-color: #2a2a2a !important;
    background: linear-gradient(to right, rgba(241, 196, 15, 0.08) 0%, transparent 100%) !important;
}

body.dark-mode .article-body h3,
body.dark-mode #article-content-body h3 {
    color: #9ecfff !important;
    border-left-color: #5a9fd4 !important;
}

body.dark-mode .article-body h4,
body.dark-mode #article-content-body h4 {
    color: #cccccc !important;
}

/* ARTICLE PAGE - Blockquotes */
body.dark-mode .article-body blockquote,
body.dark-mode #article-content-body blockquote {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%) !important;
    color: #f1c40f !important;
    border-left-color: #f1c40f !important;
    border-right-color: #f1c40f !important;
}

body.dark-mode .article-body blockquote p {
    color: #e8e8e8 !important;
}

/* ARTICLE PAGE - Tags */
body.dark-mode .tag-pill,
body.dark-mode .btn.border.tag-pill {
    background: #1a1a1a !important;
    color: #9ecfff !important;
    border-color: #333 !important;
}

body.dark-mode .tag-pill:hover {
    background: #f1c40f !important;
    color: #0c2444 !important;
    border-color: #f1c40f !important;
}

/* ARTICLE PAGE - Share Icons */
body.dark-mode .meta-share-icon,
body.dark-mode .d-flex.mt-4 a.text-muted {
    color: #888 !important;
}

body.dark-mode .meta-share-icon:hover,
body.dark-mode .d-flex.mt-4 a.text-muted:hover {
    color: #f1c40f !important;
}

/* ARTICLE PAGE - Image Caption */
body.dark-mode .fst-italic.font-serif {
    color: #888 !important;
}

/* ARTICLE PAGE - Strong/Bold Text Fix */
body.dark-mode .article-body strong,
body.dark-mode .article-body b,
body.dark-mode #article-content-body strong,
body.dark-mode #article-content-body b {
    color: #ffd700 !important;
}

/* ARTICLE PAGE - Links in Content */
body.dark-mode .article-body a:not(.btn),
body.dark-mode #article-content-body a:not(.btn) {
    color: #9ecfff !important;
    border-bottom-color: rgba(241, 196, 15, 0.4) !important;
}

body.dark-mode .article-body a:not(.btn):hover,
body.dark-mode #article-content-body a:not(.btn):hover {
    background: rgba(241, 196, 15, 0.15) !important;
    color: #ffffff !important;
}

/* ARTICLE PAGE - Sub-headline Fix */
body.dark-mode header .h3.text-muted {
    color: #9ecfff !important;
    border-left-color: #f1c40f !important;
}

/* ARTICLE PAGE - Drop Cap Fix */
body.dark-mode .article-body>p:first-of-type::first-letter,
body.dark-mode #article-content-body>p:first-of-type::first-letter {
    color: #ffd700 !important;
    text-shadow: 0 4px 8px rgba(255, 215, 0, 0.5) !important;
}


/* ==========================================================================
   🏠 HOMEPAGE PREMIUM SECTION BACKGROUNDS - REDUCED SPACING
   ========================================================================== */

/* Reduce Section Spacing Globally */
.section-band {
    padding: 50px 0 !important;
    margin: 0 !important;
}

/* POLITICS Section - Deep Red Gradient */
.section-band.bg-politics {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 30%, #fef0f0 60%, #ffffff 100%) !important;
    border-bottom: 3px solid rgba(139, 0, 0, 0.2) !important;
    position: relative;
}

.section-band.bg-politics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b0000, #c41e3a, #8b0000);
}

/* ECONOMY Section - Rich Green Gradient */
.section-band.bg-economy {
    background: linear-gradient(135deg, #f0f9f4 0%, #e8f5ed 30%, #f5faf7 60%, #ffffff 100%) !important;
    border-bottom: 3px solid rgba(46, 139, 87, 0.2) !important;
    position: relative;
}

.section-band.bg-economy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2e8b57, #3cb371, #2e8b57);
}

/* OPINION Section - Warm Gold/Orange Gradient */
.section-band.bg-opinion {
    background: linear-gradient(135deg, #fffcf0 0%, #fff9e6 30%, #fffaf0 60%, #fffef5 100%) !important;
    border-bottom: 3px solid rgba(210, 105, 30, 0.2) !important;
    position: relative;
}

.section-band.bg-opinion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4a853, #f1c40f, #d4a853);
    z-index: 1;
}

/* TECHNOLOGY Section - Cool Blue Gradient */
.section-band.bg-technology {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 30%, #f5f9ff 60%, #ffffff 100%) !important;
    border-bottom: 3px solid rgba(0, 0, 139, 0.2) !important;
    position: relative;
}

.section-band.bg-technology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00008b, #4169e1, #00008b);
}

/* LIGHT Section - Premium Cream */
.section-band.bg-light {
    background: linear-gradient(180deg, #fafbfc 0%, #f5f7fa 50%, #ffffff 100%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* WHITE Section - Pure White with Subtle Shadow Separator */
.section-band.bg-white {
    background: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.03) !important;
}

/* Remove border-bottom for cleaner transitions */
.section-band {
    border-bottom: none !important;
}


/* ==========================================================================
   🌙 DARK MODE - HOMEPAGE SECTION BACKGROUNDS
   ========================================================================== */

body.dark-mode .section-band.bg-politics {
    background: linear-gradient(135deg, #1a0808 0%, #2a1010 50%, #1f0c0c 100%) !important;
    border-bottom: 1px solid #3a1515 !important;
}

body.dark-mode .section-band.bg-politics::before {
    background: linear-gradient(90deg, #8b0000, #c41e3a, #8b0000);
}

body.dark-mode .section-band.bg-economy {
    background: linear-gradient(135deg, #0a1a10 0%, #102a18 50%, #0d200f 100%) !important;
    border-bottom: 1px solid #153020 !important;
}

body.dark-mode .section-band.bg-economy::before {
    background: linear-gradient(90deg, #2e8b57, #3cb371, #2e8b57);
}

body.dark-mode .section-band.bg-opinion {
    background: linear-gradient(135deg, #1a1508 0%, #2a2010 50%, #201a0c 100%) !important;
    border-bottom: 1px solid #3a3015 !important;
}

body.dark-mode .section-band.bg-opinion::before {
    background: linear-gradient(90deg, #d4a853, #f1c40f, #d4a853);
}

body.dark-mode .section-band.bg-technology {
    background: linear-gradient(135deg, #08101a 0%, #102030 50%, #0c1520 100%) !important;
    border-bottom: 1px solid #152540 !important;
}

body.dark-mode .section-band.bg-technology::before {
    background: linear-gradient(90deg, #4169e1, #6495ed, #4169e1);
}

body.dark-mode .section-band.bg-light,
body.dark-mode .section-band.bg-white {
    background: #0a0a0a !important;
    border-bottom: 1px solid #1a1a1a !important;
}


/* ==========================================================================
   📏 REDUCED SPACING BETWEEN SECTIONS
   ========================================================================== */

/* Tighter Section Padding */
.section-band {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

/* Reduce Title Margin */
.section-title {
    margin-bottom: 30px !important;
}

/* Remove excess gap between section bands */
.section-band+.section-band {
    margin-top: 0 !important;
}

/* Hero Section - Slightly Reduce Padding */
.section-band.bg-hero {
    padding-top: 20px !important;
    padding-bottom: 30px !important;
}

/* Middle Strip - Compact */
.py-4.border-bottom.bg-white {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

/* Horizontal Scroll Sections - Tighter */
.horizontal-scroll-layout {
    padding-top: 15px !important;
    padding-bottom: 25px !important;
    gap: 20px !important;
}


/* ==========================================================================
   🎨 HOMEPAGE CARD ENHANCEMENTS
   ========================================================================== */

/* Sidebar Cards in Latest Updates */
.col-lg-4>.card.border-0 {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

/* Grid Cards - Tighter Spacing */
.col-md-4.mb-4,
.col-6.col-md-3.mb-4 {
    margin-bottom: 20px !important;
}

/* Reduce Gap in Main Hero + Sidebar Layout */
.section-band .row {
    row-gap: 20px !important;
}


/* ==========================================================================
   📱 MOBILE RESPONSIVE - PREMIUM COMPACT DESIGN
   ========================================================================== */

/* 1. SECTION GLUE - Force Sections to Touch */
.section-band {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
}

.section-band+.section-band {
    margin-top: 0 !important;
    padding-top: 0 !important;
    /* Allow the previous section's bottom padding to act as the spacer */
}

.section-title {
    margin-bottom: 10px !important;
}

/* 2. Hero Section - Ultra Compact */
.section-band.bg-hero {
    padding-top: 5px !important;
    padding-bottom: 10px !important;
}

/* 3. Horizontal Scroll - Tighter */
.horizontal-scroll-layout {
    padding-bottom: 5px !important;
    margin-bottom: 0 !important;
}

/* 4. Remove last element margins */
.section-band .row:last-child,
.section-band .container:last-child {
    margin-bottom: 0 !important;
}

/* 5. Middle Strip - Compact */
.py-4.border-bottom.bg-white {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* --- MOBILE BREAKPOINT: 992px --- */
@media (max-width: 992px) {
    body {
        padding-top: 85px !important;
    }

    .main-navbar {
        height: auto !important;
        min-height: 50px !important;
        padding: 5px 0 !important;
    }

    .main-header-inner {
        height: auto !important;
        min-height: 50px !important;
    }
}

/* --- MOBILE BREAKPOINT: 768px --- */
@media (max-width: 768px) {
    body {
        padding-top: 75px !important;
    }

    /* Compact Header on Mobile */
    .top-nav-bar {
        height: 26px !important;
        padding: 3px 0 !important;
        font-size: 0.75rem !important;
    }

    .main-navbar {
        top: 26px !important;
        height: auto !important;
        min-height: 45px !important;
    }

    /* Smaller Logo on Mobile */
    .word-horn {
        font-size: 18px !important;
        letter-spacing: 1px !important;
    }

    .word-analysis {
        font-size: 8px !important;
        letter-spacing: 2px !important;
    }

    .logo-icon .shield-shape {
        height: 28px !important;
        width: 2px !important;
    }

    .brand-logo {
        gap: 6px !important;
    }

    /* Tighter Sections */
    .section-band {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .section-title {
        margin-bottom: 15px !important;
        font-size: 1.2rem !important;
        padding-bottom: 10px !important;
    }

    .section-title::before {
        display: none !important;
    }

    /* Hero Carousel */
    #heroCarousel .carousel-item {
        height: 40vh !important;
        min-height: 280px !important;
        max-height: 350px !important;
    }

    #heroCarousel .post-title {
        font-size: 1.3rem !important;
        line-height: 1.25 !important;
    }

    #heroCarousel .position-absolute {
        padding: 15px !important;
    }

    #heroCarousel .cat-badge {
        padding: 4px 8px !important;
        font-size: 0.6rem !important;
    }

    /* Latest Updates Section */
    .col-lg-8 .img-hover-box img {
        height: 250px !important;
    }

    .col-lg-8 .post-title.display-5 {
        font-size: 1.3rem !important;
    }

    /* Horizontal Scroll */
    .horizontal-scroll-layout {
        padding-top: 8px !important;
        padding-bottom: 15px !important;
        gap: 12px !important;
    }

    .h-item {
        width: 220px !important;
        min-width: 220px !important;
        flex: 0 0 220px !important;
    }

    /* Opinion/Avatar Cards */
    .circle-scroll-item {
        width: 200px !important;
        flex: 0 0 200px !important;
        padding: 15px 10px !important;
        border-radius: 16px !important;
    }

    .circle-avatar-box {
        width: 100px !important;
        height: 100px !important;
    }

    .circle-name {
        font-size: 0.85rem !important;
        letter-spacing: 1px !important;
    }

    .circle-snippet {
        font-size: 0.8rem !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
    }

    /* Grid Cards */
    .col-md-4.mb-4,
    .col-6.col-md-3.mb-4 {
        margin-bottom: 12px !important;
    }

    .col-md-4 .img-hover-box {
        height: 160px !important;
    }

    .col-md-4 h3.post-title {
        font-size: 1rem !important;
    }

    /* Tech Cards */
    .tech-new-card .tech-body {
        padding: 12px !important;
    }

    .tech-title {
        font-size: 1rem !important;
    }

    /* Nav Links */
    .nav-link {
        font-size: 13px !important;
        padding: 8px 10px !important;
    }

    /* Middle Strip */
    .py-4.border-bottom.bg-white .col-md-3 {
        margin-bottom: 15px !important;
    }

    .py-4.border-bottom.bg-white h5.fw-bold {
        font-size: 0.9rem !important;
    }

    /* Sidebar */
    .col-lg-4 .card.border-0 {
        padding: 10px 0 !important;
    }
}

/* --- MOBILE BREAKPOINT: 576px (Extra Small) --- */
@media (max-width: 576px) {
    body {
        padding-top: 60px !important;
    }

    .top-nav-bar {
        height: 22px !important;
    }

    .main-navbar {
        top: 22px !important;
        min-height: 38px !important;
    }

    .word-horn {
        font-size: 16px !important;
    }

    .word-analysis {
        font-size: 7px !important;
    }

    .section-band {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .section-title {
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
    }

    #heroCarousel .carousel-item {
        height: 35vh !important;
        min-height: 220px !important;
    }

    #heroCarousel .post-title {
        font-size: 1.1rem !important;
    }

    .col-lg-8 .img-hover-box img {
        height: 200px !important;
    }

    .col-lg-8 .post-title.display-5 {
        font-size: 1.1rem !important;
    }

    .h-item {
        width: 180px !important;
        min-width: 180px !important;
    }

    .circle-scroll-item {
        width: 160px !important;
        flex: 0 0 160px !important;
        padding: 12px 8px !important;
    }

    .circle-avatar-box {
        width: 80px !important;
        height: 80px !important;
    }

    .circle-name {
        font-size: 0.75rem !important;
    }

    .circle-snippet {
        font-size: 0.7rem !important;
    }

    /* Hide less critical elements on very small screens */
    .article-excerpt {
        display: none !important;
    }

    .py-4.border-bottom.bg-white {
        padding: 15px 0 !important;
    }
}