/**
 * Astra Child Theme - Home Page Styles
 *
 * This file contains custom CSS styles specifically for the home page.
 */
/* Global styles */
:root {
--primary-color: #324177;
--secondary-color: #FFCE00;
--accent-color: #FFCE00;
--text-color: #525252;
--light-gray: #ffffff;
--medium-gray: #e0e0e0;
--dark-gray: #666666;
--white: #ffffff;
--black: #000000;
--border-radius: 4px;
--box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
--transition: all 0.3s ease;
}

/* Hero Section */
.hero-section.e-con.e-flex>.e-con-inner {
    margin-left: 0;
}

a.btn-icon-link {
    color: var(--primary-color);
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    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;
    background: transparent !important;
    display: flex;
}

.section-rien .item-box .elementor-widget-text-editor {
    position: absolute;
    bottom: 24px;
    padding: 0 20px;
}

.section-rien .item-box .elementor-widget-text-editor h3 {
    color: var(--secondary-color);
    font-size: 36px;
    font-style: normal;
    font-weight: 800;
    line-height: 44px;
    letter-spacing: -0.18px;
}

.section-rien .item-box .elementor-widget-text-editor p {
    color: #ffffff;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

.galery-hero figure.gallery-item {
    width: auto;
    position: relative;
}

.galery-hero figure.gallery-item img {
    max-width: 72px;
    margin-left: 0;
}

.section-favoris {
    border-radius: 16px;
    box-shadow: 16px -16px 0px 0px var(--primary-color);

}

.absolute-text .elementor-heading-title {
    position: relative;
    padding: 16px;
}

.absolute-text {
    position: relative;
}

.absolute-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 120%; 
    background: url('/wp-content/uploads/2025/04/Heading-BG.png') no-repeat center/contain;
    z-index: 0;
}

.associations .absolute-text::before {
    background: url('/wp-content/uploads/2025/04/Heading-BG-2.png') no-repeat center/contain;
}

.box-a-s-o .elementor-image-box-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 120%;
    background: url('/wp-content/uploads/2025/04/Shape-BG.png') no-repeat center/contain;
    z-index: -1;
}

.box-a-s-o .elementor-image-box-title {
    position: relative;
}

.line-left {
    border-left: 4px solid var(--Primary-pri-500-main, #FFCE00);
    padding-left: 32px;
    padding-bottom: 0;
}

.sub-text-hero p strong {
    font-size: 36px;
    font-weight: 800;
}

.galery-hero figure.gallery-item:last-child:before {
    content: '...';
    position: absolute;
    bottom: 10px;
    right: -28px;
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    text-transform: uppercase;
}

.text-coups a {
    margin-top: 16px;
}

.text-coups a, .text-coups a:hover {
    font-size: 20px !important;
    color: #324177;
    font-weight: 600;
    line-height: 28px;
}

.section-rien .item-box p {
    min-height: 56px;
}

a.event-button:hover {
    background-image: linear-gradient(180deg, #FFDD0D 0%, #FFDD0D 100%);
    line-height: 28px;
    font-size: 16px !important;
    font-weight: 500;
}

.sec-contact a:hover {
    color: #262626;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
}

.social-footer a:hover {
    font-size: 20px;
}

.group-footer a:hover {
    color: var(--secondary-color) !important;
}

body {
    overflow-x: hidden !important;
}

div#content {
    overflow-x: hidden !important;
}

/* .hero-section {
    background-image: url(/wp-content/themes/astra-child/assets/images/Hero-banner-new.jpg) !important;
    image-rendering: auto;
} */
/* Responsive styles */

@media (max-width: 1024px) {
    .sub-text-hero p strong {
        font-size: 22px;
    }

    h2 {
        /*font-size: 28px !important;*/
        /*line-height: 32px !important;*/
    }

    .section-rien .item-box .elementor-widget-text-editor h3 {
        font-size: 28px;
    }

    .section-rien .item-box .elementor-widget-text-editor p {
        font-size: 16px;
    }

    .section-rien .item-box img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .galery-hero .gallery figure.gallery-item {
        width: calc(100% / 4);
    }

    h2 {
        /*font-size: 28px !important;*/
        /*line-height: 32px !important;*/
    }

    .galery-hero figure.gallery-item:last-child:before {
        content: none;
    }

    .line-left {
        padding-left: 10px;
    }
}

@media (max-width: 480px) {
  
} 