/*
 * Components - Modern UI Components
 * Composants modernes pour le thème
 */

/* Header Component */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--gutters);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: var(--z-fixed);
}
.header-content{
    display: flex;
    width: 100%;
}

/* .site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
} */

/* Background filters */

/* Burger Menu moderne */
.burger-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 1rem;
    position: relative;
}
.burger-menu p{
    display: flex;
    margin: 0;
    text-transform: uppercase;
}
.burger-menu p{
    display: flex;
    margin: 0;
    text-transform: uppercase;
    position: relative; /* allow z-index above mobile navigation */
    z-index: 3;
    transition: color 0.25s ease;
}
.burger-menu p::before{
    content: '/';
    color: var(--wp--preset--color--noir);
    padding-right: 0.5rem;
    transition: color 0.25s ease;
}
.burger-menu div{
    display: flex;
    flex-direction: column;
    position: relative; /* allow z-index above mobile navigation */
    z-index: 3;
}
.burger-menu div span {
    display: block;
    height: 1px;
    width: 10px;
    background: var(--wp--preset--color--noir);
    margin: 2px 0;
    transition: var(--transition);
    border-radius: 2px;
}
.burger-menu .mobile-navigation{
    position: absolute;
    transform: translateY(0);
    right: -1rem;
    top: 0;
    display: flex;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: 1;
    background: transparent;
    transition: background-color 0.3s ease, width 0.25s ease, height 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}
.burger-menu .mobile-navigation .mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5rem 4rem 3rem 1rem;
}
.burger-menu .mobile-navigation .mobile-menu-content ul li{
    opacity: 0;
    transition: opacity 0.3s ease 0.3s;
}
.burger-menu .mobile-navigation .mobile-menu-content ul li.current-menu-item{
    font-weight: 700;
}

/* Active / open states with smooth transitions */
.burger-menu {
    transition: background-color 0.25s ease;
}
.burger-menu.active,
body.burger-open .burger-menu {
    background-color: var(--wp--preset--color--noir);
}
.burger-menu.active p,
body.burger-open .burger-menu p {
    color: var(--wp--preset--color--background);
    opacity: 0.7;
}
.burger-menu.active p::before,
body.burger-open .burger-menu p::before {
    color: var(--wp--preset--color--blanc);
}
.burger-menu.active .mobile-navigation,
body.burger-open .burger-menu .mobile-navigation {
    transform: translateY(-1rem);
    background-color: var(--wp--preset--color--noir);
    pointer-events: all;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .burger-menu.active .mobile-navigation,
    body.burger-open .burger-menu .mobile-navigation {
        transform: translateY(0);
        border-radius: 0;
    }
}
.burger-menu .mobile-navigation .mobile-menu-content ul{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    text-transform: uppercase;
    color: var(--wp--preset--color--blanc);
}
.burger-menu.active div span {
    background: var(--wp--preset--color--blanc);
}
.burger-menu.active .mobile-navigation .mobile-menu-content ul li{
    opacity: 1;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
}

/* For small tablets and phones: mobile navigation should cover the viewport */
@media (max-width: 1024px) {
    .burger-menu .mobile-navigation {
        position: fixed !important;
        top: 0;
        right: 0;
        left: 0;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 2; /* keep under the button <p> which has z-index:3 */
        overflow: hidden;
        background-color: transparent; /* will be toggled to black when active */
        transition: background-color 1s ease, width 1s ease, height 1s ease, transform 1s ease;
    }

    .burger-menu .mobile-navigation .mobile-menu-content {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        align-items: center;
        justify-content: center;
        padding: 5rem 2rem 3rem 1rem;
        height: 100%;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        gap: 2rem;
    }
    .burger-menu .mobile-navigation .mobile-menu-content ul{
        align-items: unset;
    }
    .burger-menu .mobile-navigation .mobile-menu-content ul.flex-row{
        padding-top: 4rem;
        filter: invert(1);
    }
}
/* HEADER WHITE */
.site-header.header-white{
    background-color: transparent;
    color: var(--wp--preset--color--blanc);
    backdrop-filter: none;
}
.site-header.header-white img{
    filter: invert(1);
}
.site-header.header-white .burger-menu p{
    color: var(--wp--preset--color--blanc);
}
.site-header.header-white .burger-menu p::before{
    color: var(--wp--preset--color--blanc);
}
.site-header.header-white .burger-menu span{
    background-color: var(--wp--preset--color--blanc);
}

/* Footer Component */
.site-footer {
    display: flex;
    flex-direction: column;
    color: var(--wp--preset--color--noir);
    gap: 1rem;
    position: relative;
    padding-top: 4rem;
}
.footer-line{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(192, 196, 180, 0.00) 0%, #C0C4B4 50%, rgba(192, 196, 180, 0.00) 100%);
}
.footer-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
}
@media (max-width: 850px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
    }
}
.footer-content:nth-child(3) {
    align-items: center;
    justify-content: space-evenly;
}
.footer-navigation-wrapper{
    display: flex;
    gap: 3vw;
    padding-top: 3rem;
    &.second-col{
        padding-top: 2.5rem;
    }
}
@media (max-width: 850px) {
    .footer-navigation-wrapper {
        width: 100%;
        gap: 0;
        justify-content: space-between;
    }
    .footer-navigation-wrapper nav{
        width: 180px
    }
}
.footer-brands{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    & p{
        margin: 0;
    }
    & a{
        transition: color 0.3s ease;
    }
    & a:hover{
        color: var(--wp--preset--color--sauge);
    }
}
.footer-content h2{
    margin: 0;
}
.footer-content nav ul{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: var(--wp--preset--font-size--m-text);
    opacity: 0.75;
}
.footer-content nav ul.social-menu{
    flex-direction: row;
    align-items: center;
}
.footer-legals {
    font-size: var(--wp--preset--font-size--s-text);
    opacity: 0.75;
    padding-bottom: 2rem;
}
.to-the-top {
    width: 46px;
    height: 46px;
    border-radius: 100%;
    background-color: var(--wp--preset--color--sauge);
    border: 0;
    padding: 0;
}
.to-the-top a{
    background: url(../svg/arrow-left-1.svg) no-repeat center center;
    display: block;
    width: 100%;
    height: 100%;
}
.site-footer.footer-white{
    background-color: var(--wp--preset--color--blanc);
    padding: 4rem var(--gutters);
}
.single footer{
    background-color: var(--wp--preset--color--blanc);
    padding: 4rem var(--gutters);
}
/* .site-footer.footer-white .footer-infos h2 span{
    color: var(--wp--preset--color--blanc)!important;
}
.site-footer.footer-white .site-branding img{
    filter: invert(1);
}
.site-footer.footer-white .social-menu img{
    filter: invert(1);
} */
@media (max-width: 850px) {
    .footer-infos {
        display: flex;
        flex-direction: column;
        align-items: center;
        & hr{
            width: 100%;
        }
    }
    .footer-navigation-wrapper {
        justify-content: center;
    }
    .footer-brands {
        & p{
            padding-bottom: 0.5rem;
            border-bottom: solid 1px rgba(11, 11, 11, 0.1);
        }
    }
}

/* Buttons */
.btn-cta{
    display: flex;
    font-size: var(--wp--preset--font-size--s-title);
    font-family: "Lexend_Tera", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 1rem;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.25s ease;
    width: fit-content;
}
.btn-cta::before{
    content: '';
    display: flex;
    height: 12px;
    width: 1px;
    background-color: var(--wp--preset--color--noir);
    margin-right: 0.5rem;
    transform: translateX(2px) rotate(20deg);
    transition: transform 0.6s ease;
}
.btn-cta:hover::before{
    transform: rotate(90deg);
}
.btn-cta:hover{
    gap: 0.75rem;
    font-weight: 800;
}
/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--wp--preset--color--blanc) 0%, var(--wp--preset--color--background) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, var(--wp--preset--color--vert) 0%, transparent 50%);
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--spacing-md);
}

.hero-title {
    font-size: var(--wp--preset--font-size--super-big-title);
    font-family: var(--wp--preset--font-family--bebas-neue);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--wp--preset--font-size--l-text);
    margin-bottom: var(--spacing-lg);
    opacity: 0.8;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) 0;
}

.card {
    background: var(--wp--preset--color--blanc);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: var(--spacing-lg);
}

.card-title {
    font-size: var(--wp--preset--font-size--l-title);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.card-excerpt {
    color: rgba(11, 11, 11, 0.7);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--wp--preset--font-size--s-text);
    color: rgba(11, 11, 11, 0.6);
}

/* Section moderne */
.section {
    padding: var(--spacing-xxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: var(--wp--preset--font-size--xxl-title);
    font-family: var(--wp--preset--font-family--bebas-neue);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: var(--wp--preset--font-size--l-text);
    color: rgba(11, 11, 11, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* Call to Action */
.cta {
    background: linear-gradient(135deg, var(--wp--preset--color--vert) 0%, var(--wp--preset--color--noir) 100%);
    color: var(--wp--preset--color--blanc);
    text-align: center;
    padding: var(--spacing-xxl);
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cta:hover::before {
    transform: translateX(100%);
}

.cta-title {
    font-size: var(--wp--preset--font-size--xl-title);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.cta-text {
    font-size: var(--wp--preset--font-size--l-text);
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.cta-button {
    background: var(--wp--preset--color--blanc);
    color: var(--wp--preset--color--noir);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    background: var(--wp--preset--color--jaune);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Testimonials */
.testimonial {
    background: var(--wp--preset--color--blanc);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 4rem;
    color: var(--wp--preset--color--vert);
    position: absolute;
    top: -10px;
    left: var(--spacing-md);
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    font-size: var(--wp--preset--font-size--l-text);
}

.testimonial-author {
    font-weight: 600;
    color: var(--wp--preset--color--noir);
}

.testimonial-role {
    font-size: var(--wp--preset--font-size--s-text);
    color: rgba(11, 11, 11, 0.6);
}

/* Form moderne */
.form-modern {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--wp--preset--color--noir);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid rgba(11, 11, 11, 0.1);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: var(--wp--preset--font-size--m-text);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--wp--preset--color--vert);
    box-shadow: 0 0 0 3px rgba(130, 196, 108, 0.1);
}

.form-submit {
    background: var(--wp--preset--color--vert);
    color: var(--wp--preset--color--blanc);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background: var(--wp--preset--color--noir);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Responsive images */
.wp-block-image img,
.responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Modern spacing */
.has-small-margin { margin: var(--spacing-sm); }
.has-medium-margin { margin: var(--spacing-md); }
.has-large-margin { margin: var(--spacing-lg); }

.has-small-padding { padding: var(--spacing-sm); }
.has-medium-padding { padding: var(--spacing-md); }
.has-large-padding { padding: var(--spacing-lg); }

/* === Modern Block Styles === */

/* Custom Columns Styles */
.wp-block-columns.is-style-border-columns {
    position: relative;
}

.wp-block-columns.is-style-border-columns .wp-block-column:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(11, 11, 11, 0.1);
}

.wp-block-columns.is-style-third-columns {
    --wp--style--block-gap: var(--spacing-lg);
}

.wp-block-columns.is-style-third-columns .wp-block-column:first-child {
    flex-basis: 33.333%;
}

.wp-block-columns.is-style-third-columns .wp-block-column:last-child {
    flex-basis: 66.666%;
}

.wp-block-columns.is-style-equal-height {
    align-items: stretch;
}

.wp-block-columns.is-style-equal-height .wp-block-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Custom Button Styles */
.wp-block-button.is-style-outline-button .wp-block-button__link {
    background: transparent;
    border: 2px solid var(--wp--preset--color--vert);
    color: var(--wp--preset--color--vert);
}

.wp-block-button.is-style-outline-button .wp-block-button__link:hover {
    background: var(--wp--preset--color--vert);
    color: var(--wp--preset--color--blanc);
}

.wp-block-button.is-style-ghost-button .wp-block-button__link {
    background: transparent;
    border: none;
    color: var(--wp--preset--color--noir);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.wp-block-button.is-style-ghost-button .wp-block-button__link:hover {
    color: var(--wp--preset--color--vert);
    text-decoration: none;
}

.wp-block-button.is-style-arrow-button .wp-block-button__link::after {
    content: '→';
    margin-left: var(--spacing-xs);
    transition: var(--transition);
}

.wp-block-button.is-style-arrow-button .wp-block-button__link:hover::after {
    transform: translateX(4px);
}
.wp-block-button.is-style-bacalan-button .wp-block-button__link {
    display: flex;
    padding: 0;
    font-family: 'Lexend_Tera', sans-serif;
    font-size: var(--wp--preset--font-size--m-title);
    overflow: visible;
    font-weight: 400;
}
.wp-block-button.is-style-bacalan-button .wp-block-button__link::before{
    content: '';
    display: flex;
    height: 12px;
    width: 1px;
    background-color: var(--wp--preset--color--noir);
    margin-right: 0.5rem;
    transform: rotate(20deg);
    transition: transform 0.6s ease;
}
.wp-block-button.is-style-bacalan-button .wp-block-button__link:hover::before{
    transform: rotate(90deg);
}
.wp-block-button.is-style-bacalan-button .wp-block-button__link:hover{
    transform: unset;
    box-shadow: unset;
}

/* Custom Group/Container Styles */
.wp-block-group.is-style-container-grid {
    max-width: var(--wp--style--global--content-size);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.wp-block-group.is-style-container-medium {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

.wp-block-group.is-style-container-small {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing-md);
}

.wp-block-group.is-style-card-style {
    background: var(--wp--preset--color--blanc);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: var(--spacing-lg);
    transition: var(--transition);
}

.wp-block-group.is-style-card-style:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Custom Heading Styles */
.wp-block-heading.is-style-gradient-heading {
    background: linear-gradient(135deg, var(--wp--preset--color--vert) 0%, var(--wp--preset--color--jaune) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.wp-block-heading.is-style-underline-heading {
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.wp-block-heading.is-style-underline-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--wp--preset--color--vert);
    border-radius: 2px;
}

/* Custom Paragraph Styles */
.wp-block-paragraph.is-style-lead-text {
    font-size: var(--wp--preset--font-size--l-text);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(11, 11, 11, 0.8);
}

.wp-block-paragraph.is-style-highlight-text {
    background: var(--wp--preset--color--jaune);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--wp--preset--color--vert);
}

/* Custom Image Styles */
.wp-block-image.is-style-rounded-image img {
    border-radius: var(--border-radius-lg);
}

.wp-block-image.is-style-shadow-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.wp-block-image.is-style-shadow-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* Custom Quote Styles */
.wp-block-quote.is-style-modern-quote {
    border: none;
    background: var(--wp--preset--color--background);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    position: relative;
}

.wp-block-quote.is-style-modern-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--wp--preset--color--vert);
    position: absolute;
    top: 0;
    left: var(--spacing-md);
    font-family: Georgia, serif;
    line-height: 1;
}

/* ACF wysiwyg extras */
.acf-wysiwyg-logos {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
    gap: 4rem;
}
@media (max-width: 576px) {
    .acf-wysiwyg-logos {
        gap: 0;
    }
}
.acf-wysiwyg-logos img,
.acf-wysiwyg-logos svg {
    height: 200px;
    width: auto;
    display: block;
    max-width: 214px;
    object-fit: contain;
}
.acf-wysiwyg-logos a:nth-child(1), .acf-wysiwyg-logos a:nth-child(3) {
    transform: translateY(20px);
}
.acf-wysiwyg-logos svg path {
    transition: fill 0.3s ease;
}
.acf-wysiwyg-logos a:first-child:hover svg path {
    fill: #C3A24D;
}
.acf-wysiwyg-logos a:nth-child(2):hover svg path:nth-child(2){
    fill: var(--wp--preset--color--rouge);
}
.acf-wysiwyg-logos a:nth-child(3):hover svg path:nth-child(15), .acf-wysiwyg-logos a:nth-child(3):hover svg path:nth-child(16) {
    fill: var(--wp--preset--color--rouge);
}
.acf-wysiwyg-logos a:nth-child(3):hover svg path:nth-child(14){
    fill: var(--wp--preset--color--rouge);
}
.acf-wysiwyg-cta {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 1.5rem;
}
.acf-wysiwyg-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
}
.acf-wysiwyg-logos a:nth-child(1) svg path:nth-child(n+2):nth-child(-n+10) {
    fill: var(--wp--preset--color--blanc);
}
.acf-wysiwyg-logos a:nth-child(3) svg path:nth-child(n+1):nth-child(-n+12) {
    fill: var(--wp--preset--color--blanc);
}
@media (max-width: 576px) {
    .acf-wysiwyg-logos a {
        height: 120px;
        display: flex;
        align-items: center;
    }
}

/* Single */
.single{
    padding: 0;
}
.single .article-head {
    display: flex;
    flex-direction: column;
}
.single .article-head-title {
    display: flex;
    position: relative;
    margin: 0;
}
.single .article-head-title h1 {
    font-size: var(--wp--preset--font-size--xl-title);
    display: flex;
    font-weight: 600;
    margin: 0;
}
.single .back-link{
    position: absolute;
    font-family: "Lexend_Tera", sans-serif;
    left: 0;
    font-size: var(--wp--preset--font-size--s-title);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--wp--preset--color--noir);
    text-decoration: none;
    transform: translateY(25%);
    transition: font-weight 0.3s ease;
}
.single .back-link:hover{
    font-weight: 800;
}
.single .back-link span{
    display: block;
    width: 30px;
    height: 30px;
    background: url(../svg/qa.svg) no-repeat center center;
    background-size: contain;
    transform: rotate(90deg);
}
.single .article-head-thumbnail{
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    height: 440px;
    width: 100%;
    position: relative;
    justify-content: center;
    align-items: center;
}
.single .article-head-thumbnail img{
    scale: 1.2;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 0.6s ease;
}
.single .recent-news{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.news-wrapper{
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 4rem;
}
.single .article-container{
    display: flex;
}
.single .article-left{
    width: 45%;
}
.single .article-fixed-left{
    position: fixed;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    & .article-head-thumbnail{
        height: 100%;
        border-radius: 0 0 50% 0;
    }
    & .back-link{
        top: 2rem;
        left: 2rem;
        transform: translateY(0);
        background-color: var(--wp--preset--color--blanc);
        padding: 0.5rem;
        border-radius: 5px;
    }
}
.single .article-right{
    width: 55%;
    padding: 0 var(--gutters) 0 2rem;
}
@media (max-width : 768px){
    .single .article-container{
        flex-direction: column;
    }
    .single .article-left, .single .article-fixed-left, .single .article-right{
        width: 100%;
        position: static;
        padding: 0 var(--gutters);
    }
    .single .article-left{
        height: 250px;
        padding-bottom: 2rem;
        margin-top: 2rem;
        .article-head-thumbnail{
            border-radius: 10px;
        }
    }
    .single .article-fixed-left{
        display: flex;
        padding: 0;
        flex-direction: column-reverse;
        gap: 1rem;

        & .back-link{
            position: static;
            transform: translateY(0);
            background-color: transparent;
            padding: 0;
        }
    }
}
.news-item{ display: flex; width: 100%; }
.news-item a{ display:flex; width: 100%; flex-direction: column;gap:1rem; align-items:center; text-decoration:none; color:inherit; }
.news-item-media{ 
    display: flex; width:100%; height: 220px; position: relative;overflow: hidden;
    & img{
        transition: scale 0.6s ease;
    }
    &:hover img{
        scale: 1.1;
    }
}
@media (min-width : 1800px){
    .news-item-media{
        height: 320px;
    }
}
.news-item-media-bkg{ position:absolute; top:0; left:0; width:100%; height:100%; background: rgba(0, 0, 0, 0); border-radius:8px; transition: background 0.3s ease;}
.news-item-media-bkg span{ display: flex; width: 30px; height: 30px; position: absolute;top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-90deg); background: url('../svg/qa.svg') no-repeat center center; background-size: contain; filter: invert(1); opacity: 0;transition: opacity 0.3s ease;}
.news-item a:hover .news-item-media-bkg{ background: rgba(0, 0, 0, 0.6); }
.news-item a:hover .news-item-media-bkg span{ opacity: 1; }
.news-item-media img{ display:flex; width:100%; height:auto; object-fit:cover; border-radius:8px; position: relative; }
.news-item-bkg{ position:absolute; top:0; left:0; width:100%; height:100%; background: rgba(0, 0, 0, 0.3); border-radius:8px; transition: background 0.6s ease;}
.news-item-body{ display:flex; width: 100%;flex-direction:column;color: var(--wp--preset--color--blanc); text-transform: uppercase;}
.news-item-title{ margin:0; font-size:var(--wp--preset--font-size--m-text);width: 100%; text-wrap: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600;}
.news-item-date{ font-size:var(--wp--preset--font-size--s-text); }
.news-content{ position: fixed; display: flex; width: 25%; flex-direction: column;}
@media (max-width : 768px){
    .news-content{
        position: static;
        width: 100%;
        margin-bottom: 2rem;
        align-items: center;
        text-align: center;
    }
    .news-text{
        width: 100%;
        justify-content: center;
    }
    .news-text h1{
        display: flex;
        justify-content: center;
    }
}

.news-wrapper .news-item{
    width: 30%;
}
.news-wrapper .news-item-media-bkg,.news-wrapper .news-item-media img{
    border-radius: 0;
}
.news-wrapper .news-item-body, .gray-block__news-list .news-item-body{
    color: var(--wp--preset--color--noir);
}
@media (max-width : 1024px){
    .news-wrapper{
        flex-direction: column;
        gap: 1rem;
    }
    .news-wrapper .news-item{
        width: 100%;
    }
}