/*
Theme Name: Avas CERME Child
Theme URI: https://x-theme.net/avas/
Description: Thème enfant du Centre d’Études et de Recherche en Management et Économie.
Author: FSEG - Université de Dschang
Template: avas
Version: 1.0
Text Domain: avas-cerme
*/

:root {
    --cerme-ink: #081936;
    --cerme-ink-2: #102a56;
    --cerme-blue: #123c8c;
    --cerme-green: #246b3f;
    --cerme-green-2: #3b7f4b;
    --cerme-gold: #f2a51a;
    --cerme-orange: #e86f1c;
    --cerme-paper: #f7f8f4;
    --cerme-white: #ffffff;
    --cerme-muted: #667085;
    --cerme-line: rgba(8, 25, 54, .12);
    --cerme-shadow: 0 24px 60px rgba(8, 25, 54, .16);
}

body,
body.elementor-page {
    overflow-x: hidden;
    color: var(--cerme-ink);
    background: var(--cerme-paper);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

#page.tx-wrapper > .row {
    margin-right: 0;
    margin-left: 0;
}

.elementor-page .tx-sub-header,
.elementor-page .sub-header,
.top-header,
.tx-topbar,
.tx_topbar {
    display: none !important;
}

.elementor-page .site-content {
    padding-top: 0;
    padding-bottom: 0;
}

.tx-header,
.tx-header-wrapper,
.tx_sticky,
.main-header.sticky-header,
#h-style-3.sticky-header,
header.site-header {
    border-bottom: 1px solid rgba(255, 255, 255, .16) !important;
    background: rgba(8, 25, 54, .97) !important;
}

.tx-header a,
.tx-header .main-menu > li > a,
.tx-header .menu-item > a,
.tx-header-wrapper a {
    color: rgba(255, 255, 255, .84) !important;
}

.tx-header .main-menu > li > a:hover,
.tx-header .main-menu > li.current-menu-item > a,
.tx-header .main-menu > li.current-menu-ancestor > a {
    color: #fff !important;
}

.main-header.sticky-header a,
.main-header.sticky-header .main-menu > li > a,
#h-style-3.sticky-header a {
    color: rgba(255, 255, 255, .84) !important;
}

.tx-header .sub-menu,
.tx-header .dropdown-menu {
    border-top: 3px solid var(--cerme-gold);
    background: var(--cerme-ink) !important;
}

.tx_logo img {
    width: auto;
    max-width: 245px;
    max-height: 58px;
    padding: 4px;
    border-radius: 7px;
    background: #fff;
    object-fit: contain;
}

.mobile-nav-toggle,
.mobile-nav-toggle .x,
.mobile-nav-toggle i,
.mobile-nav-toggle .tx-res-menu-txt {
    color: #fff !important;
    border-color: rgba(255, 255, 255, .5) !important;
}

.cerme-section {
    padding: 76px 22px;
}

.cerme-section-tight {
    padding-top: 44px;
    padding-bottom: 44px;
}

.cerme-title-section {
    margin-bottom: 24px;
}

.cerme-soft {
    background: var(--cerme-paper);
}

.cerme-white {
    background: var(--cerme-white);
}

.cerme-heading .elementor-heading-title {
    letter-spacing: 0;
}

.cerme-section-title .elementor-heading-title {
    color: var(--cerme-ink);
    font-size: 46px;
    line-height: 1.06;
}

.cerme-card-title .elementor-heading-title {
    color: var(--cerme-ink);
    font-size: 22px;
    line-height: 1.22;
}

.cerme-section-intro {
    max-width: 760px;
    color: var(--cerme-muted);
    font-size: 17px;
    line-height: 1.65;
}

.cerme-eyebrow,
.cerme-eyebrow-dark {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.cerme-eyebrow {
    color: var(--cerme-gold) !important;
}

.cerme-eyebrow-dark {
    color: var(--cerme-green) !important;
}

.cerme-home-hero,
.cerme-page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background-color: var(--cerme-ink);
    background-position: center center !important;
    background-size: cover !important;
}

.cerme-home-hero {
    min-height: 580px;
    display: flex;
    align-items: center;
}

.cerme-home-hero > .elementor-background-overlay,
.cerme-page-hero > .elementor-background-overlay {
    background:
        linear-gradient(90deg, rgba(8, 25, 54, .96) 0%, rgba(8, 25, 54, .84) 52%, rgba(8, 25, 54, .42) 100%) !important;
    opacity: 1 !important;
}

.cerme-page-hero {
    min-height: 390px;
    display: flex;
    align-items: end;
}

.cerme-hero-title .elementor-heading-title {
    max-width: 900px;
    color: #fff;
    font-size: 72px;
    line-height: .98;
}

.cerme-page-hero .cerme-hero-title .elementor-heading-title {
    font-size: 58px;
}

.cerme-hero-copy {
    max-width: 760px;
    color: rgba(255, 255, 255, .86) !important;
    font-size: 20px;
    line-height: 1.6;
}

.cerme-hero-copy p,
.cerme-eyebrow p,
.cerme-eyebrow-dark p {
    margin-bottom: 0;
}

.cerme-hero-logo img {
    width: 86px;
    height: 86px;
    padding: 8px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .96);
    object-fit: contain;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .24);
}

.cerme-button-primary .elementor-button,
.cerme-button-gold .elementor-button,
.cerme-button-ghost .elementor-button,
.cerme-button-link .elementor-button {
    min-height: 46px;
    padding: 13px 18px;
    border-radius: 7px;
    font-weight: 850;
}

.cerme-button-primary .elementor-button {
    background: var(--cerme-blue);
    color: #fff;
}

.cerme-button-gold .elementor-button {
    background: var(--cerme-gold);
    color: var(--cerme-ink);
}

.cerme-button-ghost .elementor-button {
    border: 1px solid rgba(255, 255, 255, .44);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.cerme-button-link .elementor-button {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    color: var(--cerme-blue);
}

.cerme-home-hero .cerme-button-gold {
    margin-right: 12px;
}

.cerme-hero-facts > .elementor-widget-wrap {
    display: grid;
    gap: 12px;
}

.cerme-fact {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 7px;
    background: rgba(255, 255, 255, .12);
    color: #fff !important;
    backdrop-filter: blur(14px);
}

.cerme-fact strong {
    color: #fff;
    font-size: 21px;
}

.cerme-fact p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
}

.cerme-highlight-band {
    padding-top: 24px;
    padding-bottom: 24px;
    background: var(--cerme-ink);
    color: #fff;
}

.cerme-cta .elementor-widget-wrap > .cerme-button-gold {
    margin-bottom: 12px;
}

.cerme-institutional-links .elementor-widget-wrap > .elementor-widget-button {
    margin-right: 12px;
    margin-bottom: 12px;
}

.cerme-highlight-band > .elementor-container {
    align-items: stretch;
    gap: 14px;
}

.cerme-highlight-item {
    width: calc(25% - 10.5px) !important;
    padding: 22px;
    border-left: 3px solid var(--cerme-gold);
    border-radius: 7px;
    background: rgba(255, 255, 255, .07);
}

.cerme-highlight-item .elementor-heading-title,
.cerme-highlight-item .elementor-widget-text-editor {
    color: #fff !important;
}

.cerme-card-grid > .elementor-container,
.cerme-two-columns > .elementor-container,
.cerme-document-row > .elementor-container {
    align-items: stretch;
    gap: 18px;
}

.cerme-card-grid > .elementor-container {
    flex-wrap: wrap;
}

.cerme-card-column {
    width: calc(33.333% - 12px) !important;
}

.cerme-two-columns > .elementor-container > .elementor-column {
    width: calc(50% - 9px) !important;
}

.cerme-card-column > .elementor-widget-wrap,
.cerme-panel-column > .elementor-widget-wrap,
.cerme-list-column > .elementor-widget-wrap {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--cerme-line);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(8, 25, 54, .08);
}

.cerme-card-column:hover > .elementor-widget-wrap {
    border-color: rgba(18, 60, 140, .32);
    box-shadow: var(--cerme-shadow);
    transform: translateY(-3px);
    transition: .2s ease;
}

.cerme-icon-card .elementor-icon,
.cerme-icon-card .elementor-icon i {
    color: var(--cerme-green);
    font-size: 42px;
}

.cerme-icon-card .elementor-icon-box-title {
    color: var(--cerme-ink);
    font-size: 22px;
    line-height: 1.2;
}

.cerme-icon-card .elementor-icon-box-description {
    color: var(--cerme-muted);
    line-height: 1.65;
}

.cerme-icon-list .elementor-icon-list-icon i {
    color: var(--cerme-green);
}

.cerme-icon-list .elementor-icon-list-text {
    color: var(--cerme-ink);
    font-size: 16px;
    line-height: 1.5;
}

.cerme-logo-showcase img {
    width: 100%;
    max-height: 320px;
    padding: 26px;
    border: 1px solid var(--cerme-line);
    border-radius: 7px;
    background: #fff;
    object-fit: contain;
    box-shadow: var(--cerme-shadow);
}

.cerme-stats {
    background: var(--cerme-green);
    color: #fff;
}

.cerme-stats .elementor-counter-number-wrapper {
    color: #d8ff55;
    font-size: 46px;
    font-weight: 900;
}

.cerme-stats .elementor-counter-title {
    color: #fff;
    font-weight: 750;
}

.cerme-unit-band {
    border-top: 5px solid var(--cerme-gold);
}

.cerme-unit-band > .elementor-widget-wrap {
    background: var(--cerme-ink) !important;
}

.cerme-unit-band .elementor-heading-title,
.cerme-unit-band .elementor-widget-text-editor,
.cerme-unit-band .elementor-icon-list-text {
    color: #fff !important;
}

.cerme-unit-band .elementor-icon-list-icon i {
    color: var(--cerme-gold);
}

.cerme-strategy-card > .elementor-widget-wrap {
    border-top: 4px solid var(--cerme-gold);
}

.cerme-conference-row {
    border: 1px solid var(--cerme-line);
    border-left: 5px solid var(--cerme-gold);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(8, 25, 54, .1);
}

.cerme-conference-row > .elementor-container {
    display: grid;
    grid-template-columns: 76px minmax(0, 1.8fr) minmax(180px, .7fr) 170px;
    gap: 20px;
    align-items: center;
}

.cerme-conference-row > .elementor-container > .elementor-column {
    width: 100% !important;
}

.cerme-conference-number .elementor-heading-title {
    color: var(--cerme-orange);
    font-size: 34px;
}

.cerme-status {
    color: var(--cerme-green) !important;
    font-weight: 850;
}

.cerme-document-row {
    padding: 22px;
    border-bottom: 1px solid var(--cerme-line);
    background: #fff;
}

.cerme-document-row:nth-child(even) {
    background: #eef8f1;
}

.cerme-document-row > .elementor-container {
    display: grid;
    grid-template-columns: 64px minmax(0, 1.8fr) minmax(190px, .8fr) 160px;
    align-items: center;
}

.cerme-document-row > .elementor-container > .elementor-column {
    width: 100% !important;
}

.cerme-document-number .elementor-heading-title {
    color: var(--cerme-orange);
    font-size: 26px;
}

.cerme-cta {
    background: var(--cerme-green);
    color: #fff;
}

.cerme-cta .elementor-heading-title,
.cerme-cta .elementor-widget-text-editor {
    color: #fff !important;
}

footer,
.site-footer,
.tx-footer,
.footer_bg,
#footer-top,
#footer {
    background: #061225 !important;
    color: rgba(255, 255, 255, .74) !important;
}

footer a,
.site-footer a,
.tx-footer a,
footer h3,
footer h4 {
    color: #fff !important;
}

footer img[alt="Logo CERME"] {
    border-radius: 7px;
    background: #fff;
}

@media (max-width: 1024px) {
    .cerme-card-grid > .elementor-container,
    .cerme-highlight-band > .elementor-container {
        flex-wrap: wrap;
    }

    .cerme-card-column,
    .cerme-highlight-item {
        width: calc(50% - 9px) !important;
    }

    .cerme-conference-row > .elementor-container,
    .cerme-document-row > .elementor-container {
        grid-template-columns: 60px minmax(0, 1fr) 150px;
    }

    .cerme-conference-row > .elementor-container > .elementor-column:last-child,
    .cerme-document-row > .elementor-container > .elementor-column:last-child {
        grid-column: 2 / 4;
    }
}

.cerme-anchor-section {
    scroll-margin-top: 110px;
}

@media (max-width: 767px) {
    .tx_logo img {
        max-width: min(230px, calc(100vw - 82px));
        max-height: 48px;
    }

    .cerme-section {
        padding: 52px 18px;
    }

    .cerme-title-section {
        margin-bottom: 16px;
    }

    .cerme-home-hero {
        min-height: 600px;
        background-position: 62% center !important;
    }

    .cerme-page-hero {
        min-height: 350px;
    }

    .cerme-home-hero > .elementor-background-overlay,
    .cerme-page-hero > .elementor-background-overlay {
        background: linear-gradient(90deg, rgba(8, 25, 54, .95), rgba(8, 25, 54, .68)) !important;
    }

    .cerme-hero-title .elementor-heading-title,
    .cerme-page-hero .cerme-hero-title .elementor-heading-title {
        font-size: 42px;
    }

    .cerme-section-title .elementor-heading-title {
        font-size: 36px;
    }

    .cerme-hero-copy {
        font-size: 17px;
    }

    .cerme-card-column,
    .cerme-highlight-item,
    .cerme-two-columns > .elementor-container > .elementor-column {
        width: 100% !important;
    }

    .cerme-conference-row > .elementor-container,
    .cerme-document-row > .elementor-container {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 10px 14px;
    }

    .cerme-conference-row > .elementor-container > .elementor-column:nth-child(n + 2),
    .cerme-document-row > .elementor-container > .elementor-column:nth-child(n + 2) {
        grid-column: 2;
    }

    .cerme-conference-row > .elementor-container > .elementor-column:last-child,
    .cerme-document-row > .elementor-container > .elementor-column:last-child {
        grid-column: 2;
    }

    .cerme-home-hero .elementor-widget-button,
    .cerme-cta .elementor-widget-button {
        display: block;
        width: 100%;
    }

    .cerme-home-hero .elementor-button,
    .cerme-cta .elementor-button {
        width: 100%;
    }

    .cerme-home-hero .cerme-button-gold {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .cerme-institutional-links .elementor-widget-wrap > .elementor-widget-button {
        display: block;
        width: 100%;
        margin-right: 0;
    }

    .cerme-institutional-links .elementor-button {
        width: 100%;
    }
}
