/* ═══════════════════════════════════════════════════════════════
   EFIVE Organics — Blog Post Styles
   Applied on single blog posts and the blog archive page.
   ═══════════════════════════════════════════════════════════════ */

/* ── Reveal Animations ── */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-fade {
    opacity: 0;
    transition: opacity 1.2s ease-out;
}
.reveal-fade.is-visible {
    opacity: 1;
}

/* ── Blog Prose Typography ── */
.prose h2 {
    font-family: 'Newsreader', serif;
    font-style: italic;
    font-size: 1.75rem;
    color: #012d1d;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.prose h3 {
    font-family: 'Newsreader', serif;
    font-style: italic;
    font-size: 1.35rem;
    color: #1b4332;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.prose p {
    font-family: 'Manrope', sans-serif;
    color: #414844;
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}
.prose ul,
.prose ol {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
    color: #414844;
}
.prose li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}
.prose strong {
    color: #1c1c18;
}

/* ── Blockquote ── */
.prose blockquote {
    border-left: 4px solid #924b2c;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f6f3ec;
    border-radius: 0 12px 12px 0;
}
.prose blockquote p {
    font-family: 'Newsreader', serif;
    font-style: italic;
    color: #012d1d;
    font-size: 1.15rem;
    margin-bottom: 0;
}

/* ── Blog Hero Breadcrumb ── */
.blog-breadcrumb a {
    text-decoration: none;
}
.blog-breadcrumb a:hover {
    text-decoration: underline;
}

/* ── Product CTA Box inside blog articles ── */
.prose .bg-surface-container-high {
    margin-top: 3rem;
}
.prose .bg-surface-container-high h3 {
    margin-top: 0.5rem;
    font-size: 1.5rem;
}
.prose .bg-surface-container-high p {
    text-align: center;
    color: #414844;
}

/* ── Related Posts ── */
.related-posts-grid a {
    text-decoration: none;
}
.related-posts-grid img {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.related-posts-grid a:hover img {
    transform: scale(1.05);
}

/* ── Blog Cards on Homepage ── */
.blog-card {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s ease;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(28, 28, 24, 0.08);
}
.blog-card img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.blog-card:hover img {
    transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════════
   Blog Post Enhanced — Progress Bar, TOC, Superfood Cards
   ═══════════════════════════════════════════════════════════════ */

/* ── Reading Progress Bar ── */
.reading-progress-track {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
}
.reading-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #924b2c, #1b4332);
    transition: width 60ms linear;
}

/* ── Table of Contents ── */
.blog-toc {
    background: #f6f3ec;
    border: 1px solid rgba(28, 28, 24, 0.08);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
}
.blog-toc h4 {
    font-family: 'Newsreader', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: #012d1d;
    margin-bottom: 0.75rem;
}
.blog-toc ol {
    margin: 0;
    padding-left: 1.5rem;
    list-style: decimal;
}
.blog-toc li {
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
    line-height: 1.5;
}
.blog-toc a {
    color: #1b4332;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    transition: color 0.2s ease;
}
.blog-toc a:hover {
    color: #924b2c;
    text-decoration: underline;
}

/* ── Superfood Numbered Cards ── */
.superfood-card {
    background: #fff;
    border: 1px solid rgba(28, 28, 24, 0.06);
    border-radius: 1.25rem;
    padding: 2rem;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s ease;
}
.superfood-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(28, 28, 24, 0.08);
}
.superfood-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}
.superfood-number {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, #1b4332, #012d1d);
    color: #fff;
    font-family: 'Newsreader', serif;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(1, 45, 29, 0.25);
}
.superfood-card h3 {
    font-family: 'Newsreader', serif;
    font-style: italic;
    font-size: 1.35rem;
    color: #012d1d;
    margin: 0;
}
.superfood-card .sf-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #924b2c;
    margin-bottom: 0.75rem;
    display: block;
}
.superfood-card p {
    font-family: 'Manrope', sans-serif;
    color: #414844;
    font-size: 0.98rem;
    line-height: 1.75;
    margin: 0;
}
.superfood-card .sf-stat {
    display: inline-block;
    background: #f6f3ec;
    border-radius: 0.5rem;
    padding: 0.35rem 0.75rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1b4332;
    margin-top: 0.75rem;
    margin-right: 0.35rem;
}

/* ── Superfood Grid Layout ── */
.superfood-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}
@media (min-width: 640px) {
    .superfood-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Bottom Line Box ── */
.blog-bottom-line {
    background: linear-gradient(135deg, #012d1d, #1b4332);
    color: #fff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-top: 3rem;
    text-align: center;
}
.blog-bottom-line h2 {
    font-family: 'Newsreader', serif;
    font-style: italic;
    color: #fff !important;
    font-size: 1.75rem;
    margin: 0 0 1rem 0;
}
.blog-bottom-line p {
    font-family: 'Manrope', sans-serif;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   Seasonal Cards — Season-specific accent colors
   ═══════════════════════════════════════════════════════════════ */
.season-card {
    background: #fff;
    border: 1px solid rgba(28, 28, 24, 0.06);
    border-radius: 1.25rem;
    padding: 2rem;
    border-top: 4px solid #1b4332;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s ease;
}
.season-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(28, 28, 24, 0.08);
}
.season-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}
.season-icon {
    font-size: 1.75rem;
    line-height: 1;
}
.season-card h3 {
    font-family: 'Newsreader', serif;
    font-style: italic;
    font-size: 1.35rem;
    color: #012d1d;
    margin: 0;
}
.season-card .season-period {
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-bottom: 0.4rem;
    display: block;
}
.season-card .season-desc {
    font-family: 'Manrope', sans-serif;
    font-style: italic;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}
.season-card ul {
    margin: 0;
    padding-left: 1.25rem;
    list-style: disc;
}
.season-card li {
    font-family: 'Manrope', sans-serif;
    color: #414844;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.35rem;
}
.season-card li strong {
    color: #1c1c18;
}
/* Season accent colours */
.season-summer  { border-top-color: #f59e0b; }
.season-monsoon { border-top-color: #0d9488; }
.season-autumn  { border-top-color: #c2410c; }
.season-winter  { border-top-color: #475569; }
.season-spring  { border-top-color: #16a34a; }

/* ── Science Fact Chips ── */
.fact-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f6f3ec;
    border-radius: 0.5rem;
    padding: 0.4rem 0.85rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1b4332;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}
.fact-chip .material-symbols-outlined {
    font-size: 1rem;
}
