/*
Theme Name: Star Sailors
Theme URI: https://swatt-agency.com
Text Domain: starsailors
Version: 1.1.5
Author: SWATT Agency
Author URI: https://swatt-agency.com
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl.html
Description: WordPress Theme with Tailwind CSS and Mega Menu.
*/
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
}
.bg-main{
    background-image: url('assets/images/main-bg.webp');
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6{
    margin-top: 1rem !important;
    margin-bottom: 0.35rem !important;
}
h1, .h1 {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    line-height: 1.2;
    font-weight: 700 !important;
}
h2, .h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
    line-height: 1.25;
    font-weight: 600 !important;
}
h3, .h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
    line-height: 1.3;
    font-weight: 600 !important;
}
h4, .h4 {
    font-size: 1.5rem !important;
    line-height: 1.4;
    font-weight: 500 !important;
}
h5, .h5 {
    font-size: 1.25rem !important;
    line-height: 1.5;
    font-weight: 500 !important;
}
h6, .h6 {
    font-size: 1rem !important;
    line-height: 1.5;
    font-weight: 500 !important;
}
.page-title{
    font-size: clamp(1.5rem, 4vw, 1.85rem) !important;
    font-weight: 800 !important;
    margin-top: 0 !important;
}
.swiper-pagination{
    position: static !important;
}
.swiper-pagination .swiper-pagination-bullet{
    border: 1px solid #9CA3AF;
    background-color: transparent;
    opacity: 0.75;
}
.swiper-pagination .swiper-pagination-bullet:hover,
.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{
    background-color: #9CA3AF; 
    opacity: 1;
}

.swiper-button-prev, .swiper-button-next,
.swiper-button-prev::after, .swiper-button-next::after{
    width: 32px !important;
    height: 32px !important;
    text-align: center;
    font-size: 0.9rem;
    line-height: 0.9;
}
.swiper-button-prev, .swiper-button-next{
    opacity: 0.5;
    border-radius: 50%;
    font-size: 1rem !important;
    display: block;
    padding: 8px 10px;
    border: 1px solid #9CA3AF;
    color: #9CA3AF;
}
.swiper-button-prev:hover, .swiper-button-next:hover,
.swiper-button-prev:active, .swiper-button-next:active{
    background-color: #D8BA6E;
    color: #ffffff;
    opacity: 1;
}
.ssl-swiper-nav-2 .swiper-button-prev{
    right: 50px;
    left: auto;
}
.ssl-swiper-nav-2 .swiper-button-next{
    right: 0;
}
.ssl-main-slider .swiper-pagination{
    position: absolute !important;
}
.ssl-main-slider .swiper-pagination .swiper-pagination-bullet{
    border-color:#fff;
}
.ssl-main-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{background-color: #fff;}

.ssl-main-slider .swiper-button-prev::after, .ssl-main-slider .swiper-button-next::after{
    color: #fff;
    border-color:#fff;
}

.ssl-swiper-carousel .swiper-button-next, .ssl-swiper-carousel .swiper-rtl .swiper-button-prev {
    top: -20% ;
    right: 0;
}

.page-content p, .page-content div, .page-content h1, .page-content h2, .page-content h3, .page-content h4,
.page-content h5, .page-content h6, .page-content iframe, .page-content blockquote, .page-content pre{
    margin-bottom: 0.5rem;
}
.page-content img, .page-content iframe, .page-content video{
    border-radius: 2rem;
    overflow: hidden;
}
/*.page-content a, .page-content b, .page-content span{
    display: inline-block;
    white-space: pre-wrap;
}*/
.page-content a{
    font-weight: 500;
    text-decoration: underline;
}
footer ul li a:hover,
.page-content a:hover, .page-content a:active, .page-content a:focus{
    color: #D8BA6E;
}
.page-content ol{
    list-style: decimal;
}
.page-content ul{
    list-style: disc;
}
.page-content ol, .page-content ul{
    padding-left: 2.5rem ;
}
.ssl-post .ssl-post-description img{
    width: 100%;
    height: auto;
    margin: 15px 0;
}

.ssl-post .ssl-post-description iframe{
    width: 100%;
    min-height: 530px;
}
.line-x::before,
.line-x::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 1px;
    background-color: #ccc; 
    transform: translateY(-50%);
}

.line-x::before {
    left: 0;
    right: 60%;
}

.line-x::after {
    right: 0;
    left: 60%;
}
.react-tel-input{
    font-family: inter ;
}
.react-tel-input .flag-dropdown{ 
    border-radius: 0.75rem 0 0 0.75rem ;
    border: none;
    background: none !important;
}

.react-tel-input .flag-dropdown .selected-flag{
    width: 46px;
    padding-left: 12px;
    background: none !important;
}
.react-tel-input .flag-dropdown.open,
.react-tel-input .flag-dropdown.open .selected-flag{
    border-radius: 0.75rem 0 0 0.75rem ;
}
.react-tel-input .flag-dropdown .country-list{
    border-radius: 0.75rem ;
}

.nav-main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-main-menu li {
    position: relative;
}

/* Cache tous les sous-menus */
.nav-main-menu .submenu {
    display: none;
}

/* Affiche uniquement le sous-menu direct */
.nav-main-menu li:hover > .submenu {
    display: block;
}

/* Animation flèche niveau 1 */
.nav-main-menu .menu-item:hover > a .menu-arrow {
    transform: rotate(180deg);
}

/* Evite les espaces entre parent et sous-menu */
.nav-main-menu .submenu {
    margin-top: 0;
}

/* Niveau 2+ */
.nav-main-menu .submenu .submenu {
    margin-left: 0;
}

/* Sécurise le survol */
.nav-main-menu .submenu li {
    min-width: 220px;
}

.mobile-submenu {
    overflow: hidden;
}
.mobile-submenu-toggle svg {
    transition: transform .3s ease;
}
.mobile-menu-item > ul {
    margin-top: .25rem;
}
.mobile-menu-item a {
    display: block;
}
.page-numbers {
    display: flex;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-numbers li a,
.page-numbers li span {

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 40px;
    height: 40px;

    padding: .25rem .75rem;

    border-radius: .5rem;

    transition: all .3s;
}

.page-numbers li a:hover {
    color: var(--color-gold);
}

.page-numbers .current {

    background: #f3f4f6;
    font-weight: 600;

}
