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

:root {
    /* Colors */
    --primary-color: #f97316;
    --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; }

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

/* Newsletter Signup */

.newsletter-section { padding: 60px 0; color: white; }
.newsletter-section .container { display: flex; align-items: center; gap: 40px; }
.newsletter-section.layout-centered .container { flex-direction: column; text-align: center; }
.newsletter-section.layout-stacked .container { flex-direction: column; }
.newsletter-content { flex: 1; }
.newsletter-title { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.newsletter-description { opacity: 0.8; }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form input { flex: 1; padding: 16px 20px; border: none; border-radius: 6px; font-size: 1rem; min-width: 280px; }
.newsletter-form button { padding: 16px 32px; border: none; border-radius: 6px; color: white; font-weight: 600; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 768px) { .newsletter-section .container { flex-direction: column; text-align: center; } .newsletter-form { flex-direction: column; } .newsletter-form input { min-width: 100%; } }


/* Blog Hero */
.blog-hero { padding: 80px 24px 60px; text-align: center; color: white; }
.blog-hero-inner { max-width: 720px; margin: 0 auto; }
.blog-hero-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 24px; }
.blog-hero-emoji { font-size: 32px; }
.blog-hero-name { font-size: 14px; text-transform: uppercase; letter-spacing: 0.3em; font-weight: 700; opacity: 0.85; }
.blog-hero-title { font-size: clamp(36px, 6vw, 64px); font-weight: 900; line-height: 1; margin: 0 0 16px; letter-spacing: -0.03em; }
.blog-hero-sub { font-size: clamp(16px, 2vw, 20px); opacity: 0.85; max-width: 540px; margin: 0 auto; line-height: 1.5; }

/* Blog Post Grid */
.blog-grid-section { padding: 60px 24px; }
.blog-grid-inner { max-width: 1200px; margin: 0 auto; }
.blog-grid-heading { font-size: 28px; font-weight: 900; margin: 0 0 32px; text-align: center; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.blog-card { background: white; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid #e2e8f0; transition: all 0.2s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: #f1f5f9; display: flex; align-items: center; justify-content: center; font-size: 48px; color: #94a3b8; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: #ef4444; font-weight: 700; margin-bottom: 8px; }
.blog-card-title { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 0 0 8px; color: #1e293b; }
.blog-card-excerpt { font-size: 14px; color: #64748b; line-height: 1.5; margin: 0 0 auto; padding-bottom: 12px; }
.blog-card-meta { font-size: 12px; color: #94a3b8; margin-top: auto; }
.blog-grid-empty { text-align: center; padding: 60px 20px; color: #94a3b8; font-size: 15px; }

/* ==========================================================================
   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; }
}
