/* =====================================================================
   CN IT 70. kör – egységes magenta gradient
   #ce1862 → #d93f7e, 135°
   Teljes visszaállítás: .env  FEATURE_CNIT_GRADIENT=false
   (ekkor ez a fájl nem töltődik be; a style.css érintetlen)
   ===================================================================== */
:root {
    --cnit-gradient: linear-gradient(135deg, #ce1862 0%, #d93f7e 100%);
    --cnit-hover-shade: 168, 18, 79; /* #a8124f */
}

/* ---------- 1. Felületek ---------- */
.bg-theme,
.bg-theme-middle,
.bg-grad-h,
.bg-grad-h2,
.cnit-topbar {
    background-color: #ce1862 !important;
    background-image: var(--cnit-gradient) !important;
}

/* ---------- 2. Gombok: gradient + sima (0,4 s) sötétedés hoverre ----------
   A sötétedés egy belső árnyék-réteg (inset box-shadow), ez a gradient fölött,
   a szöveg alatt áttűnik – nincs szükség extra elemre. */
.btn-theme,
.cn-consent-btn,
.cnit-header-search-btn {
    background-color: #ce1862 !important;
    background-image: var(--cnit-gradient) !important;
    box-shadow: inset 0 0 0 100vmax rgba(var(--cnit-hover-shade), 0) !important;
    transition: box-shadow ease-in-out .4s, color ease-in-out .4s, border-color ease-in-out .4s !important;
}
.btn-theme:hover,
.btn-theme:focus-visible,
.btn-theme:active,
.cn-consent-btn:hover,
.cn-consent-btn:focus-visible,
.cn-consent-btn:active,
.cnit-header-search-btn:hover,
.cnit-header-search-btn:focus-visible,
.cnit-header-search-btn:active {
    background-color: #ce1862 !important;
    background-image: var(--cnit-gradient) !important;
    box-shadow: inset 0 0 0 100vmax rgba(var(--cnit-hover-shade), 1) !important;
    color: #fff !important;
}
/* kattintás után (fókusz, de nem billentyűzetes) maradjon a gradient */
.btn-theme:focus:not(:focus-visible):not(:hover):not(:active) {
    background-image: var(--cnit-gradient) !important;
    box-shadow: inset 0 0 0 100vmax rgba(var(--cnit-hover-shade), 0) !important;
}
.btn-theme:disabled,
.btn-theme.disabled {
    box-shadow: none !important;
}

/* ---------- 3. Megamenü-fül: gradient, hoverre sem vált (r50) ---------- */
.cnit-header-nav .navbar-category-dropdown .dropdown-toggle,
.cnit-header-nav .navbar-category-dropdown .dropdown-toggle:hover,
.cnit-header-nav .navbar-category-dropdown .dropdown-toggle:focus,
.cnit-header-nav .navbar-category-dropdown .dropdown-toggle.show {
    background-color: #ce1862 !important;
    background-image: var(--cnit-gradient) !important;
}
