/* ==========================================
   Mantra Page - Specific Styles
   ========================================== */

/* Mantra page specific overrides */
.mantra-page .verse-content {
    font-size: 20px;
    line-height: 2.2;
}

.mantra-page .verse-content .verse {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-light);
}

.mantra-page .verse-content .verse:last-child {
    border-bottom: none;
}

/* Mantra header with deity image */
.mantra-page .content-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-white) 100%);
}

/* Audio player in mantra sidebar */
.mantra-page .audio-widget .audio-player {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-white) 100%);
    border-color: var(--primary);
}

.mantra-page .audio-widget .play-btn {
    width: 56px;
    height: 56px;
    font-size: 20px;
}

/* Related stotrams in sidebar */
.mantra-page .related-widget .related-list li {
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.mantra-page .related-widget .related-list li:hover {
    background: var(--primary-light);
}

/* Benefits section specific */
.mantra-page .benefits-grid {
    margin-top: var(--space-lg);
}

.mantra-page .benefit-item {
    transition: transform 0.2s, box-shadow 0.2s;
}

.mantra-page .benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Word by word table styling */
.mantra-page .word-table {
    margin-top: var(--space-lg);
}

.mantra-page .word-table tr:hover {
    background: var(--bg-main);
}

/* Sanskrit text styling */
.devanagari {
    font-family: var(--font-devanagari);
    letter-spacing: 0.5px;
}

/* Verse number styling */
.verse-number {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--text-inverse);
    border-radius: 50%;
    font-size: 12px;
    line-height: 24px;
    text-align: center;
    margin-right: var(--space-sm);
}

/* Audio waveform visualization placeholder */
.audio-waveform {
    height: 40px;
    background: var(--bg-main);
    border-radius: var(--radius-sm);
    margin-top: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.audio-waveform .bar {
    width: 3px;
    background: var(--primary);
    border-radius: 1px;
    animation: waveform 1s ease-in-out infinite;
}

.audio-waveform .bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.audio-waveform .bar:nth-child(2) { height: 30px; animation-delay: 0.1s; }
.audio-waveform .bar:nth-child(3) { height: 25px; animation-delay: 0.2s; }
.audio-waveform .bar:nth-child(4) { height: 35px; animation-delay: 0.3s; }
.audio-waveform .bar:nth-child(5) { height: 20px; animation-delay: 0.4s; }

@keyframes waveform {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

/* Share modal */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.share-modal.active {
    display: flex;
}

.share-modal-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 400px;
    width: 90%;
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.share-modal-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.share-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
}

.share-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s;
}

.share-option:hover {
    background: var(--bg-main);
}

.share-option-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.share-option-icon.whatsapp { background: #25D366; color: white; }
.share-option-icon.twitter { background: #1DA1F2; color: white; }
.share-option-icon.facebook { background: #1877F2; color: white; }
.share-option-icon.telegram { background: #0088cc; color: white; }

.share-option span {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Bookmark notification */
.bookmark-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--text-primary);
    color: var(--text-inverse);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
}

.bookmark-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Print styles for mantra */
@media print {
    .site-header,
    .utility-bar,
    .main-nav,
    .stotram-sidebar,
    .content-toolbar,
    .ad-slot-wrapper,
    .ad-slot,
    .scripture-nav-top,
    .scripture-nav-bottom {
        display: none !important;
    }
    
    .stotram-layout {
        display: block !important;
    }
    
    .devotional-text {
        font-size: 14pt !important;
        line-height: 1.8 !important;
    }
}

/* ==========================================
   DEVOTIONAL CONTENT LAYOUT & TYPOGRAPHY
   ========================================== */

.stotram-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
    padding: 24px 0 48px;
}

.stotram-main {
    min-width: 0;
    background: #ffffff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #f0e9df;
}

/* Breadcrumb */
.breadcrumb-bar {
    background: #f1f5f9;
    border-bottom: 1px solid #ede3d5;
    padding: 12px 0;
    font-size: 14px;
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #6c757d;
}

.breadcrumb-inner a {
    color: #d9531e;
    font-weight: 500;
    transition: color 0.2s;
}

.breadcrumb-inner a:hover {
    color: #b03a0e;
    text-decoration: underline;
}

.breadcrumb-inner .sep {
    color: #b0bec5;
}

.breadcrumb-inner .current {
    color: #2c3e50;
    font-weight: 600;
}

/* Header & Badges */
.stotram-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.stotram-meta-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-type {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffe0b2;
}

.badge-deity {
    background: #fce4ec;
    color: #c2185b;
    border: 1px solid #f8bbd0;
}

.badge-parent {
    background: #e8eaf6;
    color: #283593;
    border: 1px solid #c5cae9;
}

.stotram-title {
    font-family: 'Philosopher', 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.25;
    margin-bottom: 8px;
}

.stotram-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 18px;
}

/* Content Toolbar */
.content-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
    background: #fcfbf9;
    border: 1px solid #f0e9df;
    border-radius: 8px;
    margin-bottom: 24px;
}

.reading-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.font-btn {
    background: #ffffff;
    border: 1px solid #d0c8b8;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    color: #333;
    transition: all 0.2s;
}

.font-btn:hover {
    background: #ff6b00;
    color: #fff;
    border-color: #ff6b00;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s;
}

.whatsapp-btn {
    background: #25D366;
    color: #ffffff;
}

.twitter-btn {
    background: #1DA1F2;
    color: #ffffff;
}

/* Scripture Navigation */
.scripture-nav-top,
.scripture-nav-bottom {
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 10px !important;
    background: #fffaf0 !important;
    border: 1px solid #fed7aa !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    margin: 24px 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.chapter-nav-btn {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-decoration: none !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1px solid #fdba74 !important;
    transition: all 0.2s ease !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.chapter-nav-btn:hover {
    background: #ea580c !important;
    color: #ffffff !important;
    border-color: #ea580c !important;
    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.2) !important;
}

.chapter-nav-btn:hover .nav-direction,
.chapter-nav-btn:hover .nav-chapter-title {
    color: #ffffff !important;
}

.chapter-nav-btn .nav-direction {
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #ea580c !important;
    margin-bottom: 2px !important;
    display: block !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.chapter-nav-btn .nav-chapter-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    width: 100% !important;
}

.chapter-nav-btn.disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

.toc-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #ea580c !important;
    text-decoration: none !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1px solid #fdba74 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.toc-btn:hover {
    background: #fff7ed !important;
    color: #c2410c !important;
}

/* Quick Information Bar (Phase 11B) */
.om-quick-info {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    background: #fdfbf7;
    border: 1px solid #ebd9c5;
    border-radius: 8px;
    padding: 10px 16px;
    margin: 14px 0 16px;
    font-size: 13px;
}

.om-quick-info .quick-item {
    display: flex;
    gap: 6px;
    align-items: center;
    color: #475569;
}

.om-quick-info .quick-item .q-label {
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.om-quick-info .quick-item strong {
    color: #1e293b;
    font-weight: 600;
}

/* Script & Content Layer Tabs (Phase 11) */
.script-layer-tabs {
    display: flex;
    gap: 8px;
    margin: 18px 0 10px;
    flex-wrap: wrap;
    border-bottom: 2px solid #ede3d5;
    padding-bottom: 10px;
}

.script-tab {
    background: #f8f6f0;
    border: 1px solid #e2d8c8;
    color: #555566;
    padding: 7px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.script-tab:hover {
    background: #fff3e6;
    color: #ff6b00;
    border-color: #ffc085;
}

.script-tab.active {
    background: #ff6b00;
    color: #ffffff;
    border-color: #ff6b00;
    box-shadow: 0 2px 6px rgba(255,107,0,0.25);
}

/* Devotional Text Rendering & Script Typography */
.devotional-text {
    font-family: var(--om-font-telugu, 'Noto Serif Telugu', 'Noto Sans Telugu', sans-serif);
    font-size: var(--om-text-lg, 19px);
    line-height: var(--om-leading-verse, 2.1);
    color: #1a1a2e;
    margin: 28px 0;
}

.script-telugu,
.om-script-telugu {
    font-family: var(--om-font-telugu, 'Noto Serif Telugu', 'Noto Sans Telugu', sans-serif);
}

/* Devotional Section Title (Dhyanam, Phalasruti, Purva Peethika) */
.om-verse-section-title {
    display: block;
    text-align: center;
    width: fit-content;
    margin: 28px auto 16px;
    padding: 6px 20px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(217, 119, 6, 0.12) 100%);
    border: 1px solid rgba(217, 119, 6, 0.28);
    border-radius: 24px;
    color: #92400e;
    font-family: var(--om-font-telugu, 'Noto Serif Telugu', serif);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 5px rgba(217,119,6,0.06);
}

.script-devanagari,
.om-script-devanagari {
    font-family: var(--om-font-devanagari, 'Noto Serif Devanagari', 'Noto Sans Devanagari', serif);
}

.script-transliteration,
.om-script-latin {
    font-family: var(--om-font-transliteration, 'Inter', serif);
    font-style: italic;
    color: #334155;
}

.om-placeholder-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fdfbf7;
    border: 1px solid #ebd9c5;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0;
}

.om-placeholder-card .placeholder-icon {
    font-size: 28px;
    line-height: 1;
}

.om-placeholder-card .placeholder-text strong {
    display: block;
    color: #854d0e;
    font-size: 15px;
    margin-bottom: 4px;
}

.om-placeholder-card .placeholder-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

.om-namavali-container {
    background: #ffffff;
    border: 1.5px solid #f1e5d1;
    border-radius: 14px;
    padding: 16px 20px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.om-namavali-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px dashed #f5ede0;
    font-size: 19px;
    line-height: 1.6;
    color: #1e293b;
    transition: background 0.15s ease;
    border-left: 3px solid transparent;
}

.om-verse-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 12px;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.om-namavali-item:last-child {
    border-bottom: none;
}

.om-namavali-item:hover {
    background: #fff9ee;
    border-left-color: #ea580c;
    border-radius: 4px;
}

.om-script-telugu .om-namavali-item {
    font-family: 'Noto Serif Telugu', 'Mandali', serif;
    font-size: 19px;
}

.om-script-devanagari .om-namavali-item {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: 19px;
}

.om-script-latin .om-namavali-item {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    color: #334155;
}

.om-verse-stanza {
    background: #fffdfa;
    border-left: 3.5px solid #ea580c;
    padding: 14px 20px;
    margin: 0 0 14px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    letter-spacing: 0.1px;
    color: #1e293b;
}

.om-script-telugu .om-verse-stanza {
    font-family: 'Ramabhadra', 'Mandali', 'Suranna', 'Noto Serif Telugu', sans-serif;
    font-size: 20.5px;
    line-height: 1.95;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.om-script-devanagari .om-verse-stanza {
    font-family: 'Noto Serif Devanagari', 'Siddhanta', 'Yantramanav', serif;
    font-size: 20px;
    line-height: 1.9;
}

.om-script-latin .om-verse-stanza {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
}

/* ==========================================================================
   Sacred Conclusion Banner (Iti ... Sampoornam)
   ========================================================================== */
/* ==========================================================================
   Sarga Directory Grid (For Parent Kanda Index Pages)
   ========================================================================== */
.om-sarga-directory-wrap {
    margin: 20px 0 30px;
}

.om-sarga-dir-header {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.om-sarga-dir-header h3 {
    font-family: 'Philosopher', 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    color: #92400e;
    margin: 0 0 6px;
}

.om-sarga-dir-header p {
    font-size: 13.5px;
    color: #78350f;
    margin: 0;
}

.om-sarga-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.om-sarga-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.om-sarga-card:hover {
    border-color: #ea580c;
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.12);
    transform: translateY(-3px);
}

.om-sarga-num {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #ea580c;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 2px 8px;
    border-radius: 10px;
    width: fit-content;
    margin-bottom: 8px;
}

.om-sarga-title-tel {
    font-family: 'Noto Serif Telugu', serif;
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.om-sarga-desc {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.4;
}

.om-sarga-action {
    font-size: 12.5px;
    font-weight: 700;
    color: #ea580c;
    display: flex;
    align-items: center;
    gap: 4px;
}

.om-verse-conclusion {
    font-family: 'Philosopher', 'Noto Serif Telugu', Georgia, serif;
    font-size: 16.5px;
    font-weight: 600;
    font-style: italic;
    color: #854d0e;
    background: #fefce8;
    border: 1.5px solid #fde047;
    border-radius: 10px;
    padding: 14px 20px;
    margin: 24px 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.08);
}

.om-conclusion-icon {
    font-style: normal;
    margin-right: 6px;
    font-size: 18px;
}

/* ==========================================================================
   Devotional Guidance Card (Distinct Editorial & Anushtana Request)
   ========================================================================== */
.om-devotional-guidance-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 24px;
    margin: 28px 0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.om-guidance-header {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1.5px solid #e2e8f0;
}

.om-guidance-body p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #475569 !important;
    margin-bottom: 10px;
}

.om-guidance-body p:last-child {
    margin-bottom: 0;
}

.om-verse {
    background: #f1f5f9;
    border-left: 4px solid #ff6b00;
    padding: 18px 24px;
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
    font-size: var(--om-text-lg, 19px);
    line-height: 1.75;
    color: #1a1a2e;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    letter-spacing: 0.2px;
}

.om-script-telugu .om-verse {
    font-family: 'Noto Serif Telugu', 'Mandali', 'Gautami', serif;
    font-size: 19px;
    line-height: 1.75;
}

.om-script-devanagari .om-verse {
    font-family: 'Noto Serif Devanagari', 'Siddhanta', serif;
    font-size: 19px;
    line-height: 1.75;
}

.om-script-latin .om-verse {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

.om-verse p {
    margin: 0;
    white-space: pre-line;
}

.om-meaning {
    background: #fff8f0;
    border-left: 3px solid #f59e0b;
    padding: 14px 20px;
    margin: 10px 0 22px;
    border-radius: 0 8px 8px 0;
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a5a;
}

.om-meaning p {
    margin: 0;
}

.om-paragraph {
    margin: 16px 0;
    line-height: 1.85;
    color: #333;
}

.om-section-heading {
    font-family: 'Philosopher', 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #c2185b;
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f8bbd0;
}

.om-verse-label {
    display: inline-block;
    background: #ff6b00;
    color: #ffffff;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    margin: 16px 0 8px;
    letter-spacing: 0.4px;
}

.om-section-label {
    display: inline-block;
    background: #7c2d12;
    color: #ffffff;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    margin: 16px 0 8px;
}

.om-placeholders-wrapper {
    margin: 36px 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.om-placeholder-card {
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.om-placeholder-card.meaning-placeholder {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
}

.om-placeholder-card.commentary-placeholder {
    background: linear-gradient(135deg, #fffbf5 0%, #fff6ea 100%);
    border: 1px solid #fed7aa;
}

.om-placeholder-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.om-placeholder-icon {
    font-size: 20px;
}

.meaning-placeholder .om-placeholder-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0369a1;
    margin: 0;
}

.commentary-placeholder .om-placeholder-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: #c2410c;
    margin: 0;
}

.om-placeholder-card p {
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

.commentary-placeholder p {
    color: #7c2d12;
}

.empty-content-notice {
    padding: 36px 24px;
    background: #fdf8f0;
    border: 1px dashed #e0c8a8;
    border-radius: 10px;
    text-align: center;
    color: #7a6850;
    font-size: 16px;
}

/* Ad Placeholders */
.ad-slot-wrapper {
    background: #f4f0ea;
    padding: 12px 0;
    border-bottom: 1px solid #e8dfd2;
}

.ad-slot {
    margin: 16px auto;
    text-align: center;
}

.ad-top {
    min-height: 90px;
}

.ad-in-content {
    min-height: 250px;
    margin: 32px 0;
}

.ad-sidebar {
    min-height: 250px;
}

.ad-placeholder {
    background: #f7f3ed;
    border: 1px dashed #d5c8b5;
    border-radius: 8px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #8c7d6b;
}

.ad-placeholder .ad-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #a0907d;
}

.ad-placeholder .ad-size-hint {
    font-size: 12px;
    color: #b5a897;
}

/* Sidebar Widgets */
.stotram-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px 20px;
    border: 1px solid #f1e6da;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    margin-bottom: 24px;
    box-sizing: border-box;
    overflow: hidden;
}

.sidebar-widget .widget-title {
    font-size: 17px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #ffedd5;
    line-height: 1.35;
}

.chapter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 380px;
    overflow-y: auto;
}

.chapter-list li {
    border-bottom: 1px solid #f4eee5;
}

.chapter-list li:last-child {
    border-bottom: none;
}

.chapter-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    font-size: 14px;
    color: #4a4a5a;
    border-radius: 6px;
    transition: all 0.2s;
}

.chapter-list li a:hover {
    background: #fff3e0;
    color: #ff6b00;
    padding-left: 14px;
}

.chapter-list li.active-chapter a {
    background: #ff6b00;
    color: #ffffff;
    font-weight: 700;
}

.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 8px;
}

.quick-links li a {
    display: block;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #4a4a5a;
    background: #fbf9f6;
    border: 1px solid #f2ece2;
    transition: all 0.2s;
}

.quick-links li a:hover {
    background: #fff3e0;
    color: #ff6b00;
    border-color: #ffd8a8;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.info-table tr {
    border-bottom: 1px solid #f4eee5;
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 8px 4px;
    color: #555;
}

.info-table td:last-child {
    text-align: right;
    color: #1a1a2e;
}

.info-table code {
    background: #f0e9df;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

/* Related Section */
.related-section {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 2px solid #f4eee5;
}

.related-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 18px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.related-card {
    background: #fcfbf9;
    border: 1px solid #eee6da;
    border-radius: 10px;
    padding: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.related-card:hover {
    background: #ffffff;
    border-color: #ff6b00;
    box-shadow: 0 4px 14px rgba(255,107,0,0.1);
    transform: translateY(-2px);
}

.related-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #d9531e;
    margin-bottom: 6px;
    display: block;
}

.related-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.35;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .stotram-layout {
        grid-template-columns: 1fr;
    }
    .stotram-main {
        padding: 24px;
    }
    .stotram-title {
        font-size: 26px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .stotram-main {
        padding: 16px;
    }
    .stotram-title {
        font-size: 22px;
    }
    .devotional-text,
    .om-verse {
        font-size: 17px;
        line-height: 1.85;
    }
    .scripture-nav-top,
    .scripture-nav-bottom {
        flex-direction: column;
        align-items: stretch;
    }
    .chapter-nav-btn {
        max-width: 100%;
    }
}

/* ==========================================
   ONLYMANTRA CHANTING GUIDE & ACTION BUTTONS
   ========================================== */
.om-chanting-guide-card {
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.95) 0%, rgba(254, 243, 199, 0.7) 100%);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 12px;
    padding: 18px 22px;
    margin: 20px 0 24px 0;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.06);
}

.om-chanting-guide-card .guide-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(249, 115, 22, 0.2);
}

.om-chanting-guide-card .guide-icon {
    font-size: 20px;
}

.om-chanting-guide-card .guide-title {
    font-size: 16px;
    font-weight: 700;
    color: #9a3412;
    margin: 0;
}

.om-chanting-guide-card .guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.om-chanting-guide-card .guide-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.om-chanting-guide-card .g-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #c2410c;
}

.om-chanting-guide-card .guide-item strong {
    font-size: 13.5px;
    color: #431407;
    line-height: 1.4;
}

.copy-btn {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    padding: 8px 14px;
}

.copy-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* OnlyMantra Unique Devotional Exploration Suite (Phase 16 UX & SEO) */
.om-sacred-exploration-suite {
    margin: 40px 0 25px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.om-chanting-benefits-card {
    background: linear-gradient(135deg, #fffbf5 0%, #fef3c7 100%);
    border: 1px solid #fcd34d;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.08);
}

.om-benefits-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
}

.om-benefits-header h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #92400e;
    font-family: var(--om-font-serif, 'Philosopher', serif);
}

.om-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.om-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.85);
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.18);
}

.om-benefit-item .bi-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.om-benefit-item .bi-text strong {
    display: block;
    font-size: 14px;
    color: #78350f;
    margin-bottom: 4px;
}

.om-benefit-item .bi-text p {
    margin: 0;
    font-size: 12.5px;
    color: #4b5563;
    line-height: 1.5;
}

/* Related Deity Chants Exploration Card */
.om-related-chants-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.om-related-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.om-related-header h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    font-family: var(--om-font-serif, 'Philosopher', serif);
}

.om-related-pills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}

.om-related-chant-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 13.5px;
    transition: all 0.2s ease;
}

.om-related-chant-pill:hover {
    background: #fff7ed;
    border-color: #fdba74;
    color: #c2410c;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(234, 88, 12, 0.1);
}

.om-related-chant-pill .rc-arrow {
    color: #ea580c;
    font-size: 13px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.om-related-chant-pill:hover .rc-arrow {
    transform: translateX(3px);
}
