/* Header logo removed absolute positioning to keep it at correct size and position */
.header-logo {
    display: flex;
    align-items: center;
}

#header.header-effect-shrink .header-container {
    min-height: 70px !important;
}

.post-image {
    width: 100%;
    height: 196px;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 196px;
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 1.5rem;
    /* optional spacing */
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* For screens 765px wide or less */
@media (max-width: 765px) {
    .video-responsive {
        height: 412px;
        padding-bottom: 0;
        /* disable 16:9 ratio */
    }

    .post-image {
        width: 100%;
        height: 412px;
    }
}

@media (max-width: 992px) {
    p,
    #footer a,
    #footer h5 {
        font-size: 16px !important;
    }
    .get-started {
        display: flex;
        justify-content: flex-end;
    }
}

.youtube-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.post-meta {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.form-group.col.text-right.text-lg-end.get-started>p {
    display: flex;
    flex-direction: column;
    align-items: end;
}

#video_large {
    margin-left: 0px;
}

.margin_left_list {
    margin-left: 5px;
}

.soratra-masina,
.soratra-masina * {
    background-color: #f7f7f7 !important;
}

.soratra-masina {
    text-align: justify;
    word-break: break-word;
    overflow-wrap: break-word;
}

.post-content p:not([style*="text-align"]) {
    text-align: justify;
}


.soratra-masina {
    color: black;
}

.dropdown-toggle::after {
    border-top: none;
}

@media (min-width: 992px) {
    #header .header-nav-main nav>ul>li.dropdown .dropdown-menu {
        min-width: 280px;
    }
}

/* -------------------------------------------------------------------------- */
/* STICKY HEADER GLASSMORPHISM (DESKTOP ONLY) - DO NOT TOUCH LOGO ABOVE      */
/* -------------------------------------------------------------------------- */
@media (min-width: 992px) {
    /* Main Transparency */
    html.sticky-header-active #header .header-body {
        background-color: var(--sticky-bg, rgba(255, 255, 255, 0.4)) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    /* Sub-containers transparency */
    html.sticky-header-active #header .header-top,
    html.sticky-header-active #header .header-container {
        background-color: transparent !important;
        background-image: none !important;
    }

    /* Text Color & Hover visibility */
    html.sticky-header-active #header .header-nav-main nav > ul > li > a,
    html.sticky-header-active #header .header-social-icons a,
    html.sticky-header-active #header .header-social-icons a i,
    html.sticky-header-active #header .header-btn-collapse-nav i {
        color: var(--sticky-text, #0088cc) !important;
    }

    /* Fix: icônes visibles au survol */
    html.sticky-header-active #header .header-social-icons li a:hover,
    html.sticky-header-active #header .header-social-icons li a:hover i,
    html.sticky-header-active #header .header-social-icons li:hover a,
    html.sticky-header-active #header .header-social-icons li:hover a i {
        color: var(--sticky-text, #0088cc) !important;
        background-color: transparent !important;
        opacity: 0.75 !important;
    }
}

/* Fix global : icônes sociales toujours visibles hors sticky */
#header .header-social-icons li a i {
    color: inherit;
}

/* -------------------------------------------------------------------------- */
/* IMPORTANT NOTE BOX (RIGHT OF SLIDER) - INTEGRATED DESIGN                   */
/* -------------------------------------------------------------------------- */
.note-important-container {
    background: #f8fafc; /* Subtle off-white/bluish background */
    border: 1px solid #e2e8f0; /* Soft contour */
    border-radius: 4px;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.note-important-body {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
}

/* Styling the content inside */
.note-important-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
    text-align: left;
}

.note-important-content p:last-child {
    margin-bottom: 0;
}

.slider-section-container {
    background-color: #fff;
    padding: 0;
}

/* Custom scrollbar for WebKit */
.note-important-body::-webkit-scrollbar {
    width: 4px;
}
.note-important-body::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.note-important-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

@media (max-width: 991px) {
    .note-important-container {
        margin: 10px 0;
        height: auto;
    }
    
    .note-important-body {
        padding: 15px;
    }
}