/* ==========================================================================
   OnlyMantra Chant Discovery Hub Styles (/chant/)
   Apple Native Frosted Glass + Ramabhadra Classical Hierarchy
   ========================================================================== */

:root {
    --om-ch-bg: #f8fafc;
    --om-ch-surface: rgba(255, 255, 255, 0.85);
    --om-ch-border: rgba(255, 255, 255, 0.95);
    --om-ch-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    --om-ch-shadow-hover: 0 16px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

.om-chant-hub-page {
    background-color: #f8fafc;
    min-height: 100vh;
    padding-bottom: 80px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;
    color: #1e293b;
}

.om-chant-forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.om-chant-form-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--om-ch-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-sizing: border-box;
}

.om-chant-form-card:hover {
    background: #ffffff;
    border-color: #fed7aa;
    transform: translateY(-3px);
    box-shadow: var(--om-ch-shadow-hover);
}

.om-chant-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.om-chant-card-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
}

.om-chant-card-titles {
    flex: 1;
    min-width: 0;
}

.om-chant-card-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.om-chant-card-sub {
    font-family: 'Ramabhadra', 'Mandali', 'Suranna', 'Noto Serif Telugu', sans-serif;
    font-size: 13px;
    color: #92400e;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.2px;
}

.om-chant-card-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 18px;
}

.om-chant-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.om-chant-count-badge {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.om-chant-cta-text {
    font-size: 12.5px;
    font-weight: 700;
    color: #ea580c;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.15s ease;
}

.om-chant-form-card:hover .om-chant-cta-text {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .om-chant-forms-grid {
        grid-template-columns: 1fr;
    }
}
    line-height: 1.3;
}

.om-chant-card-desc {
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 18px;
}

.om-chant-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.om-chant-count-badge {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
}

.om-chant-cta-text {
    font-size: 13.5px;
    font-weight: 700;
    color: #d95300;
    display: flex;
    align-items: center;
    gap: 4px;
}

.om-chant-form-card:hover .om-chant-cta-text {
    color: #ea580c;
    transform: translateX(4px);
}

/* Sidebar Styles for Chant Hub */
.om-sidebar-box {
    background: #ffffff;
    border: 1px solid #ede3d5;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.om-sidebar-title {
    font-family: 'Philosopher', 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffeedd;
    display: flex;
    align-items: center;
    gap: 8px;
}

.om-categories-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.om-cat-nav-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f8fafc;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
    border: 1px solid #f1f5f9;
}

.om-cat-nav-item a:hover {
    background: #fff7ed;
    color: #ea580c;
    border-color: #fed7aa;
    transform: translateX(4px);
}

.om-cat-nav-count {
    font-size: 12px;
    font-weight: 700;
    color: #9a3412;
    background: #ffedd5;
    padding: 2px 8px;
    border-radius: 20px;
}
