/* ============================================
   OptimizeSmart Ghost Theme
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Colors - Dark Theme */
    --background: 222 47% 8%;
    --foreground: 210 40% 98%;
    --card: 222 47% 11%;
    --card-foreground: 210 40% 98%;
    --primary: 199 89% 48%;
    --primary-foreground: 222 47% 8%;
    --secondary: 217 33% 17%;
    --secondary-foreground: 210 40% 98%;
    --muted: 217 33% 17%;
    --muted-foreground: 215 20% 65%;
    --border: 217 33% 20%;
    --ring: 199 89% 48%;
    
    /* Glow Colors */
    --glow-primary: 199 89% 48%;
    --glow-secondary: 280 85% 65%;
    
    /* Gradient */
    --gradient-start: 222 47% 8%;
    --gradient-mid: 222 47% 11%;
    --gradient-end: 222 47% 8%;
    
    /* Sizing */
    --radius: 0.75rem;
    --container-max: 1400px;
    --container-padding: 1.5rem;
    
    /* Fonts */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: hsl(var(--background));
    color: hsl(var(--foreground) / 0.87);
    line-height: 1.75;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-narrow {
    max-width: 900px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: hsl(var(--foreground) / 0.95);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Utility Classes */
.text-primary {
    color: hsl(var(--primary));
}

.text-gradient {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--glow-secondary)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Effect */
.glass {
    background: hsl(var(--card) / 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid hsl(var(--border) / 0.5);
}

/* Section Base */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    color: hsl(var(--primary));
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: clamp(1.875rem, 5vw, 3rem);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.section-description {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(199 89% 40%) 100%);
    color: hsl(var(--primary-foreground));
    box-shadow: 0 4px 14px hsl(var(--primary) / 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsl(var(--primary) / 0.4);
}

.btn-outline {
    background: transparent;
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--border));
}

.btn-outline:hover {
    background: hsl(var(--secondary) / 0.5);
    border-color: hsl(var(--primary) / 0.5);
}

.btn-xl {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-icon {
    transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.navbar-container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: hsl(var(--primary) / 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.logo:hover .logo-icon {
    background: hsl(var(--primary) / 0.3);
}

.logo-icon-sm {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Voice Waveform */
.voice-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.wave-bar {
    width: 3px;
    height: 12px;
    background: hsl(var(--primary));
    border-radius: 2px;
    animation: wave 1s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.15s; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; }
.wave-bar:nth-child(4) { animation-delay: 0.45s; }

@keyframes wave {
    0%, 100% { height: 8px; }
    50% { height: 16px; }
}

/* Nav Links */
.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-links .nav-link,
.nav-links a,
.nav-links a:visited {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.nav-links .nav-link:hover,
.nav-links a:hover {
    color: hsl(var(--foreground));
}

.nav-links .nav-current,
.nav-links a.nav-current,
.nav-links a.nav-current:visited {
    color: hsl(var(--foreground));
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: hsl(var(--foreground));
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav .nav-link,
.mobile-nav a,
.mobile-nav a:visited {
    color: hsl(var(--muted-foreground));
    padding: 0.5rem 0;
    transition: color 0.2s ease;
    text-decoration: none;
    display: block;
}

.mobile-nav .nav-link:hover,
.mobile-nav a:hover {
    color: hsl(var(--foreground));
}

.mobile-nav .nav-current,
.mobile-nav a.nav-current:visited {
    color: hsl(var(--foreground));
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .mobile-nav {
        display: none !important;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        hsl(var(--gradient-start)) 0%, 
        hsl(var(--gradient-mid)) 50%, 
        hsl(var(--gradient-end)) 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse-glow 4s ease-in-out infinite;
}

.hero-glow-1 {
    top: 25%;
    left: 25%;
    width: 24rem;
    height: 24rem;
    background: hsl(var(--primary) / 0.1);
}

.hero-glow-2 {
    bottom: 25%;
    right: 25%;
    width: 20rem;
    height: 20rem;
    background: hsl(var(--glow-secondary) / 0.1);
    animation-delay: 1s;
}

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

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-container {
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 2rem;
}

.hero-badge-text {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Float Animation */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* Hero Description */
.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Feature Pills */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: hsl(var(--secondary) / 0.5);
}

.feature-icon {
    color: hsl(var(--primary));
}

.feature-pill span {
    font-size: 0.875rem;
}

/* Hero Fade */
.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background: linear-gradient(to top, hsl(var(--background)), transparent);
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    position: relative;
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: hsl(var(--card) / 0.8);
    transform: translateY(-4px);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: hsl(var(--primary) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: background 0.2s ease;
}

.service-card:hover .service-icon {
    background: hsl(var(--primary) / 0.2);
}

.service-icon svg {
    color: hsl(var(--primary));
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.feature-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: hsl(var(--primary));
}

/* ============================================
   Why Choose Section
   ============================================ */
.why-choose-section {
    position: relative;
}

.section-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, hsl(var(--secondary) / 0.2), transparent);
    pointer-events: none;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

/* Why Choose Grid */
.why-choose-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .why-choose-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.why-choose-content .section-title {
    text-align: left;
}

.why-choose-description {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.benefit-item {
    display: flex;
    gap: 1rem;
}

.benefit-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: hsl(var(--primary) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    color: hsl(var(--primary));
}

.benefit-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.benefit-description {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Visual Card */
.why-choose-visual {
    position: relative;
}

.visual-card {
    aspect-ratio: 1;
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.visual-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.visual-glow-1 {
    top: 2rem;
    right: 2rem;
    width: 6rem;
    height: 6rem;
    background: hsl(var(--primary) / 0.2);
}

.visual-glow-2 {
    bottom: 2rem;
    left: 2rem;
    width: 8rem;
    height: 8rem;
    background: hsl(var(--glow-secondary) / 0.2);
}

.visual-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

/* Mini Cards */
.mini-card {
    padding: 1rem;
    border-radius: 0.75rem;
    background: hsl(var(--card) / 0.8);
    border: 1px solid hsl(var(--border) / 0.5);
}

.mini-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: hsl(var(--primary));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.analytics-change {
    margin-left: auto;
    font-size: 0.75rem;
    color: hsl(var(--primary));
}

/* Waveform Display */
.waveform-display {
    display: flex;
    align-items: center;
    gap: 2px;
}

.wave-bar-animated {
    width: 3px;
    background: hsl(var(--primary) / 0.6);
    border-radius: 2px;
    animation: wave 1.2s ease-in-out infinite;
}

.wave-bar-animated:nth-child(1) { height: 16px; animation-delay: 0s; }
.wave-bar-animated:nth-child(2) { height: 24px; animation-delay: 0.08s; }
.wave-bar-animated:nth-child(3) { height: 12px; animation-delay: 0.16s; }
.wave-bar-animated:nth-child(4) { height: 28px; animation-delay: 0.24s; }
.wave-bar-animated:nth-child(5) { height: 16px; animation-delay: 0.32s; }
.wave-bar-animated:nth-child(6) { height: 20px; animation-delay: 0.4s; }
.wave-bar-animated:nth-child(7) { height: 14px; animation-delay: 0.48s; }
.wave-bar-animated:nth-child(8) { height: 26px; animation-delay: 0.56s; }
.wave-bar-animated:nth-child(9) { height: 18px; animation-delay: 0.64s; }
.wave-bar-animated:nth-child(10) { height: 22px; animation-delay: 0.72s; }
.wave-bar-animated:nth-child(11) { height: 12px; animation-delay: 0.8s; }
.wave-bar-animated:nth-child(12) { height: 20px; animation-delay: 0.88s; }

/* Bar Chart */
.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 4rem;
}

.chart-bar {
    flex: 1;
    background: hsl(var(--primary) / 0.4);
    border-radius: 4px 4px 0 0;
    transition: background 0.3s ease;
}

.chart-bar:hover {
    background: hsl(var(--primary) / 0.6);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 6rem 0;
}

.cta-card {
    position: relative;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-card {
        padding: 4rem;
    }
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.cta-glow-1 {
    top: 0;
    right: 0;
    width: 16rem;
    height: 16rem;
    background: hsl(var(--primary) / 0.2);
}

.cta-glow-2 {
    bottom: 0;
    left: 0;
    width: 12rem;
    height: 12rem;
    background: hsl(var(--glow-secondary) / 0.2);
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: clamp(1.875rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.cta-description {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 3rem 0;
    border-top: 1px solid hsl(var(--border) / 0.5);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo .logo-text {
    font-size: 1.125rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 2rem;
}

.footer-links .nav-link,
.footer-links a,
.footer-links a:visited {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer-links .nav-link:hover,
.footer-links a:hover {
    color: hsl(var(--foreground));
}

.footer-copyright {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* ============================================
   Blog Styles
   ============================================ */
.blog-section {
    padding: 4rem 0;
}

.posts-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.post-card {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
}

.post-card-image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.post-card-content {
    padding: 1.5rem;
}

.post-card-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.post-card-title a {
    transition: color 0.2s ease;
}

.post-card-title a:hover {
    color: hsl(var(--primary));
}

.post-card-excerpt {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.post-card-meta {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

.blog-cta {
    text-align: center;
}

/* ============================================
   Post Full (Single Post)
   ============================================ */
.post-full {
    padding-top: 6rem;
}

.post-header {
    padding: 3rem 0;
    text-align: center;
}

.post-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.post-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.post-excerpt {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
}

.post-feature-image {
    margin: 0 auto 3rem;
    max-width: 1200px;
    border-radius: 1rem;
    overflow: hidden;
}

.post-feature-image img {
    width: 100%;
    height: auto;
}

/* Post Content */
.post-content {
    padding-bottom: 4rem;
    font-size: 1.25rem;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 1.375rem;
    margin: 2rem 0 0.75rem;
    line-height: 1.3;
}

.post-content p {
    margin-bottom: 1.625rem;
}

.post-content a {
    color: hsl(var(--primary));
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post-content blockquote {
    border-left: 3px solid hsl(var(--primary));
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
}

.post-content pre {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    padding: 1.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.post-content code {
    font-family: 'Fira Code', 'Monaco', monospace;
    font-size: 1rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.post-content ul, .post-content ol {
    margin-bottom: 1.625rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.625rem;
    line-height: 1.7;
}

/* Author Box */
.post-author-box {
    padding: 3rem 0;
    border-top: 1px solid hsl(var(--border) / 0.5);
}

.author-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 1rem;
}

.author-card-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-card-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.author-card-bio {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

/* ============================================
   Page Styles
   ============================================ */
.page-full {
    padding-top: 6rem;
}

.page-header {
    padding: 3rem 0;
    text-align: center;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
}

.page-feature-image {
    margin: 0 auto 3rem;
    max-width: 1200px;
    border-radius: 1rem;
    overflow: hidden;
}

.page-feature-image img {
    width: 100%;
    height: auto;
}

.page-content {
    padding-bottom: 4rem;
    font-size: 1.25rem;
    line-height: 1.8;
}

.page-content h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
}

.page-content h3 {
    font-size: 1.375rem;
    margin: 2rem 0 0.75rem;
    line-height: 1.3;
}

.page-content p {
    margin-bottom: 1.625rem;
}

.page-content ul, .page-content ol {
    margin-bottom: 1.625rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.625rem;
    line-height: 1.7;
}

.page-content a {
    color: hsl(var(--primary));
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page-content blockquote {
    border-left: 3px solid hsl(var(--primary));
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
}

.page-content pre {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    padding: 1.5rem;
    overflow-x: auto;
    margin-bottom: 1.625rem;
}

.page-content code {
    font-family: 'Fira Code', 'Monaco', monospace;
    font-size: 1rem;
}

/* ============================================
   Ghost Content Width Classes (Required)
   ============================================ */
.kg-width-wide {
    position: relative;
    width: 85vw;
    min-width: 100%;
    margin: 2rem calc(50% - 42.5vw);
}

.kg-width-full {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.kg-width-full img {
    width: 100%;
}

/* Ghost Card Styles */
.kg-card {
    margin: 2rem 0;
}

.kg-image-card img {
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: 0.5rem;
}

.kg-image-card.kg-width-wide img,
.kg-image-card.kg-width-full img {
    width: 100%;
    border-radius: 0;
}

.kg-image-card figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0.75rem;
}

/* Ghost Bookmark Card */
.kg-bookmark-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    overflow: hidden;
}

.kg-bookmark-container {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.kg-bookmark-content {
    flex-grow: 1;
    padding: 1.25rem;
}

.kg-bookmark-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.kg-bookmark-description {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kg-bookmark-metadata {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

.kg-bookmark-icon {
    width: 1rem;
    height: 1rem;
}

.kg-bookmark-thumbnail {
    width: 200px;
    flex-shrink: 0;
}

.kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ghost Gallery */
.kg-gallery-card {
    margin: 2rem 0;
}

.kg-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.kg-gallery-row {
    display: flex;
    gap: 0.75rem;
}

.kg-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.25rem;
}

/* Ghost Callout Card */
.kg-callout-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 0.5rem;
    background: hsl(var(--secondary));
}

.kg-callout-emoji {
    font-size: 1.25rem;
}

.kg-callout-text {
    margin: 0;
}

/* Ghost Button Card */
.kg-button-card {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.kg-button-card a {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.kg-button-card a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px hsl(var(--primary) / 0.3);
}

/* Ghost Toggle Card */
.kg-toggle-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.kg-toggle-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    cursor: pointer;
}

.kg-toggle-heading h4 {
    margin: 0;
    font-size: 1rem;
}

.kg-toggle-content {
    padding: 0 1.25rem 1rem;
}

/* Ghost Video/Audio */
.kg-video-card,
.kg-audio-card {
    margin: 2rem 0;
}

.kg-video-card video,
.kg-audio-card audio {
    width: 100%;
    border-radius: 0.5rem;
}

/* Ghost Embed */
.kg-embed-card {
    margin: 2rem 0;
}

.kg-embed-card iframe {
    width: 100%;
    border-radius: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .kg-width-wide {
        width: 100vw;
        margin: 2rem calc(50% - 50vw);
    }
    
    .kg-bookmark-container {
        flex-direction: column;
    }
    
    .kg-bookmark-thumbnail {
        width: 100%;
        height: 200px;
    }
}

/* ============================================
   Archive Pages (Tag & Author)
   ============================================ */
.archive-section {
    padding-top: 6rem;
}

.archive-header {
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid hsl(var(--border) / 0.5);
    margin-bottom: 3rem;
}

.archive-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.archive-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.archive-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 36rem;
    margin: 0 auto;
}

/* Author Header */
.author-header-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid hsl(var(--primary) / 0.3);
}

.author-location {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0.5rem;
}

.author-website {
    display: inline-block;
    font-size: 0.875rem;
    color: hsl(var(--primary));
    margin-top: 0.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination-info {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* ============================================
   Error Page
   ============================================ */
.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-content {
    max-width: 32rem;
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 700;
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--glow-secondary)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.error-description {
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
}

/* ============================================
   Page without header (landing pages)
   ============================================ */
.page-no-header {
    padding-top: 0;
}

.page-no-header .page-content {
    padding-top: 0;
}

.page-no-header .page-content .kg-width-full:first-child {
    margin-top: 0;
}

/* ============================================
   Blog Listing Page
   ============================================ */

/* Blog Header */
.blog-header {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--card)) 100%);
}

.blog-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--glow-secondary)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.blog-description {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 40rem;
    margin: 0 auto;
}

/* Blog Listing */
.blog-listing {
    padding: 4rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Post Card */
.post-card {
    background: hsl(var(--card) / 0.6);
    border: 1px solid hsl(var(--border) / 0.5);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px hsl(var(--primary) / 0.1);
}

.post-card-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.post-card-content {
    padding: 1.5rem;
}

.post-card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--primary));
    background: hsl(var(--primary) / 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.post-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.post-card-title a {
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-card-title a:hover {
    color: hsl(var(--primary));
}

.post-card-excerpt {
    font-size: 0.9375rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
}

.post-card-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-card-reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid hsl(var(--border) / 0.3);
}

.pagination-info {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.pagination .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    color: hsl(var(--muted-foreground));
}

.no-posts p {
    font-size: 1.25rem;
}

/* ============================================
   Responsive - Blog
   ============================================ */
@media (max-width: 768px) {
    .blog-header {
        padding: 6rem 0 3rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pagination {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============================================
   Responsive Typography
   ============================================ */
@media (max-width: 768px) {
    body {
        font-size: 1rem;
        line-height: 1.75;
    }
    
    .post-content,
    .page-content {
        font-size: 1.125rem;
        line-height: 1.75;
    }
    
    .post-content h2,
    .page-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 0.875rem;
    }
    
    .post-content h3,
    .page-content h3 {
        font-size: 1.25rem;
        margin: 1.75rem 0 0.625rem;
    }
    
    .post-content p,
    .page-content p {
        margin-bottom: 1.375rem;
    }
    
    .post-content pre,
    .page-content pre {
        padding: 1rem;
        font-size: 0.8125rem;
    }
    
    .post-content code,
    .page-content code {
        font-size: 0.875rem;
    }
    
    .post-title,
    .page-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }
    
    .post-excerpt {
        font-size: 1.0625rem;
    }
    
    .container-narrow {
        padding: 0 1.25rem;
    }
}

@media (max-width: 480px) {
    .post-content,
    .page-content {
        font-size: 1.0625rem;
        line-height: 1.7;
    }
    
    .post-content h2,
    .page-content h2 {
        font-size: 1.375rem;
    }
    
    .post-content h3,
    .page-content h3 {
        font-size: 1.1875rem;
    }
}

/* ============================================
   Light Theme for Blog Posts
   ============================================ */
.post-light-theme {
    background-color: #f5f5f5;
    color: #1a1a1a;
}

/* Header area with gradient transition from dark to light */
.post-light-theme .post-header {
    background: linear-gradient(180deg, hsl(222 47% 11%) 0%, #f5f5f5 100%);
    padding-top: 8rem;
    padding-bottom: 3rem;
}

.post-light-theme .post-header .container-narrow {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    padding: 2.5rem 2.5rem 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.post-light-theme .post-header .post-tag {
    background: rgba(6, 182, 212, 0.15);
    color: #0891b2;
}

.post-light-theme .post-header .post-title {
    color: #1a1a1a;
}

.post-light-theme .post-header .post-excerpt {
    color: #4a5568;
}

.post-light-theme .post-header .post-meta {
    color: #64748b;
}

.post-light-theme .post-header .author-name {
    color: #374151;
}

.post-light-theme .post-header .reading-time {
    color: #64748b;
}

/* Feature image */
.post-light-theme .post-feature-image {
    background: #f5f5f5;
    padding: 0 var(--container-padding);
}

.post-light-theme .post-feature-image img {
    border-radius: 8px;
}

/* Post content - optimized for readability */
.post-light-theme .post-content {
    background: #f5f5f5;
    color: #1a1a1a;
    font-size: 1.1875rem;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

.post-light-theme .post-content .container-narrow {
    background: #ffffff;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    padding: 2.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.post-light-theme .post-content h2 {
    color: #111827;
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.post-light-theme .post-content h3 {
    color: #1f2937;
    font-size: 1.375rem;
    margin: 2rem 0 0.75rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.post-light-theme .post-content h4 {
    color: #1f2937;
    font-size: 1.1875rem;
    margin: 1.75rem 0 0.625rem;
    line-height: 1.4;
}

.post-light-theme .post-content p {
    color: #374151;
    margin-bottom: 1.625rem;
}

.post-light-theme .post-content a {
    color: #0891b2;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(8, 145, 178, 0.4);
    transition: text-decoration-color 0.2s ease;
}

.post-light-theme .post-content a:hover {
    text-decoration-color: #0891b2;
}

.post-light-theme .post-content strong {
    color: #111827;
    font-weight: 600;
}

.post-light-theme .post-content em {
    color: #374151;
}

/* Lists */
.post-light-theme .post-content ul,
.post-light-theme .post-content ol {
    color: #374151;
    margin-bottom: 1.625rem;
    padding-left: 1.5rem;
}

.post-light-theme .post-content li {
    margin-bottom: 0.625rem;
    line-height: 1.75;
}

.post-light-theme .post-content li::marker {
    color: #0891b2;
}

/* Blockquote */
.post-light-theme .post-content blockquote {
    border-left: 4px solid #0891b2;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #4b5563;
    background: #f8fafc;
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
}

.post-light-theme .post-content blockquote p {
    margin-bottom: 0;
    color: #4b5563;
}

/* Code - inline */
.post-light-theme .post-content code {
    font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
    font-size: 0.9375rem;
    background: #f1f5f9;
    color: #be185d;
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

/* Code blocks */
.post-light-theme .post-content pre {
    background: #1e293b;
    border: none;
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.75rem 0;
}

.post-light-theme .post-content pre code {
    background: transparent;
    color: #e2e8f0;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.7;
}

/* Images */
.post-light-theme .post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Horizontal rule */
.post-light-theme .post-content hr {
    border: none;
    height: 1px;
    background: #e5e7eb;
    margin: 3rem 0;
}

/* Tables */
.post-light-theme .post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1rem;
}

.post-light-theme .post-content th {
    background: #f8fafc;
    color: #111827;
    font-weight: 600;
    text-align: left;
    padding: 0.875rem 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.post-light-theme .post-content td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.post-light-theme .post-content tr:hover td {
    background: #f8fafc;
}

/* Author box */
.post-light-theme .post-author-box {
    background: #f5f5f5;
    padding: 0 var(--container-padding) 3rem;
}

.post-light-theme .post-author-box .container-narrow {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 2rem 2.5rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.post-light-theme .author-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
}

.post-light-theme .author-card-name {
    color: #111827;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.post-light-theme .author-card-bio {
    color: #4b5563;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Ghost Card Styles - Light Theme Overrides */
.post-light-theme .kg-card {
    margin: 2rem 0;
}

/* Bookmark card */
.post-light-theme .kg-bookmark-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.post-light-theme .kg-bookmark-container {
    color: inherit;
}

.post-light-theme .kg-bookmark-title {
    color: #111827;
    font-weight: 600;
}

.post-light-theme .kg-bookmark-description {
    color: #4b5563;
}

.post-light-theme .kg-bookmark-metadata {
    color: #64748b;
}

/* Callout card */
.post-light-theme .kg-callout-card {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 1.25rem;
}

.post-light-theme .kg-callout-text {
    color: #0c4a6e;
}

/* Button card */
.post-light-theme .kg-button-card a {
    background: #0891b2;
    color: #ffffff;
}

.post-light-theme .kg-button-card a:hover {
    background: #0e7490;
}

/* Toggle card */
.post-light-theme .kg-toggle-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.post-light-theme .kg-toggle-heading h4 {
    color: #111827;
}

.post-light-theme .kg-toggle-content {
    color: #374151;
}

/* File card */
.post-light-theme .kg-file-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

/* Image captions */
.post-light-theme .kg-image-card figcaption,
.post-light-theme .kg-gallery-card figcaption {
    color: #64748b;
    font-size: 0.875rem;
    text-align: center;
    margin-top: 0.75rem;
}

/* Responsive adjustments for light theme */
@media (max-width: 768px) {
    .post-light-theme .post-content {
        font-size: 1.0625rem;
        line-height: 1.75;
    }
    
    .post-light-theme .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-light-theme .post-content h3 {
        font-size: 1.25rem;
    }
    
    .post-light-theme .author-card {
        flex-direction: column;
        text-align: center;
    }
    
    .post-light-theme .author-card-avatar {
        margin: 0 auto;
    }
    
    .post-light-theme .post-header .container-narrow,
    .post-light-theme .post-content .container-narrow,
    .post-light-theme .post-author-box .container-narrow {
        padding: 1.5rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }
    
    .post-light-theme .post-header .container-narrow {
        border-top: none;
    }
    
    .post-light-theme .post-author-box .container-narrow {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .post-light-theme .post-content {
        font-size: 1rem;
    }
    
    .post-light-theme .post-content h2 {
        font-size: 1.375rem;
    }
    
    .post-light-theme .post-content h3 {
        font-size: 1.1875rem;
    }
}
