/**
 * Jadwal Sholat Malang - Tech Islamic Theme
 * Modern, minimalist mobile-first design with digital vibes
 */

/* ========================================
   CSS Custom Properties (Design Tokens)
   ======================================== */
:root {
    /* Colors - Light Mode */
    --primary: #0d9488;          /* Teal - tech + Islamic green feel */
    --primary-light: #ccfbf1;
    --primary-dark: #0f766e;
    --accent: #06b6d4;           /* Cyan - digital accent */
    --accent-glow: rgba(6, 182, 212, 0.2);
    
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;
    --bg-hover: rgba(13, 148, 136, 0.08);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-accent: #0d9488;
    
    --border-light: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.1);
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(13, 148, 136, 0.15);
    
    /* Spacing */
    --container-max: 100%;
    --container-content: 640px;  /* Content width for readability */
    --container-wide: 1024px;    /* Wide container for desktop */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.875rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;
}

/* Dark Mode - High Contrast Tech Aesthetic */
html.dark {
    --primary: #2dd4bf;         /* Bright teal for dark mode */
    --primary-light: rgba(45, 212, 191, 0.12);
    --primary-dark: #14b8a6;
    --accent: #22d3ee;          /* Bright cyan */
    --accent-glow: rgba(34, 211, 238, 0.25);

    --bg-main: #0a0f0d;         /* Deep dark with slight green tint */
    --bg-card: #111916;         /* Card background - subtle contrast */
    --bg-elevated: #181f1c;     /* Elevated elements */
    --bg-hover: rgba(45, 212, 191, 0.1);
    
    --text-primary: #f1f5f9;    /* Almost white - high contrast */
    --text-secondary: #cbd5e1;  /* Light gray - still readable */
    --text-muted: #64748b;      /* Muted but visible */
    --text-accent: #2dd4bf;     /* Teal accent text */
    
    --border-light: rgba(45, 212, 191, 0.1);
    --border-medium: rgba(45, 212, 191, 0.2);
    
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(45, 212, 191, 0.2);
}

/* ========================================
   Base Reset & Typography
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    font-size: 15px;
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    letter-spacing: -0.01em;
}

.container {
    width: 100%;
    max-width: var(--container-content);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Wider container for desktop */
@media (min-width: 768px) {
    .container {
        max-width: var(--container-wide);
        padding-left: var(--space-xl);
        padding-right: var(--space-xl);
    }
    
    .container.container--narrow {
        max-width: var(--container-content);
    }
}/* ========================================
   Header
   ======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
}

html.dark .header {
    background: rgba(10, 15, 13, 0.92);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none !important;
    color: inherit;
}

.logo:link,
.logo:visited,
.logo:hover,
.logo:active {
    text-decoration: none !important;
    color: inherit;
}

.logo:hover {
    opacity: 0.85;
    transition: opacity var(--transition-fast);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    color: white;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.logo-icon .material-symbols-outlined {
    font-size: 24px;
}

.logo-text h1 {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--primary);
    line-height: 1.2;
}

html.dark .logo-text h1 {
    color: var(--primary);
}

.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.nav-toggle:hover {
    background: var(--bg-hover);
}

.nav-icon {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 24px;
    align-items: flex-end;
}

.nav-line {
    height: 2px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

html.dark .nav-line {
    background-color: var(--primary);
}

.nav-line:first-child {
    width: 100%;
}

.nav-line:last-child {
    width: 60%;
}

.nav-toggle:hover .nav-icon {
    gap: 4px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    text-align: center;
    padding: var(--space-2xl) 0 var(--space-xl);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-divider {
    width: 48px;
    height: 4px;
    background: var(--primary);
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-md);
}

.hero-date {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
}

html.dark .hero-date {
    color: var(--primary);
}

.hero-hijri {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    margin-top: var(--space-xs);
}

/* ========================================
   Countdown Section
   ======================================== */
.countdown-section {
    padding-top: 0;
    padding-bottom: var(--space-xl);
}

.countdown-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.countdown-prayer {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

html.dark .countdown-prayer {
    color: var(--accent);
}

.countdown-time {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
    .countdown-time {
        font-size: 3rem;
    }
}

/* ========================================
   Prayer Times Grid
   ======================================== */
.prayer-section {
    padding-bottom: var(--space-3xl);
}

.prayer-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.prayer-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .prayer-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

.prayer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition-fast);
}

@media (min-width: 768px) {
    .prayer-item {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        border-bottom: none;
        border-right: 1px solid var(--border-light);
        padding: var(--space-xl) var(--space-lg);
    }
    
    .prayer-item:last-child {
        border-right: none;
    }
}

.prayer-item:hover {
    background: var(--bg-hover);
}

.prayer-item.active {
    background: var(--primary-light);
    position: relative;
}

html.dark .prayer-item.active {
    background: rgba(45, 212, 191, 0.12);
    box-shadow: inset 0 0 20px var(--accent-glow);
}

.prayer-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

@media (min-width: 768px) {
    .prayer-item.active::before {
        width: 100%;
        height: 4px;
    }
}

.prayer-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .prayer-info {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

.prayer-icon {
    color: var(--primary);
    font-size: 1.5rem;
}

html.dark .prayer-icon {
    color: var(--primary);
}

.prayer-item.active .prayer-icon {
    font-variation-settings: 'FILL' 1;
}

html.dark .prayer-item.active .prayer-icon {
    color: var(--accent);
}

.prayer-name {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.prayer-item.active .prayer-name {
    color: var(--primary);
}

html.dark .prayer-item.active .prayer-name {
    color: var(--accent);
}

.prayer-time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.prayer-tz {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .prayer-time {
        margin-top: var(--space-md);
        justify-content: center;
    }
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

html.dark .section-label {
    color: var(--primary);
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    transition: transform var(--transition-normal);
}

html.dark .feature-icon {
    background: rgba(16, 185, 129, 0.1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon .material-symbols-outlined {
    font-size: 1.875rem;
    color: var(--primary);
}

html.dark .feature-icon .material-symbols-outlined {
    color: var(--primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.feature-desc {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-card);
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-hover);
    border-radius: var(--radius-lg);
    color: var(--primary);
}

html.dark .footer-icon {
    color: var(--primary);
}

.footer-icon .material-symbols-outlined {
    font-size: 1.875rem;
}

.footer-copyright {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-align: center;
}

.footer-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .footer-actions {
        flex-direction: row;
    }
}

/* Theme Toggle - Smooth sliding animation */
.theme-toggle {
    display: flex;
    position: relative;
    background: var(--bg-main);
    padding: 4px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.theme-toggle .toggle-slider {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: var(--bg-card);
    border-radius: var(--radius-full);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
}

html.dark .theme-toggle .toggle-slider {
    transform: translateX(100%);
}

.theme-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border: none;
    border-radius: var(--radius-full);
    background: transparent;
    cursor: pointer;
    transition: color 0.25s ease;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.theme-btn:hover {
    color: var(--text-secondary);
}

.theme-btn.active {
    color: var(--text-primary);
}

.theme-btn .material-symbols-outlined {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.theme-btn.active .material-symbols-outlined {
    transform: rotate(0deg);
}

.theme-btn:not(.active) .material-symbols-outlined {
    transform: rotate(-30deg);
}

.footer-divider {
    display: none;
    width: 1px;
    height: 24px;
    background: var(--border-light);
}

@media (min-width: 768px) {
    .footer-divider {
        display: block;
    }
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--bg-hover);
    color: var(--primary);
}

html.dark .social-link:hover {
    color: var(--primary);
}

/* ========================================
   Material Symbols Configuration
   ======================================== */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ========================================
   Off-Canvas Menu
   ======================================== */
.offcanvas-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

.offcanvas {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-card);
    z-index: 999;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right var(--transition-normal);
}

.offcanvas.active {
    right: 0;
}

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
}

.offcanvas-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.offcanvas-brand .logo-icon {
    width: 40px;
    height: 40px;
}

.offcanvas-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.offcanvas-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.offcanvas-close:hover {
    background: var(--bg-hover);
    color: var(--primary);
}

.offcanvas-nav {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
}

.offcanvas-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.offcanvas-link:hover {
    background: var(--bg-hover);
    color: var(--primary);
}

html.dark .offcanvas-link:hover {
    color: #34d399;
}

.offcanvas-link.active {
    background: var(--primary-light);
    color: var(--primary);
}

html.dark .offcanvas-link.active {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}

.offcanvas-link .material-symbols-outlined {
    font-size: 1.375rem;
}

.offcanvas-link .badge {
    margin-left: auto;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
}

html.dark .offcanvas-link .badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.offcanvas-divider {
    height: 1px;
    background: var(--border-light);
    margin: var(--space-md) 0;
}

.offcanvas-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.offcanvas-footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ========================================
   Footer Links
   ======================================== */
.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.footer-link:hover {
    background: var(--bg-hover);
    color: var(--primary);
}

html.dark .footer-link:hover {
    color: #34d399;
}

.footer-link .material-symbols-outlined {
    font-size: 1.125rem;
}

.footer-credit {
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
}

/* ========================================
   Arabic Font (Uthmani Style)
   Using Noto Naskh Arabic for better mobile compatibility
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

.arabic-text {
    font-family: 'Noto Naskh Arabic', 'Amiri', 'Traditional Arabic', serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2.4;
    text-align: right;
    direction: rtl;
    color: var(--text-primary);
    padding: var(--space-lg);
    background: var(--primary-light);
    border-radius: var(--radius-md);
    margin: var(--space-md) 0;
    word-spacing: 0.1em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 768px) {
    .arabic-text {
        font-size: 1.75rem;
    }
}

html.dark .arabic-text {
    background: rgba(45, 212, 191, 0.08);
}

.arabic-text.quran-ayat {
    font-size: 1.625rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(13, 148, 136, 0.08) 100%);
    border-left: 4px solid var(--primary);
}

@media (min-width: 768px) {
    .arabic-text.quran-ayat {
        font-size: 2rem;
    }
}

html.dark .arabic-text.quran-ayat {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.12) 0%, rgba(45, 212, 191, 0.05) 100%);
    border-left-color: var(--accent);
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb-nav {
    padding: var(--space-md) 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    list-style: none;
    font-size: 0.875rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: var(--space-sm);
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ========================================
   Article Page
   ======================================== */
.article-page {
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.article-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.article-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .article-header h1 {
        font-size: 2.5rem;
    }
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.article-meta time,
.article-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.article-meta .material-symbols-outlined {
    font-size: 1rem;
}

.meta-divider {
    color: var(--border-medium);
}

/* Featured Jadwal */
.featured-jadwal {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    margin-bottom: var(--space-2xl);
}

.featured-jadwal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.featured-jadwal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-light);
}

@media (min-width: 768px) {
    .featured-jadwal-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.jadwal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-lg);
    background: var(--bg-card);
    text-align: center;
}

.jadwal-item.highlight {
    background: var(--primary-light);
}

html.dark .jadwal-item.highlight {
    background: rgba(16, 185, 129, 0.1);
}

.jadwal-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.jadwal-time {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.featured-jadwal-source {
    text-align: center;
    padding: var(--space-md);
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-light);
}

/* Article Body */
.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-section {
    margin-bottom: var(--space-2xl);
}

.article-section h2 {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--primary-light);
}

html.dark .article-section h2 {
    color: #34d399;
    border-bottom-color: rgba(52, 211, 153, 0.2);
}

.section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    color: var(--primary);
}

html.dark .section-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.article-body p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.article-body p.lead {
    font-size: 1.125rem;
    color: var(--text-primary);
}

/* Table of Contents */
.toc {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.toc h2 {
    font-size: 1rem;
    margin-bottom: var(--space-md);
    padding-bottom: 0;
    border-bottom: none;
}

.toc ol {
    list-style: decimal;
    padding-left: var(--space-xl);
}

.toc li {
    margin-bottom: var(--space-sm);
}

.toc a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.toc a:hover {
    text-decoration: underline;
}

/* Info Box */
.info-box {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
}

html.dark .info-box {
    background: rgba(245, 158, 11, 0.1);
}

.info-box .material-symbols-outlined {
    color: #f59e0b;
    flex-shrink: 0;
}

.info-box p {
    margin: 0;
    font-size: 0.9375rem;
}

/* Doa Card */
.doa-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.doa-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.transliteration {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

html.dark .transliteration {
    color: #34d399;
}

.translation {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Quran Card */
.quran-card {
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.quran-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.quran-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.quran-surah {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Hadits Card */
.hadits-card {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.hadits-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.hadits-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--text-secondary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.hadits-source {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hadits-rawi {
    margin-top: var(--space-md);
    color: var(--text-muted);
}

/* Benefit List */
.benefit-list {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-xl);
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-light);
}

.benefit-list li:last-child {
    border-bottom: none;
}

.benefit-list .material-symbols-outlined {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

html.dark .benefit-list .material-symbols-outlined {
    color: #34d399;
}

/* Highlight Box */
.highlight-box {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    color: white;
}

.highlight-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.highlight-text strong {
    font-size: 1.125rem;
    display: block;
    margin-bottom: var(--space-xs);
}

.highlight-text p {
    margin: 0;
    font-size: 0.9375rem;
    opacity: 0.9;
    color: white;
}

/* Masjid Grid */
.masjid-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .masjid-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.masjid-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.masjid-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

html.dark .masjid-card:hover {
    background: rgba(16, 185, 129, 0.1);
}

.masjid-card .material-symbols-outlined {
    color: var(--primary);
    font-size: 1.25rem;
}

html.dark .masjid-card .material-symbols-outlined {
    color: #34d399;
}

/* Article CTA */
.article-cta {
    text-align: center;
    padding: var(--space-2xl);
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(6, 95, 70, 0.05) 100%);
    border-radius: var(--radius-xl);
    margin-top: var(--space-2xl);
}

html.dark .article-cta {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.02) 100%);
}

.article-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.article-cta p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(6, 95, 70, 0.3);
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 95, 70, 0.4);
}

/* ========================================
   Utility Classes
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Prevent body scroll when offcanvas is open */
body.offcanvas-open {
    overflow: hidden;
}

