/**
 * Ustadz News - Official News & Da'wah Portal Stylesheet
 * "Menginspirasi dengan Nilai, Mencerahkan dengan Fakta."
 * Di bawah naungan Yayasan Peduli Perjuangan Masyarakat Bersih
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Amiri:wght@400;700&display=swap');

:root {
    /* Brand Primary: Obsidian Black & Charcoal */
    --bn-primary: #0a0e17;
    --bn-primary-dark: #000000;
    --bn-primary-light: #161c28;
    
    /* Brand Accent: Royal Gold, Antique Gold & Luster */
    --bn-accent-gold: #d4af37;
    --bn-accent-gold-hover: #b8860b;
    --bn-accent-gold-light: #f3e5ab;
    --bn-accent-gold-glow: #e5c058;
    --bn-gold-gradient: linear-gradient(135deg, #d4af37 0%, #f6e08f 50%, #b8860b 100%);
    --bn-gold-gradient-subtle: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.03) 100%);
    --bn-gold-border: rgba(212, 175, 55, 0.4);
    
    /* Legacy accent aliases mapped cleanly to gold */
    --bn-accent-red: #d4af37;
    --bn-accent-red-hover: #b8860b;
    --bn-accent-green: #059669;
    
    /* Clean White Surfaces */
    --bn-bg-body: #f8fafc;
    --bn-bg-card: #ffffff;
    --bn-bg-card-hover: #ffffff;
    --bn-bg-header: #ffffff;
    --bn-bg-topbar: #070a10;
    --bn-bg-navbar: #0a0e17;
    --bn-bg-footer: #05070c;
    --bn-bg-muted: #f1f5f9;
    --bn-bg-input: #ffffff;
    
    /* Text Hierarchy */
    --bn-text-main: #0f172a;
    --bn-text-muted: #475569;
    --bn-text-light: #94a3b8;
    --bn-text-inverse: #ffffff;
    
    /* Borders & Shadows */
    --bn-border-color: #e2e8f0;
    --bn-border-light: #f1f5f9;
    
    --bn-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --bn-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --bn-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --bn-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --bn-shadow-gold: 0 8px 24px -4px rgba(212, 175, 55, 0.22);
    
    --bn-radius-sm: 6px;
    --bn-radius-md: 10px;
    --bn-radius-lg: 16px;
    --bn-radius-xl: 24px;
    
    --bn-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --bn-font-serif: 'Playfair Display', Georgia, serif;
    --bn-font-arabic: 'Amiri', serif;
    --bn-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Theme Variables (Luxurious Midnight Black & Gold) */
[data-theme="dark"] {
    --bn-bg-body: #070a10;
    --bn-bg-card: #0f141f;
    --bn-bg-card-hover: #151c2c;
    --bn-bg-header: #0a0e17;
    --bn-bg-topbar: #04060a;
    --bn-bg-navbar: #06090f;
    --bn-bg-footer: #030407;
    --bn-bg-muted: #161d2d;
    --bn-bg-input: #121824;
    
    --bn-text-main: #f8fafc;
    --bn-text-muted: #94a3b8;
    --bn-text-light: #64748b;
    
    --bn-border-color: rgba(212, 175, 55, 0.18);
    --bn-border-light: rgba(255, 255, 255, 0.06);
    
    --bn-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.5);
    --bn-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6);
    --bn-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7);
    --bn-shadow-gold: 0 8px 24px -4px rgba(212, 175, 55, 0.3);
}

/* Reset & Base Setup */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--bn-font-sans);
    background-color: var(--bn-bg-body);
    color: var(--bn-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--bn-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.bn-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 1. TOP BAR ==================== */
.bn-topbar {
    background-color: var(--bn-bg-topbar);
    color: #cbd5e1;
    font-size: 0.825rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bn-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.bn-topbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.bn-date-clock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.bn-date-clock i {
    color: var(--bn-accent-gold);
}

.bn-topbar-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bn-topbar-links a {
    color: #94a3b8;
    font-size: 0.8rem;
    transition: var(--bn-transition);
}

.bn-topbar-links a:hover {
    color: var(--bn-accent-gold-light);
}

.bn-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bn-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bn-social-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--bn-transition);
}

.bn-social-btn:hover {
    background: var(--bn-accent-gold);
    color: #0a0e17;
    border-color: var(--bn-accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.bn-theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #f1f5f9;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--bn-transition);
}

.bn-theme-toggle i {
    color: var(--bn-accent-gold);
}

.bn-theme-toggle:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--bn-accent-gold);
    color: #ffffff;
}

/* ==================== 2. MAIN HEADER ==================== */
.bn-main-header {
    background-color: var(--bn-bg-header);
    border-bottom: 2px solid rgba(212, 175, 55, 0.25);
    padding: 16px 0;
    transition: var(--bn-transition);
}

.bn-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Logo Section */
.bn-brand-group {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.bn-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(212, 175, 55, 0.3);
    transition: var(--bn-transition);
}

.bn-brand-group:hover .bn-logo-img {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35), 0 0 0 2px var(--bn-accent-gold);
}

.bn-brand-text {
    display: flex;
    flex-direction: column;
}

.bn-brand-title {
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--bn-text-main);
    line-height: 1.15;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bn-brand-title span.dot-news {
    color: var(--bn-accent-gold);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.bn-brand-sub {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--bn-text-muted);
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bn-brand-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.12);
    color: #b8860b;
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .bn-brand-badge {
    color: var(--bn-accent-gold-light);
}

/* Header Banner / Quote */
.bn-header-ad-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bn-gold-gradient-subtle);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 10px 18px;
    border-radius: var(--bn-radius-md);
    max-width: 480px;
    position: relative;
    overflow: hidden;
}

.bn-header-ad-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--bn-gold-gradient);
}

.bn-header-ad-banner i {
    font-size: 1.6rem;
    color: var(--bn-accent-gold);
}

.bn-header-ad-text {
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--bn-text-muted);
}

.bn-header-ad-text strong {
    color: var(--bn-text-main);
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
}

/* Header Search & Actions */
.bn-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bn-quick-search-form {
    position: relative;
    width: 220px;
}

.bn-quick-search-input {
    width: 100%;
    padding: 8px 36px 8px 14px;
    border-radius: 20px;
    border: 1px solid var(--bn-border-color);
    background-color: var(--bn-bg-input);
    color: var(--bn-text-main);
    font-size: 0.825rem;
    outline: none;
    transition: var(--bn-transition);
}

.bn-quick-search-input:focus {
    border-color: var(--bn-accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
    width: 260px;
}

.bn-quick-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--bn-accent-gold);
    cursor: pointer;
    font-size: 0.85rem;
}

.bn-cta-aspirasi {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--bn-gold-gradient);
    color: #0a0e17 !important;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.825rem;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.35);
    transition: var(--bn-transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.bn-cta-aspirasi:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.45);
    filter: brightness(1.05);
}

/* ==================== 3. NAVIGATION BAR ==================== */
.bn-navbar {
    background-color: var(--bn-bg-navbar);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    border-bottom: 2px solid var(--bn-accent-gold);
}

.bn-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bn-nav-menu {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
}

.bn-nav-menu::-webkit-scrollbar {
    display: none;
}

.bn-nav-item {
    position: relative;
    white-space: nowrap;
}

.bn-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e2e8f0;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 13px 16px;
    border-bottom: 3px solid transparent;
    transition: var(--bn-transition);
}

.bn-nav-link:hover,
.bn-nav-link.active {
    color: #ffffff;
    background-color: rgba(212, 175, 55, 0.15);
    border-bottom-color: var(--bn-accent-gold);
}

.bn-nav-link.active i {
    color: var(--bn-accent-gold);
}

.bn-nav-link i {
    font-size: 0.85rem;
    opacity: 0.85;
}

.bn-nav-item.has-dropdown:hover .bn-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bn-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #0a0e17;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-top: 2px solid var(--bn-accent-gold);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    padding: 8px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.bn-nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--bn-transition);
}

.bn-nav-dropdown-item:hover {
    background: rgba(212, 175, 55, 0.12);
    color: var(--bn-accent-gold-light);
    padding-left: 22px;
}

.bn-nav-dropdown-item i {
    font-size: 0.8rem;
}

.bn-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bn-accent-gold);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 10px;
}

/* ==================== 4. BREAKING NEWS TICKER ==================== */
.bn-ticker-wrapper {
    background-color: var(--bn-bg-card);
    border-bottom: 1px solid var(--bn-border-color);
    padding: 8px 0;
    box-shadow: var(--bn-shadow-sm);
}

.bn-ticker-inner {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bn-ticker-badge {
    background: var(--bn-gold-gradient);
    color: #0a0e17;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
    animation: pulseGold 2.5s infinite;
}

@keyframes pulseGold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0); }
}

.bn-ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 24px;
}

.bn-ticker-items {
    display: flex;
    gap: 30px;
    white-space: nowrap;
    animation: tickerMove 30s linear infinite;
}

.bn-ticker-items:hover {
    animation-play-state: paused;
}

@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.bn-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--bn-text-main);
}

.bn-ticker-item:hover {
    color: var(--bn-accent-gold);
}

.bn-ticker-dot {
    width: 6px;
    height: 6px;
    background-color: var(--bn-accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
}

/* ==================== 5. HERO HEADLINE SECTION ==================== */
.bn-hero-section {
    padding: 24px 0 16px;
    width: 100%;
}

.bn-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 18px;
    width: 100%;
}

.bn-hero-grid > * {
    min-width: 0;
}

/* Lead Big Story */
.bn-lead-story {
    position: relative;
    border-radius: var(--bn-radius-lg);
    overflow: hidden;
    height: 480px;
    box-shadow: var(--bn-shadow-md);
    background-color: #0f172a;
    min-width: 0;
}

.bn-lead-story img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bn-lead-story:hover img {
    transform: scale(1.04);
}

.bn-lead-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    color: #ffffff;
}

.bn-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    background: var(--bn-gold-gradient);
    color: #0a0e17;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.bn-lead-title {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    word-break: break-word;
    overflow-wrap: break-word;
}

.bn-lead-excerpt {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.45;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
}

.bn-lead-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: #94a3b8;
    flex-wrap: wrap;
}

.bn-lead-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Sub-Hero Grid 2x2 */
.bn-sub-hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    min-width: 0;
}

.bn-sub-story {
    position: relative;
    border-radius: var(--bn-radius-md);
    overflow: hidden;
    height: 232px;
    box-shadow: var(--bn-shadow-sm);
    background-color: #0f172a;
    min-width: 0;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--bn-transition);
}

.bn-sub-story:hover {
    border-color: var(--bn-accent-gold);
    box-shadow: var(--bn-shadow-gold);
}

.bn-sub-story img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bn-sub-story:hover img {
    transform: scale(1.05);
}

.bn-sub-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    color: #ffffff;
}

.bn-sub-badge {
    display: inline-block;
    align-self: flex-start;
    background: rgba(10, 14, 23, 0.85);
    color: var(--bn-accent-gold-light);
    border: 1px solid rgba(212, 175, 55, 0.4);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 6px;
}

.bn-sub-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
}

.bn-sub-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ==================== 6. MAIN CONTENT LAYOUT ==================== */
.bn-main-section {
    padding: 24px 0 48px;
    width: 100%;
}

.bn-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
    align-items: start;
    width: 100%;
}

.bn-main-feed,
.bn-article-main,
.bn-sidebar,
.bn-layout-grid > * {
    min-width: 0;
    max-width: 100%;
}

/* Section Header Titles */
.bn-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--bn-border-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
}

.bn-section-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 3px;
    background: var(--bn-gold-gradient);
    border-radius: 2px;
}

.bn-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--bn-text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.bn-section-title i {
    color: var(--bn-accent-gold);
}

/* Category Filter Tabs */
.bn-cat-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
}

.bn-cat-tab-btn {
    background: var(--bn-bg-muted);
    border: 1px solid var(--bn-border-color);
    color: var(--bn-text-muted);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--bn-transition);
}

.bn-cat-tab-btn:hover,
.bn-cat-tab-btn.active {
    background: #0a0e17;
    color: var(--bn-accent-gold-light);
    border-color: var(--bn-accent-gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* News List Stream */
.bn-news-stream {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.bn-card-horizontal {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 20px;
    background: var(--bn-bg-card);
    border: 1px solid var(--bn-border-color);
    border-radius: var(--bn-radius-md);
    overflow: hidden;
    box-shadow: var(--bn-shadow-sm);
    transition: var(--bn-transition);
    min-width: 0;
    width: 100%;
}

.bn-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: var(--bn-shadow-gold);
    border-color: rgba(212, 175, 55, 0.45);
}

.bn-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 165px;
    background-color: #0f172a;
}

.bn-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.bn-card-body {
    padding: 16px 18px 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    overflow: hidden;
}

.bn-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.bn-card-cat-badge {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 4px;
    color: #ffffff;
    flex-shrink: 0;
}

.bn-card-date {
    font-size: 0.75rem;
    color: var(--bn-text-muted);
}

.bn-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--bn-text-main);
    transition: var(--bn-transition);
    word-break: break-word;
    overflow-wrap: break-word;
}

.bn-card-title:hover {
    color: var(--bn-primary);
}

.bn-card-desc {
    font-size: 0.85rem;
    color: var(--bn-text-muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.bn-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--bn-text-muted);
    border-top: 1px solid var(--bn-border-light);
    padding-top: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.bn-card-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.bn-card-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==================== 7. SIDEBAR WIDGETS ==================== */
.bn-sidebar {
    display: flex;
    flex-direction: column;
    gap: 26px;
    min-width: 0;
    width: 100%;
}

.bn-widget {
    background: var(--bn-bg-card);
    border: 1px solid var(--bn-border-color);
    border-radius: var(--bn-radius-md);
    padding: 20px;
    box-shadow: var(--bn-shadow-sm);
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.bn-widget-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--bn-text-main);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bn-border-color);
    display: flex;
    align-items: center;
    gap: 8px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.bn-widget-title i {
    color: var(--bn-accent-red);
}

/* Trending Popular List (#1 - #5) */
.bn-popular-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.bn-popular-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bn-border-light);
    min-width: 0;
    width: 100%;
}

.bn-popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bn-popular-rank {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bn-popular-item:nth-child(1) .bn-popular-rank {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.bn-popular-item:nth-child(2) .bn-popular-rank {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.bn-popular-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.bn-popular-title {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--bn-text-main);
    margin-bottom: 4px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.bn-popular-title a {
    color: var(--bn-text-main);
    transition: var(--bn-transition);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
}

.bn-popular-title a:hover {
    color: var(--bn-primary);
}

.bn-popular-meta {
    font-size: 0.725rem;
    color: var(--bn-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Yayasan Profile Widget */
.bn-yayasan-widget {
    background: linear-gradient(145deg, #0a0e17 0%, #151c2a 100%);
    color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.bn-yayasan-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bn-gold-gradient);
}

.bn-yayasan-widget .bn-widget-title {
    color: #ffffff;
    border-bottom-color: rgba(212, 175, 55, 0.2);
}

.bn-yayasan-badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--bn-accent-gold-light);
    margin-bottom: 12px;
}

.bn-yayasan-desc {
    font-size: 0.825rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 16px;
}

.bn-yayasan-btn {
    display: block;
    text-align: center;
    background: var(--bn-gold-gradient);
    color: #0a0e17 !important;
    font-size: 0.825rem;
    font-weight: 800;
    padding: 10px 16px;
    border-radius: var(--bn-radius-sm);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
    transition: var(--bn-transition);
}

.bn-yayasan-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.5);
}

/* Tag Cloud Widget */
.bn-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bn-tag-item {
    background: var(--bn-bg-muted);
    color: var(--bn-text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 15px;
    border: 1px solid var(--bn-border-color);
    transition: var(--bn-transition);
}

.bn-tag-item:hover {
    background: #0a0e17;
    color: var(--bn-accent-gold-light);
    border-color: var(--bn-accent-gold);
}

/* ==================== 8. ARTICLE DETAIL PAGE ==================== */
.bn-article-header {
    margin-bottom: 24px;
}

.bn-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--bn-text-muted);
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.bn-breadcrumb a {
    color: var(--bn-primary);
}

.bn-article-title {
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1.25;
    color: var(--bn-text-main);
    margin-bottom: 16px;
}

.bn-article-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--bn-border-color);
    border-bottom: 1px solid var(--bn-border-color);
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 14px;
}

.bn-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bn-author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bn-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.bn-author-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--bn-text-main);
}

.bn-article-date {
    font-size: 0.78rem;
    color: var(--bn-text-muted);
}

.bn-article-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bn-font-resizer {
    display: flex;
    border: 1px solid var(--bn-border-color);
    border-radius: var(--bn-radius-sm);
    overflow: hidden;
}

.bn-font-btn {
    background: var(--bn-bg-card);
    border: none;
    padding: 4px 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--bn-text-main);
}

.bn-font-btn:hover {
    background: var(--bn-bg-muted);
}

.bn-article-img-wrap {
    margin-bottom: 24px;
    border-radius: var(--bn-radius-lg);
    overflow: hidden;
    box-shadow: var(--bn-shadow-md);
}

.bn-article-caption {
    font-size: 0.78rem;
    color: var(--bn-text-muted);
    text-align: center;
    padding: 8px 12px;
    background: var(--bn-bg-muted);
}

/* Article Body Content */
.bn-article-content {
    font-family: var(--bn-font-sans);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--bn-text-main);
    word-break: break-word;
    overflow-wrap: break-word;
}

.bn-article-content img,
.bn-article-content iframe,
.bn-article-content video,
.bn-article-content table {
    max-width: 100%;
    height: auto;
}

.bn-article-content p {
    margin-bottom: 20px;
}

.bn-article-content h2,
.bn-article-content h3 {
    font-weight: 800;
    color: var(--bn-text-main);
    margin: 28px 0 14px;
    line-height: 1.3;
}

.bn-article-content blockquote {
    border-left: 4px solid var(--bn-primary);
    padding: 16px 20px;
    margin: 24px 0;
    background: var(--bn-bg-muted);
    border-radius: 0 var(--bn-radius-sm) var(--bn-radius-sm) 0;
    font-style: italic;
    color: var(--bn-text-main);
}

.bn-article-content ul,
.bn-article-content ol {
    margin: 16px 0 24px 24px;
}

.bn-article-content li {
    margin-bottom: 8px;
}

/* Social Share Bar */
.bn-share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0;
    padding: 16px;
    background: var(--bn-bg-card);
    border: 1px solid var(--bn-border-color);
    border-radius: var(--bn-radius-md);
    flex-wrap: wrap;
}

.bn-share-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bn-text-main);
    margin-right: 6px;
}

.bn-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff !important;
    transition: var(--bn-transition);
}

.bn-share-btn.wa { background-color: #25d366; }
.bn-share-btn.fb { background-color: #1877f2; }
.bn-share-btn.tw { background-color: #000000; }
.bn-share-btn.tg { background-color: #229ed9; }
.bn-share-btn.cp { background-color: #64748b; }

.bn-share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* ==================== 9. FOOTER ==================== */
.bn-footer {
    background-color: var(--bn-bg-footer);
    color: #94a3b8;
    padding: 50px 0 24px;
    border-top: 3px solid var(--bn-accent-gold);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

.bn-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.bn-footer-col h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
    letter-spacing: 0.2px;
}

.bn-footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    background: var(--bn-gold-gradient);
    border-radius: 2px;
}

.bn-footer-brand-logo {
    height: 56px;
    width: auto;
    margin-bottom: 14px;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(212, 175, 55, 0.4);
}

.bn-footer-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #cbd5e1;
}

.bn-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bn-footer-links a {
    color: #94a3b8;
    font-size: 0.85rem;
    transition: var(--bn-transition);
}

.bn-footer-links a:hover {
    color: var(--bn-accent-gold-light);
    padding-left: 6px;
}

.bn-footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==================== ADVERTISEMENT / COLLABORATION SLOTS ==================== */
.bn-ad-slot {
    margin: 16px 0 20px;
    background: linear-gradient(135deg, #0a0e17 0%, #131a26 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--bn-radius-md);
    padding: 14px 20px;
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.bn-ad-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--bn-accent-gold-light);
    margin-bottom: 8px;
}

.bn-ad-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.bn-ad-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
    margin-bottom: 3px;
}

.bn-ad-subtitle {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
}

.bn-ad-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bn-gold-gradient);
    color: #0a0e17 !important;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.35);
    transition: var(--bn-transition);
}

.bn-ad-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.45);
}

/* ==================== 10. RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 1200px) {
    .bn-layout-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 20px;
    }
    .bn-hero-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        gap: 14px;
    }
    .bn-header-ad-banner {
        display: none;
    }
}

@media (max-width: 1024px) {
    .bn-hero-grid {
        grid-template-columns: 1fr;
    }
    .bn-lead-story {
        height: 380px;
    }
    .bn-layout-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .bn-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .bn-topbar-left .bn-topbar-links {
        display: none;
    }
    .bn-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .bn-header-ad-banner {
        display: none;
    }
    .bn-header-actions {
        width: 100%;
        justify-content: space-between;
    }
    .bn-quick-search-form {
        flex: 1;
        width: auto;
    }
    .bn-quick-search-input:focus {
        width: 100%;
    }
    .bn-mobile-toggle {
        display: block;
    }
    .bn-nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        background-color: var(--bn-bg-navbar);
        padding: 10px 0;
    }
    .bn-nav-menu.open {
        display: flex;
    }
    .bn-nav-link {
        width: 100%;
        padding: 10px 20px;
    }
    .bn-sub-hero-grid {
        grid-template-columns: 1fr;
    }
    .bn-card-horizontal {
        grid-template-columns: 1fr;
    }
    .bn-card-img-wrap {
        height: 180px;
    }
    .bn-card-body {
        padding: 16px;
    }
    .bn-lead-story {
        height: 320px;
    }
    .bn-lead-title {
        font-size: 1.3rem;
    }
    .bn-article-title {
        font-size: 1.5rem;
    }
    .bn-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 11. ADVERTISEMENT SLOTS ==================== */
.bn-ad-slot {
    position: relative;
    background: var(--bn-bg-muted);
    border: 1px dashed var(--bn-border-color);
    border-radius: var(--bn-radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    transition: var(--bn-transition);
}

.bn-ad-slot:hover {
    border-color: var(--bn-primary-light);
    background: var(--bn-bg-card);
}

.bn-ad-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bn-text-light);
    margin-bottom: 6px;
}

.bn-ad-leaderboard {
    width: 100%;
    min-height: 100px;
    padding: 16px 20px;
    margin: 18px 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.03) 0%, rgba(220, 38, 38, 0.03) 100%);
}

.bn-ad-sidebar {
    width: 100%;
    min-height: 250px;
    padding: 24px 16px;
}

.bn-ad-infeed {
    width: 100%;
    min-height: 110px;
    padding: 20px;
    margin: 24px 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(245, 158, 11, 0.04) 100%);
}

.bn-ad-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.bn-ad-icon {
    font-size: 1.6rem;
    color: var(--bn-primary-light);
    opacity: 0.8;
}

.bn-ad-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--bn-text-main);
}

.bn-ad-subtitle {
    font-size: 0.8rem;
    color: var(--bn-text-muted);
    max-width: 420px;
}

.bn-ad-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bn-primary);
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 4px;
    box-shadow: 0 2px 4px rgba(30, 58, 138, 0.2);
    transition: var(--bn-transition);
}

.bn-ad-btn:hover {
    background: var(--bn-primary-light);
    transform: translateY(-1px);
}

/* ==========================================================================
   ROYAL ISLAMIC EDITORIAL THEME (USTADZ NEWS EXCLUSIVE LAYOUT)
   ========================================================================== */

/* 1. Centered Prestigious Masthead */
.bn-masthead-centered {
    background: var(--bn-bg-header);
    padding: 24px 0 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    position: relative;
    text-align: center;
}

.bn-masthead-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bn-masthead-logo-wrap {
    display: inline-block;
    position: relative;
    margin-bottom: 12px;
}

.bn-masthead-logo {
    height: 72px;
    width: 72px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(212, 175, 55, 0.5), 0 0 16px rgba(212, 175, 55, 0.25);
    transition: var(--bn-transition);
}

.bn-masthead-logo-wrap:hover .bn-masthead-logo {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.45), 0 0 0 3px var(--bn-accent-gold);
}

.bn-masthead-title {
    font-size: 2.35rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: var(--bn-text-main);
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
}

.bn-masthead-title .dot-news {
    color: var(--bn-accent-gold);
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.bn-masthead-tagline {
    font-size: 0.95rem;
    font-weight: 600;
    font-style: italic;
    color: var(--bn-accent-gold-hover);
    margin-top: 5px;
    letter-spacing: 0.3px;
}

.bn-masthead-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 10px auto 4px;
    max-width: 460px;
    width: 100%;
}

.bn-masthead-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.bn-masthead-divider-icon {
    color: var(--bn-accent-gold);
    font-size: 0.85rem;
}

.bn-masthead-yppmb {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--bn-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bn-masthead-badge {
    background: var(--bn-gold-gradient);
    color: #0a0e17;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
}

/* 2. Bento Hero Showcase */
.bn-bento-section {
    padding: 24px 0 10px;
}

.bn-bento-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 20px;
}

/* Lead Feature Card */
.bn-bento-lead {
    position: relative;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--bn-shadow-md);
    border: 1px solid var(--bn-border-color);
    display: block;
    text-decoration: none;
    background: #0a0e17;
}

.bn-bento-lead img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bn-bento-lead:hover img {
    transform: scale(1.04);
}

.bn-bento-lead-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 23, 0.1) 0%, rgba(10, 14, 23, 0.4) 40%, rgba(10, 14, 23, 0.95) 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}

.bn-bento-lead-badge {
    align-self: flex-start;
    background: var(--bn-gold-gradient);
    color: #0a0e17;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bn-bento-lead-title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.bn-bento-lead-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e2e8f0;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bn-bento-lead-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.78rem;
    color: #cbd5e1;
}

.bn-bento-lead-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bn-bento-lead-meta i {
    color: var(--bn-accent-gold);
}

/* Bento Side Column */
.bn-bento-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bn-bento-sub-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    flex: 1;
}

.bn-bento-sub-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 230px;
    box-shadow: var(--bn-shadow-sm);
    border: 1px solid var(--bn-border-color);
    display: block;
    text-decoration: none;
    background: #0a0e17;
}

.bn-bento-sub-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bn-bento-sub-item:hover img {
    transform: scale(1.05);
}

.bn-bento-sub-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 23, 0.05) 0%, rgba(10, 14, 23, 0.85) 75%, rgba(10, 14, 23, 0.98) 100%);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}

.bn-bento-sub-badge {
    align-self: flex-start;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
    color: #ffffff;
}

.bn-bento-sub-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bn-bento-sub-date {
    font-size: 0.72rem;
    color: #cbd5e1;
}

/* Mutiara Nilai & Hikmah Box */
.bn-bento-hikmah-box {
    background: linear-gradient(135deg, #0a0e17 0%, #151d2c 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.bn-bento-hikmah-watermark {
    position: absolute;
    right: 12px;
    bottom: -10px;
    font-size: 5rem;
    color: var(--bn-accent-gold);
    opacity: 0.06;
    pointer-events: none;
}

.bn-bento-hikmah-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.bn-bento-hikmah-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--bn-accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.bn-bento-hikmah-text {
    font-size: 0.88rem;
    font-style: italic;
    line-height: 1.55;
    color: #fef3c7;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.bn-bento-hikmah-source {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-align: right;
    display: block;
}

/* 3. Editorial Magazine Cards Grid (Replacing Horizontal List) */
.bn-editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 22px;
    margin-top: 10px;
}

.bn-editorial-card {
    background: var(--bn-bg-card);
    border: 1px solid var(--bn-border-color);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--bn-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--bn-transition);
}

.bn-editorial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bn-shadow-gold);
    border-color: rgba(212, 175, 55, 0.45);
}

.bn-editorial-img-wrap {
    position: relative;
    width: 100%;
    height: 185px;
    overflow: hidden;
    background: #0a0e17;
    display: block;
}

.bn-editorial-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bn-editorial-card:hover .bn-editorial-img-wrap img {
    transform: scale(1.05);
}

.bn-editorial-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 3px 9px;
    border-radius: 4px;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 2;
}

.bn-editorial-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.bn-editorial-date-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    color: var(--bn-text-muted);
    margin-bottom: 8px;
}

.bn-editorial-read-time {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--bn-accent-gold-hover);
    font-weight: 600;
}

.bn-editorial-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.bn-editorial-title a {
    color: var(--bn-text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.bn-editorial-title a:hover {
    color: var(--bn-accent-gold-hover);
}

.bn-editorial-desc {
    font-size: 0.835rem;
    line-height: 1.5;
    color: var(--bn-text-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bn-editorial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--bn-border-color);
    font-size: 0.75rem;
    color: var(--bn-text-muted);
}

.bn-editorial-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--bn-text-main);
}

.bn-editorial-author i {
    color: var(--bn-accent-gold);
}

/* 4. Agenda Dakwah Widget */
.bn-agenda-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bn-agenda-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    background: var(--bn-bg-muted);
    border: 1px solid var(--bn-border-color);
    text-decoration: none;
    transition: var(--bn-transition);
}

.bn-agenda-item:hover {
    border-color: var(--bn-accent-gold);
    transform: translateX(3px);
    box-shadow: var(--bn-shadow-sm);
}

.bn-agenda-date-badge {
    background: #0a0e17;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--bn-accent-gold);
    border-radius: 6px;
    padding: 6px 10px;
    text-align: center;
    min-width: 46px;
}

.bn-agenda-date-day {
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;
    display: block;
}

.bn-agenda-date-month {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-top: 2px;
    color: #e2e8f0;
}

.bn-agenda-info {
    flex: 1;
}

.bn-agenda-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bn-text-main);
    line-height: 1.35;
    margin-bottom: 2px;
}

.bn-agenda-sub {
    font-size: 0.72rem;
    color: var(--bn-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Responsive Rules for Royal Islamic Editorial */
@media (max-width: 992px) {
    .bn-bento-grid {
        grid-template-columns: 1fr;
    }
    .bn-bento-lead {
        height: 380px;
    }
    .bn-masthead-title {
        font-size: 1.85rem;
    }
    .bn-editorial-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .bn-bento-sub-cards {
        grid-template-columns: 1fr;
    }
    .bn-editorial-grid {
        grid-template-columns: 1fr;
    }
    .bn-masthead-title {
        font-size: 1.5rem;
    }
    .bn-bento-lead {
        height: 320px;
    }
    .bn-bento-lead-title {
        font-size: 1.25rem;
    }
}

