:root {
    --red: #d32f2f;
    --red-dark: #b71c1c;
    --blue: #268EC2;
    --blue-light: #e7f3f9;
    --blue-lighter: #c8eafc;
    --gold: #ffc200;
    --gold-light: #ffe79b;
    --white: #ffffff;
    --gray: #7f8c8d;
    --dark: #3b3b3b;
    --off-white: #f9f9f9;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--dark);
    background: var(--blue-light);
    line-height: 1.7;
}

/* ---- Navigation ---- */
nav {
    position: sticky; top: 0; z-index: 1000;
    background: var(--red);
    border-bottom: 3px solid var(--gold);
    padding: 0 20px;
}
nav .nav-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 56px;
}
nav .logo {
    font-family: 'Times New Roman', serif;
    font-size: 24px; font-weight: bold; color: var(--white);
    text-decoration: none; letter-spacing: 1px;
}
nav .nav-links { display: flex; list-style: none; gap: 8px; flex-wrap: wrap; }
nav .nav-links a {
    color: var(--white); text-decoration: none;
    font-size: 13px; font-weight: 600; padding: 8px 14px;
    border-radius: 4px; transition: background .2s;
}
nav .nav-links a:hover { background: rgba(255,255,255,.15); }

.hamburger { display: none; background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; }

/* ---- Hero ---- */
.hero {
    background: linear-gradient(180deg, #a0d5ea 0%, #e7f3f9 100%);
    text-align: center; padding: 80px 20px 60px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 40px;
    background: url('../img/feature-top-snow.png') repeat-x center/auto 40px;
    opacity: .6;
}
.hero h1 {
    font-family: 'Times New Roman', serif;
    font-size: 56px; color: var(--red); letter-spacing: 4px;
    margin-bottom: 16px;
}
.hero .divider {
    width: 50px; height: 3px; background: var(--red);
    margin: 0 auto 20px;
}
.hero p {
    font-size: 16px; color: #555; max-width: 600px; margin: 0 auto;
    font-style: italic;
}

/* ---- Section Common ---- */
.section {
    background: var(--white);
    padding: 60px 20px;
}
.section:nth-child(even) { background: var(--off-white); }
.section-inner {
    max-width: 900px; margin: 0 auto;
}
.section h2 {
    font-family: 'Times New Roman', serif;
    font-size: 32px; color: var(--red); text-align: center;
    margin-bottom: 10px; font-style: italic;
}
.section .divider {
    width: 50px; height: 3px; background: var(--red);
    margin: 0 auto 36px;
}

/* ---- Articles Grid (Home Page) ---- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}
.article-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}
.article-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.1);
    transform: translateY(-3px);
}
.article-card .card-img {
    height: 180px; background: var(--blue-lighter);
    display: flex; align-items: center; justify-content: center;
    font-size: 56px;
}
.article-card .card-body { padding: 20px; }
.article-card .card-body h3 {
    font-family: 'Times New Roman', serif;
    font-size: 20px; color: var(--red); margin-bottom: 8px;
}
.article-card .card-body p {
    font-size: 13px; color: var(--gray); line-height: 1.7;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card .card-body .read-more {
    display: inline-block; margin-top: 12px;
    color: var(--blue); font-weight: 700; font-size: 13px;
    text-decoration: none;
}
.article-card .card-body .read-more:hover { color: var(--red); }

/* ---- Article Page ---- */
.article-page {
    padding: 50px 20px; background: var(--white);
}
.article-page .section-inner { max-width: 750px; }
.article-page .back-link {
    display: inline-block; margin-bottom: 24px;
    color: var(--blue); font-weight: 700; text-decoration: none;
}
.article-page .back-link:hover { color: var(--red); }
.article-page .article-body p { margin-bottom: 16px; color: #555; line-height: 1.9; }

/* ---- Page Header (for non-home pages) ---- */
.page-header {
    background: var(--blue-light);
    text-align: center; padding: 50px 20px 40px;
}
.page-header h1 {
    font-family: 'Times New Roman', serif;
    font-size: 40px; color: var(--red); letter-spacing: 2px;
    margin-bottom: 10px; font-style: italic;
}
.page-header .divider {
    width: 50px; height: 3px; background: var(--red);
    margin: 0 auto;
}

/* ---- Policy / Content Sections ---- */
.policy-content { font-size: 14px; color: #555; line-height: 1.9; }
.policy-content h3 {
    font-family: 'Times New Roman', serif;
    font-size: 20px; color: var(--red); margin: 28px 0 10px;
}
.policy-content p { margin-bottom: 14px; }
.policy-content ul { margin: 10px 0 16px 24px; }
.policy-content li { margin-bottom: 6px; }

/* ---- Footer ---- */
footer {
    background: var(--red); color: var(--white);
    text-align: center; padding: 40px 20px;
}
footer .footer-links {
    display: flex; justify-content: center; gap: 24px;
    flex-wrap: wrap; margin-bottom: 20px;
}
footer .footer-links a { color: var(--white); text-decoration: none; font-size: 13px; opacity: .85; }
footer .footer-links a:hover { opacity: 1; text-decoration: underline; }
footer .social-icons { margin-bottom: 16px; }
footer .social-icons a {
    display: inline-block; width: 36px; height: 36px;
    line-height: 36px; background: rgba(255,255,255,.15);
    border-radius: 50%; margin: 0 6px; color: #fff;
    text-decoration: none; font-size: 16px; transition: background .2s;
}
footer .social-icons a:hover { background: rgba(255,255,255,.3); }
footer .copyright { font-size: 12px; opacity: .7; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero h1, .page-header h1 { font-size: 36px; letter-spacing: 2px; }
    .section { padding: 40px 16px; }
    .section h2 { font-size: 26px; }
    .articles-grid { grid-template-columns: 1fr; }
    .article-page { padding: 30px 16px; }
}
/* ---- Countdown ---- */
.countdown-wrap { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin: 30px 0; }
.countdown-block {
    background: rgba(211,47,47,.12); border: 2px solid var(--red);
    border-radius: 12px; padding: 16px 20px; min-width: 80px; text-align: center;
}
.countdown-block .num {
    font-family: 'Times New Roman', serif; font-size: 40px;
    font-weight: bold; color: var(--red); line-height: 1.1;
}
.countdown-block .label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ---- Ad Section ---- */
.ad-section { background: var(--white); padding: 30px 20px; }
.ad-section .ad-label { text-align: center; color: #aaa; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.ad-section .ad-container {
    max-width: 728px; margin: 0 auto; border: 2px dashed var(--red);
    background: var(--off-white); border-radius: 4px;
    min-height: 90px; display: flex; align-items: center; justify-content: center;
    color: #ccc; font-size: 14px;
}

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.gallery-grid img:hover { transform: scale(1.03); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.gallery-lightbox { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.85); z-index: 2000; align-items: center; justify-content: center; }
.gallery-lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.gallery-lightbox:target { display: flex; }
.gallery-lightbox .close {
    position: absolute; top: 20px; right: 30px; color: #fff; font-size: 36px;
    text-decoration: none; font-weight: bold;
}

/* ---- Video ---- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.video-card {
    background: var(--white); border-radius: 8px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.video-card iframe { width: 100%; height: 220px; border: 0; }
.video-card .video-title { padding: 14px 18px; font-size: 15px; color: var(--dark); font-weight: 600; }

/* ---- Testimonials ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.testimonial-card {
    background: var(--white); border-radius: 12px; padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05); text-align: center;
}
.testimonial-card .avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; border: 3px solid var(--red); }
.testimonial-card .quote { font-style: italic; color: #666; font-size: 14px; line-height: 1.8; margin-bottom: 14px; }
.testimonial-card .name { font-weight: 700; color: var(--red); font-family: 'Times New Roman', serif; font-size: 16px; }

/* ---- FAQ ---- */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #eee; }
.faq-item summary {
    padding: 18px 0; font-weight: 600; font-size: 15px; color: var(--dark);
    cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--red); font-weight: bold; transition: transform .2s; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .faq-answer { padding: 0 0 18px; color: #666; font-size: 14px; line-height: 1.8; }

/* ---- Newsletter ---- */
.newsletter { background: var(--blue-light); }
.newsletter-form { display: flex; max-width: 500px; margin: 0 auto; gap: 10px; }
.newsletter-form input[type="email"] {
    flex: 1; padding: 14px 18px; border: 2px solid #ddd; border-radius: 30px;
    font-size: 14px; outline: none; transition: border .2s;
}
.newsletter-form input[type="email"]:focus { border-color: var(--red); }
.newsletter-form button {
    padding: 14px 28px; background: var(--red); color: #fff; border: none;
    border-radius: 30px; font-size: 14px; font-weight: 700; cursor: pointer;
    transition: background .2s; white-space: nowrap;
}
.newsletter-form button:hover { background: var(--red-dark); }
.newsletter-note { text-align: center; color: #999; font-size: 12px; margin-top: 10px; }

@media (max-width: 640px) {
    .hamburger { display: block; }
    nav .nav-links {
        display: none; position: absolute; top: 56px; left: 0; right: 0;
        background: var(--red); flex-direction: column; padding: 12px 20px;
        border-top: 2px solid var(--gold);
    }
    nav .nav-links.open { display: flex; }
    nav .nav-links a { padding: 10px 0; }
    .hero { padding: 50px 16px 40px; }
    .hero h1, .page-header h1 { font-size: 30px; }
    .countdown-block { min-width: 64px; padding: 12px 10px; }
    .countdown-block .num { font-size: 28px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid img { height: 140px; }
    .newsletter-form { flex-direction: column; padding: 0 16px; }
    .newsletter-form input[type="email"] { text-align: center; }
}
