/*
    L'ABCD Edutainment — TEMA ORIGINALE RIPRISTINATO
    Basato sui vecchi colori: Giallo (#FDB930 / #FFA000), Grigio Scuro (#333), Grigio Chiaro (#E1E1E1)
*/

:root {
    --brand-yellow: #FDB930;
    --brand-yellow-light: #ffbc00;
    --brand-yellow-hover: #FFA000;
    --brand-dark: #333333;
    --brand-grey: #7e8184;
    --brand-light-grey: #E1E1E1;
    --text-link: #727272;
}

/* ===============================
   GLOBAL & BACKGROUNDS
================================ */
body {
    background: #ffffff !important;
}

/* Sfondo grigio chiaro per l'area dei contenuti */
.main__content {
    background-color: var(--brand-light-grey) !important;
}

/* Rimuovi i gradienti forzati */
.wrapper, .header, body {
    background-image: none !important;
}

/* ===============================
   HEADER
================================ */
.header {
    background-color: var(--brand-dark) !important;
    border-bottom: 5px solid var(--brand-yellow) !important;
    box-shadow: none !important;
}

.header__logo {
    color: #ffffff !important;
}

/* ===============================
   TYPOGRAPHY & LINKS
================================ */
h1, h2, h3, .search__title, .select__title {
    color: var(--brand-dark) !important;
}

a, .link, .breadcrumbs__inner a, .topics__list a {
    color: var(--text-link) !important;
}

a:hover, .link:hover, .breadcrumbs__inner a:hover, .topics__list a:hover {
    color: var(--brand-yellow-hover) !important;
    text-decoration: none !important;
}

/* ===============================
   BUTTONS (Squadrati e Gialli)
================================ */
.btn {
    border-radius: 0 !important; /* Rimuove arrotondamenti di HESK 3 */
    font-weight: 600;
    transition: all .2s ease;
}

.btn-full, .btn--blue-border, .btn-banner {
    background-color: var(--brand-yellow-light) !important;
    color: var(--brand-dark) !important;
    border: none !important;
    background-image: none !important;
}

.btn-full:hover, .btn--blue-border:hover, .btn-banner:hover {
    background-color: var(--brand-yellow-hover) !important;
    color: var(--brand-dark) !important;
}

/* ===============================
   SEARCH BAR
================================ */

.search__form {
    display:none !important;
    background-color: var(--brand-light-grey) !important;
}

.search__form .form-group input {
        display:none !important;
    border: none !important;
    border-radius: 0 !important;
}

.search__form .icon-search {
    fill: var(--brand-dark) !important;
}

/* ===============================
   KNOWLEDGEBASE / ARTICLES
================================ */
.article .block__head {
    background-color: var(--brand-grey) !important;
    border-bottom: 5px solid var(--brand-yellow) !important;
    color: #fff !important;
}

.tabbed__head {
    border-bottom: 2px solid var(--brand-yellow) !important;
    padding-bottom: 20px;
}

.tabbed__head .tabbed__head_tabs li.current {
    border-bottom-color: var(--brand-yellow) !important;
    background-color: var(--brand-grey) !important;
    color: #fff !important;
}

.tabbed__head .tabbed__head_tabs li:not(.current):hover {
    background-color: var(--text-link) !important;
    color: #fff !important;
    border-bottom: 2px solid var(--brand-dark) !important;
}

/* ===============================
   TICKET CATEGORY BOXES (Navlinks)
================================ */
.navlink {
    background-color: var(--brand-light-grey) !important;
    color: #000 !important;
    border-bottom: 1px solid #b3b3b3 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transition: transform 0.15s cubic-bezier(0.29, 0.73, 0.74, 1.02) !important;
}

.navlink:hover {
    background-color: var(--brand-yellow-hover) !important;
    transform: translatey(-2%);
}

.navlink .navlink__title {
    color: #000 !important;
}


.icon-in-circle {
    background-color: var(--brand-dark) !important;
    border-radius: 50%;
}

.icon-in-circle .icon {
    fill: #fff !important;
}

.navlink:hover .icon-in-circle {
    background-color: solid #333 !important;
    border: 1px solid #333 !important;
    animation: flip-horizontal-bottom 0.4s cubic-bezier(0.455, 0.030, 0.515, 0.955);
}

.navlink:hover .icon-chevron-right {
    fill: var(--brand-dark) !important;
}

/* Animazione che avevi creato tu */
@keyframes flip-horizontal-bottom {
    0% { transform: rotateX(0); }
    100% { transform: rotateX(-180deg); }
}

/* ===============================
   INPUTS E TEXTAREA (Senza bordi, solo riga sotto)
================================ */
.form input.form-control, 
.form textarea.form-control,
.selectize-input {
    border: 0 !important;
    border-bottom: solid 1px #b3b3b3 !important;
    border-radius: 0 !important;
    background-color: #fff !important;
    color: #292929 !important;
}

.form input.form-control:focus, 
.form textarea.form-control:focus,
.selectize-input.focus {
    border-bottom: solid 1px var(--brand-dark) !important;
    box-shadow: none !important;
}

/* ===============================
   TICKET BODY & FORMS
================================ */
.form-submit-ticket, .ticket__body_block, .ticket__params .params--block {
    border-radius: 0 !important;
    box-shadow: none !important;
    max-width: 570px;
    margin: 0 auto;
}

.ticket__body_block.response {
    background-color: #f8fffc !important;
}

/* Override colori select/dropdown priority */
.dropdown .icon-chevron-down, .with-label .icon-chevron-down {
    fill: var(--brand-dark) !important;
}