/* wp-content/themes/satellite-theme/assets/css/main.css */
:root {
    --primary: #1a8c3e;
    --primary-dark: #157a33;
    --text: #1a1a1a;
    --text-light: #666;
    --bg: #fff;
    --border: #e5e5e5;
    --radius: 6px;
}

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

body { font-family: system-ui, -apple-system, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--primary); padding: 16px 0; }
.site-header .container { display: flex; align-items: center; gap: 20px; }
.site-title { color: #fff; text-decoration: none; font-size: 1.5rem; font-weight: 700; }
.site-nav { flex: 1; }
.site-nav ul { list-style: none; display: flex; gap: 20px; }
.site-nav a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-nav a:hover { color: #fff; }

/* CTA Buttons */
.satellite-cta {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: background .2s, transform .1s;
}
.satellite-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.satellite-cta.btn-sm { padding: 8px 18px; font-size: .875rem; }
.satellite-cta.btn-lg { padding: 16px 36px; font-size: 1.125rem; }
.satellite-cta.btn-block { display: block; text-align: center; }
.site-header .satellite-cta { background: #fff; color: var(--primary); }
.site-header .satellite-cta:hover { background: #f0f0f0; }

/* Layout */
.layout-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 40px 0; }
.content-area { min-width: 0; }
.sidebar { }
.sidebar-cta { background: var(--primary); color: #fff; padding: 24px; border-radius: var(--radius); text-align: center; }
.sidebar-cta h3 { margin-bottom: 8px; font-size: 1.25rem; }
.sidebar-cta p { margin-bottom: 16px; opacity: .9; }

/* CTA Banner */
.satellite-cta-banner { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; padding: 32px; border-radius: var(--radius); text-align: center; margin: 32px 0; }
.cta-banner__headline { font-size: 1.5rem; margin-bottom: 8px; }
.cta-banner__sub { opacity: .9; margin-bottom: 16px; }
.satellite-cta-banner .satellite-cta { background: #fff; color: var(--primary); }

/* Entry */
.entry { padding: 20px 0; border-bottom: 1px solid var(--border); }
.entry-title { font-size: 1.5rem; margin-bottom: 8px; }
.entry-title a { color: var(--text); text-decoration: none; }
.entry-meta { font-size: .875rem; color: var(--text-light); margin-bottom: 12px; display: flex; gap: 16px; }
.entry-content { line-height: 1.8; }
.entry-content h2, .entry-content h3 { margin: 24px 0 12px; }
.entry-content p { margin-bottom: 16px; }

/* Footer */
.site-footer { background: #1a1a1a; color: #ccc; padding: 48px 0 24px; margin-top: 60px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-brand { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-disclaimer { font-size: .8rem; opacity: .7; }
.footer-copy { font-size: .875rem; opacity: .6; border-top: 1px solid #333; padding-top: 24px; }
.footer-cta-col { display: flex; align-items: flex-start; }

/* Popup */
.satellite-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.popup-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.popup-box { position: relative; background: #fff; border-radius: 12px; padding: 40px; max-width: 480px; width: 90%; text-align: center; }
.popup-box h2 { margin-bottom: 12px; font-size: 1.75rem; }
.popup-box p { margin-bottom: 24px; color: var(--text-light); }
.popup-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-light); }

@media (max-width: 768px) {
    .layout-with-sidebar { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; }
    .site-header .container { flex-wrap: wrap; }
}
