/**
Theme Name: SnapClub Theme
Author: Six Design
Author URI: https://sixdesign.fr
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: snapclub-theme
Template: astra
*/

/** HEADER **/

@media screen and (min-width: 977px) {
    .wp-block-uagb-container.uagb-block-f96a4187 {
        height: 100vh !important;
        min-height: 800px !important;
    }
}

/** END HEADER **/


/** MENU MOBILE **/

.ast-header-break-point .main-navigation ul .menu-item .menu-link {
    border-color: var(--ast-global-color-3) !important;
}

/** END MENU MOBILE **/


/** LIGHTBOX **/

.spectra-image-gallery__control-lightbox--main .swiper-slide img {
    max-height: none !important;
}

/** END LIGHTBOX **/


/** TABLEAU **/

/* Tableau Gutenberg scrollable sur mobile + 1ère colonne fixe */
@media (max-width: 768px) {

    /* Wrapper du tableau (figure) */
    .entry-content .wp-block-table {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: block;
        position: relative; /* nécessaire pour le sticky */
    }

    /* Le tableau lui-même */
    .entry-content .wp-block-table table {
        min-width: 540px;
        width: 100%;
    }

    /* 1ère colonne fixe (th + td) */
    .entry-content .wp-block-table table th:first-child,
    .entry-content .wp-block-table table td:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
        background-color: #F7F9FC;
    }

    /* Ombre recréée via un pseudo-élément pour éviter les conflits avec les bordures */
    .entry-content .wp-block-table table th:first-child::after,
    .entry-content .wp-block-table table td:first-child::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 8px;
        height: 100%;
        pointer-events: none;
        box-shadow: 4px 0 6px rgba(0, 0, 0, 0.12);
    }

    /* L'en-tête un peu au-dessus des autres cellules */
    .entry-content .wp-block-table table thead th:first-child {
        z-index: 2;
    }
}

/** END TABLEAU **/


/** FOOTER **/

#media_image-1 {
    margin-bottom: 1.8em !important;
}
#media_image-1 img {
    width: 70px !important;
}

.site-footer-section a {
    text-decoration: underline dotted #4b5454;
    text-underline-offset: 5px;
}
.site-footer-section a:hover,
.site-footer-section a:focus {
    text-decoration-color : #737a7a;
}

/** END FOOTER **/
