.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('/images/home-hero.jpg');
    background-color: var(--color-brand);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 60px 24px;
}
.hero-content h1 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}
.hero-content p {
    font-size: 18px;
    color: #e8e8e8;
    margin-bottom: 32px;
    line-height: 1.6;
}
.btn-cta {
    display: inline-block;
    background-color: var(--color-cta);
    color: #fff;
    padding: 14px 36px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(255, 94, 120, 0.25);
}
.btn-cta:hover {
    background-color: #e84d67;
    box-shadow: 0 4px 14px rgba(255, 94, 120, 0.35);
    color: #fff;
}
.btn-cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.home-section {
    padding: 64px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    font-size: 30px;
    color: var(--color-brand);
    text-align: center;
    margin-bottom: 10px;
}
.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 44px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.category-card {
    background-color: #fff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 28px 22px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    text-align: left;
}
.category-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.category-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--color-bg-warm);
    border-radius: 10px;
    margin-bottom: 16px;
}
.category-card__icon svg {
    display: block;
}
.category-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--color-brand);
}
.category-card h3 a {
    color: var(--color-brand);
    text-decoration: none;
    transition: color 0.2s ease;
}
.category-card h3 a:hover {
    color: var(--color-cta);
}
.category-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.article-card {
    background-color: #fff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.article-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.article-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.article-card__body {
    padding: 20px;
}
.article-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.article-card__meta span {
    font-size: 12px;
    color: var(--text-muted);
}
.article-card__meta .article-card__cat {
    color: var(--color-cta);
    font-weight: 700;
}
.article-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.6;
}
.article-card h3 a {
    color: var(--color-brand);
    text-decoration: none;
    transition: color 0.2s ease;
}
.article-card h3 a:hover {
    color: var(--color-cta);
}
.article-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.newsletter-section {
    background-color: var(--color-bg-warm);
    padding: 64px 24px;
}
.newsletter-inner {
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
}
.newsletter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background-color: #fff;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.newsletter-inner h2 {
    font-size: 28px;
    color: var(--color-brand);
    margin-bottom: 12px;
}
.newsletter-inner p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.6;
}
.newsletter-form {
    display: flex;
    gap: 10px;
}
.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    color: var(--color-brand);
    min-width: 0;
}
.newsletter-form input[type="email"]::placeholder {
    color: #aaa;
}
.newsletter-form button {
    background-color: var(--color-cta);
    color: #fff;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}
.newsletter-form button:hover {
    background-color: #e84d67;
}
.newsletter-consent {
    font-size: 12px;
    color: #999;
    margin-top: 14px;
}

.about-preview {
    padding: 64px 24px;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.about-preview h2 {
    font-size: 28px;
    color: var(--color-brand);
    margin-bottom: 16px;
}
.about-preview p {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 28px;
}
.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--color-brand);
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--color-brand);
    transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-secondary:hover {
    background-color: var(--color-brand);
    color: #fff;
}

@media (max-width: 768px) {
    .hero {
        min-height: 440px;
    }
    .hero-content {
        padding: 48px 20px;
    }
    .hero-content h1 {
        font-size: 30px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .home-section {
        padding: 48px 20px;
    }
    .section-title {
        font-size: 24px;
    }
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form button {
        width: 100%;
    }
    .newsletter-section {
        padding: 48px 20px;
    }
    .about-preview {
        padding: 48px 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 400px;
    }
    .hero-content h1 {
        font-size: 26px;
    }
    .btn-cta {
        padding: 12px 28px;
        font-size: 14px;
    }
    .article-card__image {
        height: 180px;
    }
}