/*
Apply any theme variable overwrites that were set via admin theme settings.
Note: This file is a placeholder, it will be automatically/dynamically overwritten from the theme settings.
This will apply to ANY/ALL themes loaded, and before any of the core files are loaded.
*/
/* test overwrite:
:root {
    --link__pri-clr: red;
    --main-background: yellow;
    --font__pri-clr: black;
}*/
/* ===== CARTA DE SERVIÇOS ===== */

/* ===== CATEGORIAS ===== */

/* CONTAINER DAS CATEGORIAS */
.content > .topics {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 35px 60px !important;
    align-items: start !important;
}

/* TELA PRINCIPAL */
.content > .topics:has(a[href*="category=22"]) {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 25px !important;
    flex-wrap: nowrap !important;
}

/* BLOCOS */
.content > .topics > .topics__block {
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
}

/* REMOVE ÍCONES */
.content > .topics .topics__title svg {
    display: none !important;
}

/* TÍTULOS */
.content > .topics .topics__title {
    margin-bottom: 15px !important;
}

/* LINKS */
.content > .topics .topics__title a {
    color:#1e76f7 !important;
    text-decoration: none !important;
    font-weight: bold !important;
    transition: 0.2s !important;
}

/* HOVER */
.content > .topics .topics__title a:hover {
    color: #0d6efd !important;
}

/* BOTÕES PRINCIPAIS */
.content > .topics .topics__title a[href*="category=22"],
.content > .topics .topics__title a[href*="category=23"],
.content > .topics .topics__title a[href*="category=32"] {

    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;

    min-width: 220px !important;
    min-height: 45px !important;

    padding: 10px 18px !important;

    background: #0d6efd !important;
    color: #fff !important;

    border-radius: 6px !important;

    text-align: center !important;
}

/* HOVER BOTÕES */
.content > .topics .topics__title a[href*="category=22"]:hover,
.content > .topics .topics__title a[href*="category=23"]:hover,
.content > .topics .topics__title a[href*="category=32"]:hover {

    background: #0b5ed7 !important;
    color: #fff !important;
}

/* LISTAS DAS SUBCATEGORIAS */
.content > .topics .topics__list {

    display: flex !important;
    flex-direction: column !important;

    gap: 20px !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

/* ITENS DAS SUBCATEGORIAS */
.content > .topics .topics__list li {
    text-align: center !important;
}

/* LINKS DAS SUBCATEGORIAS */
.content > .topics .topics__list li a {

    color: #fff !important;

    text-decoration: none !important;

    font-weight: bold !important;

    transition: 0.2s !important;

    display: inline-block !important;
}

/* HOVER DAS SUBCATEGORIAS */
.content > .topics .topics__list li a:hover {
    color: #0d6efd !important;
}

/* MOBILE */
@media (max-width: 768px) {

    .content > .topics,
    .content > .topics:has(a[href*="category=22"]) {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 18px !important;
        padding: 18px 0 !important;
        width: 100% !important;
    }

    .content > .topics > .topics__block {
        width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }

    .content > .topics > .topics__block > .topics__title {
        width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }

    .content > .topics .topics__title svg {
        display: none !important;
    }

    .content > .topics .topics__title span {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .content > .topics .topics__title a[href*="category=22"],
    .content > .topics .topics__title a[href*="category=23"],
    .content > .topics .topics__title a[href*="category=32"] {
        width: 190px !important;
        min-width: 190px !important;
        max-width: 190px !important;

        min-height: 42px !important;

        display: flex !important;
        justify-content: center !important;
        align-items: center !important;

        padding: 8px 12px !important;

        background: #0d6efd !important;
        color: #fff !important;

        border-radius: 6px !important;

        font-size: 12px !important;
        font-weight: bold !important;
        line-height: 1.2 !important;

        text-align: center !important;
        white-space: normal !important;
        text-decoration: none !important;
    }

    .content > .topics .topics__list {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 14px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .content > .topics .topics__list li {
        width: 100% !important;
        text-align: center !important;
    }

    .content > .topics .topics__list li a {
        display: inline-block !important;
        max-width: 90% !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
}

@media (max-width: 768px) {

    .content > .topics .topics__list {
        align-items: center !important;
    }

    .content > .topics .topics__list li {
        display: flex !important;
        justify-content: center !important;
    }

    .content > .topics .topics__list li a {
        text-align: center !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 768px) {

    .content > .topics {
        text-align: center !important;
    }

    .content > .topics > .topics__block {
        text-align: center !important;
        align-items: center !important;
    }

    .content > .topics .topics__title {
        text-align: center !important;
        width: 100% !important;
    }

    .content > .topics .topics__title span {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }

    .content > .topics .topics__title a {
        display: block !important;
        width: fit-content !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        color: #6ea8fe !important;
    }
}

@media (max-width: 768px) {

    .topics__title svg,
    .topics__list svg,
    .icon-folder {
        display: none !important;
    }

    .topics__title {
        justify-content: center !important;
        padding-left: 0 !important;
    }
}

/* FORÇAR VISUAL MOBILE IGUAL AO DESKTOP */
@media (max-width: 768px) {

    body,
    .cust-help,
    .wrapper,
    .main,
    .main__content {
        background: #13282e !important;
    }

    .content {
        background: #151819 !important;
        padding: 20px !important;
        min-height: auto !important;
    }

    .content > .topics {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 18px !important;
        background: #151819 !important;
        padding: 20px 10px !important;
        min-height: auto !important;
    }

    .content > .topics > .topics__block {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
    }

    .content > .topics .topics__title {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
    }

    .content > .topics .topics__title svg {
        display: none !important;
    }

    .content > .topics .topics__title span {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }

    .content > .topics .topics__title a {
        display: inline-block !important;
        color: #fff !important;
        text-align: center !important;
        text-decoration: none !important;
        font-weight: bold !important;
    }

    .content > .topics .topics__title a[href*="category=22"],
    .content > .topics .topics__title a[href*="category=23"],
    .content > .topics .topics__title a[href*="category=32"] {
        background: #0d6efd !important;
        color: #fff !important;
        border-radius: 6px !important;
        padding: 12px 18px !important;
        width: 220px !important;
        max-width: 90% !important;
    }

    .content > .topics .topics__list {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 14px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .content > .topics .topics__list li {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }

    .content > .topics .topics__list li a {
        display: inline-block !important;
        color: #fff !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
        text-align: center !important;
        max-width: 90% !important;
    }

    .content > .topics .topics__list li a:hover {
        color: #0d6efd !important;
    }
    
    
}