/* ============================================
   FOMOCHESS BLOG STYLES
   Modern, clean, fully responsive
============================================ */

/* ============ BLOG HERO ============ */

.blog-hero {
    padding: 64px 0 48px;
    background: linear-gradient(135deg,
            rgba(71, 10, 104, 0.04),
            rgba(178, 131, 192, 0.06));
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 12px;
    line-height: 1.2;
}

.blog-hero-subtitle {
    max-width: 580px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ============ BLOG GRID SECTION ============ */

.blog-grid-section {
    padding: 56px 0 64px;
}

.blog-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-image .blog-badge {
    position: absolute;
    top: 14px;
    left: 14px;
}

.blog-badge {
    display: inline-block;
    background-color: var(--fomo-purple);
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.blog-card-content {
    padding: 22px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-card h2,
.blog-card h3 {
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 1.1rem;
}

.blog-card h2 a,
.blog-card h3 a {
    color: var(--text-main);
    transition: color 0.2s ease;
}

.blog-card h2 a:hover,
.blog-card h3 a:hover {
    color: var(--fomo-purple);
}

.blog-excerpt {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fomo-purple);
    transition: gap 0.2s ease;
    margin-top: auto;
}

.read-more:hover {
    gap: 10px;
}

/* Regular Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Featured Post Highlight */
.blog-card.featured-post {
    position: relative;
    border: 2px solid var(--fomo-purple);
    background: linear-gradient(135deg,
            rgba(71, 10, 104, 0.02),
            rgba(178, 131, 192, 0.03));
}

.blog-card.featured-post::before {
    content: "Latest";
    position: absolute;
    top: 18px;
    right: 18px;
    background-color: var(--fomo-yellow);
    color: var(--fomo-purple);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* ============ NEWSLETTER SECTION ============ */

.newsletter-section {
    background: linear-gradient(135deg,
            rgba(71, 10, 104, 0.96),
            rgba(178, 131, 192, 0.96));
    color: #fff;
    padding: 56px 0;
    text-align: center;
}

.newsletter-inner h2 {
    margin-bottom: 10px;
}

.newsletter-inner>p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin: 0 auto 24px;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto 10px;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 240px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.95rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    padding: 12px 28px;
    border-radius: 999px;
    border: none;
    background-color: var(--fomo-yellow);
    color: var(--fomo-purple);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.newsletter-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ============ BLOG POST (SINGLE ARTICLE) ============ */

.blog-post {
    background-color: #fff;
}

/* Post Header */
.post-header {
    background: linear-gradient(135deg,
            rgba(71, 10, 104, 0.04),
            rgba(178, 131, 192, 0.06));
    padding: 48px 0 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.post-header-inner {
    max-width: 760px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--fomo-purple);
    font-weight: 500;
    margin-bottom: 16px;
    transition: gap 0.2s ease;
}

.back-link:hover {
    gap: 10px;
}

.post-badge {
    display: inline-block;
    background-color: var(--fomo-purple);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.post-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 14px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.meta-separator {
    opacity: 0.5;
}

/* Post Content Grid (Article + Sidebar) */
.post-content {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(0, 300px);
    gap: 48px;
    padding: 56px 20px 64px;
    align-items: start;
}

/* Post Body */
.post-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-main);
}

.post-body .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 24px;
    line-height: 1.6;
}

.post-body h2 {
    font-size: 1.6rem;
    margin: 40px 0 18px;
    line-height: 1.3;
}

.post-body h3 {
    font-size: 1.3rem;
    margin: 32px 0 14px;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body ul,
.post-body ol {
    margin: 20px 0 20px 24px;
}

.post-body li {
    margin-bottom: 10px;
}

.post-body a {
    color: var(--fomo-purple);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.post-body a:hover {
    text-decoration-thickness: 2px;
}

.post-body strong {
    font-weight: 600;
    color: var(--text-main);
}

/* Standings Box */
.standings-box {
    background-color: #fafafa;
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 24px 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.podium-row {
    display: grid;
    grid-template-columns: 36px 36px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 8px;
    font-size: 1rem;
}

.podium-row:last-child {
    margin-bottom: 0;
}

.podium-row.gold {
    background-color: rgba(255, 215, 0, 0.12);
}

.podium-row.silver {
    background-color: rgba(192, 192, 192, 0.12);
}

.podium-row.bronze {
    background-color: rgba(205, 127, 50, 0.12);
}

.podium-row .medal {
    font-size: 1.3rem;
}

.podium-row .position {
    font-weight: 600;
    color: var(--text-muted);
}

.podium-row .player-name {
    font-weight: 600;
}

.podium-row .score {
    font-weight: 700;
    color: var(--fomo-purple);
}

/* Players List */
.players-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.players-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.players-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--fomo-purple);
    font-size: 1.2rem;
    line-height: 1;
}

/* Insights List */
.insights-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.insights-list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    font-size: 1rem;
}

.insights-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--fomo-yellow);
    font-weight: 700;
}

/* Highlight Box */
.highlight-box {
    background-color: #fafafa;
    border-left: 4px solid var(--fomo-purple);
    padding: 18px 20px;
    margin: 24px 0;
    border-radius: 8px;
}

.highlight-box p {
    margin-bottom: 8px;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* Callout Box */
.callout-box {
    background: linear-gradient(135deg,
            rgba(71, 10, 104, 0.08),
            rgba(178, 131, 192, 0.08));
    border: 2px solid var(--fomo-purple);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 28px 0;
    text-align: center;
}

.callout-box p {
    font-size: 1.15rem;
    margin-bottom: 0;
    color: var(--text-main);
}

/* Next Event Box */
.next-event-box {
    background-color: var(--fomo-purple);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    margin: 28px 0;
}

.event-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
    margin-bottom: 6px;
}

.event-date {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* ============ SIDEBAR ============ */

.post-sidebar {
    position: sticky;
    top: 90px;
}

.sidebar-card {
    background-color: #fafafa;
    border-radius: var(--radius-md);
    padding: 22px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.sidebar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.sidebar-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.sidebar-cta {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--fomo-purple);
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(71, 10, 104, 0.3);
}

/* Sidebar Posts List */
.sidebar-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-posts li {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sidebar-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-posts a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: opacity 0.2s ease;
}

.sidebar-posts a:hover {
    opacity: 0.7;
}

.sidebar-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.sidebar-post-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Sidebar Newsletter */
.sidebar-newsletter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-newsletter input {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    outline: none;
}

.sidebar-newsletter input:focus {
    border-color: var(--fomo-purple);
}

.sidebar-newsletter button {
    padding: 10px;
    background-color: var(--fomo-purple);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.sidebar-newsletter button:hover {
    opacity: 0.9;
}

/* ============ RELATED POSTS ============ */

.related-posts-section {
    background-color: #fafafa;
    padding: 56px 0 64px;
}

.related-posts-section h2 {
    margin-bottom: 28px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* ============ ACTIVE NAV LINK ============ */

.nav-links a.active {
    color: var(--fomo-purple);
    font-weight: 600;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 960px) {
    .post-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .post-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .blog-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .related-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-hero {
        padding: 48px 0 36px;
    }

    .blog-grid-section {
        padding: 40px 0 48px;
    }

    .post-header {
        padding: 36px 0 32px;
    }

    .post-content {
        padding: 40px 20px 48px;
    }

    .post-body {
        font-size: 1rem;
    }

    .post-body .lead {
        font-size: 1.1rem;
    }

    .post-body h2 {
        font-size: 1.4rem;
        margin: 32px 0 14px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: 100%;
    }

    .podium-row {
        grid-template-columns: 32px 32px 1fr auto;
        gap: 8px;
        font-size: 0.9rem;
    }

    .post-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }
}