/* ============================================
   DIVE INTO PRODUCT - BLOG SPECIFIC STYLINGS
   ============================================ */

/* Blog layout variables */
:root {
    --blog-accent: #7C5DFA;
    --blog-accent-hover: #6C42F5;
    --blog-accent-light: rgba(124, 93, 250, 0.1);
    --blog-bg-yellow: #D1FF00; /* Vibrant neon yellow/green */
    --blog-bg-yellow-dark: #BBE600;
    --blog-spotify-card: #0D0F1F; /* Deep blue-navy */
    --blog-border-color: rgba(0, 0, 0, 0.08);
}

:root[data-theme="dark"] {
    --blog-border-color: rgba(255, 255, 255, 0.08);
}

/* Headings and copy balance guidelines */
.blog-title, 
.blog-post-title,
.blog-content h1, 
.blog-content h2, 
.blog-content h3 {
    text-wrap: balance;
}

.blog-content p,
.blog-content li,
.blog-content blockquote {
    text-wrap: pretty;
}

/* --- Blog site layout: home vs post --- */

/* Landing: no floating sidebar; footer social stays inline */
.blog-home .blog-floating-social {
    display: none !important;
}

.blog-site .footer .blog-footer-social,
.blog-site .footer .social-links {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    flex-direction: row;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    gap: 16px;
}

.blog-site .footer .social-links a::after {
    display: none;
}

/* Post pages: hide main nav, show back + floating social */
.blog-post .navbar,
.blog-post .mobile-menu {
    display: none !important;
}

.blog-back-nav {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1001;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--blog-border-color);
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.25s var(--ease-squish, ease), box-shadow 0.25s ease, background 0.25s ease;
}

.blog-back-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
}

.blog-back-nav i {
    font-size: 0.85rem;
}

.blog-post--draft .blog-back-nav {
    top: 56px;
}

.blog-draft-banner {
    background: var(--color-orange, #FF6B4A);
    color: #000;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

.blog-draft-banner a {
    text-decoration: underline;
    color: inherit;
    margin-left: 8px;
}

.blog-post-main {
    padding-top: 0;
}

.blog-post .blog-post-header {
    padding-top: 96px;
}

/* Floating social — post pages only */
.blog-floating-social {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 900;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--blog-border-color);
    box-shadow: var(--shadow-md);
}

:root[data-theme="dark"] .blog-floating-social,
:root[data-theme="dark"] .blog-back-nav {
    background: rgba(20, 20, 24, 0.9);
}

.blog-floating-social a {
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: all 0.2s cubic-bezier(0.5, 0, 0.2, 1.4);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    text-decoration: none;
}

.blog-floating-social a:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

.blog-floating-social a[aria-label="YouTube"]:hover {
    color: #FF0000;
}

.blog-floating-social a[aria-label="Podcast"]:hover {
    color: var(--blog-accent);
}

.blog-floating-social a[aria-label="Official site"]:hover {
    color: var(--blog-accent);
}

.blog-floating-social a::after {
    content: attr(aria-label);
    position: absolute;
    right: 58px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: var(--text-primary);
    color: var(--bg-surface);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-floating-social a:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Blog home nav — black Subscribe CTA */
.blog-nav-cta,
.blog-nav-cta:hover {
    background: #0a0a0a !important;
    color: #fff !important;
}

.blog-nav-cta:hover {
    background: #1a1a1a !important;
    transform: translateY(-1px);
}

.blog-navbar .blog-nav-cta {
    padding: 12px 22px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.navbar.scrolled .blog-nav-cta {
    padding: 8px 18px;
    font-size: 0.8rem;
}

:root[data-theme="dark"] .blog-nav-cta,
:root[data-theme="dark"] .blog-nav-cta:hover {
    background: #fff !important;
    color: #0a0a0a !important;
}

:root[data-theme="dark"] .blog-nav-cta:hover {
    background: #e8e8e8 !important;
}

.mobile-menu-cta.blog-nav-cta-mobile {
    background: #0a0a0a;
    color: #fff;
    text-align: center;
    border-radius: var(--radius-pill);
}

/* --- DIVE INTO PRODUCT Logo --- */
.blog-logo-container {
    display: inline-flex;
    align-items: center;
}

.blog-logo-img {
    height: 40px;
    width: auto;
    display: block;
    transition: transform 0.3s var(--ease-squish);
}

/* Footer logo — always shown (dark variant), larger size */
.blog-logo-footer {
    height: 56px;
    width: auto;
    display: block;
}

.blog-logo-container:hover .blog-logo-img,
.blog-logo-container:hover .blog-logo-footer {
    transform: scale(1.05);
}

/* Light & Dark Mode switching for nav logos */
.blog-logo-dark {
    display: none;
}

[data-theme="dark"] .blog-logo-light {
    display: none;
}

[data-theme="dark"] .blog-logo-dark {
    display: block;
}

/* --- Hero Section overrides for Blog Landing --- */
.blog-hero {
    min-height: 80vh;
    padding-top: 160px;
    padding-bottom: 140px;
    display: flex;
    align-items: center;
    background-color: var(--bg-primary);

    /* Reactive Retro Gradient — matches main hero */
    background-image:
        radial-gradient(circle 800px at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 107, 74, 0.10) 0%,
            rgba(157, 123, 255, 0.08) 30%,
            rgba(77, 226, 193, 0.04) 60%,
            transparent 100%);
    will-change: background-position;
    position: relative;
    overflow: hidden;
}

/* Soft transition fade into next section to prevent hard cutoff of gradient */
.blog-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 180px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
    pointer-events: none;
    z-index: 3;
}

/* Dark-mode version of the blog hero gradient */
[data-theme="dark"] .blog-hero {
    background-image:
        radial-gradient(circle 800px at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 107, 74, 0.07) 0%,
            rgba(157, 123, 255, 0.05) 30%,
            rgba(77, 226, 193, 0.02) 60%,
            transparent 100%);
}

.blog-hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gutter-width);
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.blog-hero-content {
    max-width: 620px;
}

.blog-hero-title {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.blog-hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.blog-subscribe-form {
    display: flex;
    gap: 12px;
    max-width: 560px; /* Widened to align better with the paragraphs above */
    width: 100%;
    margin-bottom: 12px;
    position: relative;
    align-items: stretch;
}

.blog-input {
    flex: 1;
    padding: 18px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-light);
    background-color: var(--bg-surface);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.blog-input:focus {
    outline: none;
    border-color: var(--blog-accent);
    box-shadow: 0 0 0 4px rgba(124, 93, 250, 0.15);
}

.blog-submit-btn {
    background-color: var(--blog-accent);
    color: #FFFFFF;
    border: none;
    padding: 18px 36px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-squish);
    white-space: nowrap;
}

.blog-submit-btn:hover {
    background-color: var(--blog-accent-hover);
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(124, 93, 250, 0.25);
}

.blog-submit-btn:active {
    transform: scale(0.98);
}

/* Hand Glow & Floating */
.blog-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hand-glow-background {
    position: absolute;
    width: 380px; /* Increased from 320px */
    height: 380px; /* Increased from 320px */
    background: radial-gradient(circle, 
        rgba(255, 107, 74, 0.25) 0%, 
        rgba(157, 123, 255, 0.3) 30%, 
        rgba(77, 226, 193, 0.25) 60%, 
        rgba(209, 255, 0, 0.15) 85%, 
        transparent 100%
    );
    filter: blur(48px);
    z-index: 1;
    animation: hand-glow-pulse 8s ease-in-out infinite alternate;
}

.hand-image {
    max-width: 110%; /* Increased from 90% for a bolder visual weight */
    height: auto;
    z-index: 2;
    transform-origin: center bottom;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.06));
}

@keyframes hand-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(-2deg);
    }
}

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

/* --- Podcast Highlight Section --- */
.podcast-highlight-section {
    padding: 0 var(--gutter-width) 60px;
    position: relative;
    z-index: 10;
}

.podcast-highlight-container {
    max-width: var(--container-width);
    margin: -100px auto 0;
    background: linear-gradient(135deg, #7C5DFA 0%, #5227F0 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    color: #FFFFFF;
    box-shadow: 0 20px 48px rgba(124, 93, 250, 0.25);
    position: relative;
    overflow: hidden;
}

.podcast-highlight-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(209, 255, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.podcast-info-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    z-index: 2;
}

.podcast-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
}

.podcast-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.podcast-all-episodes-btn {
    background-color: #FFFFFF;
    color: #0F0F10;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-squish);
    border: none;
    cursor: pointer;
}

.podcast-all-episodes-btn:hover {
    transform: scale(1.05);
    background-color: #F5F5F7;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Spotify Mock Player Card */
.mock-player-card {
    background-color: #16161A;
    border-radius: 20px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 440px;
    width: 100%;
    margin-left: auto;
    transition: all 0.3s ease;
}

.player-top-row {
    display: flex;
    gap: 24px;
    align-items: center;
}

.avatar-wrapper {
    position: relative;
    width: 112px;
    height: 112px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.mock-player-card:hover .avatar-wrapper {
    transform: scale(1.02);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.player-track-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Loading skeleton animation for dynamic podcast data */
.skeleton {
    background: linear-gradient(90deg,
        rgba(255,255,255,0.04) 25%,
        rgba(255,255,255,0.10) 50%,
        rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
    color: transparent !important;
    pointer-events: none;
    user-select: none;
}

.skeleton-line {
    display: block;
    height: 0.9em;
    border-radius: 4px;
    background: linear-gradient(90deg,
        rgba(255,255,255,0.04) 25%,
        rgba(255,255,255,0.10) 50%,
        rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Episode cover art in the player */
.avatar-img {
    transition: opacity 0.4s ease;
}

.avatar-img.loading {
    opacity: 0;
}

.track-show-title {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blog-accent);
}

.track-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.25;
}

.track-meta {
    font-size: 0.75rem;
    color: #8C8C96;
}

.player-controls-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.progress-bar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.progress-track {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--blog-accent);
    border-radius: 4px;
    transition: width 0.1s linear;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #FFFFFF;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.progress-track:hover .progress-fill::after {
    transform: scale(1);
}

.time-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #8C8C96;
    font-family: monospace;
}

.player-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ctrl-btn {
    background: none;
    border: none;
    color: #8C8C96;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctrl-btn:hover {
    color: #FFFFFF;
}

.core-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.play-pause-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: #0A080E;
    font-size: 1.1rem;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.play-pause-btn:hover {
    transform: scale(1.08);
    background-color: #FFFFFF;
    color: #000;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3), 0 0 15px rgba(162, 89, 255, 0.4);
}

.play-pause-btn:active {
    transform: scale(0.95);
}

.favorite-btn:hover, .favorite-btn.active {
    color: #FF4A6B;
    text-shadow: 0 0 10px rgba(255, 74, 107, 0.4);
}

/* --- Blog List (Landing Feed) --- */
.blog-feed-section {
    padding: 60px var(--gutter-width) 100px;
    background-color: var(--bg-primary);
}

.blog-feed-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.blog-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--blog-border-color);
    margin-bottom: 48px;
}

.blog-row {
    display: grid;
    grid-template-columns: 0.25fr 0.7fr 0.05fr;
    padding: 32px 16px;
    border-bottom: 1px solid var(--blog-border-color);
    align-items: center;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    cursor: pointer;
}

.blog-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--bg-secondary) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.blog-row-left {
    z-index: 1;
}

.blog-row-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.blog-row-center {
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1;
}

.blog-row-title {
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
    line-height: 1.25;
}

/* Category / topic filter pills (archive) */
.blog-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin: 0 auto 72px;
    padding-bottom: 16px;
    align-items: center;
    justify-content: center;
}

.blog-filter-pill {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-light);
    background: var(--bg-surface);
    color: var(--text-secondary);
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s var(--ease-squish, ease);
}

.blog-filter-pill:hover {
    border-color: var(--blog-accent, #7C5DFA);
    color: var(--text-primary);
}

.blog-filter-pill.is-active {
    background: var(--blog-accent, #7C5DFA);
    border-color: var(--blog-accent, #7C5DFA);
    color: #fff;
}

.blog-filter-pill.is-active:hover {
    background: var(--blog-accent-hover, #6C42F5);
    border-color: var(--blog-accent-hover, #6C42F5);
    color: #fff;
}

.blog-filter-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 0 24px;
}

.blog-row.is-filter-hidden {
    display: none !important;
}

.blog-row-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-light);
    background-color: var(--bg-surface);
    transition: all 0.2s ease;
}

.blog-row-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
}

.blog-row-arrow {
    font-size: 1.25rem;
    color: var(--text-secondary);
    transition: transform 0.3s var(--ease-squish), color 0.3s ease;
}

/* Hover effects for rows */
.blog-row:hover {
    padding-left: 24px;
}

.blog-row:hover::before {
    opacity: 0.4;
}

.blog-row:hover .blog-row-title {
    color: var(--blog-accent);
}

.blog-row:hover .blog-row-arrow {
    transform: translate(6px, -6px);
    color: var(--blog-accent);
}

.blog-row:hover .blog-tag {
    border-color: var(--blog-accent);
    color: var(--blog-accent);
    background-color: var(--blog-accent-light);
}

/* Load More Button Wrapper */
.load-more-wrapper {
    display: flex;
    justify-content: center;
}

.load-more-btn {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-squish);
}

.load-more-btn:hover {
    background-color: var(--bg-secondary);
    transform: scale(1.03);
}

.load-more-btn:active {
    transform: scale(0.98);
}

/* --- Article Detail Page Styles --- */
.blog-post-header {
    position: relative;
    padding: 220px var(--gutter-width) 72px;
    background-color: #0F0F10;
    overflow: hidden;
}

.post-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.post-header-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.55;
    filter: brightness(0.68) contrast(1.05) saturate(1.1);
}

.post-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 16, 0.5);
}

.post-header-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 1;
}

.post-category {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--blog-accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-block;
}

.post-main-title {
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #FFFFFF;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.post-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.author-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.author-meta-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.post-publish-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Article Body Content */
.blog-post-content {
    padding: 60px var(--gutter-width) 100px;
    background-color: var(--bg-primary);
}

.post-content-container {
    max-width: 700px;
    margin: 0 auto;
}

.blog-content {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.blog-content p {
    margin-bottom: 28px;
    opacity: 0.9;
}

.blog-content h2 {
    font-size: 1.85rem;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.2;
}

.blog-content h3 {
    font-size: 1.45rem;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.25;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 28px;
    padding-left: 24px;
}

.blog-content li {
    margin-bottom: 10px;
    opacity: 0.9;
}

.blog-content blockquote {
    border-left: 4px solid var(--blog-accent);
    padding: 12px 24px;
    margin: 32px 0;
    font-style: italic;
    background-color: var(--bg-secondary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-primary);
}

.blog-content blockquote p {
    margin-bottom: 0;
}

.blog-footer-subscribe-col {
    max-width: 500px;
    width: 100%;
}

.blog-footer-subscribe-col p {
    margin-bottom: 20px;
    color: #8C8C96;
    font-size: 0.9rem;
    line-height: 1.6;
}

.blog-footer-form {
    display: flex;
    gap: 12px;
    width: 100%;
    position: relative;
    align-items: stretch;
}

/* Honeypot must never render as a third visible field in flex rows */
.blog-subscribe-form .newsletter-honeypot-wrap,
.blog-footer-form .newsletter-honeypot-wrap {
    display: none !important;
    flex: 0 0 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

.blog-footer-input {
    flex: 1;
    padding: 16px 24px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.blog-footer-input:focus {
    outline: none;
    border-color: var(--blog-accent);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(124, 93, 250, 0.15);
}

.blog-footer-link-btn {
    background-color: var(--blog-accent);
    color: #FFFFFF;
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-squish);
    white-space: nowrap;
}

.blog-footer-link-btn:hover {
    background-color: var(--blog-accent-hover);
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(124, 93, 250, 0.2);
}

.blog-footer-link-btn:active {
    transform: scale(0.98);
}

/* --- Media Queries for Blog pages --- */
@media (max-width: 900px) {
    .blog-hero {
        padding-top: 120px;
        padding-bottom: 100px;
    }
    
    .blog-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .blog-hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .blog-subscribe-form {
        flex-direction: column;
        max-width: 100%;
    }

    .blog-input {
        width: 100%;
    }

    .blog-submit-btn {
        width: 100%;
    }

    .blog-footer-form {
        flex-direction: column;
    }

    .blog-footer-link-btn {
        width: 100%;
        text-align: center;
    }

    .podcast-highlight-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 32px 24px;
        margin-top: -60px;
    }

    .podcast-info-col {
        align-items: center;
        text-align: center;
    }

    .mock-player-card {
        margin: 0 auto;
        max-width: 100%;
    }

    .blog-category-filters {
        gap: 8px;
        margin-bottom: 48px;
        padding-bottom: 12px;
        justify-content: center;
    }

    .blog-filter-pill {
        padding: 8px 14px;
        font-size: 0.72rem;
    }

    .blog-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 8px;
    }

    .blog-row:hover {
        padding-left: 8px;
    }

    .blog-row-right {
        display: none; /* Hide arrow on mobile as card click handles it */
    }

    .blog-post-header {
        padding-top: 140px;
        padding-bottom: 32px;
    }
    
    .post-main-title {
        font-size: 2.25rem;
    }
    
    .blog-content {
        font-size: 1.05rem;
    }

    .next-post-popup {
        right: 16px;
        left: 16px;
        bottom: 16px;
        width: auto;
        max-width: none;
    }

    .blog-floating-social {
        right: 16px;
        padding: 16px 10px;
        gap: 16px;
    }

    .blog-floating-social a::after {
        display: none;
    }

    .blog-back-nav {
        top: 16px;
        left: 16px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .blog-post--draft .blog-back-nav {
        top: 52px;
    }
}

/* --- Next post popup (single article pages) --- */
.post-end-sentinel {
    height: 1px;
    width: 100%;
    pointer-events: none;
}

.next-post-popup {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 9000;
    width: min(340px, calc(100vw - 32px));
    padding: 20px;
    border-radius: 20px;
    background: var(--bg-surface, #fff);
    border: 1px solid var(--blog-border-color);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(124, 93, 250, 0.08);
    transform: translateY(24px) scale(0.96);
    opacity: 0;
    visibility: hidden;
    transition:
        transform 0.45s var(--ease-squish, cubic-bezier(0.34, 1.56, 0.64, 1)),
        opacity 0.35s ease,
        visibility 0.35s ease;
    pointer-events: none;
}

:root[data-theme="dark"] .next-post-popup {
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.45),
        0 8px 16px rgba(124, 93, 250, 0.15);
}

.next-post-popup.is-visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.next-post-popup__eyebrow {
    margin: 0 0 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blog-accent);
    font-family: var(--font-heading);
}

.next-post-popup__media {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
    aspect-ratio: 16 / 9;
    background: var(--blog-accent-light);
}

.next-post-popup__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.next-post-popup__title {
    margin: 0 0 10px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-primary);
    text-wrap: balance;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.next-post-popup__excerpt {
    margin: 0 0 16px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.next-post-popup__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius-pill, 999px);
    background: var(--blog-accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s var(--ease-squish, ease);
}

.next-post-popup__cta:hover {
    background: var(--blog-accent-hover);
    transform: translateY(-2px);
    color: #fff;
}

.next-post-popup__cta i {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.next-post-popup__cta:hover i {
    transform: translateX(3px);
}


