/*
 * Public CSS Bundle: blog.bundle.css
 * Auto-generated by scripts/bundle_public_css.py
 * DO NOT EDIT - Edit source files instead
 *
 * Sources: _public-base.css, blog-desktop.css, blog-mobile-portrait.css, blog-mobile-landscape.css
 */

/* === _public-base.css === */

/*
 * Public Pages Base CSS
 * Shared globals: variables, reset, fonts, keyframes
 * NO media queries here - this is the foundation
 */

/* === CSS Variables === */
:root {
    /* Brand Colors */
    --brand-gradient: linear-gradient(135deg, #667eea, #764ba2);
    --brand-purple: #764ba2;
    --brand-purple-light: #8b5cf6;
    --brand-blue: #667eea;

    /* Background */
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    /* UI Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Accent Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.1);
    --shadow-purple: 0 8px 30px rgba(118, 75, 162, 0.25);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;

    /* Spacing */
    --header-height: 72px;
    --container-max: 1200px;
    --section-padding: 100px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* === Anchor Link Offset (for fixed header) === */
[id] {
    scroll-margin-top: calc(var(--header-height) + 24px);
}

/* === Keyframes === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* === Button Base Styles === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    padding: 14px 28px;
    font-size: 1rem;
    color: var(--white);
    background: var(--brand-gradient);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

.btn-secondary {
    padding: 14px 28px;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--white);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--brand-purple);
    color: var(--brand-purple);
}

.btn-outline {
    padding: 14px 28px;
    font-size: 1rem;
    color: var(--white);
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* === Utility Classes === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* === Section Headers === */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.section-logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.section-subtitle {
    color: var(--text-secondary);
}

/* === Ticker Base === */
.proof-ticker {
    background: var(--gray-900);
    overflow: hidden;
    position: relative;
}

.ticker-wrap {
    display: flex;
    width: max-content;
}

.ticker-track {
    display: flex;
    animation: ticker-scroll 60s linear infinite;
}

.ticker-item {
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.85);
}

.ticker-item strong {
    color: var(--white);
    font-weight: 700;
}

/* Category colors */
.ticker-item.ticker-score strong {
    color: #fbbf24;
}

.ticker-item.ticker-pass strong {
    color: var(--success);
}

.ticker-item.ticker-branch strong {
    color: #60a5fa;
}

/* =============================================================================
 * SIGNUP MODAL - Shared across all public pages
 * Used by: home, free-class, asvab-program, etc.
 * ============================================================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s ease;
}

.modal-overlay.visible .modal {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: none;
    border-radius: 10px;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #fef2f2;
    color: var(--error);
}

.modal-body {
    padding: 24px;
}

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
    animation: modalFadeUp 0.3s ease-out;
}

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

.step-intro {
    text-align: center;
    margin-bottom: 24px;
}

.step-intro-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
}

.step-intro-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-intro-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.verify-email {
    font-weight: 600;
    color: var(--text-primary);
}

/* Form Styles */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-input, .form-select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    color: var(--text-primary);
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus, .form-select:focus {
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.1);
}

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

.form-input.error {
    border-color: var(--error);
}

.form-input.code-input {
    text-align: center;
    font-size: 1.5rem;
    font-family: var(--font-heading), monospace;
    letter-spacing: 8px;
    font-weight: 600;
}

.form-error {
    font-size: 0.8rem;
    color: var(--error);
    margin-top: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-optional {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 4px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--brand-gradient);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 8px;
}

.form-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-purple);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-submit.loading {
    position: relative;
    color: transparent;
}

.form-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: modalSpin 0.8s linear infinite;
}

@keyframes modalSpin {
    to { transform: rotate(360deg); }
}

.resend-link {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.link-button {
    background: none;
    border: none;
    color: var(--brand-purple);
    font-weight: 600;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.link-button:hover {
    text-decoration: underline;
}

.link-button:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Success Step */
.success-content {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--success);
    animation: modalPopIn 0.4s ease-out;
}

@keyframes modalPopIn {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.success-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* =============================================================================
 * CLASS COUNTDOWN - Simple horizontal layout
 * ============================================================================= */

.class-countdown {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
}

.countdown-slides {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.countdown-slide {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.countdown-slide.active {
    opacity: 1;
    visibility: visible;
}

/* Left side: Badge + Date/Time */
.countdown-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.countdown-badge {
    display: inline-block;
    width: fit-content;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-badge.badge-free {
    background: var(--success-light);
    color: var(--success);
}

.countdown-badge.badge-program {
    background: rgba(118, 75, 162, 0.12);
    color: var(--brand-purple);
}

.countdown-date {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.countdown-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Right side: Timer + CTA */
.countdown-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.countdown-timer {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: var(--font-heading);
}

.countdown-num {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.countdown-lbl {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-right: 4px;
}

.countdown-sep {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 2px;
}

.countdown-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: inherit;
}

.countdown-btn.btn-free {
    background: var(--brand-gradient);
    color: var(--white);
}

.countdown-btn.btn-free:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-purple);
}

.countdown-btn.btn-program {
    background: var(--white);
    color: var(--brand-purple);
    border: 2px solid var(--brand-purple);
}

.countdown-btn.btn-program:hover {
    background: var(--brand-purple);
    color: var(--white);
}

.countdown-btn.btn-disabled {
    background: var(--gray-200);
    color: var(--text-muted);
    cursor: default;
    pointer-events: none;
}

/* Navigation dots */
.countdown-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.countdown-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.countdown-dot.active {
    background: var(--brand-purple);
}

.countdown-dot:hover:not(.active) {
    background: var(--gray-400);
}

/* Empty state */
.countdown-empty {
    text-align: center;
    padding: 20px;
}

.countdown-empty p {
    margin: 4px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.countdown-empty a {
    color: var(--brand-purple);
    font-weight: 600;
}


/* === blog-desktop.css === */

/*
 * Blog - Desktop Styles
 * @media (min-width: 769px)
 */

@media (min-width: 769px) {

/* === Header === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    z-index: 100;
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 42px;
    height: 42px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tagline {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.15s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--gray-50);
}

.nav-link.nav-signin {
    color: var(--brand-purple);
}

.nav-link.nav-cta {
    background: var(--brand-gradient);
    color: var(--white);
    margin-left: 8px;
}

.nav-link.nav-cta:hover {
    box-shadow: var(--shadow-purple);
    transform: translateY(-1px);
}

/* === Main === */
main {
    padding-top: var(--header-height);
}

/* === Blog Hero (Index Page) === */
.blog-hero {
    background: linear-gradient(135deg, #f0f4ff 0%, #f5f3ff 50%, #f8f9ff 100%);
    padding: 80px 24px;
    text-align: center;
}

.blog-hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.blog-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* === Blog Grid (Index Page) === */
.blog-grid-section {
    padding: 60px 24px;
    max-width: var(--container-max);
    margin: 0 auto;
}

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

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-100);
}

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

.blog-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #f5f3ff 100%);
}

.blog-card-img-placeholder img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    opacity: 0.5;
}

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

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

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

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-card-read {
    color: var(--brand-purple);
    font-weight: 500;
}

.blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--text-muted);
}

/* === Article (Post Page) === */
.blog-article {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 24px;
}

.article-header {
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.15s ease;
}

.article-back:hover {
    color: var(--brand-purple);
}

.article-date {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 24px;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

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

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-hero {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
}

.article-hero img {
    width: 100%;
    height: auto;
}

/* === Article Content Typography === */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.article-content p {
    margin-bottom: 24px;
}

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

.article-content li {
    margin-bottom: 12px;
}

.article-content ul li {
    list-style-type: disc;
}

.article-content ol li {
    list-style-type: decimal;
}

.article-content a {
    color: var(--brand-purple);
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--brand-blue);
}

.article-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: var(--gray-50);
    border-left: 4px solid var(--brand-purple);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 32px 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 1rem;
}

.article-content th,
.article-content td {
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    text-align: left;
}

.article-content th {
    background: var(--gray-50);
    font-weight: 600;
}

.article-content code {
    background: var(--gray-100);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.article-content pre {
    background: var(--gray-800);
    color: var(--white);
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 32px 0;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* === Article Footer === */
.article-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-tags {
    display: flex;
    gap: 8px;
}

.tag {
    padding: 6px 12px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--text-secondary);
    transition: all 0.15s ease;
}

.share-btn:hover {
    background: var(--brand-purple);
    color: var(--white);
}

/* === Blog CTA === */
.blog-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 24px;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

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

.blog-cta .btn-primary {
    background: var(--white);
    color: var(--brand-purple);
}

.blog-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.blog-cta .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.blog-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* === Related Posts === */
.related-posts {
    padding: 60px 24px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.related-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
}

.related-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.related-img {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
}

.related-card-title {
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

/* === Footer === */
.site-footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 24px 32px;
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-mission {
    font-size: 0.9rem;
    color: var(--gray-300);
    max-width: 280px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--gray-300);
    font-size: 0.95rem;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: 50%;
    color: var(--gray-300);
    transition: all 0.15s ease;
}

.footer-social a:hover {
    background: var(--brand-purple);
    color: var(--white);
}

.footer-contact {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid var(--gray-800);
    font-size: 0.95rem;
    color: var(--gray-300);
}

.footer-contact a {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    font-size: 0.85rem;
    color: var(--gray-300);
}

} /* End @media */


/* === blog-mobile-portrait.css === */

/*
 * Blog - Mobile Portrait Styles
 * @media (max-width: 768px) and (orientation: portrait)
 */

@media (max-width: 768px) and (orientation: portrait) {

/* === Header === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    z-index: 100;
}

.header-inner {
    height: 100%;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 36px;
    height: 36px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tagline {
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Hide text links on mobile, show only buttons */
.nav-link:not(.nav-signin):not(.nav-cta) {
    display: none;
}

.nav-link {
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 6px;
}

.nav-link.nav-signin {
    color: var(--brand-purple);
}

.nav-link.nav-cta {
    background: var(--brand-gradient);
    color: var(--white);
    padding: 8px 14px;
}

/* === Main === */
main {
    padding-top: 60px;
}

/* === Blog Hero (Index Page) === */
.blog-hero {
    background: linear-gradient(135deg, #f0f4ff 0%, #f5f3ff 50%, #f8f9ff 100%);
    padding: 48px 20px;
    text-align: center;
}

.blog-hero-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.blog-hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* === Blog Grid (Index Page) === */
.blog-grid-section {
    padding: 32px 16px;
}

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

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.blog-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-100);
}

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

.blog-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #f5f3ff 100%);
}

.blog-card-img-placeholder img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    opacity: 0.5;
}

.blog-card-content {
    padding: 20px;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-card-read {
    color: var(--brand-purple);
    font-weight: 500;
}

.blog-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

/* === Article (Post Page) === */
.blog-article {
    padding: 32px 16px;
}

.article-header {
    margin-bottom: 24px;
}

.article-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.article-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 20px;
}

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

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

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

.author-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-hero {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
}

.article-hero img {
    width: 100%;
    height: auto;
}

/* === Article Content Typography === */
.article-content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-primary);
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 16px;
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 12px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content ul li {
    list-style-type: disc;
}

.article-content ol li {
    list-style-type: decimal;
}

.article-content a {
    color: var(--brand-purple);
    text-decoration: underline;
}

.article-content blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    background: var(--gray-50);
    border-left: 3px solid var(--brand-purple);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.9rem;
    display: block;
    overflow-x: auto;
}

.article-content th,
.article-content td {
    padding: 10px 12px;
    border: 1px solid var(--gray-200);
    text-align: left;
    white-space: nowrap;
}

.article-content th {
    background: var(--gray-50);
    font-weight: 600;
}

.article-content code {
    background: var(--gray-100);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}

.article-content pre {
    background: var(--gray-800);
    color: var(--white);
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px -16px;
    border-radius: 0;
}

/* === Article Footer === */
.article-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.tag {
    padding: 6px 12px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--text-secondary);
}

/* === Blog CTA === */
.blog-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 48px 20px;
    text-align: center;
}

.cta-content {
    max-width: 100%;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-cta .btn-primary,
.blog-cta .btn-secondary {
    width: 100%;
    text-align: center;
}

.blog-cta .btn-primary {
    background: var(--white);
    color: var(--brand-purple);
}

.blog-cta .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* === Related Posts === */
.related-posts {
    padding: 40px 16px;
}

.related-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.related-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: row;
}

.related-img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-card-title {
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    display: flex;
    align-items: center;
}

/* === Footer === */
.site-footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 40px 16px 24px;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.footer-logo img {
    width: 36px;
    height: 36px;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-mission {
    font-size: 0.85rem;
    color: var(--gray-300);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.footer-links a {
    color: var(--gray-300);
    font-size: 0.9rem;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: 50%;
    color: var(--gray-300);
}

.footer-contact {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--gray-800);
    font-size: 0.9rem;
    color: var(--gray-300);
}

.footer-contact a {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.8rem;
    color: var(--gray-300);
}

} /* End @media */


/* === blog-mobile-landscape.css === */

/*
 * Blog - Mobile Landscape Styles
 * @media (max-width: 926px) and (orientation: landscape)
 */

@media (max-width: 926px) and (orientation: landscape) {

/* === Header === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    z-index: 100;
}

.header-inner {
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 32px;
    height: 32px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tagline {
    font-size: 0.5rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Show a couple links in landscape */
.nav-link:not(.nav-signin):not(.nav-cta) {
    display: none;
}

.nav-link {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 6px;
}

.nav-link.nav-signin {
    color: var(--brand-purple);
}

.nav-link.nav-cta {
    background: var(--brand-gradient);
    color: var(--white);
    padding: 6px 14px;
}

/* === Main === */
main {
    padding-top: 56px;
}

/* === Blog Hero (Index Page) === */
.blog-hero {
    background: linear-gradient(135deg, #f0f4ff 0%, #f5f3ff 50%, #f8f9ff 100%);
    padding: 32px 24px;
    text-align: center;
}

.blog-hero-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.blog-hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* === Blog Grid (Index Page) === */
.blog-grid-section {
    padding: 32px 24px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.blog-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-100);
}

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

.blog-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #f5f3ff 100%);
}

.blog-card-img-placeholder img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.5;
}

.blog-card-content {
    padding: 16px;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-card-excerpt {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.blog-card-read {
    color: var(--brand-purple);
    font-weight: 500;
}

.blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

/* === Article (Post Page) === */
.blog-article {
    max-width: 700px;
    margin: 0 auto;
    padding: 24px;
}

.article-header {
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.article-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 16px;
}

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

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

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

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.article-hero {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.article-hero img {
    width: 100%;
    height: auto;
}

/* === Article Content Typography === */
.article-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 12px;
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 10px;
}

.article-content p {
    margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 16px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content ul li {
    list-style-type: disc;
}

.article-content ol li {
    list-style-type: decimal;
}

.article-content a {
    color: var(--brand-purple);
    text-decoration: underline;
}

.article-content blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    background: var(--gray-50);
    border-left: 3px solid var(--brand-purple);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.85rem;
}

.article-content th,
.article-content td {
    padding: 8px 12px;
    border: 1px solid var(--gray-200);
    text-align: left;
}

.article-content th {
    background: var(--gray-50);
    font-weight: 600;
}

.article-content code {
    background: var(--gray-100);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}

.article-content pre {
    background: var(--gray-800);
    color: var(--white);
    padding: 14px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

/* === Article Footer === */
.article-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    padding: 4px 10px;
    background: var(--gray-100);
    border-radius: 16px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.share-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--text-secondary);
}

/* === Blog CTA === */
.blog-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 24px;
    text-align: center;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.cta-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

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

.blog-cta .btn-primary {
    background: var(--white);
    color: var(--brand-purple);
    padding: 10px 24px;
}

.blog-cta .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 10px 24px;
}

/* === Related Posts === */
.related-posts {
    padding: 32px 24px;
}

.related-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.related-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.related-img {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
}

.related-card-title {
    padding: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

/* === Footer === */
.site-footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 32px 24px 20px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.footer-logo img {
    width: 32px;
    height: 32px;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
}

.footer-mission {
    font-size: 0.8rem;
    color: var(--gray-300);
    max-width: 220px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--gray-300);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: 50%;
    color: var(--gray-300);
}

.footer-contact {
    text-align: center;
    padding: 16px 0;
    border-top: 1px solid var(--gray-800);
    font-size: 0.85rem;
    color: var(--gray-300);
}

.footer-contact a {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 16px;
    font-size: 0.75rem;
    color: var(--gray-300);
}

} /* End @media */
