/* ==========================================================================
   OnlyMantra Spiritual Blog & Editorial Hub Styles (/blog/)
   Apple Native Frosted Glass + Ramabhadra Classical Hierarchy
   ========================================================================== */

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

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

/* --------------------------------------------------------------------------
   Featured Editor's Pick Card
   -------------------------------------------------------------------------- */
.om-featured-blog-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-left: 4.5px solid #ea580c;
    border-radius: 18px;
    padding: 32px;
    box-shadow: var(--om-blog-shadow);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.om-fbc-badge-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.om-fbc-tag {
    background: #ea580c;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 9px;
    border-radius: 6px;
}

.om-fbc-category {
    font-size: 12px;
    font-weight: 700;
    color: #7c2d12;
    background: #ffedd5;
    padding: 3px 10px;
    border-radius: 50px;
}

.om-fbc-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.om-fbc-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.om-fbc-title a:hover {
    color: #ea580c;
}

.om-fbc-telugu-title {
    font-family: 'Ramabhadra', 'Mandali', 'Suranna', 'Noto Serif Telugu', sans-serif;
    font-size: 15px;
    color: #92400e;
    font-weight: 400;
    letter-spacing: 0.2px;
    margin-bottom: 12px;
}

.om-fbc-excerpt {
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 22px;
}

.om-fbc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid #f1e6da;
    flex-wrap: wrap;
    gap: 16px;
}

.om-fbc-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.om-author-avatar {
    width: 38px;
    height: 38px;
    background: #ffedd5;
    border: 1px solid #fed7aa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.om-fbc-meta strong {
    display: block;
    font-size: 13.5px;
    color: #1e293b;
}

.om-fbc-meta span {
    font-size: 12px;
    color: #64748b;
}

.om-fbc-read-btn {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
    transition: all 0.2s;
}

.om-fbc-read-btn:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35);
}

/* --------------------------------------------------------------------------
   Filter Pills Bar
   -------------------------------------------------------------------------- */
.om-blog-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.om-bf-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.om-bf-pill:hover {
    border-color: #f97316;
    color: #ea580c;
}

.om-bf-pill.active {
    background: #1e293b;
    border-color: #1e293b;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Articles Grid & Cards
   -------------------------------------------------------------------------- */
.om-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.om-article-card {
    background: #ffffff;
    border: 1px solid #f0e6d6;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s;
}

.om-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #fed7aa;
}

.om-ac-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.om-ac-cat {
    font-size: 11.5px;
    font-weight: 700;
    color: #ea580c;
    background: #fff7ed;
    padding: 3px 10px;
    border-radius: 50px;
}

.om-ac-readtime {
    font-size: 11.5px;
    color: #94a3b8;
}

.om-ac-title {
    font-family: 'Philosopher', 'Cormorant Garamond', Georgia, serif;
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px;
    line-height: 1.35;
}

.om-ac-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.om-ac-title a:hover {
    color: #ea580c;
}

.om-ac-telugu {
    font-family: 'Suranna', 'Tiro Telugu', serif;
    font-size: 13.5px;
    color: #ea580c;
    margin-bottom: 10px;
}

.om-ac-excerpt {
    font-size: 13.5px;
    line-height: 1.55;
    color: #64748b;
    margin-bottom: 20px;
    flex-grow: 1;
}

.om-ac-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f8fafc;
    font-size: 13px;
}

.om-ac-link {
    font-weight: 700;
    color: #ea580c;
    text-decoration: none;
}

.om-ac-link:hover {
    text-decoration: underline;
}

.om-ac-chant-link {
    font-size: 12px;
    color: #475569;
    text-decoration: none;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.2s;
}

.om-ac-chant-link:hover {
    background: #fed7aa;
    color: #7c2d12;
}

/* --------------------------------------------------------------------------
   Sidebar Widgets (Newsletter, Popular Chants, Library CTA)
   -------------------------------------------------------------------------- */
.om-newsletter-widget {
    background: linear-gradient(135deg, #2e1065 0%, #1e1b4b 100%);
    color: #ffffff;
    border: none;
    padding: 26px;
    border-radius: 16px;
    text-align: center;
}

.om-nw-icon { font-size: 32px; margin-bottom: 8px; }

.om-newsletter-widget h3 {
    font-family: 'Philosopher', serif;
    font-size: 19px;
    color: #ffffff;
    margin: 0 0 8px;
}

.om-newsletter-widget p {
    font-size: 13px;
    line-height: 1.5;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.om-nw-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.om-nw-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 13px;
    box-sizing: border-box;
}

.om-nw-input::placeholder { color: #94a3b8; }

.om-nw-btn {
    background: #f97316;
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: background 0.2s;
}

.om-nw-btn:hover { background: #ea580c; }

.om-explore-library-widget {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.om-el-icon { font-size: 32px; margin-bottom: 8px; }

.om-explore-library-widget h3 {
    font-family: 'Philosopher', serif;
    font-size: 18px;
    color: #9a3412;
    margin: 0 0 6px;
}

.om-explore-library-widget p {
    font-size: 13px;
    color: #7c2d12;
    line-height: 1.5;
    margin-bottom: 14px;
}

.om-el-btn {
    display: inline-block;
    background: #ea580c;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Single Article Layout & Prose Typography
   -------------------------------------------------------------------------- */
.om-article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}

.om-article-body-wrapper {
    background: #ffffff;
    border: 1px solid #f0e6d6;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.om-article-header {
    border-bottom: 1px solid #f1e6da;
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.om-article-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.om-badge-category {
    background: #ffedd5;
    color: #9a3412;
    font-size: 12.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}

.om-badge-time,
.om-badge-date {
    font-size: 12.5px;
    color: #64748b;
}

.om-article-main-title {
    font-family: 'Philosopher', 'Cormorant Garamond', Georgia, serif;
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.25;
    margin: 0 0 10px;
}

.om-article-telugu-title {
    font-family: 'Suranna', 'Tiro Telugu', serif;
    font-size: 20px;
    color: #ea580c;
    margin-bottom: 20px;
}

.om-author-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f1f5f9;
    border: 1px solid #ede3d5;
    border-radius: 12px;
    padding: 12px 18px;
}

.om-ab-avatar { font-size: 24px; }

.om-ab-author {
    font-size: 13.5px;
    color: #334155;
}

.om-ab-reviewer {
    font-size: 12.5px;
    color: #64748b;
    margin-top: 2px;
}

.om-ab-reviewer span {
    color: #059669;
    font-weight: 600;
}

/* Social Share Bar */
.om-share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 10px 16px;
    background: #f8fafc;
    border-radius: 10px;
    flex-wrap: wrap;
}

.om-share-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
}

.om-sb-btn {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.om-sb-wa { background: #25d366; color: #ffffff; }
.om-sb-tw { background: #000000; color: #ffffff; }
.om-sb-copy { background: #ffffff; border-color: #cbd5e1; color: #334155; }

/* Article Prose Typography */
.om-article-content-prose {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}

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

.om-article-content-prose .article-lead {
    font-size: 18px;
    line-height: 1.7;
    color: #1e293b;
    font-weight: 500;
    border-left: 3px solid #ea580c;
    padding-left: 18px;
    margin-bottom: 28px;
}

.om-article-content-prose h2 {
    font-family: 'Philosopher', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 36px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1e6da;
}

.om-article-content-prose ul,
.om-article-content-prose ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.om-article-content-prose li {
    margin-bottom: 10px;
}

.om-article-content-prose blockquote {
    background: #fff7ed;
    border-left: 4px solid #ea580c;
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin: 24px 0;
    font-family: 'Suranna', serif;
    font-size: 18px;
    color: #7c2d12;
}

.article-callout-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fdfbf7;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 20px;
    margin: 28px 0;
}

.article-callout-box .ac-icon { font-size: 26px; }

.article-callout-box strong {
    display: block;
    font-size: 16px;
    color: #9a3412;
    margin-bottom: 6px;
}

.article-callout-box p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

.math-callout {
    background: #1e293b;
    color: #fef08a;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin: 20px 0;
}

/* Associated Hymn CTA Box */
.om-article-hymn-cta {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1.5px solid #fb923c;
    border-radius: 14px;
    padding: 24px;
    margin-top: 36px;
}

.om-ahc-icon { font-size: 38px; }

.om-ahc-content h4 {
    font-family: 'Philosopher', serif;
    font-size: 19px;
    color: #9a3412;
    margin: 0 0 6px;
}

.om-ahc-content p {
    font-size: 14px;
    color: #475569;
    margin: 0 0 14px;
}

.om-ahc-btn {
    display: inline-block;
    background: #ea580c;
    color: #ffffff;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}

@media (max-width: 900px) {
    .om-article-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .om-article-body-wrapper {
        padding: 20px 16px !important;
        border-radius: 12px !important;
    }
    .om-article-main-title {
        font-size: 24px !important;
    }
    .om-blog-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .om-article-hymn-cta {
        flex-direction: column !important;
        text-align: center !important;
        padding: 18px !important;
    }
}
