@font-face {
    font-family: "TimesNewRoman";
    src: url("../fonts/times.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #D87A56;
    --secondary-color: #404040;
    --background: #F8F8F8;
    --font-black: #000;
    --font-white: rgba(255, 255, 255, 0.80);
    --font-grey: #6B7173;
    --Grey-Light: #CDCDCD;
    --Grey-dark: #767272;
    --bg-white: #FFF;
    --dark-orange: #B35C3B;
    --Foundation-Grey-grey-300: #7F7F7F;
    --Black-secondary: #1D1D1B;
    --light-orange: #FFE7DB;
    --Grey-BG-label: #E3E3E3;
    --container-gutter: calc((100vw - 1380px) / 2 + 12px);
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--background);
}

body>main {
    flex: 1 0 auto;
}

body>footer {
    flex-shrink: 0;
}

.container {
    max-width: 1380px;
}

.section {
    padding-top: 48px;
    padding-bottom: 48px;
}

.section-40 {
    padding-top: 40px;
    padding-bottom: 40px;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

p {
    color: var(--font-black);
    leading-trim: both;
    text-edge: cap;
    font-family: Arial;
    font-size: clamp(16px, 1.2vw, 18px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

img {
    border-radius: 8px;
}

.head {
    color: var(--primary-color);
    leading-trim: both;
    text-edge: cap;
    font-family: "TimesNewRoman";
    font-size: clamp(38px, 5vw, 56px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    position: relative;
    text-align: center;
    margin: 0;
}

h1 .heading-star {
    display: inline-flex;
    align-items: flex-start;
    vertical-align: super;
}

h2 .heading-star {
    display: inline-flex;
    align-items: flex-start;
    vertical-align: super;
}

h2 {
    color: var(--primary-color);
    leading-trim: both;
    text-edge: cap;
    font-family: "TimesNewRoman";
    font-size: clamp(32px, 4.5vw, 56px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

h3 {
    color: var(--Black-principal, #000);
    leading-trim: both;
    text-edge: cap;
    font-family: "TimesNewRoman";
    font-size: clamp(28px, 2.5vw, 32px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

label {
    color: var(--font-black);
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.input-group-text {
    background-color: var(--bg-white);
}



/* Navbar */
.navbar {
    background-color: var(--bg-white);
    padding-top: 7px;
    padding-bottom: 7px;
}

.navbar-nav .nav-item:first-child {
    margin-right: 4px;
}

.navbar-brand span {
    color: var(--font-black);
    font-family: "TimesNewRoman";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    /* 24px */
}

@media screen and (max-width:992px) {
    .navbar-brand img {
        max-width: 120px;
    }

    .navbar-nav .nav-item:first-child {
        margin-right: 0px;
    }
}

@media screen and (max-width:768px) {
    .navbar-brand span {
        font-size: 18px;
    }
}

@media screen and (max-width:390px) {
    .navbar-brand img {
        max-width: 110px;
    }
}

.search-group .form-control {
    border-right: 0;
}

.search-group .form-control,
.search-group .input-group-text {
    border-color: var(--Grey-Light);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: none;
}

.search-group .form-control:focus+.input-group-text {
    border-color: var(--primary-color);
}

.navbar-nav .nav-item:nth-child(2) .input-group-text {
    color: #6B7173;
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 21px */
    text-decoration-line: underline;
}

.navbar-nav .nav-item:nth-child(2) .input-group-text:active {
    border-color: var(--primary-color);
}

.btn-primary {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 4px;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--bg-white);
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width:768px) {
    .btn-primary {
        height: 46px;
    }
}

.btn-primary:hover {
    background-color: var(--dark-orange);
    border-color: var(--primary-color);
}

.btn-secondary {
    padding: 0 !important;
    background-color: transparent !important;
    border: 0 !important;
}

.dropdown-toggle {
    background-color: transparent !important;
    padding: 0 !important;
    border: 0 !important;
}

.btn-secondary:hover {
    background-color: transparent !important;
}

.btn-secondary:active {
    background-color: transparent !important;
}

.btn-secondary::after {
    display: none;
}

.btn-secondary.show svg path {
    stroke: var(--primary-color);
}

.nav-dropdown-flex {
    gap: 18px;
}

@media screen and (max-width:992px) {
    .navbar-nav {
        gap: 18px;
        margin-bottom: 14px !important;
    }

    .nav-dropdown-flex {
        margin-bottom: 14px;
    }

    .navbar-nav .nav-item:nth-child(2) .input-group-text {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

.dropdown-menu[data-bs-popper] {
    top: 42px;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0 4px 34px 0 rgba(0, 0, 0, 0.12);
    border: 0;
}

.search-group {
    height: 100%;
}

@media screen and (max-width:391px) {
    .search-group {
        margin-top: 4px;
    }
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: transparent;
    text-decoration: underline;
}

.dropdown-item.active,
.dropdown-item:active {
    color: var(--font-black);
    text-decoration: underline;
    background-color: transparent;
}

.nav-links__content {
    color: var(--blanc-80, rgba(255, 255, 255, 0.80));
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.nav-links-menu__main {
    background-color: var(--dark-orange);
}

.nav-links-menu {
    background-color: var(--dark-orange);
    padding-top: 14px;
    padding-bottom: 14px;
    overflow-x: auto;
    /* only horizontal scroll */
    overflow-y: hidden;
    /* prevent vertical scroll */
}

.nav-links-menu .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-width: max-content;
}

.nav-links-menu .nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

@media screen and (max-width:768px) {
    .nav-links-menu .nav-links {
        flex-wrap: wrap;
    }
}

.nav-links-menu a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s ease-in-out;
}

.nav-links-menu a:hover {
    color: var(--Grey-Light);
}

.nav-border {
    height: 4px;
    background: linear-gradient(to right,
            #E8E7E7 0px, #E8E7E7 80px,
            #000000 80px, #000000 160px,
            #D87A56 160px, #D87A56 240px,
            #E8E7E7 240px, #E8E7E7 320px,
            #000000 320px, #000000 480px,
            #D87A56 480px, #D87A56 640px,
            #E8E7E7 640px, #E8E7E7 880px,
            #000000 880px, #000000 1260px,
            #D87A56 960px);
    background-repeat: no-repeat;
}

.mobile-border {
    margin-top: 66px;
}

.navbar-toggler {
    border: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ─── MOBILE FULL-SCREEN MENU ─── */
@media (max-width: 991.98px) {
    #navbarSupportedContent {
        display: block !important;
    }

    #navbarSupportedContent .nav-dropdown-flex {
        display: none !important;
    }
}

#mobileMenu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: linear-gradient(to bottom, transparent 66px, var(--dark-orange, #D87A56) 66px);
    flex-direction: column;
}

#mobileMenu.open {
    display: flex;
}

.mobile-menu__close {
    position: absolute;
    top: 0;
    right: 12px;
    height: 80px;
    display: none;
    align-items: center;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

#mobileMenu.open .mobile-menu__close {
    display: flex;
}

/* Hide hamburger when menu is open */
#mobileMenu.open~* .navbar-toggler-mobile,
body.menu-open .navbar-toggler-mobile {
    display: none !important;
}

.mobile-menu__close svg {
    display: block;
}

.mobile-menu__body {
    margin-top: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 4px 24px 24px;
    gap: 0;
    overflow-y: auto;
}

.mobile-menu__heading {
    color: #fff;
    font-family: "TimesNewRoman", serif;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-menu__heading span.plus {
    font-size: 22px;
    font-family: Arial, sans-serif;
}

.mobile-menu__group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu__group a {
    color: rgba(255, 255, 255, 0.9);
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.mobile-menu__group a:hover {
    color: #fff;
}

.mobile-menu__divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 8px 0 8px;
}

/* Bottom icon bar */
.mobile-menu__footer {
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background-color: var(--dark-orange, #D87A56);
}

.mobile-menu__footer button {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu__footer button svg path {
    stroke: rgba(255, 255, 255, 0.85);
}

.mobile-menu__footer button:hover svg path {
    stroke: #fff;
}

@media (max-width: 991.98px) {
    .navbar-toggler-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Hide the original Bootstrap toggler */
    .navbar-toggler {
        display: none !important;
    }
}

@media (min-width: 992px) {

    #mobileMenu,
    #mobileMenu.open {
        display: none !important;
    }

    .navbar-toggler-mobile {
        display: none !important;
    }
}

/* Login */
.login {
    padding-top: 108px;
    padding-bottom: 144px;
}

@media screen and (max-width:768px) {
    .login {
        padding-top: 88px;
        padding-bottom: 104px;
    }
}

.login-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login-page h1 {
    text-align: center;
    color: var(--primary-color);
    font-family: "TimesNewRoman";
}

.form-section {
    max-width: 450px;
    margin: 0 auto;
}

.form-section .form-control {
    border-radius: 6px;
    background: var(--Blanc-Principal, #FFF);
    padding: 8px 16px;
}

.form-section .form-control::placeholder {
    color: var(--font-black);
}

.form-margin {
    margin-top: 64px;
}

.form-section label {
    color: var(--font-black);
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 24px */
    margin-bottom: 16px;
}

.form-check-input:focus {
    border-color: var(--dark-orange);
    outline: 0;
    box-shadow: none;
}

.form-check-input:checked {
    background-color: var(--dark-orange);
    border-color: var(--dark-orange);
}

.form-section a {
    color: var(--font-grey);
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    text-transform: uppercase;
    text-align: center;
    display: block;
    margin-top: 16px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding-top: 24px;
    padding-bottom: 24px;
}

.footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logos img {
    border-radius: 0;
}

.footer-up-btn {
    background-color: var(--bg-white);
    height: 62px;
    width: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--Foundation-Grey-grey-300);
    border-radius: 40px;
    transition: 0.2s ease-in-out;
}

.footer-up-btn:hover {
    background-color: var(--Grey-Light);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

@media screen and (max-width:768px) {
    .footer-links {
        flex-direction: column;
    }
}

.footer-links a {
    color: var(--Grey-Light);
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-links-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    margin-bottom: 12px;
    gap: 34px;
}

@media screen and (max-width:992px) {
    .footer-logos img {
        max-width: 140px;
    }
}

@media screen and (max-width:768px) {
    .footer-up-btn {
        display: none;
    }

    .footer-logos {
        flex-direction: column;
        justify-content: center;
    }

    .footer-flex {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-links-flex {
        flex-direction: column;
        margin-top: 34px;
    }

    .footer-social-links {
        gap: 12px;
    }
}

/* Home Page Start */
.home-heading {
    background-color: var(--background);
    padding-top: 40px;
    padding-bottom: 40px;
}

.home-heading h1 {
    font-size: clamp(32px, 4vw, 40px);
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    color: var(--font-black);
    text-align: start;
    /* 40px */
}

.home-heading h1 span {
    font-weight: 400;
}

.btn-voir {
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 100px;
    background: var(--Black-secondary);
    padding: clamp(7px, 1.5vw, 12px) clamp(12px, 2vw, 21px);
    color: var(--bg-white);
    leading-trim: both;
    text-edge: cap;
    font-family: Arial;
    font-size: clamp(16px, 1.5vw, 20px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border: 1px solid var(--font-black);
    transition: 0.2s ease-in-out;
}

.btn-voir:hover {
    background-color: var(--dark-orange);
    border-color: var(--dark-orange);
}

.subhead-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

@media screen and (max-width:768px) {
    .home-heading h1 {
        text-align: center;
    }

    .carousel img {
        min-height: 300px;
        object-fit: cover;
        border-radius: 0;
    }
}

.carousel-control-prev {
    position: absolute !important;
    bottom: 12px !important;
    right: 62px !important;
    left: unset;
    top: unset;
    width: fit-content;
    height: fit-content;
}

.carousel-control-next {
    position: absolute !important;
    bottom: 12px !important;
    right: 22px !important;
    left: unset;
    top: unset;
    width: fit-content;
    height: fit-content;
}

.carousel-btn {
    width: 32px;
    height: 32px;
    border-radius: 100px;
    background: var(--Black-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.hero-banner {
    padding: 16px 96px 16px 16px;
    background: rgba(255, 255, 255, 0.80);
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: 0.2s ease-in-out;
}

.carousel:hover .hero-banner {
    opacity: 1;
}

.hero-card {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 20px;
}

.hero-card img {
    width: 100%;
}

.hero-card-flex {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--font-grey);
    color: var(--font-grey);
    leading-trim: both;
    text-edge: cap;
    font-family: Arial;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin-top: -4px;
}

.hero-card-date {
    color: var(--dark-orange);
    leading-trim: both;
    text-edge: cap;
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.grid-content {
    padding-top: 24px;
    padding-bottom: 24px;
}

.heading-sub {
    color: var(--Grey-dark);
    leading-trim: both;
    text-edge: cap;
    font-family: Arial;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Slider */
/* Nav arrows */
.slider-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .slider-nav {
        padding-right: 20px;
    }
}

.nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}


/* Swiper */
.swiper {
    overflow: hidden;
    padding-bottom: 92px;
    padding-right: 44px;
}

/* Cards */
.period-card {
    cursor: pointer;
}

.period-card img {
    width: 100%;
    height: 248px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    margin-bottom: 12px;
    transition: opacity 0.2s;
    border-radius: 8px;
}

.period-card:hover img {
    opacity: 0.85;
}

.period-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.period-name {
    color: var(--font-black);
    leading-trim: both;
    text-edge: cap;
    font-family: "TimesNewRoman";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.period-link {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.period-card:hover .period-link {
    background: #c9601c;
}

.period-dates {
    color: #767272;
    leading-trim: both;
    text-edge: cap;
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.swiper-wrapper {
    margin-left: 16px;
}

/* Homepage Recherche */
.homepage {
    background-color: var(--bg-white);
}

.body-flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rubriques-section {
    background-color: var(--light-orange);
    padding: 20px;
    margin-bottom: 24px;
    border-radius: 4px;
}

.rubriques-section p {
    color: var(--font-black);
    font-family: Arial;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 16px;
}

.rubriques-section h3 {
    color: var(--font-black);
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 27px */
    margin-bottom: 16px;
}

.nav-tabs-form {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 6px;
}

.media-types {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-tabs-custom {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mb-20 {
    margin-bottom: 20px;
}

.form-check-input {
    width: 16px;
    height: 16px;
    margin-top: 0.15em;
    border: 2px solid #d1d1d1;
    background-color: white;
    border-radius: 50% !important;
}

.form-select:focus,
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
    color: var(--font-black);
}

/* Date Input Group */
.date-range-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.date-range-group .form-control {
    flex: 1;
}

.date-input-wrapper {
    position: relative;
    flex: 1;
}

@media screen and (max-width:768px) {
    .date-input-wrapper {
        width: 100%;
    }
}

.date-input-wrapper .calendar-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Make date input cursor pointer */
.date-picker {
    cursor: pointer;
}

.date-picker:focus {
    cursor: text;
}

.keyword-input-group {
    width: 100%;
    display: flex;
    gap: 24px;
}

.keyword-input-wrapper {
    width: 100%;
}

@media (max-width: 768px) {
    .keyword-input-group {
        flex-direction: column;
    }
}

.keyword-tag {
    display: inline-flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background-color: var(--light-orange);
    border-radius: 100px;
    color: var(--font-black);
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.keyword-tag .remove-tag {
    color: var(--font-black);
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    background-color: transparent;
    border: 0;
}

.keyword-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.searchForm-section .container {
    max-width: 946px;
}

.form-check-label {
    color: var(--font-black);
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    cursor: pointer;
}

/* Recgercge Avancee result */
.results-bar {
    background: var(--bg-white);
    padding: 40px 0;
}

.results-count {
    color: var(--font-black);
    font-family: Arial;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    /* 20px */
    letter-spacing: -0.6px;
}

.pills-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 8px 16px;
    border-radius: 100px;
    background-color: var(--Grey-BG-label);
    border: 1px solid var(--Grey-BG-label);
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    color: var(--font-black);
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.filter-pill:hover {
    background: var(--light-orange);
    color: var(--text);
}

.filter-pill.active {
    background: var(--font-black);
    color: var(--bg-white);
    border-color: var(--font-black);
    font-weight: 400;
}

.filter-bar {
    background: var(--light-orange);
    padding: 32px 0;
}

.filter-label {
    color: var(--font-black);
    font-family: "TimesNewRoman";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -0.72px;
}

.filter-selects-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-selects-row__content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-select {
    appearance: none;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 6px;
    padding: 8px 16px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    width: 172px;
    flex-shrink: 0;
    color: var(--secondary-color);
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 24px */
}

.filter-select:focus {
    outline: none;
    border-color: var(--font-black);
}

.filter-selects-row__flex {
    display: flex;
    align-items: center;
    gap: 16px;
}

@media screen and (max-width:1024px) {
    .filter-selects-row__flex {
        flex-direction: column;
        align-items: start;
        width: 100%;
    }

    .filter-selects-row__content {
        width: 100%;
    }

    .filter-selects-row__content>* {
        flex: 1;
        /* equal width */
    }

    .filter-select {
        max-width: 100%;
    }
}

.search-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    width: 100%;
    max-width: 325px;
}

.search-input {
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 16px;
    background: var(--bg-white);
    transition: 0.2s ease-in-out;
    width: 100%;
    max-width: 325px;
    color: var(--secondary-color);
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 24px */
}

.search-input:focus {
    outline: none;
    border-color: #999;
}

.search-icon {
    position: absolute;
    right: 11px;
    color: var(--muted);
    font-size: 0.85rem;
    pointer-events: none;
}

@media (max-width: 576px) {
    .search-wrapper {
        margin-left: 0;
        width: 100%;
    }

    .search-input {
        width: 100%;
    }
}




.gallery-section {
    padding: 49px 0 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 32px;
    row-gap: 40px;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}


.gallery-card {
    position: relative;
    cursor: pointer;
}


.gallery-card__thumb-wrap {
    overflow: hidden;
    border-radius: 10px;
}

.gallery-card__thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: 0.2s ease-in-out;
}

.gallery-card-relative {
    position: relative;
}

/* Ref label below image */
.gallery-card__ref {
    display: block;
    margin-top: 16px;
    color: var(--font-black);
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 119%;
}

/* ── Hover overlay panel — pure CSS ── */
.gallery-card__overlay {
    position: absolute;
    inset: 0 0 auto 0;
    /* sits over the image */
    background: var(--light-orange);
    border-radius: 8px;
    padding: 24px 35px 24px 24px;
    z-index: 20;

    /* hidden state */
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease-in-out;
    height: 100%;
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: space-between;
}

/* show on hover — pure CSS, no JS */
.gallery-card:hover .gallery-card__overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* overlay internals */
.overlay-icon {
    border-radius: 4px;
    background: var(--primary-color);
    margin-bottom: 9px;
    flex-shrink: 0;
    display: flex;
    width: 42px;
    height: 40px;
    padding: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.overlay-icon i {
    color: #fff;
    font-size: 0.95rem;
}

.overlay-title {
    color: var(--font-black);
    font-family: "TimesNewRoman";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 119%;
}

.overlay-tag {
    display: inline-block;
    background: transparent;
    text-transform: uppercase;
    padding: 2px 12px;
    margin-left: 5px;
    vertical-align: middle;
    border-radius: 4px;
    border: 1px solid var(--font-black);
    color: var(--Black-secondary);
    text-align: center;
    font-family: Arial;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%;
}

.overlay-desc {
    margin: 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--secondary-color);
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.overlay-year {
    color: var(--primary-color);
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%;
}

/* hidden by filter */
.gallery-card[hidden] {
    display: none;
}

/* empty state */
.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 52px 0;
    color: var(--muted);
    font-size: 0.95rem;
    display: none;
}

.gallery-empty.show {
    display: block;
}


/* Album Grid CSS */
.album-grid-wrapper {
    max-width: 456px;
}

.album-grid-wrapper .search-input {
    max-width: 456px;
}

@media screen and (max-width:1024px) {

    .album-grid-wrapper .search-input,
    .search-input {
        max-width: 100%;
    }

    .album-grid-wrapper,
    .search-wrapper {
        max-width: 100%;
    }
}

.album-card p {
    color: var(--secondary-color);
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    margin-top: 8px;
    margin-bottom: 24px;
    /* 19.6px */
}

.album-card h3 {
    margin-top: 24px;
}

.album-card .btn-discover {
    color: var(--bg-white);
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    border-radius: 4px;
    background: var(--primary-color);
    padding: 8px 16px;
    text-decoration: none;
    transition: 0.2s ease-in-out;
}

.album-card .btn-discover:hover {
    background-color: var(--dark-orange);
}

.album-card-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    height: 100%;
}

.album-card img {
    width: 100%;
    aspect-ratio: 544 / 390;
    object-fit: cover;
    border-radius: 10px;
    max-height: 390px;
}

@media screen and (max-width:768px) {
    .album-card img {
        width: 100%;
        max-height: 340px;
    }
}

.albums-head {
    background: var(--primary-color);
}

.albums-head h2 {
    color: var(--bg-white);
}

.album-section {
    padding-bottom: 51px;
}

.back-btn {
    color: var(--blanc-80, rgba(255, 255, 255, 0.80));
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    text-transform: uppercase;
    padding: 0;
    background-color: transparent;
    border: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s ease-in-out;
}

.back-btn:hover {
    opacity: 0.8;
}

.albums-head .back-btn {
    margin-bottom: 32px;
}

.albums-head-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.albums-head-content p {
    color: var(--blanc-80, rgba(255, 255, 255, 0.80));
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    max-width: 959px;
    /* 22.4px */
}

.albums-head-content__links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.albums-link-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--bg-white);
    text-align: justify;
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    transition: 0.2s ease-in-out;
}

.albums-link-btn:hover {
    opacity: 0.8;
}

.albums-link-btn svg {
    margin-bottom: 2px;
}

.media-no {
    color: var(--bg-white);
    font-family: Arial;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -0.6px;
}

.album-single-grid .gallery-card__thumb {
    height: 266px;
}

/* Media Image Single */
/* ── LEFT COLUMN ── */
.main-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #000;
    border-radius: 0;
}

.album-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.album-bar-card {
    padding: clamp(16px, 4vw, 24px) clamp(24px, 6vw, 75px) clamp(16px, 4vw, 24px) max(12px, var(--container-gutter));
    max-width: 880px;
}

.album-bar span {
    color: var(--primary-color);
    font-family: "TimesNewRoman";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 119%;
    /* 23.8px */
}

.thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.thumbs img {
    width: clamp(80px, 20vw, 167px);
    height: clamp(65px, 16vw, 135px);
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s;
}

.thumbs img:hover,
.thumbs img.active {
    border-color: #c0392b;
}

/* ── RIGHT COLUMN ── */
.ref-title {
    color: var(--font-black);
    font-family: Arial;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    /* 20px */
    letter-spacing: -0.6px;
}

.share-link {
    color: var(--primary-color);
    text-align: justify;
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    display: flex;
    align-items: center;
    gap: 4px;
}

.share-link:hover {
    opacity: 0.8;
}

.description {
    color: var(--font-black);
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    margin-top: 13px;
    /* 22.4px */
}

.meta-label {
    color: var(--font-black);
    font-family: "TimesNewRoman";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 119%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-value {
    color: var(--Black-secondary);
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    display: inline-block;
    margin-top: 8px;
    /* 19.6px */
}

.meta-flex {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.tag-flex {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.tag {
    display: flex;
    padding: 6px 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--Black-secondary);
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 119%;
    /* 16.66px */
    border-radius: 22px;
    background: var(--Grey-BG-label);
}

.btn-media {
    display: flex;
    width: fit-content;
    height: 40px;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    color: var(--bg-white);
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    border-radius: 4px;
    background: var(--primary-color);
    border: 0;
    transition: 0.2s ease-in-out;
}

.btn-media:hover {
    background-color: var(--dark-orange);
}

.btn-media-flex {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 34px;
}

.media-content-card {
    padding: clamp(24px, 5vw, 50px) max(12px, var(--container-gutter)) clamp(24px, 5vw, 50px) clamp(16px, 3vw, 32px);
}

@media screen and (max-width:768px) {
    .media-content-card {
        padding-right: 16px;
    }
}

.media-content-card .rubriques-section {
    border-radius: 10px;
    background: var(--Grey-BG-label);
}

.rubriques-section .btn-media {
    width: 100%;
    margin-top: 28px;
}

#mainVideo.main-img {
    width: 100%;
    display: block;
    background: #000;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.thumb-video-wrap {
    width: fit-content;
}

.card-year {
    color: var(--primary-color);
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%;
    display: inline-block;
    margin-bottom: 24px;
    /* 18.9px */
}

.head-content-location {
    display: flex;
    align-items: center;
    gap: 4px;
}

.head-content-location span {
    color: rgba(255, 255, 255, 0.80);
    text-align: justify;
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%;
    /* 18.9px */
}

.gap-custom {
    gap: 18px;
}

/* Pagination */
/* Reset Bootstrap pagination base */
.pagination {
    --bs-pagination-border-color: transparent;
    --bs-pagination-hover-border-color: transparent;
    --bs-pagination-focus-box-shadow: none;
}

/* All page links */
.pagination .page-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    border: none;
    padding: 0;
    transition: background .15s;
    color: var(--font-black);
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

.pagination .page-link:hover {
    background: #f0f0f0;
    color: #222;
}

/* Active page */
.pagination .page-item.active .page-link {
    background: #1a1a1a;
    color: #fff;
    border-radius: 8px !important;
}

.pagination .page-link.nav-arrow {
    background: #f0f0f0;
    font-size: 20px;
    color: rgba(0, 0, 0, 0.60);
    border-radius: 8px !important;
}

.pagination .page-link.nav-arrow:hover {
    background: #e0e0e0;
}

/* Dots */
.pagination .dots span {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--font-black);
}

.pagination .page-item.arrow-prev {
    margin-right: 100px;
}

.pagination .page-item.arrow-next {
    margin-left: 100px;
}

@media (max-width: 768px) {
    .pagination .page-item.arrow-prev {
        margin-right: 30px;
    }

    .pagination .page-item.arrow-next {
        margin-left: 30px;
    }

    .pagination .page-link {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 576px) {
    .pagination .page-item.arrow-prev {
        margin-right: 0px;
    }

    .pagination .page-item.arrow-next {
        margin-left: 0px;
    }
}

/* Perdiode Single */
/* ── Hero image col ── */
.hero-img-col {
    padding: 0;
    overflow: hidden;
    background: #1a1a1a;
    aspect-ratio: 445 / 246;
}

.hero-content-col h2 {
    color: var(--bg-white);
    margin-bottom: 12px;
}

.hero-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .85;
    display: block;
    border-radius: 0;
}

/* ── Hero content col ── */
.hero-content-col {
    background: #c96a4a;
    padding: 40px 32px;
    color: #fff;
    /* Match the image height exactly */
    aspect-ratio: unset;
    overflow: hidden;
}

@media (min-width: 768px) {

    .row.gx-0 {
        align-items: stretch;
    }

    .hero-img-col {
        aspect-ratio: 445 / 246;
    }

    .hero-content-col {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hero-content-col {
        padding: 24px 20px;
    }

    .hero-img-col {
        aspect-ratio: 445 / 246;
        width: 100%;
    }
}

.hero-range {
    color: var(--bg-white);
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    display: inline-block;
    margin-bottom: 12px;
    /* 19.6px */
}

.hero-desc {
    color: rgba(255, 255, 255, 0.80);
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    /* 22.4px */
    /* Clamp to 4 lines then ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 849px;
}

/* ── Period slider ── */
.period-section {
    position: relative;
    background: #f5ede8;
    user-select: none;
}

.period-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.period-track::-webkit-scrollbar {
    display: none;
}

.period-item {
    flex: 0 0 auto;
    min-width: 225px;
    padding: 12px 24px;
    cursor: pointer;
    border-right: 1px solid var(--bg-white);
    transition: background .2s;
    background-color: var(--light-orange);
}

@media (max-width: 575px) {
    .period-item {
        min-width: 130px;
        padding: 12px 14px;
    }
}

.period-item:hover {
    background: #ecddd6;
}

.period-item.active {
    background: #c96a4a;
    border-color: #c96a4a;
}

.period-name-slide {
    color: var(--font-black);
    font-family: "TimesNewRoman";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 119%;
    margin-bottom: 8px;
}

.period-range {
    color: var(--secondary-color);
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    /* 19.6px */
}

.period-item.active .period-range {
    color: var(--light-orange);
}

.period-item.active .period-name-slide {
    color: #fff;
}

/* Arrow button */
.period-arrow {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 95px;
    background: rgba(255, 255, 255, 0.80);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
    z-index: 2;
}

/* Fade gradient */
.period-fade {
    position: absolute;
    right: 52px;
    top: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, #f5ede8);
    pointer-events: none;
    z-index: 1;
}

/* Arrow + fade hidden by default — shown only when overflow exists */
.period-arrow,
.period-fade {
    display: none;
}

.period-arrow.visible {
    display: flex;
}

.period-fade.visible {
    display: block;
}

#heroTitle {
    color: var(--bg-white);
}

.perdiode-single-card {
    padding-top: 40px;
    padding-bottom: 32px;
}

.perdiode-single-card__title {
    color: var(--font-black);
    font-family: "TimesNewRoman";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 119%;
    margin-top: 16px;
}

.perdiode-single-card .subhead-flex {
    margin-bottom: 72px;
}

@media screen and (max-width:992px) {
    .perdiode-single-card .subhead-flex {
        margin-bottom: 32px;
    }

    .perdiode-single-card__title {
        font-size: 20px;
    }
}

@media screen and (max-width:576px) {
    .perdiode-single-card .subhead-flex {
        margin-bottom: 28px;
    }
}


/* Espace Presse */
.espace-card {
    padding-top: 16px;
    padding-bottom: 16px;
}

.espace-card .subhead-flex {
    margin-bottom: 32px;
}

@media screen and (max-width:992px) {
    .espace-card .subhead-flex {
        margin-bottom: 32px;
    }
}

@media screen and (max-width:576px) {
    .espace-card .subhead-flex {
        margin-bottom: 28px;
    }
}

.presse-single-section .gallery-card__thumb {
    width: 100%;
    aspect-ratio: 299 / 186;
    object-fit: cover;
    display: block;
    transition: 0.2s ease-in-out;
}

/* Panier */
.panier-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-top: 40px;
}

.panier-flex a {
    color: var(--primary-color);
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    text-transform: uppercase;
}

.panier-flex h4 {
    color: var(--font-black);
    font-family: "TimesNewRoman";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 119%;
    margin-top: 4px;
}

/* List */
.mcl-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 0 auto;
    padding-bottom: 74px;
}

/* Row = card + close btn */
.mcl-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Card */
.mcl-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-white);
    border-radius: 10px;
    padding: 16px;
    min-width: 0;
    cursor: pointer;
}

/* Thumbnail */
.mcl-thumb {
    flex-shrink: 0;
    width: 188px;
    height: 168px;
    border-radius: 8px;
    overflow: hidden;
}

.mcl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 188 / 168;
}

/* Content */
.mcl-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.mcl-label {
    display: inline-block;
    font-family: Arial;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--font-grey);
    background: transparent;
    border-radius: 4px;
    border: 1px solid var(--font-grey);
    padding: 3px 10px;
    display: inline-block;
    width: fit-content;
}

.mcl-title {
    color: var(--font-black);
    font-family: "TimesNewRoman";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 119%;
    /* 23.8px */
}

.mcl-desc {
    color: var(--secondary-color);
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    max-width: 346px;
}

.mcl-date {
    color: var(--primary-color);
    text-align: justify;
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%;
    /* 18.9px */
}

/* Checkbox */
.mcl-check-wrap {
    flex-shrink: 0;
    position: relative;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border-radius: 2px;
    border: 1px solid var(--font-grey);
    background: var(--font-grey);
}

.mcl-check-wrap input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    margin: 0;
    z-index: 2;
    border-radius: 2px;
}

.mcl-check-box {
    position: absolute;
    inset: 0;
    border: 2px solid var(--mcl-accent);
    border-radius: 2px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.mcl-check-wrap input[type="checkbox"]:checked+.mcl-check-box {
    background: var(--mcl-accent);
}

.mcl-check-box::after {
    content: '';
    display: none;
    width: 5px;
    height: 10px;
    border: 2.5px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(0px);
}

.mcl-check-wrap input[type="checkbox"]:checked+.mcl-check-box::after {
    display: block;
}

/* Close button — outside the card */
.mcl-close-btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: none;
    border: 2px solid var(--mcl-accent);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mcl-accent);
    padding: 0;
}

.mcl-close-btn.is-hidden {
    visibility: hidden;
    pointer-events: none;
}

.mcl-card:has(.mcl-check-wrap input[type="checkbox"]:checked) {
    background-color: var(--light-orange);
}

.panier-files-selection .rubriques-section {
    background-color: var(--Grey-BG-label);
    border-radius: 10px;
    margin-bottom: 0;
}

.panier-files-selection__or {
    display: block;
    color: var(--font-grey);
    text-align: center;
    font-family: Arial;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-top: 12px;
    margin-bottom: 16px;
}

.panier-files-selection__commander p {
    margin-bottom: 12px;
}

.panier-files-selection__commander .btn-media {
    margin-top: 12px;
}

@media screen and (max-width:992px) {
    .mcl-list {
        padding-bottom: 14px;
    }

    .panier-files-selection__commander {
        margin-bottom: 32px !important;
    }

    .panier-flex {
        padding-top: 42px;
    }
}

@media screen and (max-width:768px) {
    .mcl-card {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .mcl-row {
        display: flex;
        align-items: center;
        gap: 14px;
        flex-direction: column;
    }
}

/* Modal */
.modal-dialog {
    width: 100%;
    max-width: 608px;
    border-radius: 0;
}

.modal-title {
    color: var(--primary-color);
    font-family: "TimesNewRoman";
    font-size: 24px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 119%;
}

.modal .btn-close {
    --bs-btn-close-bg: none;
    padding: 0;
    border: 0;
    margin-right: 5px;
}

.modal .btn-close:focus {
    box-shadow: none;
}

.modal-header {
    border: 0;
    padding: 24px;
}

.modal-body {
    padding: 8px 24px 22px 24px;
}

@media screen and (max-width:768px) {
    .modal {
        --bs-modal-margin: 0rem;
    }

    .modal-header {
        padding-left: 14px;
        padding-right: 14px;
    }

    .modal-body {
        padding: 8px 14px 18px 14px;
    }
}

.form-check-input[type="checkbox"] {
    border-radius: 0 !important;
}

.modal-content {
    border-radius: 0;
    border: 0;
}

.modal-footer {
    border: 0;
    justify-content: center;
    padding: 0;
}

.modal-footer .btn-media {
    width: 100%;
    margin-top: 24px;
}

.modal-body .form-check-label {
    color: var(--Black-secondary);
    font-family: Arial;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    max-width: 431px;
    /* 19.5px */
}

.reCAPTCHA-card {
    border-radius: 2px;
    border: 1px solid #D6D6D6;
    background: #FAFAFA;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.10);
    padding: 12px;
}

.reCAPTCHA-card label {
    color: #000;
    font-family: Arial;
    font-size: 18px !important;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.conditions-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.conditions-card .modal-form-check {
    appearance: none;
    -webkit-appearance: none;
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    border-radius: 6px !important;
    border: 1px solid rgba(0, 0, 0, 0.14) !important;
    background: var(--bg-white);
    cursor: pointer;
    position: relative;
}

.conditions-card .modal-form-check:checked {
    background-color: var(--dark-orange);
    border-color: var(--dark-orange) !important;
}

.conditions-card .modal-form-check:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.reCAPTCHA-card .modal-form-check {
    width: 24px;
    height: 24px;
    border-radius: 1px;
    border: 2px solid #C1C1C1;
    background: #FFF;
}

.conditions-card label,
.reCAPTCHA-card label {
    cursor: pointer;
}

.reCAPTCHA-card .modal-form-check {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 1px !important;
    border: 2px solid #C1C1C1 !important;
    background: #fff;
    cursor: pointer;
    position: relative;
}

.reCAPTCHA-card .modal-form-check:checked {
    background-color: var(--dark-orange);
    border-color: var(--dark-orange) !important;
}

.reCAPTCHA-card .modal-form-check:checked::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 3px;
    width: 5px;
    height: 11px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.reCAPTCHA-card-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.reCAPTCHA-card-content a {
    color: #A6A6A6;
    text-align: center;
    font-family: Roboto;
    font-size: 8px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
}

/* Gestion commande */
.gestion-details {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    padding-top: 40px;
    padding-bottom: 40px;
}

.gestion-card {
    padding: 20px;
    border-radius: 4px;
    background: var(--Grey-BG-label);
    display: inline-block;
    width: 100%;
    max-width: 188px;
}

.gestion-card .gestion-card__title {
    color: var(--primary-color);
    font-family: "TimesNewRoman";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.gestion-card p {
    color: var(--secondary-color);
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    display: flex;
    align-items: center;
    gap: 11px;
    /* 21px */
}

.gestion-card p span {
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.gestion-card__status {
    color: var(--primary-color) !important;
}


/* Table */
/* ── Header ── */
.table__header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    padding-top: 40px;
    flex-wrap: wrap;
}

/* ── Filter Pills ── */
.table__filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.table__pill {
    cursor: pointer;
    transition: all .2s;
    display: flex;
    padding: 8px 20px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 100px;
    background: var(--Grey-BG-label);
    color: var(--font-black);
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border: 0;
}

.table__pill.table__pill--active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.table__pill:hover:not(.table__pill--active) {
    background: #f0f0f0;
}

/* ── Table wrapper ── */
.table__wrapper-main {
    padding-bottom: 80px;
}

.table__wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
}

.table__el {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

/* ── Head ── */
.table__head-row {
    background: #fff;
    border-bottom: 1.5px solid #e8e8e8;
}

.table__th {
    padding: 10px 12px;
    white-space: nowrap;
    user-select: none;
    background: rgba(0, 0, 0, 0.06);
    border-right: 1px solid var(--Grey-BG-label);
    color: var(--font-black);
    font-family: "TimesNewRoman";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

thead tr .table__th:last-child,
tbody tr .table__td:last-child {
    border-right: 0;
}

.table__col-head {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    cursor: pointer;
    width: 100%;
}

.table__sort-icon {
    font-size: 9px;
    color: #bbb;
    letter-spacing: -1px;
}

.table__sort-icon--asc,
.table__sort-icon--desc {
    color: #111;
}

/* ── Body ── */
.table__row {
    border-bottom: 1px solid #f0f0f0;
    transition: background .12s;
}

.table__row:last-child {
    border-bottom: none;
}

.table__row:hover {
    background: #fafafa;
}

.table__td {
    padding: 10px 12px;
    font-size: 12px;
    white-space: nowrap;
    border-right: 1px solid var(--Grey-BG-label);
    color: var(--secondary-color);
    font-family: Arial;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

/* ── Status ── */
.table__status {
    font-weight: 500;
}

.table__status--traite {
    color: #16a34a;
}

.table__status--attente {
    color: #f59e0b;
}

.table__status--refuse {
    color: #dc2626;
}

/* ── Actions ── */
.table__action-link {
    font-size: 12.5px;
    color: #222;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

.table__action-link:hover {
    color: #000;
}

.table__action-icon {
    font-size: 16px;
    color: #555;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

.table__action-icon:hover {
    color: #111;
}

.btn-demandes {
    display: flex;
    height: 40px;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    color: var(--font-black);
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    border: 0;
    border-radius: 4px;
    background: var(--bg-white);
    transition: 0.2s ease-in-out;
}

.btn-demandes:hover {
    background: var(--light-orange);
}

.mon-profil-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

@media screen and (max-width:768px) {
    .mon-profil-head {
        flex-wrap: wrap;
    }
}

@media screen and (max-width:768px) {
    .btn-demandes {
        padding: 6px 12px;
        font-size: 13px;
        height: 34px;
    }
}