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

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    background: #f4f6f8;
    color: #222;
}

a {
    color: #0d6efd;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
}

.site-header {
    background: #0f172a;
    color: #fff;
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo a {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.tagline {
    display: block;
    font-size: 0.8rem;
    color: #cbd5f5;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #e5e7eb;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: #fff;
}

.site-main {
    padding: 20px 0 40px;
}

.grid {
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
    gap: 24px;
}

.hero-card {
    background: #0b1120;
    color: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    min-height: 220px;
}

.hero-visual {
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.9), rgba(30,64,175,0.6));
}

.hero-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-kicker {
    font-size: 0.8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #93c5fd;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 6px 0 8px;
}

.hero-text {
    font-size: 0.95rem;
    color: #d1d5db;
}

.hero-links {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #bfdbfe;
    border: 1px solid rgba(191,219,254,0.4);
}

.adsense {
    margin: 18px 0;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
    background: #e5e7eb;
    font-size: 0.8rem;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.adsense-top {
    min-height: 90px;
}

.adsense-sidebar {
    min-height: 250px;
}

.section-title {
    font-size: 1.2rem;
    margin: 24px 0 10px;
}

.article-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.article-thumb {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    background: #cbd5e1;
    overflow: hidden;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-meta {
    font-size: 0.8rem;
    color: #6b7280;
}

.article-title {
    font-size: 1rem;
    margin: 2px 0 4px;
}

.sidebar {
    font-size: 0.9rem;
}

.sidebar-box {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(15,23,42,0.08);
}

.sidebar-box h3 {
    font-size: 1rem;
    margin: 0 0 8px;
}

.page-title {
    font-size: 1.6rem;
    margin-top: 0;
}

.page-intro {
    font-size: 0.95rem;
    color: #4b5563;
}

.content {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}

.content h2 {
    margin-top: 18px;
    font-size: 1.1rem;
}

.content ul {
    padding-left: 20px;
}

.content li {
    margin-bottom: 6px;
}

.site-footer {
    background: #020617;
    color: #9ca3af;
    padding: 20px 0 10px;
    margin-top: 20px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    font-size: 0.85rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 4px;
}

.footer-col a {
    color: #e5e7eb;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 8px;
    color: #6b7280;
}

.form-row {
    margin-bottom: 10px;
}

label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-size: 0.9rem;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.btn-submit {
    background: #16a34a;
    color: #fff;
}

.alert {
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.alert-error {
    background: #fee2e2;
    color: #b91c1c;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.obfuscated-email noscript {
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-card {
        grid-template-columns: 1fr;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .article-item {
        grid-template-columns: 1fr;
    }
}
