/* ===== Dark Theme Design System ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #11111a;
    --bg-card: #16161f;
    --bg-elevated: #1a1a25;
    --text-primary: #ffffff;
    --text-secondary: #b4b4c7;
    --text-muted: #6b6b80;
    --accent-primary: #f472b6;
    --accent-secondary: #818cf8;
    --accent-gradient: linear-gradient(135deg, #f472b6 0%, #818cf8 50%, #38bdf8 100%);
    --border-color: rgba(255, 255, 255, 0.08);
    --glow-primary: rgba(244, 114, 182, 0.3);
    --glow-secondary: rgba(129, 140, 248, 0.3);
    --font-display: 'Playfair Display', serif;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(244, 114, 182, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(129, 140, 248, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* ===== Header ===== */
header {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 45px;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--text-primary);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* ===== Leaderboard Ad ===== */
.leaderboard-ad {
    background: var(--bg-secondary);
    padding: 24px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.leaderboard-ad .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 24px;
    padding-right: 24px;
}

.leaderboard-ad ins[data-revive-zoneid] {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

/* Top banner (e.g. Family Experiences listing uses aside.ad-leaderboard) */
.ad-leaderboard {
    background: var(--bg-secondary);
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-leaderboard ins[data-revive-zoneid] {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

/* Sidebar stacked Revive slots */
.sidebar-ads {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-top: 28px;
    width: 100%;
}

.sidebar-ads > ins[data-revive-zoneid] {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.skyscraper-ad {
    width: 100%;
    text-align: center;
}

.skyscraper-ad ins[data-revive-zoneid] {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    vertical-align: top;
}

/* In-article MPU: centered with vertical rhythm */
.article-ad-slot {
    margin: 32px auto;
    padding: 0 16px;
    max-width: 336px;
    display: flex;
    justify-content: center;
    align-items: center;
    clear: both;
}

.article-ad-slot ins[data-revive-zoneid] {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

/* Loose Revive slot at end of blog sidebar */
.sidebar-ad-unit {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.sidebar-ad-unit ins[data-revive-zoneid] {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.ad-space {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
}

.ad-space span {
    color: var(--text-muted);
    font-size: 11px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: 120px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(244, 114, 182, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 50%, rgba(129, 140, 248, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.hero-icons {
    margin-bottom: 30px;
}

.hero-icons i {
    font-size: 80px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px var(--glow-primary));
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 40px var(--glow-primary));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 60px var(--glow-secondary));
        transform: scale(1.05);
    }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #b4b4c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.hero p {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-decoration {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.decoration-line {
    width: 60px;
    height: 3px;
    border-radius: 2px;
    background: var(--accent-gradient);
}

/* ===== Live Feed Ticker ===== */
.live-feed-ticker {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    overflow: hidden;
}

.live-feed-inner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.live-feed-label {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.2), rgba(129, 140, 248, 0.2));
    border-right: 1px solid var(--border-color);
    color: var(--accent-primary);
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.live-feed-label i {
    font-size: 14px;
}

.live-feed-track-wrap {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.live-feed-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: live-feed-scroll 45s linear infinite;
    padding: 14px 0;
}

.live-feed-track:hover {
    animation-play-state: paused;
}

@keyframes live-feed-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.live-feed-item {
    flex-shrink: 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 0 24px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.live-feed-item:hover {
    color: var(--accent-primary);
}

.live-feed-dot {
    flex-shrink: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.6;
}

/* ===== About Section ===== */
/* ===== About Section (Enhanced) ===== */
.about {
    padding: 100px 0 110px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(244, 114, 182, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(129, 140, 248, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-bg-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.about-bg-icons i {
    position: absolute;
    font-size: clamp(28px, 4vw, 56px);
    color: var(--text-muted);
    opacity: 0.06;
    font-style: normal;
}

.about-bg-icons i:nth-child(1)  { top: 12%;  left: 8%;   }
.about-bg-icons i:nth-child(2)  { top: 22%;  right: 12%; }
.about-bg-icons i:nth-child(3)  { top: 55%;  left: 5%;   }
.about-bg-icons i:nth-child(4)  { top: 75%;  right: 8%;  }
.about-bg-icons i:nth-child(5)  { top: 18%;  right: 25%;  }
.about-bg-icons i:nth-child(6)  { top: 65%;  left: 18%;   }
.about-bg-icons i:nth-child(7)  { top: 35%;  right: 6%;   }
.about-bg-icons i:nth-child(8)  { top: 8%;  left: 22%;   }
.about-bg-icons i:nth-child(9)  { top: 82%;  left: 12%;   }
.about-bg-icons i:nth-child(10) { top: 45%;  right: 18%;  }
.about-bg-icons i:nth-child(11) { top: 70%;  right: 22%;  }
.about-bg-icons i:nth-child(12) { top: 25%;  left: 15%;   }

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.about-icon {
    margin-bottom: 24px;
}

.about-icon i {
    font-size: 42px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.85;
}

.about-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 28px;
    letter-spacing: -1.5px;
    line-height: 1.15;
}

.about-lead {
    font-size: clamp(18px, 2.2vw, 22px);
    color: var(--text-primary);
    line-height: 1.85;
    margin-bottom: 28px;
    font-weight: 500;
}

.about-lead em {
    font-style: italic;
    color: var(--accent-primary);
    font-family: var(--font-display);
    font-weight: 500;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.15), rgba(129, 140, 248, 0.1));
    padding: 2px 6px;
    border-radius: 4px;
}

.about-text {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 22px;
}

.about-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about {
        padding: 70px 0 80px;
    }

    .about-bg-icons i {
        font-size: 32px;
        opacity: 0.05;
    }

    .about-label {
        letter-spacing: 2px;
        font-size: 11px;
    }

    .about-title {
        margin-bottom: 22px;
    }

    .about-lead {
        margin-bottom: 24px;
    }
}

/* ===== Home Blog Listing ===== */
.home-blog-listing {
    padding: 90px 0 80px;
    background: var(--bg-primary);
    position: relative;
}

.blog-listing-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-listing-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 14px;
}

.blog-listing-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: 1.2;
}

.blog-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-listing-card {
    position: relative;
}

.blog-listing-card--more {
    display: none;
}

.blog-listing-card--more.is-visible {
    display: block;
    animation: blogCardReveal 0.5s ease-out forwards;
}

@keyframes blogCardReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-listing-card-link {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.blog-listing-card-link:hover {
    border-color: rgba(244, 114, 182, 0.35);
    transform: translateY(-8px);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(244, 114, 182, 0.1);
}

.blog-listing-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

.blog-listing-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.85) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-listing-card-link:hover .blog-listing-card-image::after {
    opacity: 1;
}

.blog-listing-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-listing-card-link:hover .blog-listing-card-image img {
    transform: scale(1.08);
}

.blog-listing-card-body {
    display: block;
    padding: 26px 24px 28px;
}

.blog-listing-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 12px;
}

.blog-listing-card-meta i {
    font-size: 10px;
    color: var(--accent-primary);
}

.blog-listing-card-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.blog-listing-card-link:hover .blog-listing-card-title {
    color: var(--accent-primary);
}

.blog-listing-card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.blog-listing-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--accent-secondary);
    transition: all 0.3s ease;
}

.blog-listing-card-cta i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.blog-listing-card-link:hover .blog-listing-card-cta {
    color: var(--accent-primary);
}

.blog-listing-card-link:hover .blog-listing-card-cta i {
    transform: translateX(4px);
}

.blog-listing-actions {
    text-align: center;
    margin-top: 48px;
}

.blog-listing-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
    background: var(--accent-gradient);
    border: none;
    border-radius: 28px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(244, 114, 182, 0.3);
}

.blog-listing-load-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(244, 114, 182, 0.4);
}

.blog-listing-load-more:active {
    transform: translateY(-1px);
}

.blog-listing-load-more[aria-expanded="true"] {
    display: none;
}

@media (max-width: 992px) {
    .blog-listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .home-blog-listing {
        padding: 60px 0 60px;
    }

    .blog-listing-header {
        margin-bottom: 36px;
    }

    .blog-listing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-listing-card-body {
        padding: 22px 20px 24px;
    }

    .blog-listing-card-title {
        font-size: 18px;
    }
}

/* ===== RSS Sections ===== */
.rss-section {
    padding: 88px 0 96px;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.rss-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(129, 140, 248, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.rss-section .container {
    position: relative;
    z-index: 1;
}

.rss-section:nth-child(even) {
    background: var(--bg-secondary);
}

.rss-section:nth-child(even) .leaderboard-ad {
    background: var(--bg-primary);
}

.rss-section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.rss-section-heading h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3.5vw, 2.15rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.2;
    background: linear-gradient(110deg, #ffffff 0%, #e2e8f0 38%, #f9a8d4 95%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rss-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 10px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.28);
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.08);
}

.rss-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.85);
    animation: rss-live-pulse 2s ease-in-out infinite;
}

@keyframes rss-live-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.65;
        transform: scale(0.92);
    }
}

.rss-header {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.section-number {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 20px;
    letter-spacing: 3px;
    position: relative;
}

.section-number::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 20px;
    background: var(--accent-gradient);
}

.rss-header h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0;
    letter-spacing: -1.5px;
}

/* Live feed cards (injected by RSS script) — glass editorial tiles */
.rss-card {
    background: linear-gradient(168deg, rgba(30, 30, 42, 0.92) 0%, rgba(16, 16, 24, 0.98) 52%, rgba(14, 14, 20, 1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 22px;
    transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1), border-color 0.35s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 228px;
    height: 100%;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 4px 24px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.rss-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0.9;
    z-index: 2;
    pointer-events: none;
}

.rss-card::after {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 85%;
    background: radial-gradient(ellipse at 50% 0%, rgba(244, 114, 182, 0.18) 0%, rgba(129, 140, 248, 0.06) 42%, transparent 68%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
    z-index: 0;
}

.rss-card:hover {
    transform: translateY(-5px);
    border-color: rgba(244, 114, 182, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 20px 48px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(129, 140, 248, 0.12),
        0 0 40px rgba(244, 114, 182, 0.08);
}

.rss-card:hover::after {
    opacity: 1;
}

.rss-card-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    padding: 28px 24px 22px;
    min-height: 100%;
    position: relative;
    z-index: 3;
}

.rss-card-link:focus-visible {
    outline: 2px solid rgba(129, 140, 248, 0.9);
    outline-offset: 3px;
    border-radius: 16px;
}

.rss-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 50%;
    font-size: 15px;
    color: #fda4d0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px rgba(244, 114, 182, 0.15),
        0 8px 28px rgba(129, 140, 248, 0.12);
    transition: transform 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.rss-card:hover .rss-card-icon {
    transform: scale(1.05);
    color: #e0e7ff;
    border-color: rgba(129, 140, 248, 0.35);
    box-shadow:
        0 0 0 1px rgba(129, 140, 248, 0.25),
        0 10px 32px rgba(129, 140, 248, 0.2);
}

.rss-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.rss-card:hover .rss-card-title {
    color: #fdf4ff;
}

.rss-card-meta {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    margin: 0 0 auto;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.rss-card:hover .rss-card-meta {
    color: var(--text-secondary);
}

.rss-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 16px;
    width: auto;
    max-width: 100%;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: #fce7f3;
    background: rgba(244, 114, 182, 0.12);
    border: 1px solid rgba(244, 114, 182, 0.35);
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.rss-card-cta i {
    font-size: 10px;
    opacity: 0.9;
    transition: transform 0.35s ease;
}

.rss-card:hover .rss-card-cta {
    color: #fff;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.35), rgba(129, 140, 248, 0.28));
    border-color: rgba(255, 255, 255, 0.12);
}

.rss-card:hover .rss-card-cta i {
    transform: translate(2px, -2px);
}

.rss-feed {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.rss-feed > p:only-child {
    grid-column: 1 / -1;
    margin: 0;
    padding: 20px 16px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
}

.rss-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px 28px;
    border-radius: 18px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.rss-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    transform: scaleY(0);
    transform-origin: center bottom;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px 0 0 4px;
}

.rss-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.4), rgba(129, 140, 248, 0.2), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.rss-item:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(244, 114, 182, 0.25);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(244, 114, 182, 0.1),
        0 0 60px rgba(244, 114, 182, 0.08);
}

.rss-item:hover::before {
    transform: scaleY(1);
    transform-origin: center top;
}

.rss-item:hover::after {
    opacity: 1;
}

.rss-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244, 114, 182, 0.15);
    color: #f472b6;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 18px;
}

.rss-category i {
    font-size: 10px;
}

.rss-item h3 {
    font-family: var(--font-display);
    font-size: 21px;
    color: var(--text-primary);
    margin-bottom: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.rss-item:hover h3 {
    color: #f0abce;
}

.rss-item p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 22px;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.rss-item:hover p {
    color: var(--text-primary);
}

.rss-item .read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 18px;
    border: 1px solid rgba(244, 114, 182, 0.4);
    border-radius: 24px;
    background: transparent;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.rss-item .read-more i {
    font-size: 11px;
    transition: transform 0.35s ease;
}

.rss-item .read-more:hover {
    color: #fff;
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(244, 114, 182, 0.35);
}

.rss-item .read-more:hover i {
    transform: translateX(4px);
}

.rss-item:hover .read-more {
    border-color: rgba(244, 114, 182, 0.6);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f472b6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #818cf8;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ===== Footer ===== */
footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 70px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-logo-img {
    height: 100px;
    width: auto;
    opacity: 0.8;
}

.footer-content p {
    color: var(--text-muted);
    margin: 20px 0 10px;
    font-size: 15px;
}

.copyright {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 30px;
    opacity: 0.6;
}

/* ===== Blog Page Styles ===== */
.blog-main {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    padding: 50px 0 80px;
    align-items: start;
}

.blog-content {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    max-width: 800px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.blog-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

.blog-title {
    font-family: var(--font-display);
    font-size: 48px;
    color: var(--text-primary);
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #ffffff 0%, #d4d8ff 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-meta {
    color: var(--text-muted);
    font-size: 14px;
    font-style: italic;
    font-family: var(--font-heading);
    margin-bottom: 45px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 20px;
}

.blog-meta::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.article-featured-image {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.blog-content h2 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--text-primary);
    margin: 45px 0 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
}

.blog-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 6px;
    height: 28px;
    background: var(--accent-gradient);
    border-radius: 3px;
}

.blog-content p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 22px;
    line-height: 1.95;
}

.blog-content p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 700;
    float: left;
    margin-right: 15px;
    margin-top: 5px;
    line-height: 1;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-content em {
    font-style: italic;
    color: #c084fc;
    font-family: var(--font-display);
    font-weight: 500;
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.12) 0%, rgba(244, 114, 182, 0.12) 100%);
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
    border-left: 3px solid #f472b6;
}

/* ===== Blog Sidebar ===== */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px 25px;
    position: relative;
    overflow: hidden;
}

.sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
}

.sidebar-widget-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.sidebar-widget-title i {
    font-size: 16px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-post-list,
.sidebar-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-post-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 10px 12px;
    border-radius: 10px;
    align-items: flex-start;
}

.sidebar-post-link:hover {
    color: var(--text-primary);
    background: rgba(244, 114, 182, 0.1);
    transform: translateX(5px);
}

.sidebar-post-link i {
    color: #f472b6;
    font-size: 12px;
}

.sidebar-post-text {
    flex: 1;
    font-family: var(--font-heading);
    font-weight: 500;
}

.post-date {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-heading);
}

.sidebar-post-list li {
    margin-bottom: 18px;
}

.sidebar-post-list li:last-child {
    margin-bottom: 0;
}

.sidebar-post-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 10px 12px;
    border-radius: 10px;
}

.sidebar-post-link:hover {
    color: var(--text-primary);
    background: rgba(244, 114, 182, 0.1);
    transform: translateX(5px);
}

.sidebar-post-link i {
    color: #f472b6;
    font-size: 12px;
}

.sidebar-post-text {
    flex: 1;
    font-family: var(--font-heading);
    font-weight: 500;
}

.sidebar-category-list li {
    margin-bottom: 12px;
}

.sidebar-category-list li:last-child {
    margin-bottom: 0;
}

.sidebar-category-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 12px;
    border-radius: 10px;
}

.sidebar-category-list a:hover {
    color: var(--text-primary);
    background: rgba(129, 140, 248, 0.1);
    transform: translateX(5px);
}

.sidebar-category-list a i {
    color: #818cf8;
    font-size: 13px;
}

/* ===== Article Sidebar: Popular Posts (redesign) ===== */
.sidebar-widget--popular .sidebar-widget-title {
    margin-bottom: 20px;
}

.popular-posts-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.popular-post-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.popular-post-item:hover {
    border-color: rgba(244, 114, 182, 0.4);
    background: rgba(244, 114, 182, 0.06);
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.popular-post-rank {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 8px;
}

.popular-post-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
}

.popular-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.popular-post-info {
    flex: 1;
    min-width: 0;
}

.popular-post-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-post-item:hover .popular-post-title {
    color: var(--text-primary);
}

.popular-post-arrow {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.3s ease;
}

.popular-post-item:hover .popular-post-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #f472b6;
}

/* ===== Article Sidebar: Categories (redesign) ===== */
.sidebar-widget--categories .sidebar-widget-title {
    margin-bottom: 20px;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-pill i {
    font-size: 12px;
    color: var(--accent-primary);
    opacity: 0.9;
}

.category-pill:hover {
    border-color: rgba(129, 140, 248, 0.5);
    background: rgba(129, 140, 248, 0.08);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(129, 140, 248, 0.15);
}

.category-pill:hover i {
    color: var(--accent-secondary);
}

.newsletter-text {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-body);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.15);
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-btn {
    width: 100%;
    padding: 14px 20px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(244, 114, 182, 0.3);
}

.newsletter-btn i {
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--text-primary);
    background: var(--accent-gradient);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(244, 114, 182, 0.3);
}

.sidebar-ad {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
}

.sidebar-ad.skyscraper {
    height: 600px;
    width: 160px;
    margin: 0 auto;
}

.sidebar-ad.square {
    width: 100%;
    height: 250px;
}

/* ===== Related Posts Section ===== */
.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(244, 114, 182, 0.2);
}

.related-posts-title {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-posts-title::before {
    content: '✨';
    font-size: 18px;
}

.related-posts-rss-note {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 4px 0 24px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.5;
}

.related-posts-rss-note .rss-live-pill {
    flex-shrink: 0;
}

.rss-feed--related {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: none;
}

.related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-post-item:hover {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.08), rgba(129, 140, 248, 0.08));
    border-color: rgba(244, 114, 182, 0.3);
    transform: translateX(5px);
}

.related-post-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.15), rgba(129, 140, 248, 0.15));
    border-radius: 10px;
    flex-shrink: 0;
}

.related-post-icon i {
    font-size: 16px;
    color: #f472b6;
}

.related-post-item:hover .related-post-icon {
    background: var(--accent-gradient);
}

.related-post-item:hover .related-post-icon i {
    color: #fff;
}

.related-post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.related-post-cat {
    font-size: 11px;
    color: #f472b6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

.related-post-name {
    font-size: 15px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 500;
}

.related-post-arrow {
    color: var(--text-muted);
    font-size: 14px;
    transition: all 0.3s ease;
}

.related-post-item:hover .related-post-arrow {
    color: #f472b6;
    transform: translateX(3px);
}

/* ===== Blog Listing Page ===== */
.blog-hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}

.blog-hero-content h1 {
    font-family: var(--font-display);
    font-size: 52px;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 500;
    background: linear-gradient(135deg, #f472b6, #818cf8, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero-subtitle {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #f472b6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 20px;
}

.blog-hero-desc {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.blog-listing-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    margin: 60px auto;
}

.blog-listing-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-categories {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.1), rgba(129, 140, 248, 0.1));
    border-color: rgba(244, 114, 182, 0.3);
    color: var(--text-primary);
}

.category-btn.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(244, 114, 182, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.1), rgba(129, 140, 248, 0.1));
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-placeholder i {
    font-size: 48px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.6;
}

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

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-card-category {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.15), rgba(129, 140, 248, 0.15));
    color: #f472b6;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

.blog-card-date {
    color: var(--text-muted);
    font-size: 12px;
    font-family: var(--font-body);
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f472b6;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-card-link:hover {
    gap: 12px;
    color: #818cf8;
}

.blog-card-link i {
    transition: transform 0.3s ease;
}

.blog-card-link:hover i {
    transform: translateX(4px);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover:not(.disabled) {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.1), rgba(129, 140, 248, 0.1));
    border-color: rgba(244, 114, 182, 0.3);
    color: var(--text-primary);
}

.page-btn.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
}

.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.blog-listing-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: rgba(244, 114, 182, 0.5);
    box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.1);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.sidebar-category-list .count {
    margin-left: auto;
    background: var(--bg-secondary);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .blog-main {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .blog-listing-wrapper {
        grid-template-columns: 1fr;
    }

    .blog-listing-sidebar {
        order: -1;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .blog-listing-sidebar .sidebar-widget {
        flex: 1 1 280px;
    }

    .blog-listing-sidebar .sidebar-ad.skyscraper {
        display: none;
    }

    .blog-sidebar {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        position: static;
    }

    .sidebar-widget {
        flex: 1 1 280px;
        min-width: 250px;
    }

    .sidebar-ad.skyscraper {
        display: none;
    }

    .rss-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        gap: 30px;
    }

    .hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .hero-icons i {
        font-size: 60px;
    }

    .hero p {
        font-size: 17px;
    }

    .blog-title {
        font-size: 38px;
    }

    .blog-content h2 {
        font-size: 24px;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .leaderboard-ad .ad-space {
        width: 100%;
        height: 60px;
    }

    nav ul {
        gap: 20px;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .live-feed-label {
        padding: 12px 14px;
        font-size: 11px;
    }

    .live-feed-item {
        font-size: 13px;
        padding: 0 18px;
    }

    .blog-title {
        font-size: 32px;
    }

    .blog-content {
        padding: 30px;
        border-radius: 16px;
    }

    .blog-content h2 {
        font-size: 22px;
    }

    .section-number::after {
        display: none;
    }

    .related-post-item {
        padding: 12px 15px;
    }

    .related-post-name {
        font-size: 14px;
    }

    .blog-hero-content h1 {
        font-size: 36px;
    }

    .blog-hero-subtitle {
        font-size: 14px;
        letter-spacing: 4px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-listing-sidebar {
        flex-direction: column;
    }

    .blog-listing-sidebar .sidebar-widget {
        width: 100%;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero > .container {
    animation: fadeInUp 1s ease-out;
}

.rss-item {
    animation: fadeInUp 0.6s ease-out backwards;
}

.rss-item:nth-child(1) { animation-delay: 0.1s; }
.rss-item:nth-child(2) { animation-delay: 0.2s; }
.rss-item:nth-child(3) { animation-delay: 0.3s; }

.rss-feed .rss-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.rss-feed .rss-card:nth-child(1) { animation-delay: 0.1s; }
.rss-feed .rss-card:nth-child(2) { animation-delay: 0.2s; }
.rss-feed .rss-card:nth-child(3) { animation-delay: 0.3s; }
