/* HisabMittra Premium Theme Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --hm-font-title: 'Poppins', sans-serif;
    --hm-font-body: 'Inter', sans-serif;
    
    /* Primary Colors */
    --hm-primary: #16A34A;
    --hm-primary-hover: #15803D;
    --hm-primary-rgb: 22, 163, 74;
    --hm-secondary: #0B4596;
    --hm-accent: #F97316;
    
    /* Theme adaptive background and text colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-card: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --border-color: #E5E7EB;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px -4px rgba(22, 163, 74, 0.12);
}

[data-theme="dark"] {
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --bg-card: #1E293B;
    --bg-glass: rgba(15, 23, 42, 0.85);
    --border-color: #334155;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 10px 30px -4px rgba(0, 0, 0, 0.5);
}

body {
    font-family: var(--hm-font-body);
    background-color: var(--bg-primary);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--hm-font-title);
    font-weight: 700;
    color: var(--text-main);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.glass-header {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1020;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--hm-primary) !important;
}

/* Animated Underline */
.animated-underline {
    position: relative;
}
.animated-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 1rem;
    background-color: var(--hm-primary);
    transition: width 0.3s ease;
}
.animated-underline:hover::after, .nav-link.active.animated-underline::after {
    width: calc(100% - 2rem);
}

/* Mega Menu */
.mega-dropdown {
    position: static !important;
}
.mega-menu-content {
    width: 100%;
    left: 0;
    right: 0;
    padding: 2rem;
    border-radius: 0 0 16px 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-hover);
    background: var(--bg-card);
    display: none;
    z-index: 1000;
}
.mega-dropdown:hover .mega-menu-content {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* News Ticker */
.news-ticker-bar {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 6px 0;
    font-size: 0.85rem;
    font-weight: 500;
}
.ticker-title {
    background: var(--hm-primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}
.ticker-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}
.ticker-track {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 35s linear infinite;
}
.ticker-track:hover {
    animation-play-state: paused;
}
.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}
.ticker-item:hover {
    color: var(--hm-primary);
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* ==========================================================================
   Hero & Search
   ========================================================================== */
.hero-banner {
    padding: 5rem 0;
    background: radial-gradient(circle at 50% 50%, rgba(var(--hm-primary-rgb), 0.03) 0%, rgba(0,0,0,0) 100%);
    border-bottom: 1px solid var(--border-color);
}

.search-input-group {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    border-radius: 50px;
    padding: 6px 12px;
    transition: box-shadow 0.3s, border-color 0.3s;
    max-width: 650px;
    margin: 0 auto;
}
.search-input-group:focus-within {
    box-shadow: var(--shadow-hover);
    border-color: var(--hm-primary);
}
.search-input {
    border: none;
    background: transparent;
    padding: 10px 15px;
    color: var(--text-main);
    width: 100%;
}
.search-input:focus {
    outline: none;
}
.voice-search-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.25rem;
    padding: 0 10px;
    transition: color 0.2s;
}
.voice-search-btn:hover {
    color: var(--hm-primary);
}
.btn-premium {
    background-color: var(--hm-primary);
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.2s;
}
.btn-premium:hover {
    background-color: var(--hm-primary-hover);
    transform: translateY(-1px);
}

/* Live Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 105%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    max-height: 380px;
    overflow-y: auto;
    display: none;
}
.search-suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    text-decoration: none;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
}
.search-suggestion-item:last-child {
    border-bottom: none;
}
.search-suggestion-item:hover {
    background-color: var(--bg-secondary);
}

/* Voice Search Modal Visualizer */
.voice-visualizer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    gap: 6px;
    margin: 20px 0;
}
.voice-bar {
    width: 6px;
    height: 20px;
    background: var(--hm-primary);
    border-radius: 3px;
    animation: bounce 1.2s infinite ease-in-out;
}
.voice-bar:nth-child(2) {
    animation-delay: -1.0s;
}
.voice-bar:nth-child(3) {
    animation-delay: -0.8s;
}
.voice-bar:nth-child(4) {
    animation-delay: -0.6s;
}
@keyframes bounce {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(3.5); }
}

/* ==========================================================================
   Premium Cards & Components
   ========================================================================== */
.hm-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s;
    overflow: hidden;
    height: 100%;
}
.hm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hm-card:hover .card-img-container img {
    transform: scale(1.05);
}

/* Reading Progress Bar */
#reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background-color: var(--hm-primary);
    width: 0;
    z-index: 1030;
    transition: width 0.1s ease;
}

/* Floating Sidebar Actions */
.floating-actions-bar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.action-circle-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--text-main);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: all 0.2s;
}
.action-circle-btn:hover {
    background-color: var(--hm-primary);
    color: #fff;
    border-color: var(--hm-primary);
    transform: translateY(-2px);
}
.action-circle-btn.active {
    background-color: var(--hm-primary);
    color: #fff;
    border-color: var(--hm-primary);
}

/* Table of Contents */
.toc-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}
.toc-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.toc-list li {
    margin-bottom: 8px;
}
.toc-list li a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.toc-list li a:hover {
    color: var(--hm-primary);
}
.toc-list li.toc-h3 {
    padding-left: 15px;
}

/* Callout & Quote blocks */
.callout-box {
    background-color: var(--bg-secondary);
    border-left: 4px solid var(--hm-primary);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}
blockquote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-main);
    border-left: 4px solid var(--hm-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

/* ==========================================================================
   Animations & Utilities
   ========================================================================== */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--hm-primary);
    color: #fff !important;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.btn-back-to-top:hover {
    transform: translateY(-3px);
    background-color: var(--hm-primary-hover);
}

.reveal-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-fade-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--border-color) 25%, var(--bg-secondary) 50%, var(--border-color) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}
@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Typography customizations for single post rendering */
.article-body-content p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-main);
    line-height: 1.8;
}
.article-body-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    font-size: 1.75rem;
}
.article-body-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.4rem;
}

/* Reading Mode Override */
body.reading-mode {
    background-color: #FDFBF7 !important; /* warm paper look */
    color: #111111 !important;
}
body.reading-mode .glass-header, 
body.reading-mode footer,
body.reading-mode .sidebar-container,
body.reading-mode .non-reading-element {
    display: none !important;
}
body.reading-mode .article-body-content {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.9;
}
body.reading-mode #reading-mode-exit-btn {
    display: block !important;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
}
#reading-mode-exit-btn {
    display: none;
}

/* Responsive constraints */
@media (max-width: 991px) {
    .floating-actions-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        flex-direction: row;
        justify-content: space-around;
        background: var(--bg-glass);
        backdrop-filter: blur(12px);
        padding: 10px;
        border-top: 1px solid var(--border-color);
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    }
    .action-circle-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Asymmetric masonry grid & glowing gradient cards */
.gradient-border-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 16px;
    border: solid 3px transparent;
    background-clip: padding-box;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.gradient-border-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    margin: -3px; /* match border size */
    border-radius: 16px;
    background: linear-gradient(135deg, #16A34A, #3B82F6, #EC4899, #F97316);
    background-size: 200% 200%;
    animation: borderGlow 6s linear infinite;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-border-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(22, 163, 74, 0.18);
}

.header-bottom-gradient {
    height: 4px;
    background: linear-gradient(90deg, #16A34A, #3B82F6, #EC4899, #F97316);
    width: 100%;
}

/* Featured Large card horizontal display */
.featured-asymmetric-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

@media (max-width: 768px) {
    .featured-asymmetric-card {
        flex-direction: column;
    }
}

/* Floating animation for Hero visual and card zoom details */
@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.hero-img-container img {
    animation: floatImage 5s ease-in-out infinite;
    transition: filter 0.3s ease;
}

.hero-img-container img:hover {
    filter: brightness(1.03) contrast(1.02);
}

.gradient-border-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.gradient-border-card .card-img-container img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gradient-border-card:hover .card-img-container img {
    transform: scale(1.08);
}

/* Global Heading Boldness and Styles */
h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5 {
    font-weight: 800 !important;
    letter-spacing: -0.8px;
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #16A34A, #0B4596, #F97316);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.section-title:hover::after {
    width: 100px;
}

/* Global Content Text Boldness */
section p, 
section span, 
section a, 
section li, 
.card-body p, 
.card-body span, 
.lead,
.text-muted {
    font-weight: 600 !important;
}

/* Make sure small text labels don't get oversized but remain bold */
small, .small {
    font-weight: 700 !important;
}

/* ==========================================================================
   Premium Dynamic Hero Slider
   ========================================================================== */
.hero-slider-container {
    height: 460px;
    position: relative;
    overflow: hidden;
    background-color: #0f172a;
}
@media (max-width: 991.98px) {
    .hero-slider-container { height: 340px; }
}
@media (max-width: 575.98px) {
    .hero-slider-container { height: 240px; }
}

.slide-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        135deg,
        rgba(11,69,150,0.72) 0%,
        rgba(15,23,42,0.55) 50%,
        rgba(11,69,150,0.30) 100%
    );
    z-index: 1;
}

.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease-out;
}

/* Ken Burns background zoom animation */
@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}
.carousel-item.active .slide-bg {
    animation: kenBurns 6s ease-out forwards;
}

/* Glassmorphism content card */
.slider-glass-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    border-radius: 24px;
    padding: 2.8rem;
    max-width: 530px;
    z-index: 2;
    transition: all 0.3s ease;
}

[data-theme="dark"] .slider-glass-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 767.98px) {
    .slider-glass-card {
        padding: 1.5rem;
        margin: 0 12px;
        max-width: 100%;
        border-radius: 16px;
    }
}

/* Staggered slide-in content animations */
/* Stagger slide-in animations — handled by parent .slider-bottom-bar */
.carousel-item .slider-badge,
.carousel-item .slider-title,
.carousel-item .slider-desc,
.carousel-item .slider-ctas {
    opacity: 0;
    transform: translateY(14px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.carousel-item .slider-title  { transition-delay: 0.1s; }
.carousel-item .slider-desc   { transition-delay: 0.2s; }
.carousel-item .slider-ctas   { transition-delay: 0.3s; }

.carousel-item.active .slider-badge,
.carousel-item.active .slider-title,
.carousel-item.active .slider-desc,
.carousel-item.active .slider-ctas {
    opacity: 1;
    transform: translateY(0);
}

/* Slide progress loading bar */
.slider-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #16A34A, #0B4596, #F97316);
    width: 0%;
    z-index: 10;
}
@keyframes progressBarRun {
    from { width: 0%; }
    to { width: 100%; }
}
.slider-progress-bar.running {
    animation: progressBarRun 5s linear forwards;
}
.hero-slider-container:hover .slider-progress-bar.running {
    animation-play-state: paused;
}

/* Custom Controls styling */
.carousel-control-prev-custom, .carousel-control-next-custom {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50%;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.carousel-control-prev-custom:hover, .carousel-control-next-custom:hover {
    background: #2563EB;
    color: #fff;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.35);
}
.carousel-control-prev-custom { left: 30px; }
.carousel-control-next-custom { right: 30px; }

@media (max-width: 768px) {
    .carousel-control-prev-custom, .carousel-control-next-custom {
        display: none;
    }
}

.slider-dots-container {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.slider-dot-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}
.slider-dot-btn.active {
    background: #2563EB;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

/* Floating decorative shapes */
.floating-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    pointer-events: none;
    z-index: 1;
    animation: floatParticle 8s ease-in-out infinite;
}
@keyframes floatParticle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

/* ==========================================================================
   Slider Horizontal Bottom Bar
   ========================================================================== */
/* ── Centered Overlay Content ── */
.slider-bottom-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(16px);
    z-index: 5;
    width: calc(100% - 120px);
    max-width: 800px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.65s ease 0.2s, transform 0.65s ease 0.2s;
    display: block !important;
}
.carousel-item.active .slider-bottom-bar {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}
.slider-bar-left { display: block; margin-bottom: 12px; }
.slider-bar-center { display: block; margin-bottom: 18px; }
.slider-bar-center p { color: rgba(255,255,255,0.88) !important; font-size: 0.95rem; font-weight: 500; line-height: 1.6; }
.slider-bar-right { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Slide title — white & bold */
.slider-title {
    color: #fff !important;
    font-size: clamp(1.3rem, 2.8vw, 2rem) !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* Category badge */
.slider-badge {
    font-size: 0.7rem !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    border-radius: 50px !important;
    padding: 5px 14px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* CTA Buttons */
.slider-ctas .btn-premium {
    background: #fff !important;
    color: #0B4596 !important;
    font-weight: 800;
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.slider-ctas .btn-premium:hover { background: #0B4596 !important; color: #fff !important; }
.slider-ctas .btn-outline-light {
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    font-weight: 700;
    backdrop-filter: blur(4px);
}
.slider-ctas .btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

@media (max-width: 575.98px) {
    .slider-bottom-bar {
        width: calc(100% - 40px);
    }
    .slider-bar-center { display: none; }
    .slider-title { font-size: 1.1rem !important; }
}

/* ==========================================================================
   Business Knowledge Hub — Bento Grid
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);   /* 3 equal columns */
    grid-auto-rows: minmax(260px, auto);      /* min height but expands with content */
    gap: 18px;
    grid-auto-flow: dense;                   /* backfill empty gaps automatically */
}

/* Size variants */
.bento-wide  { grid-column: span 2; }        /* spans 2 of 3 cols */
.bento-tall  { grid-row: span 2; }           /* spans 2 rows */
.bento-big   { grid-column: span 2; grid-row: span 2; }
.bento-small { grid-column: span 1; }

/* Responsive: 2-col on tablet */
@media (max-width: 991.98px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(240px, auto);
    }
    .bento-wide { grid-column: span 2; }
    .bento-tall { grid-row: span 1; }   /* flatten tall on tablet */
    .bento-big  { grid-column: span 2; grid-row: span 1; }
}

/* Responsive: 1-col on mobile */
@media (max-width: 575.98px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 14px;
    }
    .bento-wide,
    .bento-tall,
    .bento-big,
    .bento-small { grid-column: span 1; grid-row: span 1; }
}

/* Card shell — NO overflow:hidden so content is never clipped */
.bento-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* Colored accent header */
.bento-header {
    padding: 16px 18px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
    border-radius: 20px 20px 0 0;   /* round only top corners */
}

/* Icon tile */
.bento-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bento-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Title group */
.bento-title-group { flex: 1; min-width: 0; }
.bento-cat-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 30px;
    margin-bottom: 4px;
    text-transform: uppercase;
}
.bento-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Body — flex-grow so footer sticks to bottom */
.bento-body {
    flex: 1;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bento-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.55;
    font-weight: 600;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Tall cards: show full description, no clamp */
.bento-desc-tall {
    -webkit-line-clamp: unset;
    overflow: visible;
    display: block;
}

/* Sub-category badges */
.bento-subs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.bento-sub-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid;
    background: var(--bg-card);
    text-decoration: none;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.bento-sub-badge:hover { opacity: 0.7; }

/* Article links */
.bento-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}
.bento-link-item {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.2s;
    line-height: 1.4;
}
.bento-link-item:hover { color: var(--accent, #2563EB); }
.bento-link-item span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bento-link-icon { font-size: 0.9rem; flex-shrink: 0; margin-top: 2px; }

/* Footer CTA */
.bento-footer {
    padding: 10px 18px 16px;
    flex-shrink: 0;
}
.bento-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 30px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
    letter-spacing: 0.3px;
}
.bento-cta:hover { opacity: 0.85; color: #fff; transform: scale(1.04); }

/* ==========================================================================
   About Page — Premium Styles
   ========================================================================== */

/* ---- Hero ---- */
.about-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f7ff 0%, #f5f3ff 50%, #f0fdf4 100%);
    padding: 80px 0 70px;
    border-bottom: 1px solid var(--border-color);
}
.about-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    pointer-events: none;
}
.about-blob-1 { width: 500px; height: 500px; background: #2563EB; top: -120px; left: -120px; }
.about-blob-2 { width: 400px; height: 400px; background: #16A34A; bottom: -100px; right: -80px; }

.about-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.about-hero-text { flex: 1 1 400px; }
.about-eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2563EB;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}
.about-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-main);
}
.about-hero-sub {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 520px;
    font-weight: 600;
}
.about-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Stat cards grid */
.about-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    flex: 0 0 auto;
}
.about-stat-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 18px;
    padding: 22px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    transition: transform 0.3s ease;
}
.about-stat-card:hover { transform: translateY(-4px); }
.about-stat-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--ac, #2563EB);
    line-height: 1;
}
.about-stat-plus { font-size: 1.5rem; font-weight: 900; color: var(--ac, #2563EB); }
.about-stat-card small {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ---- Mission / Vision cards ---- */
.mv-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.mv-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.mv-heading { font-size: 1.3rem; font-weight: 800; margin: 0; }
.mv-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; font-weight: 600; margin: 0; }
.mv-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.mv-list li { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 700; color: var(--text-main); }
.mv-list i { font-size: 1rem; flex-shrink: 0; }

/* ---- Values grid ---- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
@media (max-width: 991px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .values-grid { grid-template-columns: 1fr; } }

.value-tile {
    background: var(--vb, #EFF6FF);
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-tile:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(0,0,0,0.1); }
.value-icon {
    width: 48px; height: 48px;
    background: var(--vc, #2563EB);
    color: #fff;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 14px;
}
.value-tile h5 { font-weight: 800; margin-bottom: 8px; color: var(--text-main); }
.value-tile p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; font-weight: 600; margin: 0; }

/* ---- Timeline ---- */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 36px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #2563EB, #16A34A, #F97316, #8B5CF6);
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    margin-bottom: 36px;
}
.timeline-dot {
    position: absolute;
    left: -28px;
    top: 6px;
    width: 16px; height: 16px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}
.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.timeline-year {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}
.timeline-card h5 { font-weight: 800; margin-bottom: 8px; }
.timeline-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; font-weight: 600; margin: 0; }

/* ---- Author cards ---- */
.author-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    height: 100%;
}
.author-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }

.author-avatar-wrap {
    width: 80px; height: 80px;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(var(--aac, #2563EB), #fff, var(--aac, #2563EB));
    margin-bottom: 4px;
}
.author-avatar {
    width: 100%; height: 100%;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}
.author-name { font-size: 1rem; font-weight: 800; margin: 0; color: var(--text-main); }
.author-exp { font-size: 0.75rem; font-weight: 700; }
.author-bio {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.author-skills { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.author-skill-badge {
    font-size: 0.68rem; font-weight: 700;
    padding: 3px 10px; border-radius: 20px;
    border: 1px solid;
}
.author-cta {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.8rem; font-weight: 700;
    padding: 7px 18px; border-radius: 30px;
    border: 2px solid;
    text-decoration: none;
    margin-top: auto;
    transition: background 0.2s, color 0.2s;
}
.author-cta:hover { color: #fff !important; background: var(--aac, #2563EB); border-color: var(--aac, #2563EB); }

/* ---- CTA Banner ---- */
.about-cta-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 50%, #1D4ED8 100%);
    padding: 64px 0;
}
.about-cta-blob {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    top: -150px; right: -100px;
}
.about-cta-inner {
    position: relative; z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.about-cta-text { flex: 1 1 300px; }
.about-cta-text h2 { color: #fff; font-size: 2rem; font-weight: 900; margin-bottom: 8px; }
.about-cta-text p { color: rgba(255,255,255,0.8); font-size: 0.95rem; font-weight: 600; margin: 0; }
.about-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Responsive hero */
@media (max-width: 767px) {
    .about-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .about-hero-inner { flex-direction: column; }
    .about-cta-inner { flex-direction: column; text-align: center; }
    .about-cta-btns { justify-content: center; }
}

/* ---- Editorial Process Steps ---- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
@media (max-width: 991px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .process-steps { grid-template-columns: 1fr; } }

.process-step {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px 22px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0,0,0,0.09); }

.process-num {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    font-size: 0.75rem; font-weight: 900;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.process-connector {
    display: none; /* shown via pseudo on desktop */
}
.process-icon {
    width: 54px; height: 54px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin: 0 auto 14px;
}
.process-step h5 { font-weight: 800; margin-bottom: 8px; font-size: 1rem; }
.process-step p  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; font-weight: 600; margin: 0; }

/* ---- Topics Chip Grid ---- */
.topics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.topic-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1.5px solid var(--tc, #2563EB);
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--tc, #2563EB);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}
.topic-chip:hover {
    background: var(--tc, #2563EB);
    color: #fff;
    transform: translateY(-2px);
}
.topic-chip-icon { font-size: 1rem; }
.topic-chip-more {
    background: linear-gradient(135deg, #2563EB, #8B5CF6);
    color: #fff !important;
    border-color: transparent;
}
.topic-chip-more:hover { opacity: 0.85; }

/* ---- Testimonial Cards ---- */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.10); }
.testimonial-stars { font-size: 1rem; color: #F59E0B; letter-spacing: 2px; }
.testimonial-quote {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-main);
    font-weight: 600;
    font-style: italic;
    margin: 0;
    flex: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}
.testimonial-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 900;
    flex-shrink: 0;
}
.testimonial-author strong { font-size: 0.88rem; font-weight: 800; display: block; }
.testimonial-author small { font-size: 0.75rem; }

/* ---- FAQ Accordion ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.faq-item.open { box-shadow: 0 8px 30px rgba(37,99,235,0.10); border-color: #BFDBFE; }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: left;
    transition: color 0.2s;
}
.faq-q:hover { color: #2563EB; }
.faq-item.open .faq-q { color: #2563EB; }
.faq-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #2563EB;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 22px;
}
.faq-item.open .faq-a {
    max-height: 300px;
    padding: 0 22px 18px;
}
.faq-a p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 600;
    margin: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

/* ==========================================================================
   Latest Business Insights — News Portal Format
   ========================================================================== */

/* Large Featured Card */
.insight-large-card-link {
    display: block;
}
.insight-large-card {
    position: relative;
    height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.insight-large-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.insight-large-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 24px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}
.insight-cat-badge {
    align-self: flex-start;
    background: #16A34A; /* Brand Primary Green */
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 30px;
}
.insight-large-title {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 10px;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.insight-meta {
    opacity: 0.85;
    font-weight: 600;
}

/* Horizontal List Cards */
.insight-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.2s ease;
}
.insight-list-item:last-child {
    border-bottom: none;
}
.insight-list-img-wrap {
    width: 130px;
    height: 85px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.insight-list-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.insight-list-item:hover .insight-list-img-wrap img {
    transform: scale(1.08);
}
.insight-list-content {
    flex-grow: 1;
    min-width: 0;
    text-align: left;
}
.insight-list-cat {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #0B4596; /* Brand Secondary Blue */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.insight-list-title {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0;
}
.insight-list-title a {
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Right column vertical container */
.insight-right-list {
    display: flex;
    flex-direction: column;
}
.insight-right-list .insight-list-item {
    padding: 14px 0;
}
.insight-right-list .insight-list-item:first-child {
    padding-top: 0;
}
.insight-right-list .insight-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Responsiveness adjustments */
@media (max-width: 575.98px) {
    .insight-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .insight-list-img-wrap {
        width: 100%;
        height: 160px;
    }
}

/* ==========================================================================
   Featured Editorials & Business Shorts Styles
   ========================================================================== */

/* Main Big Editorial Card */
.editorial-main-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.editorial-main-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.editorial-main-title {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.3;
}
.editorial-main-title a {
    color: var(--text-main);
}
.editorial-main-img-wrap img {
    transition: transform 0.4s ease;
}
.editorial-main-card:hover .editorial-main-img-wrap img {
    transform: scale(1.04);
}

/* Business Shorts Slider */
.shorts-scroll-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
    padding: 10px 0 20px;
}
.shorts-scroll-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.short-card-item {
    flex: 0 0 200px; /* Width of each Shorts card */
    scroll-snap-align: start;
    cursor: pointer;
}
.short-card-inner {
    position: relative;
    height: 320px; /* Vertical aspect ratio */
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.short-card-inner:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(220,38,38,0.25);
}

/* Play Button Overlay */
.short-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(220,38,38,0.9); /* Red play button */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s, background 0.2s;
    z-index: 2;
}
.short-card-inner:hover .short-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: #dc2626;
}

/* Shorts Overlay Info */
.short-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 14px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    z-index: 1;
}
.short-title {
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 4px;
}
/* Top-left category badge */
.short-badge-top {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Fullscreen Shorts Video Player Overlay */
.short-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}
.short-video-container {
    position: relative;
    width: 100%;
    max-width: 380px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.short-video-wrapper {
    position: relative;
    width: 100%;
    height: 580px;
    background: #000;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    overflow: hidden;
}
.short-video-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #dc2626;
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 10002;
    transition: transform 0.2s, background-color 0.2s;
}
.short-video-close:hover {
    transform: scale(1.1);
    background: #b91c1c;
}
.short-video-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
}

