/* ═══════════════════════════════════════════════════════════
   pages/home-news.css
   Newsletter hero section, home page only.

   Consolidates 25 legacy definitions from style.css
   (lines 1111 partial, 6690/6696/6701, 7017 partial, 7037 partial,
   8826..8878, 9133..9232).

   Palette: burgundy/black/white.
   Aurora ::before — removed (was cyan/purple, off-brand).
   Shimmer ::after — removed (was effectively disabled via
   transition:none!important in the original cascade).
   Form pill — switched from light glass to dark theme for contrast.
   ═══════════════════════════════════════════════════════════ */

/* Section container */
.home-news {
    position: relative;
    overflow: hidden;
    padding: 120px 16px;
    background-size: cover;
    background-position: center;
    color: var(--text);
}

/* Burgundy overlay over hero image */
.home-news__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        rgba(46, 13, 20, 0.88),
        rgba(14, 8, 9, 0.92)
    );
}

/* Content stack */
.home-news__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    animation: dagFadeUp var(--anim-slow) var(--ease-out) both;
}

.home-news__eyebrow {
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    opacity: 0.9;
}

.home-news__title {
    margin: 4px 0 12px;
    font-size: 40px;
    line-height: 1.05;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.home-news__text {
    margin: 0 0 26px;
    font-size: 15px;
    opacity: 0.9;
}

/* Newsletter form pill — dark theme */
.home-news__form {
    max-width: 580px;
    margin: 22px auto 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-raised);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    animation: dagFadeUp var(--anim-slow) var(--ease-out) both;
    animation-delay: 160ms;
}

.home-news__form input,
.home-news__input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 12px 16px;
    border: 0;
    background: transparent;
    font-size: 14px;
    color: var(--text);
    box-shadow: none;
}

.home-news__form input::placeholder,
.home-news__input::placeholder {
    color: var(--muted);
}

.home-news__form input:focus,
.home-news__input:focus {
    outline: none;
    box-shadow: none;
}

/* Submit button */
.home-news__form button,
.home-news__btn {
    position: relative;
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(107, 31, 46, 0.30);
    transition:
        transform 0.18s ease,
        filter 0.18s ease,
        box-shadow 0.18s ease,
        background 0.2s ease;
}

.home-news__form button:hover,
.home-news__btn:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 18px 44px rgba(107, 31, 46, 0.36);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .home-news__inner,
    .home-news__form {
        animation: none !important;
    }
}

/* Mobile: stack form elements */
@media (max-width: 520px) {
    .home-news {
        padding: 80px 16px;
    }
    .home-news__title {
        font-size: 32px;
    }
    .home-news__form {
        flex-wrap: wrap;
        border-radius: 18px;
        padding: 10px;
    }
    .home-news__form input,
    .home-news__input {
        flex: 1 1 100%;
    }
    .home-news__form button,
    .home-news__btn {
        flex: 1 1 100%;
    }
}
