/*
Theme Name: photo-ms-theme
Theme URI: https://example.com/photo-ms-theme
Author: S-intelli-sst
Author URI: https://example.com
Description: Thème WordPress simple, responsive, basé sur Bootstrap 5.
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: photo-ms-theme
Tags: responsive, bootstrap, blog, photography
*/

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f8f9fa;
}

.site-header {
    background: linear-gradient(135deg, #111827, #374151);
}

.site-title a {
    color: #ffffff;
    text-decoration: none;
}

.hero-section {
    background: linear-gradient(135deg, #212529, #495057);
    color: white;
    border-radius: 1rem;
}

.card {
    border: 0;
    border-radius: 1rem;
}

.card img,
.wp-post-image {
    border-radius: 0.75rem;
    max-width: 100%;
    height: auto;
}

.footer {
    background-color: #111827;
    color: #e5e7eb;
}

.footer a {
    color: #ffffff;
}

.navbar-nav .nav-link {
    font-weight: 500;
}

.post-meta {
    color: #6c757d;
    font-size: 0.95rem;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 .25rem .75rem rgba(0,0,0,.06);
    margin-bottom: 1rem;
}


/* Layout plein écran */
html,
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

.full-width-layout {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.full-width-layout > * {
    width: 100%;
}

.full-screen-hero {
    border-radius: 0;
    min-height: 42vh;
    display: flex;
    align-items: center;
}

.site-main .card,
.site-main article,
.sidebar-widget {
    width: 100%;
}

@media (min-width: 992px) {
    .site-main .col-lg-8 {
        flex: 0 0 auto;
        width: 75%;
    }

    .site-main .col-lg-4 {
        flex: 0 0 auto;
        width: 25%;
    }
}

/* Menu horizontal responsive */
body {
    background-color: #ffffff;
}

.horizontal-site-header,
.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    width: 100%;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.horizontal-header-inner {
    width: 100%;
    min-height: 78px;
    padding: 18px clamp(18px, 4vw, 56px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.horizontal-site-title,
.horizontal-site-title a,
.site-title a {
    color: #111111;
    font-size: 1rem;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
}

.horizontal-site-title img,
.custom-logo {
    max-width: 160px;
    height: auto;
}

.main-navigation ul,
.horizontal-menu-list,
.horizontal-menu-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.horizontal-menu-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(18px, 2.6vw, 42px);
}

.horizontal-menu-list li {
    position: relative;
}

.horizontal-menu-list a,
.horizontal-menu-list .menu-item > a {
    color: #111111;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    line-height: 1.25;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity .2s ease;
}

.horizontal-menu-list a:hover,
.horizontal-menu-list .current-menu-item > a,
.horizontal-menu-list .current_page_item > a {
    opacity: .55;
}

.horizontal-menu-list .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 210px;
    padding: 14px 0;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 18px 45px rgba(0,0,0,.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.horizontal-menu-list li:hover > .sub-menu,
.horizontal-menu-list li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.horizontal-menu-list .sub-menu a {
    width: 100%;
    padding: 8px 18px;
    font-size: .7rem;
    letter-spacing: .12em;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    padding: 8px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: #111111;
    transition: transform .25s ease, opacity .25s ease;
}

.site-main,
.footer {
    margin-left: 0;
    width: 100%;
}

.footer {
    background-color: #ffffff;
    color: #111111;
    border-top: 1px solid rgba(0,0,0,.08);
}

.footer a {
    color: #111111;
}

@media (max-width: 991.98px) {
    .horizontal-header-inner {
        min-height: 68px;
    }

    .menu-toggle {
        display: inline-block;
        z-index: 1060;
    }

    .main-navigation {
        position: fixed;
        inset: 0;
        z-index: 1050;
        min-height: 100vh;
        padding: 96px 28px 32px;
        background: #ffffff;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
        overflow-y: auto;
    }

    body.mobile-menu-open .main-navigation {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    body.mobile-menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.mobile-menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.mobile-menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .horizontal-menu-list {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 20px;
    }

    .horizontal-menu-list a,
    .horizontal-menu-list .menu-item > a {
        font-size: 1rem;
        letter-spacing: .18em;
    }

    .horizontal-menu-list .sub-menu {
        position: static;
        min-width: 0;
        padding: 10px 0 0 18px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .horizontal-menu-list .sub-menu a {
        padding: 6px 0;
        font-size: .8rem;
        opacity: .75;
    }
}

/* Couleurs personnalisées : fond gris, menu gris, footer noir */
body,
.site-main {
    background-color: #646464 !important;
    color: #ffffff !important;
}

.horizontal-site-header,
.site-header {
    background: #646464 !important;
    /* border-bottom: 1px solid rgba(255,255,255,.18) !important; */
    border-bottom: 0;
    backdrop-filter: none;
}

.horizontal-site-title,
.horizontal-site-title a,
.site-title a,
.horizontal-menu-list a,
.horizontal-menu-list .menu-item > a {
    color: #ffffff !important;
}

.menu-toggle span {
    background: #ffffff !important;
}

.main-navigation {
    background: #646464;
}

.horizontal-menu-list .sub-menu {
    background: #646464 !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.card,
.sidebar-widget {
    background-color: transparent !important;
    color: #ffffff !important;
    box-shadow: none !important;
    border: 1px solid rgba(255,255,255,.16) !important;
}

a,
.text-dark,
.text-muted,
.post-meta,
.card-title a,
.card-text,
.entry-content {
    color: #ffffff !important;
}

.footer {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255,255,255,.18) !important;
}

.footer a,
.footer small,
.footer p {
    color: #ffffff !important;
}

@media (max-width: 991.98px) {
    .main-navigation {
        background: #646464 !important;
    }
}


.wpcp-swiper-wrapper{
	margin-bottom:14px !important;
}