@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;500;600;700&family=Outfit:wght@500;600;700&display=swap');

/* ========================================
   Neural Wanderer - Main Stylesheet
   Matching neuralwanderer.top design
   ======================================== */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Custom Properties */
:root {
    /* Colors - Matching neuralwanderer.top */
    --primary-black: #000000;
    --primary-white: #ffffff;
    --light-gray: #f8f8f8;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --hover-bg: #333333;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    --font-heading: 'Georgia', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Layout */
    --max-width: 1200px;
    --content-width: 800px;
    
    /* Transitions */
    --transition-normal: 0.3s ease;
}

/* Base Typography */
body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--primary-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity var(--transition-normal);
}

a:hover {
    opacity: 0.7;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================
   Header Styles
   ======================================== */

.site-header {
    background-color: rgb(255, 255, 255);
    border-bottom: 1px solid rgb(224, 224, 224);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 8px 16px;
    box-shadow: none;
    height: 68px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    will-change: transform;
    transform: translateY(0);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.site-branding .logo {
    display: block;
}

.logo-img {
    height: 52px;
    width: auto;
    max-width: 258px;
    object-fit: contain;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 19px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 19px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 400;
    color: rgb(38, 50, 56);
    text-decoration: none;
    transition: opacity 0.3s ease;
    padding: 0;
}

.nav-menu a:hover {
    opacity: 0.7;
}

.nav-menu a.active {
    text-decoration: underline;
    text-underline-offset: 4px;
    opacity: 1;
}

/* Header Social Icons */
.header-social {
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 0 33px 0 19px;
}

.header-social a {
    color: rgb(0, 0, 0);
    font-size: 20px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-social a:hover {
    color: rgb(58, 58, 58);
}

.site-header.site-header--hidden {
    transform: translateY(-100%);
}

/* Subscribe Button */
.subscribe-btn {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 400;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background-color: rgb(29, 30, 32);
    opacity: 1;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-black);
    transition: var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    overflow: hidden;
    background: linear-gradient(135deg, #12203f 0%, #1f335f 60%, #273b63 100%);
    z-index: 0;
    isolation: isolate;
}

.hero-iframe-shell {
    position: relative;
    display: flex;
    justify-content: center;
    padding: clamp(1.4rem, 7vw, 2.5rem) clamp(1rem, 4vw, 2rem);
    opacity: 1;
}

.hero-iframe {
    width: 100%;
    max-width: 1200px;
    height: clamp(330px, 50vh, 520px);
    border: none;
    border-radius: 28px;
    opacity: 1;
    overflow: hidden;
}
.hero-iframe-frame {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 1200px;
    min-height: 600px;
    margin: clamp(1.5rem, 5vw, 3rem) auto;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 35px 70px rgba(245, 246, 248, 0.28);
    z-index: 2;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/uploads/images/home_frontpage/E9017366-18AA-4925-AA47-653B9D34776D_1_105_c.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.51;
    will-change: transform;
    transition: transform 0.2s ease-out, opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(164, 255, 0, 0.3), transparent 55%),
                radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.5), transparent 65%);
    z-index: 1;
    pointer-events: none;
}

.hero-fallback {
    max-width: var(--max-width);
    margin: clamp(1.5rem, 6vw, 3rem) auto 0;
    color: #ffffff;
    text-align: center;
    padding: 0 1rem;
}

.hero-fallback h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: #a4ff00;
}

.hero-fallback p {
    font-size: 1.05rem;
    line-height: 1.75;
}


.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
    gap: 1.7rem;
    align-items: center;
    max-width: var(--max-width);
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: clamp(2.15rem, 2.7vw, 2.75rem);
    font-weight: 700;
    color: #a4ff00;
    margin-bottom: 1.05rem;
    line-height: 1.05;
    text-shadow: 2px 3px 12px rgba(0,0,0,0.45);
}

.hero-subtitle {
    font-size: 0.98rem;
    color: #ffffff;
    line-height: 1.65;
    margin-bottom: 0.9rem;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.55);
}

.hero-intro-copy {
    display: grid;
    gap: 0.72rem;
    margin-bottom: 0.95rem;
}

.hero-subtitle--secondary {
    color: rgba(255, 255, 255, 0.88);
}
.hero-signature {
    text-align: center;
    color: #555;
    font-style: italic;
    margin-top: 1em;
  }

.hero-highlights {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.48rem;
    margin: 0 0 0.95rem;
    padding: 0;
}

.hero-highlights li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 0.92rem;
    border-radius: 999px;
    background: rgba(15, 30, 64, 0.55);
    border: 1px solid rgba(164, 255, 0, 0.35);
    color: #ffffff;
    font-size: 0.87rem;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 26px rgba(15, 30, 64, 0.28);
}

.hero-highlights li i {
    color: #a4ff00;
}

.hero-photo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.hero-photo-wrapper::before {
    content: '';
    position: absolute;
    width: 240px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(164,255,0,0.45) 0%, rgba(164,255,0,0) 60%);
    z-index: 0;
    filter: blur(0.5px);
}

.hero-photo {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 210px;
    max-height: 340px;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 25px 45px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.15);
}

html.hero-embed-html.hero-embed-body {
    height: 100%;
    overflow: hidden;
}

body.hero-embed-body {
    margin: 0;
    min-height: auto;
    display: flex;
    align-items: stretch;
    background: transparent;
    color: #ffffff;
    overflow: hidden;
}

body.hero-embed-body .container {
    padding: 0 var(--spacing-md);
}

body.hero-embed-body .hero-section {
    width: 100%;
    padding: clamp(1.9rem, 5vw, 3.7rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

body.hero-embed-body .hero-subtitle {
    color: rgba(255, 255, 255, 0.92);
}
/* ===== Force hero: text left, photo right on DESKTOP ===== */
.hero-section .hero-content{
  display: grid !important;                 /* beat any earlier flex/block */
  grid-template-columns: 1.2fr 0.8fr;       /* two columns */
  grid-template-areas: "text photo";        /* explicit placement */
  align-items: center;
  gap: 1.7rem;
  max-width: var(--max-width);
  width: 100%;
}
.hero-section .hero-text{ grid-area: text; min-width: 0; }
.hero-section .hero-photo-wrapper{
  grid-area: photo;
  justify-self: end;                        /* shove photo to the right */
}

/* ===== Mobile/tablet: stack (text first, photo below) ===== */
@media (max-width: 1024px){
  .hero-section .hero-content{
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "photo";
  }
  .hero-section .hero-photo-wrapper{ justify-self: center; }
}

/* Optional safety if something else still overrides: use Flex on wide screens */
@media (min-width: 1025px){
  .hero-section .hero-content.is-flex-fallback{
    display: flex !important;
    align-items: center;
    gap: 1.7rem;
  }
  .hero-section .hero-text{ order: 1; flex: 1 1 55%; }
  .hero-section .hero-photo-wrapper{ order: 2; flex: 0 0 45%; align-self: center; }
}
/* ========================================
   Homepage Subscribe Callout
   ======================================== */

.home-unified-container {
    position: relative;
    margin: 0; /* Removed excessive margin */
    padding: 0; /* Removed excessive padding */
    width: 100%; /* Ensure full width */
    background: linear-gradient(
        to bottom,
        #1e3c72 0%,
        #ffffff 30%,
        #ffffff 70%,
        #f8f9fa 100%
    );
    border-radius: 0; /* Removed border-radius */
    border: none; /* Removed border */
    box-shadow: none; /* Removed box-shadow */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    row-gap: 0; /* Removed row-gap */
}

.home-unified-container::before {
    content: '';
    position: absolute;
    inset: -20% 0 55%;
    background: radial-gradient(circle at top right, rgba(164, 255, 0, 0.22) 0%, transparent 60%),
                radial-gradient(circle at 15% 25%, rgba(30, 60, 114, 0.18) 0%, transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.home-unified-section {
    position: relative;
    z-index: 1;
    padding: 0;
}

.home-transition-divider {
    position: relative;
    height: 2px;
    width: min(78%, 880px);
    margin: 0 auto;
    background: linear-gradient(90deg, rgba(164, 255, 0, 0), rgba(164, 255, 0, 0.4), rgba(164, 255, 0, 0));
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(164, 255, 0, 0.18);
    z-index: 1;
}

@media (max-width: 768px) {
    .home-unified-container {
        border-radius: 28px;
        padding: clamp(2.25rem, 8vw, 3.25rem) clamp(1.25rem, 6vw, 2.25rem);
        row-gap: clamp(2.25rem, 7vw, 3.5rem);
    }

    .home-transition-divider {
        width: 85%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-unified-container,
    .home-transition-divider {
        animation: none !important;
        transition: none !important;
    }
}

.home-subscribe-section {
    padding: 2rem 0; /* Added minimal padding */
    background: transparent;
}

.home-subscribe-section .container {
    max-width: 1200px; /* Consistent max-width */
    margin: 0 auto;
    padding: 0 1rem;
}

.home-subscribe-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 2.75rem);
    align-items: center;
    padding: clamp(1.75rem, 5vw, 2.75rem);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 28px 55px rgba(15, 30, 64, 0.14);
    border: 1px solid rgba(30, 60, 114, 0.08);
    backdrop-filter: blur(12px);
}

.home-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.home-subscribe-copy h2 {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    margin-bottom: 0.85rem;
    color: #10203e;
}

.home-subscribe-copy p {
    margin: 0;
    font-size: 0.98rem;
    color: rgba(16, 32, 62, 0.75);
    line-height: 1.7;
    max-width: 540px;
}

.home-subscribe-card .newsletter-form {
    margin: 0;
    justify-content: flex-start;
}

.home-subscribe-card .newsletter-form input[type="email"] {
    min-width: 220px;
}

.home-subscribe-card .newsletter-message {
    max-width: 520px;
    margin: 0.75rem 0 0;
}

.home-subscribe-card .newsletter-form button {
    background: linear-gradient(135deg, #a4ff00 0%, #76d400 100%);
    color: #10203e;
    font-weight: 700;
}

.home-subscribe-card .newsletter-form button:hover {
    background: linear-gradient(135deg, #b8ff3a 0%, #89e200 100%);
}

/* ========================================
   Page Hero & Sections
   ======================================== */

.page-hero {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.1) 0%, rgba(42, 82, 152, 0.08) 100%);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    text-align: center;
}

.page-hero-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.page-section {
    padding: var(--spacing-xl) 0;
}

.page-section .container {
    max-width: var(--max-width);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 30px rgba(15, 30, 64, 0.12);
    backdrop-filter: blur(18px);
}

.no-posts {
    text-align: center;
    padding: var(--spacing-lg);
    color: var(--text-secondary);
}

/* ========================================
   Animations
   ======================================== */

.fade-in-up {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.animate-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.no-js .fade-in-up {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .home-subscribe-card,
    .post-card,
    .gallery-item {
        transition: none !important;
    }
}

body.motion-lite .about-main::before,
body.motion-lite .about-main::after,
body.motion-lite .about-sidebar::before {
    animation: none !important;
    filter: blur(18px);
    opacity: 0.4;
}

body.motion-lite .about-section h3::after,
body.motion-lite .about-highlight-card h3::after,
body.motion-lite .sidebar-widget h4::after,
body.motion-lite .about-section-with-bg .section-inner h3::after {
    animation: none !important;
}

body.motion-lite .milestone-pulse {
    animation: none !important;
}

/* ========================================
   Newsletter Section
   ======================================== */

.newsletter-section {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.newsletter-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    color: var(--primary-white);
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: clamp(0.75rem, 2vw, var(--spacing-sm));
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    background: var(--primary-white);
    color: var(--primary-black);
    border: none;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 4px;
}

.newsletter-form button {
    padding: 12px 22px;
    background: var(--primary-white);
    color: var(--primary-black);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color var(--transition-normal);
}

.newsletter-form button:hover {
    background-color: var(--border-color);
}

.newsletter-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: 4px;
    font-weight: 500;
}

.newsletter-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.newsletter-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   Latest Posts Section
   ======================================== */

.blog-hero {
    position: relative;
    padding: clamp(2.4rem, 6vw, 4.8rem) 0;
    background: radial-gradient(circle at 10% 20%, rgba(164, 255, 0, 0.18), transparent 60%),
                radial-gradient(circle at 80% 0%, rgba(48, 97, 255, 0.15), transparent 55%),
                linear-gradient(135deg, #0f1e40 0%, #1c305d 60%, #24386a 100%);
    overflow: hidden;
}

.blog-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(10, 18, 36, 0.25), transparent 75%);
    pointer-events: none;
}

.blog-hero .container {
    position: relative;
    z-index: 2;
}

.blog-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
    gap: clamp(1.6rem, 4.5vw, 3.2rem);
    align-items: center;
}

.blog-hero__copy {
    color: rgba(255, 255, 255, 0.9);
}

.blog-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 30, 64, 0.4);
    border: 1px solid rgba(164, 255, 0, 0.35);
    color: #a4ff00;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.blog-hero__title {
    font-size: clamp(2.1rem, 3.6vw, 3rem);
    margin: 0.75rem 0 0.5rem;
    color: #ffffff;
    line-height: 1.1;
}

.blog-hero__subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
}

.blog-hero__description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 1.1rem;
}

.blog-hero__meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.series-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(164, 255, 0, 0.15);
    color: #a4ff00;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.series-pill--active {
    background: rgba(255, 235, 59, 0.16);
    color: #ffe34b;
}

.blog-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    background: #a4ff00;
    color: #121d36;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(12, 24, 42, 0.35);
}

.hero-button--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.blog-hero__art {
    position: relative;
    display: grid;
    gap: 0.85rem;
    justify-items: center;
}

.blog-hero__art img {
    width: min(100%, 360px);
    border-radius: 24px;
    box-shadow: 0 28px 60px rgba(15, 30, 64, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
    object-fit: cover;
}

.blog-hero__timeline {
    display: grid;
    gap: 0.4rem;
    width: 100%;
    max-width: 360px;
    padding: 0.75rem 0.9rem;
    background: rgba(15, 30, 64, 0.55);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
}

.blog-hero__timeline span strong {
    color: #a4ff00;
    margin-right: 0.35rem;
}

.blog-hero__fallback {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.blog-hero__fallback h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}

.series-strip {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    background: linear-gradient(180deg, rgba(14, 26, 52, 0.02) 0%, rgba(14, 26, 52, 0.08) 100%);
}

.series-strip__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
    gap: 1rem;
}

.series-strip__header h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    color: var(--primary-black);
}

.series-strip__view-all {
    color: var(--primary-black);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.series-strip__scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(340px, 370px);
    gap: 1.15rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x mandatory;
}

.series-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(18, 29, 54, 0.08);
    box-shadow: 0 18px 38px rgba(15, 30, 64, 0.1);
    scroll-snap-align: start;
}

.series-card__thumb {
    position: relative;
    height: 88px;
    overflow: hidden;
}

.series-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.series-card:hover .series-card__thumb img {
    transform: scale(1.06);
}

.series-card__count {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(12, 24, 42, 0.75);
    color: #ffffff;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.series-card__body {
    display: grid;
    gap: 0.25rem;
    padding: 0.58rem 0.72rem 0.7rem;
}

.series-card__title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-black);
}

.series-card__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.series-card__link {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-black);
    font-weight: 600;
}

.series-card__link--primary {
    color: #0f1e40;
    background: #a4ff00;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
}

.blog-filter {
    padding: 1.8rem 0 0.6rem;
}

.blog-filter__bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.blog-filter__label {
    font-weight: 600;
    color: var(--primary-black);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.blog-filter__pills {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(18, 29, 54, 0.05);
    color: var(--primary-black);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background 0.2s ease, color 0.2s ease;
}

.filter-pill:hover {
    background: rgba(18, 29, 54, 0.12);
}

.filter-pill.is-active {
    background: #121d36;
    color: #ffffff;
}

.filter-pill--series {
    border: 1px solid rgba(18, 29, 54, 0.18);
}

.blog-filter__active {
    margin-top: 0.9rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.series-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 16px;
    background: rgba(15, 30, 64, 0.08);
    color: var(--primary-black);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
}

.series-badge i {
    color: var(--primary-black);
}

.latest-posts-section {
    padding: 2rem 0; /* Added minimal padding */
    background-color: transparent;
}

.latest-posts-section .container {
    max-width: 1200px; /* Consistent max-width */
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: var(--spacing-lg);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.category-row {
    padding: clamp(2rem, 5vw, 3.6rem) 0;
    background: linear-gradient(180deg, rgba(12, 24, 42, 0.02) 0%, rgba(12, 24, 42, 0.04) 100%);
}

.category-row__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.category-row__header h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    color: var(--primary-black);
}

.category-row__items {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(340px, 370px);
    gap: 1.15rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    scroll-snap-type: x mandatory;
}

.category-row__items > * {
    scroll-snap-align: start;
}

.category-series-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(12, 24, 42, 0.08);
    box-shadow: 0 18px 40px rgba(12, 24, 42, 0.1);
    overflow: hidden;
}

.category-series-card__thumb {
    position: relative;
    height: 88px;
    overflow: hidden;
}

.category-series-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-series-card__count {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(12, 24, 42, 0.78);
    color: #ffffff;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.category-series-card__body {
    display: grid;
    gap: 0.25rem;
    padding: 0.58rem 0.72rem 0.7rem;
}

.category-series-card__body h3 {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--primary-black);
}

.category-series-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
    font-size: 0.78rem;
}

.category-series-card__list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    font-size: 0.85rem;
}

.category-series-card__part {
    color: var(--primary-black);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.category-series-card__read {
    color: var(--text-secondary);
    font-size: 0.72rem;
}

.category-series-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: var(--primary-black);
    color: #ffffff;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.post-card--compact {
    width: 100%;
    max-width: 370px;
    min-width: 340px;
}

.post-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 32px rgba(15, 30, 64, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    backdrop-filter: blur(12px);
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(15, 30, 64, 0.18);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
}

.post-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.post-thumbnail img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.08);
}

.post-card .post-content {
    display: grid;
    gap: 0.28rem;
    padding: 0.56rem 0.68rem 0.64rem;
}

.post-card .post-meta,
.post-card .post-byline,
.post-card .post-read-time {
    font-size: 0.72rem;
}

.post-card .post-title a {
    font-size: 0.9rem;
    line-height: 1.25;
}

.post-card .post-footer {
    margin-top: 0;
}

.read-more {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

/* Series overview page */
.series-page main,
.series-page .series-hero,
.series-page .series-parts {
    width: 100%;
}

.series-hero {
    padding: clamp(2.2rem, 6vw, 4rem) 0;
    background: linear-gradient(135deg, rgba(15, 30, 64, 0.95) 0%, rgba(28, 48, 93, 0.85) 100%);
    color: rgba(255, 255, 255, 0.9);
}

.series-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 3rem);
}

.series-hero__copy {
    display: grid;
    gap: 0.75rem;
}

.series-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.series-hero__title {
    font-size: clamp(2.1rem, 3.8vw, 3.1rem);
    line-height: 1.1;
    color: #ffffff;
}

.series-hero__subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
}

.series-hero__description {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.series-hero__meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.series-hero__art {
    display: grid;
    justify-items: center;
}

.series-hero__art img {
    width: min(100%, 360px);
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.series-parts {
    padding: clamp(2.4rem, 6vw, 4.2rem) 0;
    background: linear-gradient(180deg, rgba(12, 24, 42, 0.02) 0%, rgba(12, 24, 42, 0.06) 100%);
}

.series-parts__header {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
}

.series-parts__header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--primary-black);
}

.series-parts__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.series-part-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(18, 29, 54, 0.08);
    box-shadow: 0 16px 36px rgba(15, 30, 64, 0.08);
    height: 100%;
}

.series-part-card__thumb {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.series-part-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.series-part-card__badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(12, 24, 42, 0.85);
    color: #ffffff;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.series-part-card__body {
    display: grid;
    gap: 0.65rem;
    padding: 1.1rem 1.2rem 1.3rem;
}

.series-part-card__body h3 {
    font-size: 1.05rem;
    color: var(--primary-black);
}

.series-part-card__body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.series-part-card__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.1rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.series-part-card__meta i {
    margin-right: 0.35rem;
    color: rgba(12, 24, 42, 0.55);
}

.series-part-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: var(--primary-black);
    color: #ffffff;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    justify-self: flex-start;
}

.post-series-nav {
    margin: clamp(2rem, 5vw, 3rem) 0;
    padding: 1.4rem 1.8rem;
    border-radius: 18px;
    background: rgba(15, 30, 64, 0.05);
    border: 1px solid rgba(15, 30, 64, 0.08);
    display: grid;
    gap: 1rem;
}

.post-series-nav__meta {
    display: grid;
    gap: 0.4rem;
}

.post-series-nav__eyebrow {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: rgba(15, 30, 64, 0.6);
}

.post-series-nav__title {
    font-size: 1.4rem;
    margin: 0;
}

.post-series-nav__title a {
    color: inherit;
}

.post-series-nav__subtitle {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.post-series-nav__actions {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    align-items: stretch;
}

.post-series-nav__link {
    display: grid;
    gap: 0.2rem;
    padding: 0.65rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(15, 30, 64, 0.1);
    background: #ffffff;
    color: var(--primary-black);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(12, 24, 42, 0.08);
}

.post-series-nav__link--prev {
    text-align: left;
}

.post-series-nav__link--next {
    text-align: right;
}

.post-series-nav__label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(15, 30, 64, 0.6);
}

.post-series-nav__part {
    font-size: 0.85rem;
    font-weight: 600;
}

.post-series-nav__name {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.post-series-nav__overview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.9rem;
    border-radius: 14px;
    border: 1px dashed rgba(15, 30, 64, 0.25);
    color: var(--primary-black);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.post-card:hover .post-thumbnail::after {
    opacity: 1;
}

.post-content {
    padding: 1.75rem;
}

.post-meta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.post-date {
    color: var(--text-secondary);
}

.post-content .post-byline {
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Category Badges */
.category-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    text-decoration: none;
}

.category-insights {
    background: #e3f2fd;
    color: #1976d2;
}

.category-travel {
    background: #f3e5f5;
    color: #7b1fa2;
}

.category-tech {
    background: #e8f5e8;
    color: #388e3c;
}

.category-default {
    background: var(--light-gray);
    color: var(--text-primary);
}

.post-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.post-title a {
    color: var(--primary-black);
    transition: color var(--transition-normal);
}

.post-title a:hover {
    color: var(--hover-bg);
}

.post-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-footer {
    text-align: right;
}

.read-more {
    color: var(--primary-black);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-normal);
}

.read-more:hover {
    color: var(--hover-bg);
}

/* CTA Button */
.posts-cta {
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
}

.cta-button:hover {
    background: var(--hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Footer Styles - Matching neuralwanderer.top
   ======================================== */

.site-footer {
    background-color: #2c3e50;
    color: var(--primary-white);
    padding: 3rem 0 1rem;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--primary-white);
}

/* Column 1: Insights */
.footer-insights {
    align-items: flex-start;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.footer-social-icons a {
    color: var(--primary-white);
    transition: opacity 0.3s ease;
}

.footer-social-icons a:hover {
    opacity: 0.7;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Column 2: Categories */
.footer-categories {
    align-items: flex-start;
}

.footer-category {
    margin: 0;
    font-size: 1rem;
    color: var(--primary-white);
}

.footer-brand {
    margin: 1rem 0 0 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Column 3: Newsletter */
.footer-newsletter {
    align-items: flex-start;
}

.footer-newsletter-form {
    display: flex;
    width: 100%;
    gap: 0.5rem;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.9);
}

.footer-newsletter-form button {
    padding: 0.75rem 1.5rem;
    background-color: #5a7a8a;
    color: var(--primary-white);
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-newsletter-form button:hover {
    background-color: #4a6a7a;
}

.footer-newsletter-message {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-newsletter-message.success {
    color: #a4ff00;
}

.footer-newsletter-message.error {
    color: #ff6b6b;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin: 0;
}

/* ========================================
   About Page
   ======================================== */

.about-hero-section {
    position: relative;
    min-height: 50vh;
    background-image: var(--about-hero-bg, url('/uploads/images/about_page/img_3533-dWxl4NWNwLfP0jQY-1536x864.jpeg'));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

@media (max-width: 1024px) {
    .about-hero-section {
        background-attachment: scroll;
        background-position: center top;
    }
}

.about-hero-overlay {
    position: relative;
    width: 100%;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.85) 0%, rgba(42, 82, 152, 0.75) 100%);
}

.about-hero-title {
    color: #ffffff;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.about-hero-subtitle {
    color: #f5f8ff;
    font-size: 1.15rem;
    line-height: 1.9;
    max-width: 720px;
}

.about-main {
    position: relative;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, rgba(248,248,248,1) 0%, rgba(255,255,255,1) 100%);
    overflow: hidden;
}

.about-main::before,
.about-main::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(164,255,0,0.28), rgba(99,102,241,0));
    filter: blur(2px);
    pointer-events: none;
    animation: aboutAurora 18s linear infinite;
}

.about-main::before {
    top: -140px;
    right: -120px;
}

.about-main::after {
    bottom: -160px;
    left: -100px;
    animation-direction: reverse;
}

.about-layout {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-xl) * 0.9);
}

.about-primary {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);

}
.about-primary p {
    margin-bottom: 1.5em;
  }

.about-intro-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.about-highlight-card {
    position: relative;
    padding: var(--spacing-lg);
    overflow: hidden;
}

.about-highlight-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.about-highlight-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.about-highlight-card li {
    font-size: 1rem;
}

.about-section {
    position: relative;
    background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(245,248,255,0.9));
    padding: var(--spacing-lg);
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(15, 30, 64, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    overflow: hidden;
}

.about-section ul {
    padding-left: 1.2rem;
}

.about-section-with-bg {
    position: relative;
    background: transparent;
    padding: 0;
}

.about-section-with-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--section-bg);
    background-size: cover;
    background-position: center;
    filter: saturate(110%);
    transform: scale(1.02);
    border-radius: 22px;
}

.about-section-with-bg .section-inner {
    position: relative;
    border-radius: 22px;
    padding: var(--spacing-lg);
    background: linear-gradient(145deg, rgba(255,255,255,0.94), rgba(255,255,255,0.82));
    box-shadow: 0 18px 40px rgba(15, 30, 64, 0.16);
    border: 1px solid rgba(255,255,255,0.5);
    overflow: hidden;
}

.about-section-with-bg .section-inner h3 {
    margin-bottom: 0.75rem;
}

.about-gallery-section .photo-gallery {
    margin-top: var(--spacing-md);
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.about-cta-card {
    position: relative;
    padding: var(--spacing-lg);
    display: grid;
    gap: 1rem;
    text-align: center;
    overflow: hidden;
}

.about-sidebar {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    order: -1;
}

.sidebar-widget {
    position: relative;
    padding: var(--spacing-lg);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 30, 64, 0.08);
    overflow: hidden;
}

.recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.recent-posts li {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.recent-posts li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-posts a {
    font-weight: 600;
}

.post-date {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.social-links {
    display: grid;
    gap: 0.75rem;
}

.social-links a {
    font-weight: 600;
    color: var(--text-primary);
}

.social-links a:hover {
    color: #1e3c72;
}

.about-section,
.about-highlight-card,
.sidebar-widget,
.about-section-with-bg .section-inner {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-section:hover,
.about-highlight-card:hover,
.sidebar-widget:hover,
.about-section-with-bg .section-inner:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(15, 30, 64, 0.18);
}

.about-section::before,
.about-highlight-card::before,
.sidebar-widget::before,
.about-section-with-bg .section-inner::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(164, 255, 0, 0.65), rgba(99, 102, 241, 0.35), rgba(34, 211, 238, 0.45));
    opacity: 0.45;
    filter: blur(14px);
    z-index: -1;
}

.about-section h3,
.about-highlight-card h3,
.sidebar-widget h4,
.about-section-with-bg .section-inner h3 {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.about-section h3::after,
.about-highlight-card h3::after,
.sidebar-widget h4::after,
.about-section-with-bg .section-inner h3::after {
    content: '';
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(164,255,0,0.9), rgba(164,255,0,0));
    animation: pulseSpark 4s ease-in-out infinite;
}

.about-sidebar::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(164,255,0,0.12), rgba(99,102,241,0.08));
    filter: blur(40px);
    z-index: -1;
    animation: sidebarPulse 18s ease-in-out infinite;
}

/* ========================================
   Resume Page
   ======================================== */

body.resume-page {
    font-family: 'Albert Sans', sans-serif;
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}

.resume-page-content {
    padding: var(--spacing-xl) 0;
}

.resume-page-content .container {
    max-width: 1280px;
}

.resume-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.6fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    align-items: center;
}

.resume-intro {
    background: rgba(255,255,255,0.95);
    padding: var(--spacing-xl);
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(15, 30, 64, 0.12);
    border: 1px solid rgba(255,255,255,0.6);
}

.resume-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 3vw, 3rem);
    color: #1f2937;
    margin-bottom: 1.25rem;
}

.resume-summary {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.contact-info {
    font-size: 1rem;
    color: #4b5563;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(79,70,229,0.1);
    border-bottom: 1px solid rgba(79,70,229,0.1);
    margin-bottom: var(--spacing-sm);
}

.contact-info a {
    color: #2563eb;
    font-weight: 600;
}

.social-links-resume {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.social-links-resume a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #2563eb;
    font-weight: 600;
}

.resume-iframe-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 22px 45px rgba(15, 30, 64, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgb(228, 226, 233);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.resume-iframe {
    display: block;
    width: 100%;
    min-height: 380px;
    border: none;
    background-color: transparent;
    flex: 1 0 auto;
}

.resume-iframe.stats-iframe {
    min-height: 480px;
    border-radius: 20px;
    overflow: hidden;
}

.resume-iframe.education-iframe {
    min-height: 650px;
}

@media (max-width: 640px) {
    .resume-iframe.stats-iframe {
        min-height: 560px;
    }
}

@media (max-width: 420px) {
    .resume-iframe.stats-iframe {
        min-height: 640px;
    }
}

.resume-iframe-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(164, 255, 0, 0.15), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.resume-iframe-wrapper:hover::after,
.resume-iframe-wrapper:focus-within::after {
    opacity: 1;
}

.skills-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.skill-card {
    position: relative;
    padding: var(--spacing-lg);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(30, 60, 114, 0.08);
    box-shadow: 0 24px 50px rgba(15, 30, 64, 0.14);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
}

.skill-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(164, 255, 0, 0.18);
    color: #1e3c72;
    font-size: 1.5rem;
}

.skill-card h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-black);
}

.skill-roles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.skill-roles li {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.98rem;
    color: var(--text-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.skill-category {
    position: relative;
    padding: var(--spacing-lg);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(30, 60, 114, 0.08);
    box-shadow: 0 24px 50px rgba(15, 30, 64, 0.14);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.skill-category h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--primary-black);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.skill-items--media {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem;
    border-radius: 14px;
    background: rgba(164, 255, 0, 0.12);
    border: 1px solid rgba(164, 255, 0, 0.35);
    transition: transform 0.3s ease, background 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-3px);
    background: rgba(164, 255, 0, 0.2);
}

.skill-item .skill-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 60, 114, 0.12);
    color: #1e3c72;
    font-size: 1.25rem;
}

.skill-item .skill-label {
    font-size: 0.95rem;
    color: var(--primary-black);
    line-height: 1.4;
}

.skill-item--media {
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(30, 60, 114, 0.12);
    box-shadow: 0 18px 38px rgba(15, 30, 64, 0.12);
}

.skill-item--media:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(30, 60, 114, 0.22);
    box-shadow: 0 24px 48px rgba(15, 30, 64, 0.18);
}

.skill-logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    box-shadow: 0 10px 18px rgba(15, 30, 64, 0.18);
}

.skill-item-copy {
    display: grid;
    gap: 0.25rem;
}

.skill-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.skill-pill-collection {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: var(--spacing-md);
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(30, 60, 114, 0.12);
    color: #1e3c72;
    font-weight: 600;
    font-size: 0.85rem;
}

.skill-pill i {
    font-size: 0.95rem;
}

.resume-section {
    margin-bottom: var(--spacing-xl);
}

.section-content {
    background: rgba(255,255,255,0.95);
    padding: var(--spacing-xl);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15, 30, 64, 0.12);
    border: 1px solid rgba(255,255,255,0.6);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.education-item,
.experience-item,
.teaching-item {
    margin-bottom: var(--spacing-lg);
}

.experience-item,
.teaching-item {
    position: relative;
    padding: clamp(1.25rem, 2vw + 1rem, 1.85rem);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(30, 60, 114, 0.08);
    box-shadow: 0 20px 42px rgba(15, 30, 64, 0.1);
    overflow: hidden;
    z-index: 0;
}

.experience-item > *,
.teaching-item > * {
    position: relative;
    z-index: 1;
}

.experience-header,
.teaching-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.experience-item p,
.teaching-item p,
.experience-item li,
.teaching-item li {
    color: #334155;
    line-height: 1.7;
}

.experience-item ul,
.teaching-item ul {
    margin-top: 1rem;
    padding-left: 1.25rem;
}

.duration {
    font-weight: 600;
    color: #2563eb;
}

.publications-section .scroll-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.publications-scroll-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #a4ff00 rgba(30,60,114,0.15);
}

.publications-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.publications-scroll-container::-webkit-scrollbar-track {
    background: rgba(30,60,114,0.1);
    border-radius: 999px;
}

.publications-scroll-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #a4ff00 0%, #22d3ee 100%);
    border-radius: 999px;
}

.publications-scroll-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #d9ff66 0%, #38bdf8 100%);
}

.publication-card {
    position: relative;
    min-width: 340px;
    padding: var(--spacing-md);
    border-radius: 20px;
    background: rgba(255,255,255,0.9);
    color: #0f172a;
    box-shadow: 0 24px 50px rgba(15, 30, 64, 0.16);
    scroll-snap-align: start;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.publication-card .pub-number {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 46px;
    height: 46px;
    background: #a4ff00;
    color: #0b1120;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 12px 20px rgba(164, 255, 0, 0.3);
}

.publication-thumb {
    position: relative;
    margin: calc(-1 * var(--spacing-md)) calc(-1 * var(--spacing-md)) 1.5rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 30, 64, 0.08);
}

.publication-thumb img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.publication-card:hover .publication-thumb img {
    transform: scale(1.08);
}

.publication-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.publication-card h3 a {
    color: inherit;
}

.publication-card .summary {
    font-size: 0.97rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    color: #334155;
}

.pub-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    align-items: center;
}

.pub-readmore {
    margin-left: auto;
    font-weight: 600;
    text-decoration: none;
    color: #1d4ed8;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.pub-readmore::after {
    content: '\2192';
    font-size: 0.9rem;
}

.no-publications {
    padding: 1.5rem;
    color: var(--text-secondary);
}

.publication-pagination {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(30, 60, 114, 0.25);
    background: rgba(255,255,255,0.8);
    color: #1e3c72;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.pagination-link:hover {
    background: rgba(164, 255, 0, 0.2);
}

.pagination-link.disabled,
.pagination-link[aria-disabled="true"] {
    opacity: 0.5;
    pointer-events: none;
}

.pagination-status {
    font-size: 0.9rem;
    color: #475569;
}

.blog-pagination {
    margin: var(--spacing-lg) auto 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

/* ========================================
   Projects Showcase
   ======================================== */

body.projects-page {
    background: linear-gradient(180deg, rgba(248,248,248,1) 0%, rgba(255,255,255,1) 100%);
}

.projects-page-content {
    padding: var(--spacing-xl) 0;
}

.projects-iframe-wrapper {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 40px 85px rgba(15, 30, 64, 0.18);
    background: rgba(255, 255, 255, 0.9);
}

.projects-frame {
    width: 100%;
    min-height: 720px;
    border: none;
    display: block;
    background: transparent;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.project-card {
    padding: 28px 28px 24px;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 100%;
}

.project-card-header {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.project-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(164, 255, 0, 0.18);
    color: #1e3c72;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.project-chip--soon {
    background: rgba(30, 60, 114, 0.12);
    color: rgba(30, 60, 114, 0.9);
}

.project-card-title {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--primary-black);
}

.project-card-excerpt {
    margin: 0;
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.project-card-footer {
    margin-top: auto;
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #1e3c72;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-card-link:hover {
    color: var(--hover-bg);
}

.project-card-link.disabled {
    opacity: 0.6;
    cursor: default;
}

.projects-embed-body {
    margin: 0;
    padding: clamp(20px, 4vw, 36px);
    background: transparent;
    font-family: var(--font-primary);
    color: var(--primary-black);
}

.projects-embed-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

.project-card-inner {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 100%;
}

.project-card--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    text-align: center;
}

/* ========================================
   Single Post Page
   ======================================== */

.post-page {
    padding: var(--spacing-xl) 0;
    background: var(--primary-white);
}

body.single-post-page {
    background-color: var(--primary-white);
    color: var(--text-primary);
}

body.single-post-page .post-content,
body.single-post-page .post-content p,
body.single-post-page .post-content li {
    color: var(--text-primary);
}

.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(220px, 0.55fr);
    gap: clamp(1.5rem, 2.5vw, var(--spacing-lg));
    align-items: flex-start;
}

.single-post {
    max-width: min(1040px, 100%);
    margin: 0;
}

.post-header {
    margin-bottom: var(--spacing-lg);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.single-post-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.single-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.post-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    margin: 0;
    color: var(--primary-black);
    line-height: 1.2;
}

.post-summary {
    max-width: 780px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.75;
}

.post-featured-image {
    margin: var(--spacing-lg) 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(15, 30, 64, 0.14);
}

.post-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.publication-iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 15px;
    margin: var(--spacing-lg) 0;
    box-shadow: 0 22px 55px rgba(15, 30, 64, 0.14);
    background: transparent;
}

.post-content {
    font-size: 1.12rem;
    line-height: 1.9;
    color: var(--text-primary);
    margin-bottom: 0;
}

.post-content h2 {
    font-size: 1.8rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: var(--spacing-xs);
}

.post-content h3 {
    font-size: 1.5rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.post-content blockquote {
    border-left: 2px solid var(--primary-black);
    padding-left: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    font-style: italic;
    color: var(--text-secondary);
    background-color: var(--light-gray);
    padding: var(--spacing-md);
    border-radius: 0 12px 12px 0;
}

.post-footer {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.post-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 280px;
    margin-left: auto;
}

.post-sidebar-card {
    padding: var(--spacing-md);
    border-radius: 20px;
    background: rgba(30, 60, 114, 0.07);
    border: 1px solid rgba(30, 60, 114, 0.12);
    box-shadow: 0 18px 40px rgba(15, 30, 64, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-sidebar-title {
    font-size: 1.1rem;
    margin: 0;
    color: #1e3c72;
    letter-spacing: 0.01em;
}

.post-sidebar-meta {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.post-sidebar-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(30, 60, 114, 0.08);
    padding-bottom: 0.5rem;
}

.post-sidebar-meta-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.post-sidebar-meta-row dt {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(15, 30, 64, 0.7);
}

.post-sidebar-meta-row dd {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--primary-black);
}

.post-share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.post-share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(30, 60, 114, 0.16);
    color: #1e3c72;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(15, 30, 64, 0.16);
}

.post-share-button.copied {
    background: rgba(164, 255, 0, 0.25);
    border-color: rgba(164, 255, 0, 0.45);
    color: #1f2937;
}

.post-share-button--copy {
    cursor: pointer;
}

.post-share-button i {
    font-size: 1rem;
}

.post-sidebar-card--cta {
    background: linear-gradient(135deg, rgba(164, 255, 0, 0.18) 0%, rgba(30, 60, 114, 0.12) 100%);
    border: 1px solid rgba(164, 255, 0, 0.35);
    color: #10203e;
}

.post-sidebar-card--cta p {
    margin: 0;
    color: rgba(16, 32, 62, 0.82);
    line-height: 1.6;
}

.sidebar-cta-button {
    align-self: flex-start;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    background: #10203e;
    color: #ffffff;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(16, 32, 62, 0.3);
}

.post-meta-secondary {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: var(--spacing-md);
}

.post-author-chip,
.post-date-chip,
.post-footer .tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(93, 24, 232, 0.16);
    color: var(--primary-black);
    font-weight: 600;
}

.post-footer .tag {
    background: rgba(30, 60, 114, 0.12);
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
}

.post-navigation {
    text-align: left;
}

.back-to-blog {
    color: var(--primary-black);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-normal);
}

.back-to-blog:hover {
    color: var(--hover-bg);
}

.newsletter-cta {
    background: rgba(30, 60, 114, 0.08);
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    margin-top: var(--spacing-xl);
    box-shadow: 0 18px 40px rgba(15, 30, 64, 0.1);
}

.cta-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-black);
}

.cta-content p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.interest-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 12px 28px rgba(15, 30, 64, 0.1);
}

.interest-item .icon {
    font-size: 2rem;
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }
@keyframes auroraGlow {
    0% { opacity: 0.45; transform: rotate(0deg); }
    50% { opacity: 0.85; transform: rotate(180deg); }
    100% { opacity: 0.45; transform: rotate(360deg); }
}

@keyframes pulseSpark {
    0%, 100% { transform: scale(0.85); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes sidebarPulse {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(1.08); }
}

@keyframes aboutAurora {
    0% { transform: rotate(0deg) scale(1); opacity: 0.2; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 0.35; }
    100% { transform: rotate(360deg) scale(1); opacity: 0.2; }
}
