/**
 * Gaya Visual Mandiri: Jadwal Adzan (azan.web.id)
 * Theme: GeneratePress Child
 *
 * Mengadopsi Doktrin:
 * - Kedaulatan Tipografi 100% Zero-CDN (Inter, Lora, Amiri, LPMQ)
 * - Kanvas 1-Kolom 820px Simetris & Flexbox Containment
 * - Mobile Overflow Protection
 * - Print Style Bersih Ramah Kertas
 */

/* ==========================================================================
   1. KEDAULATAN TIPOGRAFI LOKAL (ZERO-CDN @font-face)
   ========================================================================== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../../fonts/inter-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../../fonts/lora-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Amiri';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../../fonts/amiri-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Amiri';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../../fonts/amiri-700.woff2') format('woff2');
}

@font-face {
    font-family: 'LPMQ IsepMisbah';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../../fonts/subset-LPMQIsepMisbah.woff2') format('woff2');
}

/* The Single-Class Rule: Tipografi Mushaf Kemenag RI */
.quran, span.quran {
    font-family: 'LPMQ IsepMisbah', 'Amiri', serif;
    font-size: 1.35rem;
    line-height: 2.2;
    direction: rtl;
    unicode-bidi: embed;
}

/* ==========================================================================
   2. VARIABEL TEMA & SISTEM DESAIN
   ========================================================================== */
:root {
    --azan-primary: #0f3f65;
    --azan-primary-dark: #0a2c47;
    --azan-primary-light: #e8f1f7;
    --azan-accent: #f59e0b;
    --azan-accent-hover: #d97706;
    --azan-accent-light: #fef3c7;
    --azan-bg: #f8fafc;
    --azan-card-bg: #ffffff;
    --azan-border: #e2e8f0;
    --azan-text: #0f172a;
    --azan-text-muted: #64748b;
    --azan-radius: 12px;
    --azan-radius-sm: 8px;
    --azan-shadow: 0 4px 6px -1px rgba(15, 63, 101, 0.08), 0 2px 4px -2px rgba(15, 63, 101, 0.04);
    --azan-shadow-lg: 0 10px 15px -3px rgba(15, 63, 101, 0.12), 0 4px 6px -4px rgba(15, 63, 101, 0.08);
}

/* ==========================================================================
   3. KANVAS 820px SIMETRIS & PROTEKSI MOBILE OVERFLOW
   ========================================================================== */
html, body, #page {
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
    background-color: var(--azan-bg);
    color: var(--azan-text);
    font-family: 'Inter', 'Amiri', system-ui, -apple-system, sans-serif;
}

/* Memecah Min-Width Flexbox GeneratePress */
.site-content, #primary, .content-area, .site-main, article, .inside-article, .entry-content {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Kanvas Universal 1-Kolom Simetris 820px */
body.no-sidebar #primary,
body.no-sidebar.single #primary,
body.no-sidebar.page #primary,
body.no-sidebar.archive #primary,
.azan-container {
    width: 100%;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    float: none;
    box-sizing: border-box;
    padding: 0 1rem;
}

.azan-editorial-article {
    padding-top: 1rem;
    padding-bottom: 3rem;
}

.one-container .inside-article,
.separate-containers .inside-article,
.separate-containers .page-header {
    background: transparent;
    padding: 0;
}

/* ==========================================================================
   4. BREADCRUMBS
   ========================================================================== */
.azan-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--azan-text-muted);
    margin: 1rem 0 1.25rem;
}

.azan-breadcrumbs ol,
.azan-breadcrumbs ul,
.azan-bc-list {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.35rem 0.5rem;
}

.azan-breadcrumbs li,
.azan-bc-item {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.azan-breadcrumbs a,
.azan-bc-link {
    color: var(--azan-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.azan-breadcrumbs a:hover,
.azan-bc-link:hover {
    color: var(--azan-accent-hover);
    text-decoration: underline;
}

.azan-breadcrumbs .sep,
.azan-bc-sep {
    color: #94a3b8;
    font-size: 0.75rem;
    user-select: none;
}

.azan-breadcrumbs .current,
.azan-bc-current {
    color: var(--azan-text);
    font-weight: 600;
}

/* ==========================================================================
   5. HERO CARD & HITUNG MUNDUR REAL-TIME
   ========================================================================== */
.azan-hero-card {
    background: linear-gradient(145deg, #0f3f65 0%, #0a2c47 100%);
    color: #ffffff;
    border-radius: var(--azan-radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--azan-shadow-lg);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.azan-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 0.85rem;
}

.azan-pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--azan-accent);
    border-radius: 50%;
    animation: azanPulse 1.8s infinite;
}

@keyframes azanPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.azan-hero-title {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(1.4rem, 4vw, 1.95rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.5rem;
    color: #ffffff;
}

.azan-hero-dates {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin: 0 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.azan-hero-dates .bullet {
    color: rgba(255, 255, 255, 0.4);
}

.azan-hero-dates .tz-badge {
    background: rgba(245, 158, 11, 0.25);
    color: #fef3c7;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.azan-countdown-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--azan-radius-sm);
    padding: 1.25rem;
    text-align: center;
}

.azan-countdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 0.75rem;
}

.azan-countdown-header strong {
    color: var(--azan-accent);
}

.azan-clock-live {
    font-variant-numeric: tabular-nums;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.azan-countdown-digits {
    font-family: 'Inter', monospace;
    font-size: clamp(2.2rem, 7vw, 3.4rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #ffffff;
    line-height: 1.1;
    margin: 0.25rem 0 0.75rem;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.azan-countdown-sub {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ==========================================================================
   6. GRID 8 WAKTU SHOLAT
   ========================================================================== */
.azan-prayers-section {
    margin-bottom: 2.5rem;
}

.azan-section-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--azan-primary);
    margin: 0 0 1rem;
    line-height: 1.3;
}

.azan-prayer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

@media (max-width: 640px) {
    .azan-prayer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
    }
}

.azan-card {
    background: var(--azan-card-bg);
    border: 1px solid var(--azan-border);
    border-radius: var(--azan-radius-sm);
    padding: 1rem 0.85rem;
    text-align: center;
    box-shadow: var(--azan-shadow);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.azan-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--azan-shadow-lg);
    border-color: #cbd5e1;
}

.azan-card.is-active-next {
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
    border: 2px solid var(--azan-accent);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.azan-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.azan-card-icon {
    font-size: 1.1rem;
}

.azan-card-arab {
    font-family: 'Amiri', serif;
    font-size: 1.05rem;
    color: var(--azan-text-muted);
}

.azan-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--azan-text);
    margin-bottom: 0.25rem;
}

.azan-card-time {
    font-size: 1.55rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--azan-primary);
    line-height: 1.15;
    margin-bottom: 0.35rem;
}

.azan-card.is-active-next .azan-card-time {
    color: #b45309;
}

.azan-card-meta {
    font-size: 0.75rem;
    color: var(--azan-text-muted);
    min-height: 1.25rem;
}

.azan-next-badge {
    background: var(--azan-accent);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    letter-spacing: 0.03em;
    display: inline-block;
}

/* ==========================================================================
   7. KARTU KIBLAT & KOMPAS SVG
   ========================================================================== */
.azan-qibla-card {
    background: var(--azan-card-bg);
    border: 1px solid var(--azan-border);
    border-radius: var(--azan-radius);
    padding: 1.5rem;
    box-shadow: var(--azan-shadow);
    margin-bottom: 2.5rem;
}

.azan-qibla-content {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

@media (max-width: 600px) {
    .azan-qibla-content {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }
}

.azan-qibla-compass-wrap {
    flex-shrink: 0;
}

.azan-compass-svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.compass-circle-outer {
    fill: #f1f5f9;
    stroke: #cbd5e1;
    stroke-width: 2;
}

.compass-circle-inner {
    fill: #ffffff;
    stroke: #e2e8f0;
    stroke-width: 1;
}

.compass-marker {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    fill: #475569;
    text-anchor: middle;
    dominant-baseline: central;
}

.compass-marker.text-n {
    fill: #dc2626;
}

.compass-needle-north {
    fill: #dc2626;
}

.compass-needle-south {
    fill: #94a3b8;
}

.compass-pivot {
    fill: #0f172a;
}

.azan-qibla-badge {
    display: inline-block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 0.15rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.azan-qibla-heading {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--azan-primary);
    margin: 0 0 0.4rem;
}

.azan-qibla-text {
    font-size: 0.9rem;
    color: var(--azan-text-muted);
    margin: 0 0 0.75rem;
    line-height: 1.45;
}

.azan-qibla-geo {
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* ==========================================================================
   8. KALENDER JADWAL BULANAN (SSR TABLE)
   ========================================================================== */
.azan-monthly-section {
    margin-bottom: 3rem;
}

.azan-monthly-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.azan-section-desc {
    font-size: 0.875rem;
    color: var(--azan-text-muted);
    margin: 0.25rem 0 0;
}

.azan-btn-outline {
    background: transparent;
    border: 1px solid var(--azan-border);
    padding: 0.45rem 0.95rem;
    border-radius: var(--azan-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--azan-primary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.azan-btn-outline:hover {
    background: var(--azan-primary-light);
    border-color: var(--azan-primary);
}

.table-responsive {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
    margin: 1rem 0;
    background: var(--azan-card-bg);
    border: 1px solid var(--azan-border);
    border-radius: var(--azan-radius-sm);
    box-shadow: var(--azan-shadow);
}

.table-responsive::-webkit-scrollbar {
    height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ==========================================================================
   Tabel Editorial Khusyuk (.azan-table)
   ========================================================================== */
.azan-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    background: #ffffff;
}

.azan-table th,
.azan-table td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--azan-border);
    vertical-align: middle;
}

.azan-table th {
    background-color: var(--azan-primary-light);
    color: var(--azan-primary-dark);
    font-weight: 700;
    text-align: left;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.azan-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.azan-table tbody tr:hover {
    background-color: #f1f5f9;
}

/* Tipografi Arab Otomatis (The Single-Class Rule: Non-Qur'an menggunakan font default Amiri) */
.entry-content p[style*="text-align: right"],
.entry-content td[style*="text-align: right"],
.entry-content [style*="text-align: right"] {
    font-family: 'Amiri', serif;
    direction: rtl;
    unicode-bidi: embed;
}

/* Tipografi Naskah Editorial Redaksi Khusyuk */
.azan-editorial-article .entry-content h2.wp-block-heading {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.55rem;
    line-height: 1.4;
    color: var(--azan-primary-dark);
    margin: 2.25rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--azan-primary-light);
}

.azan-editorial-article .entry-content h3.wp-block-heading {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--azan-primary-dark);
    margin: 1.75rem 0 0.75rem;
}

.azan-editorial-article .entry-content p {
    margin-bottom: 1.25rem;
}

.azan-editorial-article .entry-content ol,
.azan-editorial-article .entry-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.azan-editorial-article .entry-content li {
    margin-bottom: 0.5rem;
}

.azan-editorial-article .entry-content blockquote {
    border-left: 4px solid var(--azan-accent);
    background: var(--azan-accent-light);
    padding: 0.85rem 1.25rem;
    border-radius: 0 var(--azan-radius-sm) var(--azan-radius-sm) 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: #451a03;
}

.azan-schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: center;
    white-space: nowrap;
}

.azan-schedule-table th,
.azan-schedule-table td {
    padding: 0.65rem 0.6rem;
    border-bottom: 1px solid var(--azan-border);
}

.azan-schedule-table th {
    background: #f1f5f9;
    color: var(--azan-primary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    position: sticky;
    top: 0;
}

.azan-schedule-table tbody tr:hover {
    background: #f8fafc;
}

.azan-schedule-table tr.is-today-row {
    background: #fef3c7 !important;
    font-weight: 700;
    border-left: 4px solid var(--azan-accent);
}

.azan-schedule-table tr.is-today-row td {
    color: #92400e;
}

.azan-schedule-table .col-date {
    font-weight: 700;
    color: var(--azan-primary);
}

.azan-schedule-table .col-maghrib {
    color: #b45309;
}

/* ==========================================================================
   9. HUB KOTA TETANGGA & DIREKTORI
   ========================================================================== */
.azan-nearby-section {
    margin-bottom: 2.5rem;
}

.azan-subheading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--azan-primary);
    margin: 0 0 0.85rem;
}

.azan-cities-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.azan-city-pill {
    background: var(--azan-card-bg);
    border: 1px solid var(--azan-border);
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.825rem;
    color: var(--azan-text);
    text-decoration: none;
    transition: all 0.15s ease;
}

.azan-city-pill:hover {
    background: var(--azan-primary);
    color: #ffffff;
    border-color: var(--azan-primary);
}

.azan-city-pill.is-all {
    background: var(--azan-primary-light);
    color: var(--azan-primary);
    font-weight: 600;
    border-color: #cbd5e1;
}

.azan-city-pill.is-all:hover {
    background: var(--azan-primary);
    color: #ffffff;
}

/* Direktori Nasional */
.azan-directory-header {
    margin: 1.5rem 0 2.5rem;
    text-align: center;
}

.azan-badge-pill {
    display: inline-block;
    background: var(--azan-primary-light);
    color: var(--azan-primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.85rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.azan-directory-title {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    color: var(--azan-primary);
    margin: 0 0 0.65rem;
}

.azan-directory-desc {
    max-width: 640px;
    margin: 0 auto 1.5rem;
    font-size: 0.95rem;
    color: var(--azan-text-muted);
}

.azan-search-wrapper {
    max-width: 580px;
    margin: 0 auto;
}

.azan-search-input-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.azan-search-icon {
    position: absolute;
    right: 1.15rem;
    left: auto;
    font-size: 1rem;
    color: var(--azan-text-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.azan-search-input {
    width: 100%;
    padding: 0.85rem 4.5rem 0.85rem 1.25rem;
    border: 2px solid var(--azan-border);
    border-radius: 9999px;
    font-size: 0.95rem;
    background: #ffffff;
    box-shadow: var(--azan-shadow);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.azan-search-input:focus {
    border-color: var(--azan-primary);
    box-shadow: 0 0 0 3px rgba(15, 63, 101, 0.15);
}

.azan-search-clear {
    position: absolute;
    right: 2.75rem;
    background: none;
    border: none;
    font-size: 1.35rem;
    color: var(--azan-text-muted);
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    transition: color 0.15s ease;
}

.azan-search-clear:hover {
    color: var(--azan-primary);
}

/* Autocomplete Floating Dropdown */
.azan-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--azan-radius);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    max-height: 340px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.azan-search-dropdown.is-open {
    display: block;
}

.azan-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    color: #1e293b;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.875rem;
    transition: background 0.15s ease;
    cursor: pointer;
}

.azan-dropdown-item:last-child {
    border-bottom: none;
}

.azan-dropdown-item:hover,
.azan-dropdown-item.is-selected {
    background: #f0fdf4;
    color: #065f46;
}

.azan-dropdown-item .item-title {
    font-weight: 600;
}

.azan-dropdown-item .item-sub {
    font-size: 0.75rem;
    color: #64748b;
    margin-left: 0.35rem;
}

.azan-dropdown-item .item-badge {
    background: #e2e8f0;
    color: #334155;
    padding: 2px 7px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
}

.azan-dropdown-item.is-typo {
    background: #fffbeb;
    color: #92400e;
}

.azan-dropdown-item.is-typo:hover,
.azan-dropdown-item.is-typo.is-selected {
    background: #fef3c7;
    color: #78350f;
}

.azan-dropdown-item.is-kecamatan {
    border-left: 3px solid #059669;
}

/* Shortcut Kota Populer */
.azan-popular-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding: 0 0.25rem;
}

.azan-chips-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--azan-text-muted);
    margin-right: 0.2rem;
}

.azan-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
}

.azan-chip:hover {
    background: #0f3f65;
    color: #ffffff;
    border-color: #0f3f65;
    transform: translateY(-1px);
}

.azan-search-stats {
    font-size: 0.8rem;
    color: var(--azan-text-muted);
    margin-top: 0.65rem;
}

.azan-prov-group {
    background: var(--azan-card-bg);
    border: 1px solid var(--azan-border);
    border-radius: var(--azan-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--azan-shadow);
}

.azan-prov-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid var(--azan-bg);
    padding-bottom: 0.65rem;
    margin-bottom: 1rem;
}

.azan-prov-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.25rem;
    margin: 0;
}

.azan-prov-title a {
    color: var(--azan-primary);
    text-decoration: none;
}

.azan-prov-title a:hover {
    color: var(--azan-accent-hover);
}

.azan-prov-meta {
    font-size: 0.8rem;
    color: var(--azan-text-muted);
}

.azan-prov-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.65rem;
}

.azan-city-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.85rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: var(--azan-radius-sm);
    text-decoration: none;
    transition: all 0.15s ease;
}

.azan-city-card:hover {
    background: #ffffff;
    border-color: var(--azan-primary);
    box-shadow: var(--azan-shadow);
    transform: translateY(-1px);
}

.azan-city-card .city-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--azan-text);
}

.azan-city-card .city-type {
    font-size: 0.72rem;
    color: var(--azan-text-muted);
    background: #e2e8f0;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

/* Overview Grid 38 Provinsi di Beranda */
.azan-prov-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0 2rem;
}

.azan-prov-badge-card {
    background: var(--azan-card-bg);
    border: 1px solid var(--azan-border);
    border-radius: var(--azan-radius-sm);
    padding: 0.85rem 1rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.15s ease;
    box-shadow: var(--azan-shadow);
}

.azan-prov-badge-card:hover {
    border-color: var(--azan-primary);
    box-shadow: var(--azan-shadow-lg);
    transform: translateY(-2px);
    background: #ffffff;
}

.azan-prov-badge-card strong {
    color: var(--azan-primary);
    font-size: 0.925rem;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.azan-prov-badge-card .meta {
    font-size: 0.75rem;
    color: var(--azan-text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.azan-prov-badge-card .badge-tz {
    background: var(--azan-primary-light);
    color: var(--azan-primary);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
}


/* ==========================================================================
   TANYA JAWAB (FAQ) SECTION SINGLE KOTA (HUMAN-FIRST SEO)
   ========================================================================== */
.azan-city-faq-section {
    margin: 2.5rem 0;
    background: var(--azan-card-bg);
    border: 1px solid var(--azan-border);
    border-radius: var(--azan-radius);
    padding: 1.75rem;
    box-shadow: var(--azan-shadow);
}

.azan-city-faq-section .azan-section-header {
    margin-bottom: 1.5rem;
}

.azan-city-faq-section .azan-section-title {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    color: var(--azan-primary);
    margin: 0.35rem 0 0.5rem;
}

.azan-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.azan-faq-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--azan-radius-sm);
    padding: 1.15rem 1.25rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.azan-faq-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.azan-faq-q {
    font-size: 1.025rem;
    font-weight: 700;
    color: var(--azan-primary-dark);
    margin: 0 0 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.azan-faq-q .q-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.azan-faq-q .q-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--azan-primary);
    color: #ffffff;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.azan-faq-a {
    color: var(--azan-text);
    font-size: 0.925rem;
    line-height: 1.65;
    margin: 0;
}

.azan-faq-a p {
    margin: 0;
}

/* ==========================================================================
   10. PORTAL FIQIH & ZERO DEAD-END
   ========================================================================== */
.azan-fiqih-portal {
    margin-top: 2.5rem;
}

.azan-portal-box {
    background: linear-gradient(145deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    border-radius: var(--azan-radius);
    padding: 1.5rem;
}

.azan-portal-text h3 {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.15rem;
    color: #065f46;
    margin: 0 0 0.35rem;
}

.azan-portal-text p {
    font-size: 0.875rem;
    color: #047857;
    margin: 0 0 1rem;
    line-height: 1.45;
}

.azan-portal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.azan-portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #059669;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.825rem;
    font-weight: 600;
    padding: 0.5rem 0.95rem;
    border-radius: var(--azan-radius-sm);
    transition: background 0.15s ease;
}

.azan-portal-btn:hover {
    background: #047857;
    color: #ffffff;
}

.azan-portal-btn.is-outline {
    background: transparent;
    color: #065f46;
    border: 1px solid #059669;
}

.azan-portal-btn.is-outline:hover {
    background: #d1fae5;
}

/* ==========================================================================
   10B. MODAL SWITCHER 514 KOTA, GPS GEOLOCATION & SENSOR KOMPAS
   ========================================================================== */
.azan-hero-actions {
    margin-top: 0.85rem;
}

.azan-btn-switch-city {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--azan-radius-full);
    padding: 0.45rem 1.1rem;
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.azan-btn-switch-city:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-1px);
}

.azan-compass-sensor-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--azan-text-muted);
    margin-top: 0.35rem;
    background: #f8fafc;
    padding: 0.2rem 0.6rem;
    border-radius: var(--azan-radius-full);
    border: 1px solid var(--azan-border);
}

.azan-compass-sensor-status .sensor-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.azan-directory-tools {
    margin-bottom: 0.75rem;
}

.azan-btn-gps {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: #0f3f65;
    color: #ffffff;
    border: none;
    border-radius: var(--azan-radius-sm);
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.azan-btn-gps:hover {
    background: #0b2d49;
}

.azan-btn-gps:disabled {
    opacity: 0.6;
    cursor: wait;
}

.azan-gps-msg {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #0f3f65;
    background: #e0f2fe;
    padding: 0.45rem 0.75rem;
    border-radius: var(--azan-radius-sm);
    border: 1px solid #bae6fd;
}

/* Modal Overlay & Dialog */
.azan-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.azan-modal-backdrop.is-open {
    display: flex !important;
}

.azan-modal-dialog {
    background: #ffffff;
    border-radius: var(--azan-radius);
    max-width: 520px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: azanModalFadeIn 0.2s ease-out;
}

@keyframes azanModalFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.azan-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--azan-border);
}

.azan-modal-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--azan-primary);
    font-family: 'Lora', Georgia, serif;
}

.azan-modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.azan-modal-close:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.azan-modal-body {
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.azan-modal-search .azan-modal-input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--azan-border);
    border-radius: var(--azan-radius-sm);
    font-size: 0.875rem;
    box-sizing: border-box;
}

.azan-modal-search .azan-modal-input:focus {
    outline: none;
    border-color: var(--azan-primary);
    box-shadow: 0 0 0 2px rgba(15, 63, 101, 0.15);
}

.azan-modal-city-list {
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.azan-modal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.75rem;
    border-radius: var(--azan-radius-sm);
    text-decoration: none;
    color: var(--azan-text);
    font-size: 0.85rem;
    transition: background 0.15s ease;
    border: 1px solid transparent;
}

.azan-modal-item:hover {
    background: #f1f5f9;
    border-color: var(--azan-border);
    color: var(--azan-primary);
}

.azan-modal-item .badge {
    font-size: 0.75rem;
    color: var(--azan-text-muted);
}

.azan-modal-empty,
.azan-modal-placeholder {
    font-size: 0.85rem;
    color: var(--azan-text-muted);
    text-align: center;
    padding: 1.5rem 0;
}


/* ==========================================================================
   11. PILAR 5: STYLING ALAT & UTILITAS IBADAH (/tools/)
   ========================================================================== */

/* Hero Section Tools */
.azan-tools-hero-card {
    background: linear-gradient(135deg, #0f3f65 0%, #17527e 50%, #0c3353 100%);
    color: #ffffff;
    padding: 2.25rem 1.75rem;
    border-radius: var(--azan-radius, 12px);
    margin-bottom: 2rem;
    box-shadow: 0 4px 14px rgba(15, 63, 101, 0.15);
    text-align: center;
}

.azan-tools-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #f8fafc;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.azan-tools-hero-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.75rem;
    line-height: 1.25;
}

.azan-tools-hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
    margin: 0 auto;
}

/* Grid Tools Hub */
.azan-tools-grid-section {
    margin-bottom: 2.5rem;
}

.azan-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.azan-tool-card {
    background: var(--azan-card-bg, #ffffff);
    border: 1px solid var(--azan-border, #e2e8f0);
    border-radius: var(--azan-radius, 12px);
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.azan-tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.azan-tool-card-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.azan-tool-card-icon-wrap.icon-alarm {
    background: #eff6ff;
    color: #2563eb;
}

.azan-tool-card-icon-wrap.icon-kiblat {
    background: #f0fdf4;
    color: #16a34a;
}

.azan-tool-card-icon-wrap.icon-imsak {
    background: #fefce8;
    color: #ca8a04;
}

.azan-tool-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.azan-tool-badge {
    display: inline-block;
    align-self: flex-start;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.azan-tool-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.azan-tool-card-title a {
    color: var(--azan-primary, #0f3f65);
    text-decoration: none;
}

.azan-tool-card-title a:hover {
    text-decoration: underline;
}

.azan-tool-card-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--azan-text-muted, #64748b);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.azan-tool-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.6;
}

.azan-tool-features-list li {
    margin-bottom: 0.25rem;
}

.azan-tool-btn {
    display: inline-block;
    text-align: center;
    background: var(--azan-primary, #0f3f65);
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.azan-tool-btn:hover {
    background: #09253d;
}

/* Edukasi Tools & Silo */
.azan-tools-edu-section {
    background: var(--azan-card-bg, #ffffff);
    border: 1px solid var(--azan-border, #e2e8f0);
    border-radius: var(--azan-radius, 12px);
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.azan-tools-edu-heading {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--azan-primary, #0f3f65);
    margin: 0 0 1rem;
}

.azan-tools-edu-content {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #334155;
}

.azan-tools-edu-content p {
    margin-bottom: 0.9rem;
}

.azan-tools-nav-silo {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--azan-radius, 12px);
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.azan-tools-silo-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.75rem;
}

.azan-tools-silo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.azan-silo-pill {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f3f65;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.azan-silo-pill:hover {
    background: #0f3f65;
    color: #ffffff;
    border-color: #0f3f65;
}

/* Tool 1: Alarm Adzan Specific Styles */
.azan-alarm-dashboard-card {
    background: var(--azan-card-bg, #ffffff);
    border: 1px solid var(--azan-border, #e2e8f0);
    border-radius: var(--azan-radius, 12px);
    padding: 1.75rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.azan-alarm-status-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.azan-alarm-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.indicator-dot.is-active {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
}

.indicator-dot.is-inactive {
    background: #ef4444;
}

.azan-alarm-city-indicator {
    font-size: 0.88rem;
    color: #475569;
}

.azan-alarm-switch-btn {
    background: none;
    border: none;
    color: #0284c7;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 0.35rem;
    padding: 0;
}

.azan-alarm-next-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.azan-alarm-next-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.35rem;
}

.azan-alarm-next-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f3f65;
    margin: 0 0 0.25rem;
}

.azan-alarm-next-time {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
}

.azan-alarm-countdown-wrap {
    text-align: right;
}

.azan-alarm-cd-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.azan-alarm-cd-val {
    font-family: 'Lora', Georgia, monospace;
    font-size: 1.85rem;
    font-weight: 700;
    color: #0f3f65;
    letter-spacing: 0.05em;
}

.azan-alarm-action-center {
    text-align: center;
    margin-bottom: 1.75rem;
}

.azan-alarm-big-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.85rem 2rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.azan-alarm-big-btn.is-off {
    background: #0f3f65;
    color: #ffffff;
}

.azan-alarm-big-btn.is-off:hover {
    background: #09253d;
    transform: translateY(-2px);
}

.azan-alarm-big-btn.is-on {
    background: #16a34a;
    color: #ffffff;
}

.azan-alarm-big-btn.is-on:hover {
    background: #15803d;
}

.azan-alarm-action-hint {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.azan-alarm-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.azan-setting-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.4rem;
}

.azan-setting-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.85rem;
    background: #ffffff;
}

.azan-volume-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.azan-volume-range {
    flex-grow: 1;
}

.azan-btn-test-sound {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f3f65;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.azan-btn-test-sound:hover {
    background: #f1f5f9;
}

.azan-alarm-prayers-toggles {
    padding-top: 0.5rem;
}

.azan-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.azan-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #334155;
    cursor: pointer;
}

/* Modal Ringing */
.azan-ringing-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.azan-ringing-modal-card {
    background: #ffffff;
    border-radius: 14px;
    max-width: 520px;
    width: 100%;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.azan-pulse-icon {
    font-size: 3rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.azan-ringing-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f3f65;
    margin: 0.5rem 0 0.25rem;
}

.azan-ringing-meta {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.azan-ringing-doa-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.azan-doa-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f3f65;
    margin: 0 0 0.5rem;
}

.azan-btn-stop-audio {
    background: #dc2626;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
}

.azan-btn-stop-audio:hover {
    background: #b91c1c;
}

/* Tool 2: Qibla Standalone Specific Styles */
.azan-qibla-standalone-card {
    background: var(--azan-card-bg, #ffffff);
    border: 1px solid var(--azan-border, #e2e8f0);
    border-radius: var(--azan-radius, 12px);
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.azan-qibla-tool-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.azan-qibla-city-title {
    font-size: 0.92rem;
    color: #334155;
}

.azan-qibla-loc-buttons {
    display: flex;
    gap: 0.5rem;
}

.azan-qibla-action-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f3f65;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
}

.azan-qibla-action-btn:hover {
    background: #f1f5f9;
}

.azan-qibla-action-btn.btn-gps {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}

.azan-qibla-action-btn.btn-gps:hover {
    background: #0369a1;
}

.azan-qibla-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.azan-compass-dial-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.azan-compass-svg-large {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

.compass-marker-lg {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    fill: #475569;
    dominant-baseline: central;
}

.compass-marker-lg.text-n {
    fill: #dc2626;
}

.azan-gyro-sensor-box {
    text-align: center;
}

.azan-btn-gyro {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f3f65;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    cursor: pointer;
}

.azan-gyro-status {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 0.35rem;
}

.azan-qibla-data-panel {
    flex-grow: 1;
    max-width: 420px;
}

.azan-qibla-stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.15rem;
    margin-bottom: 0.9rem;
}

.azan-qibla-stat-card.primary {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.azan-qibla-stat-card.primary .stat-label {
    color: #1e40af;
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-family: 'Lora', Georgia, serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f3f65;
    line-height: 1.1;
}

.stat-value-sub {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
}

.stat-hint {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.azan-qibla-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin-bottom: 0.9rem;
}

.azan-qibla-guide-snippet {
    display: flex;
    gap: 0.75rem;
    background: #fefce8;
    border: 1px solid #fef08a;
    border-radius: 8px;
    padding: 0.85rem;
    font-size: 0.82rem;
    color: #713f12;
    line-height: 1.5;
}

.snippet-icon {
    font-size: 1.25rem;
}

/* Tool 3: Imsakiyah Specific Styles */
.azan-imsak-controls-card {
    background: var(--azan-card-bg, #ffffff);
    border: 1px solid var(--azan-border, #e2e8f0);
    border-radius: var(--azan-radius, 12px);
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.azan-imsak-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.azan-imsak-city-info {
    font-size: 0.92rem;
    color: #334155;
}

.azan-imsak-btns {
    display: flex;
    gap: 0.5rem;
}

.azan-imsak-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f3f65;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
}

.azan-imsak-btn.btn-print {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
}

.azan-imsak-btn.btn-print:hover {
    background: #15803d;
}

.azan-imsak-table th.th-ramadhan,
.azan-imsak-table td.td-ramadhan {
    background: #f1f5f9;
}

.azan-imsak-table th.th-imsak,
.azan-imsak-table td.td-imsak {
    background: #fefce8;
    color: #854d0e;
}

.azan-imsak-table th.th-maghrib,
.azan-imsak-table td.td-maghrib {
    background: #eff6ff;
    color: #1e40af;
}

/* ==========================================================================
   12. PRINT STYLES (CETAK DOKUMEN RAPI A4 & F4 / FOLIO PORTRAIT 1 LEMBAR PENUH)
   ========================================================================== */
.azan-print-header,
.azan-print-footer {
    display: none;
}

@media print {
    @page {
        size: A4 portrait;
        margin: 8mm 10mm 8mm 10mm;
    }

    html, body {
        background: #ffffff !important;
        color: #0f172a !important;
        font-size: 8pt !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    #page, #primary, #main, .content-area, .azan-container, .inside-article {
        background: #ffffff !important;
        color: #0f172a !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* Sembunyikan total seluruh elemen interaktif & non-tabel di layar */
    .site-header, .site-footer, .azan-breadcrumbs,
    .azan-hero-card, .azan-countdown-box, .azan-hero-actions,
    .azan-prayers-section, .azan-qibla-card, .azan-city-faq-section,
    .azan-nearby-section, .azan-fiqih-portal, .azan-modal-backdrop,
    .azan-print-btn-wrap, .azan-search-section, .azan-provinces-overview,
    .azan-directory-list, .azan-edu-section, .azan-tools-edu-section,
    .azan-imsak-bar, .azan-btn-outline, .azan-search-dropdown,
    .azan-tools-hero-card, .azan-tools-nav-silo, .azan-popular-chips,
    .azan-search-wrapper, .azan-directory-header, .azan-trust-narrative,
    .azan-monthly-header, .azan-section-title, .azan-section-desc,
    .azan-portal-box, .azan-btn-switch-city {
        display: none !important;
    }

    .azan-monthly-section,
    .azan-imsak-controls-card {
        margin: 0 !important;
        padding: 0 !important;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* Header Khusus Format Cetak */
    .azan-print-header {
        display: block !important;
        text-align: center !important;
        margin: 0 0 3.5mm 0 !important;
        padding: 0 0 2mm 0 !important;
        border-bottom: 1.5px solid #0f172a !important;
    }

    .azan-print-header .print-title {
        font-family: 'Lora', Georgia, serif !important;
        font-size: 13pt !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        color: #0f172a !important;
        margin: 0 0 1mm 0 !important;
        text-transform: uppercase !important;
        line-height: 1.2 !important;
    }

    .azan-print-header .print-subtitle {
        font-size: 10pt !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        margin: 0 0 0.8mm 0 !important;
    }

    .azan-print-header .print-period {
        font-size: 8.5pt !important;
        font-weight: 600 !important;
        color: #334155 !important;
        margin: 0 0 0.8mm 0 !important;
    }

    .azan-print-header .print-notes {
        font-size: 7pt !important;
        color: #475569 !important;
        line-height: 1.2 !important;
    }

    /* Tabel Format Cetak */
    .table-responsive {
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .azan-schedule-table {
        width: 100% !important;
        font-size: 7.8pt !important;
        line-height: 1.2 !important;
        border-collapse: collapse !important;
        border: 1px solid #334155 !important;
        page-break-inside: avoid !important;
        margin: 0 !important;
    }

    .azan-schedule-table th,
    .azan-schedule-table td {
        border: 1px solid #cbd5e1 !important;
        padding: 2.5px 4px !important;
        text-align: center !important;
        color: #0f172a !important;
    }

    .azan-schedule-table th {
        background: #f1f5f9 !important;
        color: #0f172a !important;
        font-weight: 700 !important;
        font-size: 7.8pt !important;
        border-bottom: 1.5px solid #334155 !important;
        padding: 3px 4px !important;
    }

    .azan-schedule-table td.col-date,
    .azan-schedule-table td.td-ramadhan {
        font-weight: 700 !important;
        background: #f8fafc !important;
    }

    /* Penegasan Kolom Subuh & Maghrib Tebal */
    .azan-schedule-table td:nth-child(5),
    .azan-schedule-table td:nth-child(10),
    .azan-schedule-table td.col-subuh,
    .azan-schedule-table td.col-maghrib,
    .azan-schedule-table td.td-imsak,
    .azan-schedule-table td.td-maghrib {
        font-weight: 700 !important;
        color: #000000 !important;
    }

    .azan-schedule-table tr.is-today-row {
        background: none !important;
        font-weight: inherit !important;
        border-left: none !important;
    }

    /* Footer Khusus Format Cetak */
    .azan-print-footer {
        display: block !important;
        text-align: center !important;
        margin: 3mm 0 0 0 !important;
        padding: 2mm 0 0 0 !important;
        border-top: 1px solid #cbd5e1 !important;
        font-size: 7pt !important;
        color: #475569 !important;
        line-height: 1.2 !important;
    }
}

/* =========================================================================
   12. FITUR TOOLS SHOWCASE, QUICK UTILITY BAR & WILAYAH KECAMATAN
   ========================================================================= */

/* Showcase Tools 3-Kolom di Beranda & Hub */
.azan-tools-showcase {
    margin-bottom: 3rem;
}

.azan-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.azan-tool-showcase-card {
    background: #ffffff;
    border: 1px solid var(--azan-border);
    border-radius: var(--azan-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    box-shadow: var(--azan-shadow-sm);
    transition: all 0.2s ease;
}

.azan-tool-showcase-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--azan-shadow-md);
    border-color: var(--azan-primary);
}

.azan-tool-showcase-card .tool-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--azan-radius-sm);
    background: var(--azan-primary-light);
    color: var(--azan-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.azan-tool-showcase-card .tool-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--azan-primary-dark);
    margin: 0 0 0.5rem;
}

.azan-tool-showcase-card .tool-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--azan-text-muted);
    margin: 0 0 1.25rem;
    flex-grow: 1;
}

.azan-tool-showcase-card .tool-action-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--azan-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Bilah Aksi Cepat Tools di Halaman Kota */
.azan-city-quick-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0 2.25rem;
}

.azan-city-quick-tool-btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    background: #ffffff;
    border: 1px solid var(--azan-border);
    border-radius: var(--azan-radius-sm);
    text-decoration: none;
    color: var(--azan-primary-dark);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--azan-shadow-sm);
    transition: all 0.15s ease;
}

.azan-city-quick-tool-btn:hover {
    background: var(--azan-primary-light);
    border-color: var(--azan-primary);
    color: var(--azan-primary-dark);
    transform: translateY(-1px);
}

.azan-city-quick-tool-btn .btn-icon {
    font-size: 1.25rem;
}

/* Wilayah Cakupan Keberlakuan Jadwal (Kecamatan & Desa) */
.azan-city-coverage-area {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    background: #ffffff;
    border: 1px solid var(--azan-border);
    border-radius: var(--azan-radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--azan-shadow-sm);
}

.azan-coverage-header {
    margin-bottom: 1.25rem;
}

.azan-coverage-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--azan-primary-dark);
    margin: 0 0 0.5rem;
}

.azan-coverage-desc {
    font-size: 0.925rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

.azan-districts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.azan-district-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 0.825rem;
    color: #334155;
    font-weight: 500;
    transition: all 0.15s ease;
}

.azan-district-pill:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.azan-coverage-footer-note {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    border-top: 1px dashed var(--azan-border);
    padding-top: 0.75rem;
}

/* ==========================================================================
   13. TIPOGRAFI & GAYA GAMBAR SEMANTIK ARTIKEL (GUTENBERG IMAGE & CAPTION)
   ========================================================================== */
.wp-block-image {
    margin: 2rem auto;
    text-align: center;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    display: block;
    margin: 0 auto;
}

.wp-block-image figcaption,
.wp-element-caption {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.75rem;
    text-align: center;
    font-style: italic;
    line-height: 1.5;
}

/* ==========================================================================
   14. WIDGET EMBED GENERATOR & JAM ISTIWA' SUNDIAL SUITE (OPSI A)
   ========================================================================== */

/* Clocks Group di Hero Single Kota & Front Page */
.azan-hero-clocks-group {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.azan-clock-istiwa-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 9999px;
    font-size: 0.8rem;
    color: #fef3c7;
    text-decoration: none;
    transition: all 0.2s ease;
}

.azan-clock-istiwa-pill:hover {
    background: rgba(245, 158, 11, 0.25);
    border-color: #f59e0b;
    color: #ffffff;
}

.azan-clock-istiwa-pill strong {
    font-family: monospace;
    font-size: 0.875rem;
    color: #fbbf24;
}

.azan-zawal-diff {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Tool Icon Gradients di Hub */
.azan-tool-card-icon-wrap.icon-widget {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
}

.azan-tool-card-icon-wrap.icon-istiwa {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

/* ==========================================================================
   WIDGET GENERATOR TOOL STYLING (/tools/widget/)
   ========================================================================== */
.azan-widget-generator-card {
    background: #ffffff;
    border: 1px solid var(--azan-border);
    border-radius: var(--azan-radius);
    padding: 2rem 1.75rem;
    box-shadow: var(--azan-shadow-md);
    margin-bottom: 2rem;
}

.azan-gen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 860px) {
    .azan-gen-grid {
        grid-template-columns: 1fr;
    }
}

.azan-gen-panel-heading {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--azan-primary-dark);
    margin-bottom: 1.25rem;
}

.azan-gen-field {
    margin-bottom: 1.5rem;
}

.azan-gen-label {
    display: block;
    margin-bottom: 0.5rem;
}

.azan-gen-label strong {
    display: block;
    font-size: 0.95rem;
    color: #1e293b;
}

.azan-gen-label .sub {
    font-size: 0.8rem;
    color: #64748b;
}

.azan-gen-select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1.5px solid var(--azan-border);
    border-radius: 8px;
    font-size: 0.95rem;
    background: #f8fafc;
    color: #1e293b;
    outline: none;
    transition: border-color 0.15s ease;
}

.azan-gen-select:focus {
    border-color: var(--azan-primary);
    background: #ffffff;
}

.azan-gen-pill-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.azan-gen-radio-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.15s ease;
}

.azan-gen-radio-pill input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.azan-gen-radio-pill.is-active,
.azan-gen-radio-pill:hover {
    border-color: var(--azan-primary);
    background: #ffffff;
    box-shadow: var(--azan-shadow-sm);
}

.azan-gen-radio-pill .pill-badge {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.15);
}

.color-terang { background: #ffffff; }
.color-gelap { background: #0f172a; }
.color-emerald { background: #047857; }

.pill-icon { font-size: 1.1rem; }
.pill-text { font-size: 0.9rem; font-weight: 500; color: #1e293b; }

.azan-gen-specs-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px dashed var(--azan-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.825rem;
    color: #475569;
}

.spec-row strong {
    color: var(--azan-primary-dark);
}

/* Preview Panel */
.azan-gen-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.azan-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    border-radius: 9999px;
    font-weight: 600;
}

.azan-preview-stage {
    background: #f1f5f9;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 240px;
    transition: all 0.2s ease;
}

.azan-gen-code-section {
    margin-top: 1.5rem;
}

.azan-code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.azan-code-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
}

.azan-btn-copy-code {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    background: var(--azan-primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.azan-btn-copy-code:hover {
    background: var(--azan-primary-dark);
    transform: translateY(-1px);
}

.azan-btn-copy-code.is-copied {
    background: #059669;
}

.azan-embed-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1.5px solid var(--azan-border);
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.825rem;
    color: #0f172a;
    background: #f8fafc;
    resize: none;
    line-height: 1.5;
}

.azan-code-hint {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.azan-install-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 640px) {
    .azan-install-cards-grid {
        grid-template-columns: 1fr;
    }
}

.azan-install-card {
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.azan-install-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--azan-primary-dark);
    margin: 0 0 0.5rem;
}

.azan-install-card p {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   JAM ISTIWA' TOOL STYLING (/tools/jam-istiwa/)
   ========================================================================== */
.azan-istiwa-dashboard-card {
    background: #ffffff;
    border: 1px solid var(--azan-border);
    border-radius: var(--azan-radius);
    padding: 2rem 1.75rem;
    box-shadow: var(--azan-shadow-md);
    margin-bottom: 2rem;
}

.azan-istiwa-city-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--azan-border);
}

.azan-istiwa-city-bar .city-info {
    font-size: 0.95rem;
    color: #1e293b;
}

.azan-istiwa-city-bar .city-info .sub {
    display: block;
    font-size: 0.825rem;
    color: #64748b;
    margin-top: 0.2rem;
}

.azan-istiwa-clocks-stage {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .azan-istiwa-clocks-stage {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}

.azan-sundial-analog-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.azan-sundial-svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}

.azan-sundial-subnote {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.azan-digital-clocks-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.azan-digital-card {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.azan-digital-card.primary-wis {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-color: #f59e0b;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.azan-digital-card.primary-wis .card-tag {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #fef3c7;
    font-weight: 600;
}

.azan-digital-card.primary-wis .card-digits {
    font-family: monospace;
    font-size: clamp(1.85rem, 6.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: 1px;
    color: #fbbf24;
    line-height: 1.1;
    margin: 0.35rem 0;
    overflow-wrap: break-word;
}

.azan-digital-card.primary-wis .card-sub {
    font-size: 0.8rem;
    color: #94a3b8;
}

.azan-digital-card.primary-wis .card-sub strong {
    color: #fef08a;
}

.azan-digital-card.secondary-local {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.azan-digital-card.secondary-local .card-tag {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
}

.azan-digital-card.secondary-local .card-digits {
    font-family: monospace;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--azan-primary-dark);
    margin: 0.2rem 0;
}

.azan-digital-card.secondary-local .card-sub {
    font-size: 0.8rem;
    color: #64748b;
}

.azan-formula-status-pill {
    padding: 0.75rem 1rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #065f46;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.azan-formula-status-pill .pill-val {
    color: #047857;
    font-size: 0.95rem;
}

.azan-formula-status-pill .pill-desc {
    color: #047857;
    opacity: 0.9;
}

/* Konverter Box */
.azan-converter-box {
    background: #ffffff;
    border: 1px solid var(--azan-border);
    border-radius: var(--azan-radius);
    padding: 2rem 1.75rem;
    box-shadow: var(--azan-shadow-md);
    margin-bottom: 2rem;
}

.azan-conv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .azan-conv-grid {
        grid-template-columns: 1fr;
    }
}

.azan-conv-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem;
}

.conv-card-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.conv-card-head h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--azan-primary-dark);
    margin: 0;
}

.conv-icon {
    font-size: 1.2rem;
    color: var(--azan-primary);
}

.conv-label {
    display: block;
    font-size: 0.825rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.4rem;
}

.conv-input-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.conv-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1.5px solid var(--azan-border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: monospace;
    background: #ffffff;
}

.conv-btn {
    padding: 0.5rem 1rem;
    background: var(--azan-primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.conv-btn:hover {
    background: var(--azan-primary-dark);
}

.conv-result-box {
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conv-result-box .lbl {
    font-size: 0.825rem;
    color: #64748b;
}

.conv-result-box .val {
    font-family: monospace;
    font-size: 1.15rem;
    font-weight: 700;
    color: #047857;
}

.azan-calc-steps-note {
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.6;
}

/* Astronomical Parameters Grid */
.azan-astro-grid-section {
    margin-bottom: 2rem;
}

.azan-astro-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 820px) {
    .azan-astro-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .azan-astro-cards-grid {
        grid-template-columns: 1fr;
    }
}

.azan-astro-card {
    background: #ffffff;
    border: 1px solid var(--azan-border);
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: var(--azan-shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.astro-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.astro-val {
    font-family: monospace;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--azan-primary-dark);
}

.astro-desc {
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.5;
    margin: 0.25rem 0 0;
}

/* ==========================================================================
   15. MICRO-BREAKPOINTS (320px, 375px, 414px) & ZERO-HORIZONTAL OVERFLOW
   ========================================================================== */
@media (max-width: 480px) {
    .azan-container {
        padding: 0 0.85rem;
    }
    .azan-hero-card {
        padding: 1.35rem 1rem;
        margin-bottom: 1.5rem;
    }
    .azan-hero-title {
        font-size: 1.45rem;
    }
    .azan-countdown-digits {
        font-size: clamp(1.85rem, 7.5vw, 2.5rem);
    }
    .azan-btn-switch-city {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .azan-hero-actions {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .azan-tools-hero-card {
        padding: 1.5rem 1rem;
    }
    .azan-tools-hero-title {
        font-size: 1.5rem;
    }
    .azan-widget-generator-card,
    .azan-istiwa-dashboard-card,
    .azan-alarm-dashboard-card,
    .azan-qibla-standalone-card,
    .azan-imsak-controls-card {
        padding: 1.25rem 1rem;
    }
    .azan-alarm-cd-val {
        font-size: 1.45rem;
    }
    .azan-alarm-next-box {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    .azan-alarm-countdown-wrap {
        text-align: left;
    }
    .azan-alarm-big-btn {
        width: 100%;
        padding: 0.85rem 1.25rem;
        font-size: 0.95rem;
    }
    .azan-clock-istiwa-pill {
        flex-wrap: wrap;
        max-width: 100%;
    }
    .azan-embed-textarea {
        box-sizing: border-box !important;
        max-width: 100% !important;
        word-break: break-all !important;
    }
    #azan-preview-frame {
        max-width: 100% !important;
    }
    .azan-preview-stage {
        padding: 0.65rem !important;
        min-height: auto !important;
    }
    .azan-edu-section,
    .azan-trust-narrative {
        padding: 1.25rem 0.85rem !important;
    }
    .azan-timezone-compare {
        padding: 1rem 0.75rem !important;
    }
    blockquote {
        padding: 0.75rem 0.85rem !important;
        margin: 1rem 0 !important;
        font-size: 1.05rem !important;
    }
    .entry-content pre {
        max-width: 100% !important;
        overflow-x: auto !important;
        white-space: pre-wrap !important;
        word-break: break-all !important;
    }
    .azan-fardhu-shortcuts > div {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 360px) {
    .azan-container {
        padding: 0 0.5rem;
    }
    .azan-prayer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.45rem;
    }
    .azan-card {
        padding: 0.75rem 0.45rem;
    }
    .azan-card-name {
        font-size: 0.85rem;
    }
    .azan-card-time {
        font-size: 1.25rem;
    }
    .azan-card-meta {
        font-size: 0.7rem;
    }
    .azan-hero-card {
        padding: 1.15rem 0.75rem;
    }
    .azan-countdown-box {
        padding: 0.85rem 0.5rem;
    }
    .azan-countdown-digits {
        font-size: 1.75rem;
    }
    .conv-btn {
        width: 100%;
    }
    .conv-result-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    .azan-city-quick-tools {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }
    .azan-city-quick-tool-btn {
        padding: 0.65rem 0.75rem !important;
        font-size: 0.8rem !important;
    }
    .azan-prov-overview-grid {
        grid-template-columns: 1fr !important;
    }
    .azan-qibla-content {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .azan-qibla-geo {
        flex-direction: column !important;
        gap: 0.2rem !important;
    }
    .azan-modal-dialog {
        max-width: 95vw !important;
        margin: 0.5rem !important;
    }
}




