/* ==========================================================================
   Site Theme Variables
   ========================================================================== */

:root {
    /* Colors */
    --primary-color: #ef4444;
    --secondary-color: #1e293b;
    --accent-color: #eab308;
    --text-color: #1e293b;
    --text-light: #64748b;
    --background-color: #ffffff;
    --background-alt: #f8fafc;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: var(--font-family);

    /* Spacing */
    --section-padding: 4rem 1.5rem;

    /* Borders & Shadows */
    --border-color: #e2e8f0;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}


/* ==========================================================================
   Base Styles
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    opacity: 0.9;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-top: 0;
    line-height: 1.2;
}

/* ==========================================================================
   Component Styles
   ========================================================================== */

/* Wings Network Footer */
.wings-network-footer { background: #0f172a; color: white; padding: 48px 24px 32px; }
.wings-network-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.wings-network-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.4em; color: #64748b; font-weight: 700; margin-bottom: 24px; }
.wings-network-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 28px; }
.wings-network-link { display: block; padding: 16px 12px; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; text-decoration: none; color: white; transition: all 0.15s; }
.wings-network-link:hover { border-color: #ef4444; background: rgba(239,68,68,0.08); transform: translateY(-1px); }
.wings-network-link[aria-current="page"] { border-color: #ef4444; background: rgba(239,68,68,0.12); }
.wings-network-icon { display: block; font-size: 24px; margin-bottom: 6px; }
.wings-network-name { display: block; font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.wings-network-desc { display: block; font-size: 11px; color: #94a3b8; }
.wings-network-tagline { font-size: 14px; font-style: italic; color: #64748b; margin-bottom: 12px; }
.wings-network-powered { font-size: 11px; color: #475569; }
.wings-network-powered a { color: #6366f1; text-decoration: none; }
.wings-network-powered a:hover { text-decoration: underline; }

/* Wing of the Day Hero */
.wotd-hero { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 80vh; background: #fef3c7; color: #1e293b; }
@media (max-width: 768px) { .wotd-hero { grid-template-columns: 1fr; min-height: auto; } }
.wotd-hero-left { padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 768px) { .wotd-hero-left { padding: 40px 24px; } }
.wotd-hero-date { font-size: 13px; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; color: #ef4444; margin-bottom: 20px; }
.wotd-hero-headline { font-size: clamp(40px, 7vw, 84px); font-weight: 900; line-height: 0.95; margin: 0 0 24px; letter-spacing: -0.03em; }
.wotd-hero-oneliner { font-size: clamp(17px, 2vw, 22px); color: #475569; line-height: 1.5; margin: 0 0 28px; max-width: 520px; }
.wotd-hero-spot { font-size: 15px; color: #64748b; margin-bottom: 32px; }
.wotd-hero-cta { display: inline-block; padding: 14px 28px; background: #ef4444; color: white; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; align-self: flex-start; transition: transform 0.15s; }
.wotd-hero-cta:hover { transform: translateY(-2px); background: #dc2626; }
.wotd-hero-right { background: #fde68a; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.wotd-hero-img { width: 100%; height: 100%; object-fit: cover; }
.wotd-hero-placeholder { font-size: clamp(120px, 20vw, 280px); opacity: 0.3; }

.wotd-signup { background: #0f172a; color: white; padding: 80px 24px; text-align: center; }
.wotd-signup-inner { max-width: 560px; margin: 0 auto; }
.wotd-signup-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.3em; font-weight: 700; color: #fbbf24; margin-bottom: 20px; }
.wotd-signup-title { font-size: clamp(28px, 4vw, 42px); font-weight: 900; margin: 0 0 12px; letter-spacing: -0.02em; }
.wotd-signup-sub { font-size: 17px; color: #cbd5e1; margin: 0 0 28px; line-height: 1.5; }
.wotd-signup-form { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
@media (max-width: 500px) { .wotd-signup-form { flex-direction: column; } }
.wotd-signup-form input { flex: 1; padding: 14px 18px; border: none; border-radius: 10px; background: #1e293b; color: white; font-size: 15px; }
.wotd-signup-form input:focus { outline: 2px solid #ef4444; }
.wotd-signup-form input::placeholder { color: #64748b; }
.wotd-signup-form button { padding: 14px 24px; background: #ef4444; color: white; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; }
.wotd-signup-form button:hover { background: #dc2626; }
.wotd-signup-tiny { font-size: 11px; color: #64748b; margin-top: 16px; }

/* Wing of the Day Archive */
.wotd-archive { padding: 80px 24px; background: #fafafa; }
.wotd-archive-header { max-width: 1200px; margin: 0 auto 40px; text-align: center; }
.wotd-archive-title { font-size: clamp(32px, 5vw, 48px); font-weight: 900; margin: 0 0 12px; letter-spacing: -0.02em; }
.wotd-archive-sub { font-size: 17px; color: #64748b; margin: 0; }
.wotd-archive-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.wotd-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: all 0.2s; border: 1px solid #e2e8f0; }
.wotd-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.wotd-card-img { aspect-ratio: 4/3; overflow: hidden; background: #fef3c7; display: flex; align-items: center; justify-content: center; font-size: 72px; }
.wotd-card-img img { width: 100%; height: 100%; object-fit: cover; }
.wotd-card-body { padding: 20px; }
.wotd-card-date { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: #ef4444; font-weight: 700; margin-bottom: 8px; }
.wotd-card-headline { font-size: 17px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; color: #1e293b; }
.wotd-card-oneliner { font-size: 14px; color: #64748b; line-height: 1.5; margin-bottom: 10px; }
.wotd-card-spot { font-size: 12px; color: #94a3b8; font-style: italic; }
.wotd-archive-empty { text-align: center; padding: 60px 20px; color: #94a3b8; font-size: 15px; }

/* Ad Slot */
.ad-slot { line-height: 1.5; }
.ad-slot a:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.08); }

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .features.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .features.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-headline { font-size: 2rem; }
    .hero-subheadline { font-size: 1rem; }
    .features.cols-4,
    .features.cols-3,
    .features.cols-2 { grid-template-columns: 1fr; }
    .navbar-menu { display: none; }
    .navbar-menu.active { display: flex; flex-direction: column; }
    .about-container { flex-direction: column !important; }
    .about-image { width: 100% !important; }
}
