.tt-reach-newsletter {
    --tt-reach-accent: #7B2434;
    container-type: inline-size;
    width: 100%;
    max-width: 620px;
    margin: 0;
    color: #f5f5f5;
    font-family: inherit;
    line-height: 1.45;
}

.tt-reach-newsletter *,
.tt-reach-newsletter *::before,
.tt-reach-newsletter *::after { box-sizing: border-box; }

.tt-reach-newsletter__intro { margin: 0 0 14px; }

.tt-reach-newsletter__intro h2 {
    margin: 0 0 6px !important;
    color: #fff !important;
    font-family: inherit;
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.025em;
}

.tt-reach-newsletter__intro p {
    max-width: 560px;
    margin: 0 !important;
    color: rgba(255,255,255,.68) !important;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
}

.tt-reach-newsletter__form { width: 100%; margin: 0; }

.tt-reach-newsletter__row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 8px;
    align-items: stretch;
}

.tt-reach-newsletter__email { display: block; min-width: 0; margin: 0; }

.tt-reach-newsletter__email input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 44px;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 5px !important;
    outline: none;
    background: rgba(255,255,255,.96) !important;
    color: #171717 !important;
    font-family: inherit;
    font-size: 14px !important;
    box-shadow: none !important;
}

.tt-reach-newsletter__email input::placeholder { color: #747474; opacity: 1; }
.tt-reach-newsletter__email input:focus {
    border-color: var(--tt-reach-accent) !important;
    box-shadow: 0 0 0 3px rgba(123,36,52,.22) !important;
}

.tt-reach-newsletter button[type="submit"] {
    min-width: 118px;
    height: 44px;
    margin: 0 !important;
    padding: 0 17px !important;
    border: 1px solid var(--tt-reach-accent) !important;
    border-radius: 5px !important;
    background: var(--tt-reach-accent) !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: none !important;
    transition: filter .14s ease, transform .14s ease, opacity .14s ease;
}

.tt-reach-newsletter button[type="submit"]:hover { filter: brightness(1.12); transform: translateY(-1px); }
.tt-reach-newsletter button[type="submit"]:disabled { cursor: wait; opacity: .72; transform: none; }

.tt-reach-newsletter__consent {
    display: grid;
    grid-template-columns: 15px minmax(0,1fr);
    gap: 8px;
    align-items: start;
    margin: 9px 0 0;
    color: rgba(255,255,255,.68);
    font-family: inherit;
    font-size: 11px;
    line-height: 1.4;
    cursor: pointer;
}

.tt-reach-newsletter__consent input {
    width: 14px !important;
    height: 14px !important;
    margin: 1px 0 0 !important;
    accent-color: var(--tt-reach-accent);
}

.tt-reach-newsletter__consent a {
    color: rgba(255,255,255,.78) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.tt-reach-newsletter__consent a:hover { color: #fff !important; }

.tt-reach-newsletter__status { min-height: 18px; margin-top: 8px; font-size: 12px; line-height: 1.4; }
.tt-reach-newsletter__status:empty { display: none; }
.tt-reach-newsletter__status.is-success { color: #b6e8c0; }
.tt-reach-newsletter__status.is-error { color: #ffb3b3; }

.tt-reach-newsletter__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.tt-reach-newsletter__admin-warning {
    padding: 10px 12px;
    border-left: 4px solid #d63638;
    background: #fff;
    color: #1d2327;
    font-size: 13px;
}

@media (max-width: 520px) {
    .tt-reach-newsletter__row { grid-template-columns: 1fr; }
    .tt-reach-newsletter button[type="submit"] { width: 100%; }
}

@container (max-width: 380px) {
    .tt-reach-newsletter__row { grid-template-columns: 1fr; }
    .tt-reach-newsletter button[type="submit"] { width: 100%; }
}


/* Native WordPress/JNews widget integration */
.tt-reach-newsletter-widget,
.widget_tt_reach_newsletter_widget {
    min-width: 0;
}

.tt-reach-newsletter-widget .tt-reach-newsletter,
.widget_tt_reach_newsletter_widget .tt-reach-newsletter {
    width: 100%;
    max-width: 100%;
}

.tt-reach-newsletter-widget .tt-reach-newsletter__intro h2,
.widget_tt_reach_newsletter_widget .tt-reach-newsletter__intro h2 {
    overflow-wrap: anywhere;
}

.tt-reach-newsletter--native-widget {
    margin-left: 0;
    margin-right: 0;
}


/* =========================================================
   Native JNews footer widget – compact TT Integrity layout
   ========================================================= */

/*
 * A JNews footerben a plugin natív WordPress-widgetként fut.
 * Ezért itt magát a tényleges widget-wrappert célozzuk, nem
 * egy Elementor-osztályt vagy feltételezett footer-containert.
 */
.tt-reach-newsletter-widget,
.widget_tt_reach_newsletter_widget {
    position: relative;
    width: 100%;
    max-width: 304px;
    margin-left: auto;
    margin-right: 0;
    padding-left: 32px;
    border-left: 1px solid rgba(255,255,255,.14);
}

.tt-reach-newsletter-widget .tt-reach-newsletter,
.widget_tt_reach_newsletter_widget .tt-reach-newsletter {
    width: 100%;
    max-width: 272px;
    margin-left: 0;
    margin-right: 0;
}

.tt-reach-newsletter-widget .tt-reach-newsletter__intro,
.widget_tt_reach_newsletter_widget .tt-reach-newsletter__intro {
    margin-bottom: 11px;
}

.tt-reach-newsletter-widget .tt-reach-newsletter__intro h2,
.widget_tt_reach_newsletter_widget .tt-reach-newsletter__intro h2 {
    margin-bottom: 5px !important;
    font-size: 18px !important;
    line-height: 1.22 !important;
    letter-spacing: -.015em;
}

.tt-reach-newsletter-widget .tt-reach-newsletter__intro p,
.widget_tt_reach_newsletter_widget .tt-reach-newsletter__intro p {
    font-size: 11px !important;
    line-height: 1.45 !important;
}

.tt-reach-newsletter-widget .tt-reach-newsletter__row,
.widget_tt_reach_newsletter_widget .tt-reach-newsletter__row {
    grid-template-columns: 1fr;
    gap: 7px;
}

.tt-reach-newsletter-widget .tt-reach-newsletter__email input,
.widget_tt_reach_newsletter_widget .tt-reach-newsletter__email input {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 11px !important;
    font-size: 11px !important;
}

.tt-reach-newsletter-widget .tt-reach-newsletter button[type="submit"],
.widget_tt_reach_newsletter_widget .tt-reach-newsletter button[type="submit"] {
    width: 100%;
    min-width: 0;
    height: 36px;
    padding: 0 12px !important;
    font-size: 11px !important;
}

.tt-reach-newsletter-widget .tt-reach-newsletter__consent,
.widget_tt_reach_newsletter_widget .tt-reach-newsletter__consent {
    grid-template-columns: 12px minmax(0,1fr);
    gap: 7px;
    margin-top: 8px;
    font-size: 9px;
    line-height: 1.35;
}

.tt-reach-newsletter-widget .tt-reach-newsletter__consent input,
.widget_tt_reach_newsletter_widget .tt-reach-newsletter__consent input {
    width: 11px !important;
    height: 11px !important;
    margin-top: 1px !important;
}

@media (max-width: 767px) {
    .tt-reach-newsletter-widget,
    .widget_tt_reach_newsletter_widget {
        max-width: 420px;
        margin-left: 0;
        padding-top: 28px;
        padding-left: 0;
        border-top: 1px solid rgba(255,255,255,.14);
        border-left: 0;
    }

    .tt-reach-newsletter-widget .tt-reach-newsletter,
    .widget_tt_reach_newsletter_widget .tt-reach-newsletter {
        max-width: 360px;
    }
}
