/*
Theme Name: Premium
Theme URI: https://www.maxdana.com/
Author: Sama Team
Author URI: https://www.maxdana.com/
Description: Premium theme for artist Max Dana
Version: 1.0
*/

/* ==================== GOOGLE FONTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Urbanist:wght@400;500;600;700&display=swap');

/* ==================== RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Urbanist', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.7;
    background: #fff;
    overflow-x: hidden;
}

a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.25s ease;
}

a:hover {
    color: #000000;
}

strong, b {
    font-weight: 700;
    color: #1a1a1a;
}

/* ==================== HEADER ==================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 999;
    backdrop-filter: blur(8px);
    height: 68px;
    min-height: 68px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
}

.logo-header img {
    height: 25px;
    width: auto;
    display: block;
}

/* ==================== MENU DESKTOP ==================== */
.main-menu ul {
    display: flex;
    gap: 22px;
    list-style: none;
}

.main-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 19px;
    white-space: nowrap;
}

.main-menu a:hover {
    color: #d4af37;
}

/* Progressive menu reduction */
@media (max-width: 1320px) {
    .main-menu ul {
        gap: 18px;
    }
    .main-menu a {
        font-size: 17px;
    }
}

@media (max-width: 1200px) {
    .main-menu ul {
        gap: 18px;
    }
    .main-menu a {
        font-size: 15px;
    }
}

/* ==================== BURGER MENU ==================== */
.hamburger {
    display: none;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.nav-toggle {
    display: none;
}

@media (max-width: 1100px) {
    .hamburger {
        display: block;
    }

    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        padding: 25px 40px 35px;
        backdrop-filter: blur(8px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }

    .nav-toggle:checked ~ .main-menu {
        display: block;
    }

    .main-menu ul {
        flex-direction: column;
        align-items: flex-end;
        gap: 22px;
    }

    .main-menu a {
        font-size: 1.15rem;
    }
}

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-left h1 {
    font-size: clamp(1.5rem, 3.1vw, 2.9rem);
}

.hero-left h2 {
    font-size: clamp(1.1rem, 2.6vw, 2.3rem);
}

@media (max-width: 768px) {
    .hero-left h1 {
        font-size: 1.7rem;
        line-height: 1.35;
    }
    .hero-left h2 {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .hero-left h1 {
        font-size: 1.45rem;
    }
    .hero-left h2 {
        font-size: 1.05rem;
    }
}

/* ==================== GLOBAL TITLES ==================== */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 4vw, 3.0rem);
    line-height: 1.3;
    margin-bottom: 12px;
    color: #1a1a1a;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 3vw, 2.4rem);
    font-style: italic;
    color: #d4af37;
    margin-bottom: 40px;
}

/* White text on dark background */
.magkasama-project h1,
.contact-section h1 {
    color: #fff;
}

/* HERO IMAGE */
.hero-right {
    display: flex;
    justify-content: right;
}

.hero-right img {
    width: 90%;
    height: auto;
}

/* SCROLL INDICATOR */
.scroll-indicator {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 32px;
    margin-bottom: 50px;
}

.scroll-indicator p {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.scroll-arrow {
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
    animation: bounce 2s infinite;
    display: block;
    color: #d4af37;
}

@keyframes bounce {
    0%, 20% { transform: translateY(0); }
    50% { transform: translateY(15px); }
    80%, 100% { transform: translateY(0); }
}

/* ==================== NEWSLETTER BANNER ==================== */
.newsletter-banner {
    background: #000;
    color: #fff;
    padding: 60px 40px;
}

.banner-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.banner-text {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.form-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-tagline {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 10px;
    font-style: italic;
}

.banner-items {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: #888;
    margin-top: 0;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    flex-wrap: wrap;
}

/* ==================== NEWSLETTER FORM - HOMEPAGE (MailPoet) ==================== */
/* Same form id="1" as Inner Circle, but rendered inside the dark homepage
   banner instead of a light content block, so it needs its own scope.
   Selectors target MailPoet's actual generated markup (not a generic
   <input>/<button>, MailPoet renders the submit as input[type="submit"].mailpoet_submit),
   mirroring .newsletter-form-light further down in this file. */

.newsletter-form form.mailpoet_form {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    padding: 0 !important;
    width: 100%;
}

.newsletter-form .mailpoet_paragraph {
    margin: 0 !important;
    flex: 1;
    min-width: 200px;
}

/* The button's own paragraph must NOT stretch like the email field's does,
   otherwise it leaves a visible gap between the input and the button even
   though the button itself stays content-width. Uses :last-of-type instead
   of :has() for broad browser support (including older Firefox releases). */
.newsletter-form .mailpoet_paragraph:last-of-type {
    flex: 0 0 auto !important;
    min-width: 0 !important;
}

/* Champ email */
.newsletter-form input.mailpoet_text {
    width: 100% !important;
    padding: 15px !important;
    border: none !important;
    border-radius: 8px !important;
    background: #fff !important;
    font-family: inherit;
    font-size: 1rem !important;
    color: #1a1a1a !important;
    outline: none;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.newsletter-form input.mailpoet_text::placeholder {
    color: #999;
}

/* Bouton (input type="submit", pas un <button>) */
.newsletter-form input.mailpoet_submit {
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 15px 36px !important;
    font-family: inherit;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.10em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    width: auto !important;
    min-width: 160px;
    white-space: nowrap;
    margin: 0 !important;
    transition: all 0.3s ease;
}

.newsletter-form input.mailpoet_submit:hover {
    background: #d4af37 !important;
    color: #000 !important;
}

/* Messages de succes/erreur MailPoet */
.newsletter-form .mailpoet_validate_success {
    color: #388e3c;
    font-size: 0.9rem;
    margin-top: 8px;
    flex-basis: 100%;
}

.newsletter-form .mailpoet_validate_error {
    color: #b71c1c;
    font-size: 0.9rem;
    margin-top: 8px;
    flex-basis: 100%;
}

/* ==================== HERO BACKGROUND ANIMATION ==================== */
.bg, .bg2, .bg3 {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -1;
    background-image: linear-gradient(-60deg, 
        transparent 49.5%, 
        rgba(140,140,140,0.09) 50%, 
        transparent 50.5%);
    background-size: 80px 80px;
    animation: slide 65s linear infinite;
    pointer-events: none;
    opacity: 0.95;
}

.bg2 {
    animation-direction: reverse;
    animation-duration: 82s;
    background-image: linear-gradient(-60deg, 
        transparent 49.5%, 
        rgba(140,140,140,0.07) 50%, 
        transparent 50.5%);
}

.bg3 {
    animation-duration: 110s;
    background-image: linear-gradient(-60deg, 
        transparent 49.5%, 
        rgba(140,140,140,0.05) 50%, 
        transparent 50.5%);
}

@keyframes slide {
    0%   { transform: translateX(-25%) translateY(-25%); }
    100% { transform: translateX(25%) translateY(25%); }
}

/* ==================== COMMON 3-COLUMN GRID ==================== */
.three-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Common card style for all 3-column grids */
.three-grid .card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.three-grid .card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

.three-grid .card-image {
    height: 240px;
    overflow: hidden;
}

.three-grid .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.three-grid .card:hover .card-image img {
    transform: scale(1.08);
}

.three-grid .card-content {
    padding: 28px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.three-grid .card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.three-grid .card-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    flex-grow: 1;
}

@media (max-width: 968px) {
    .three-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
}

/* ==================== WORLD OF SAMA SECTION ==================== */
.world-of-sama {
    background: #f9f9f9;
    padding: 60px 40px;
}

.section-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Variante dark : titres blancs sur fond sombre */
.magkasama-project .section-header h1,
.magkasama-project .section-header h2,
.contact-section .section-header h1,
.contact-section .section-header h2 {
    color: #fff;
}

/* External links area (specific to World of Sama) */
.card-links-bottom {
    padding: 0 24px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-link {
    color: #d4af37;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.card-link:hover {
    color: #000;
}

/* ==================== RESPONSIVE WORLD OF SAMA ==================== */
@media (max-width: 1200px) {
    .world-of-sama .three-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .world-of-sama {
        padding: 80px 20px;
    }
    .world-of-sama .three-grid {
        grid-template-columns: 1fr !important;
        gap: 35px;
    }
    .card-links-bottom {
        padding: 0 24px 28px 24px;
    }
}


/* ==================== TWO-GRID ==================== */
/* 2 cards cote a cote, puis retour a la ligne naturellement */
.two-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.two-grid .card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.two-grid .card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

.two-grid .card-image {
    height: 260px;
    overflow: hidden;
}

.two-grid .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.two-grid .card:hover .card-image img {
    transform: scale(1.08);
}

.two-grid .card-content {
    padding: 32px 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.two-grid .card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    margin-bottom: 14px;
    color: #1a1a1a;
}

.two-grid .card-content p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #444;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .two-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==================== FOUR-GRID (2x2) ==================== */
/* Grille 2 colonnes, 2 rangees : 4 cards cote a cote en 2x2 */
.four-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.four-grid .card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.four-grid .card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

.four-grid .card-image {
    height: 240px;
    overflow: hidden;
}

.four-grid .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.four-grid .card:hover .card-image img {
    transform: scale(1.08);
}

.four-grid .card-content {
    padding: 28px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.four-grid .card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.four-grid .card-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    flex-grow: 1;
}

@media (max-width: 968px) {
    .four-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==================== INTRO TEXT ? DESKTOP / MOBILE ==================== */
.intro-text-container {
    max-width: 920px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.intro-text-container p {
    line-height: 1.75;
    margin-bottom: 1.3em;
    color: #444;
}

.intro-desktop p {
    font-size: clamp(1.1rem, 3.2vw, 1.4rem);
}

.intro-mobile {
    display: none;
}

@media (max-width: 968px) {
    .intro-desktop {
        display: none;
    }
    .intro-mobile {
        display: block;
    }
    .intro-mobile p {
        font-size: 1.25rem;
        margin-bottom: 0;
    }
}

/* ==================== DESCRIPTION TEXT UNIFORMISATION ==================== */
.description {
    font-size: 1.15rem;
    line-height: 1.78;
    margin-bottom: 28px;
    color: #444;
}

.magkasama-project .description {
    color: #fff;
}

/* Liens dans la section sombre MagkaSama */
.magkasama-project .description a {
    color: #d4af37;
    text-decoration: underline;
    text-decoration-color: rgba(212, 175, 55, 0.4);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.magkasama-project .description a:hover {
    color: #f0d060;
    text-decoration-color: rgba(240, 208, 96, 0.6);
}

/* ==================== MAGKASAMA PROJECT SECTION ==================== */
.magkasama-project {
    background: #0a0a0a;
    color: #fff;
    padding: 50px 40px;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Zoom image */
.magka-right {
    overflow: hidden;
    border-radius: 8px;
	margin-top: 10px;
    max-height: 520px;
}

.magka-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.magka-right:hover img {
    transform: scale(1.08);
}

/* ==================== ARTWORKS GALLERY SECTION ==================== */
.artworks-gallery {
    background: #fff;
    padding: 60px 40px;
}

.carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.32, 0.72, 0, 1);
}

.carousel-track img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    object-fit: cover;
    display: block;
}

.carousel-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.carousel-controls {
    display: flex;
    gap: 20px;
}

.carousel-controls button {
    background: #000;
    color: #fff;
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-controls button:hover {
    background: #d4af37;
    color: #000;
    transform: scale(1.08);
}

.carousel-bottom-bar .btn-black {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.carousel-bottom-bar .btn-black:hover {
    background: #d4af37;
    color: #000;
    transform: scale(1.05);
}

/* ==================== LITERARY WORKS SECTION ==================== */
.literary-works {
    background: #f9f9f9;
    padding-top: 100px;
	padding-right: 40px;
	padding-bottom: 40px;
	padding-left: 40px;
}

.literary-card .excerpt {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #444;
    flex-grow: 1;
    margin-bottom: 30px;
    font-style: italic;
}

.read-more {
    color: #d4af37;
    font-weight: 600;
    font-size: 1.05rem;
    align-self: flex-start;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #000;
}

.cta-center {
    text-align: center;
    margin-top: 70px;
}

/* ==================== RESPONSIVE LITERARY WORKS ==================== */
@media (max-width: 1200px) {
    .literary-works .three-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .literary-works {
    padding-top: 80px;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
    }
    .literary-works .three-grid {
        grid-template-columns: 1fr !important;
        gap: 35px;
    }
    
    .literary-card {
        padding: 32px 24px;
    }
}

/* ==================== DESIGN SECTION ==================== */
.design-section {
    background: #fff;
    padding: 100px 40px;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    background: #0a0a0a;
    color: #fff;
    padding: 100px 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-left h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 16px;
    color: #d4af37;
}

.contact-left .subtitle {
    font-size: 1.35rem;
    color: #aaa;
    margin-bottom: 30px;
}

.contact-left .description {
    font-size: 1.15rem;
    line-height: 1.78;
    margin-bottom: 28px;
    color: #ddd;
}

/* Contact Form 7 */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    background: #1a1a1a;
    border: none;
    color: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

.contact-form .wpcf7-submit {
    background: #fff;
    color: #000;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.contact-form .wpcf7-submit:hover {
    background: #d4af37;
    color: #000;
}


/* ==================== CONTACT PAGE (page d?di?e, fond blanc) ==================== */

/* Structure g?n?rale du formulaire */
.content-page .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Rang?e name + email c?te ? c?te */
.content-page .wpcf7-form .name-email-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
}

/* Div GDPR + Turnstile : marge annul?e */
.content-page .wpcf7-form > div[style*="margin-top: 2px"],
.content-page .wpcf7-form > div[style*="margin-top: -17px"] {
    margin-top: 0 !important;
}

/* Turnstile : align? ? gauche, pas de d?bordement */
.content-page .wpcf7-form .wpcf7-turnstile {
    align-self: flex-start;
}

/* Labels */
.content-page .wpcf7-form label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 8px;
}

/* Champs texte, email, select */
.content-page .wpcf7-form input[type="text"],
.content-page .wpcf7-form input[type="email"],
.content-page .wpcf7-form select,
.content-page .wpcf7-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid #ddd;
    border-radius: 0;
    padding: 12px 0;
    font-family: inherit;
    font-size: 1rem;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.25s ease;
    box-sizing: border-box;
}

/* Focus : ligne dor?e */
.content-page .wpcf7-form input[type="text"]:focus,
.content-page .wpcf7-form input[type="email"]:focus,
.content-page .wpcf7-form select:focus,
.content-page .wpcf7-form textarea:focus {
    border-bottom-color: #d4af37;
}

/* Placeholders discrets */
.content-page .wpcf7-form input[type="text"]::placeholder,
.content-page .wpcf7-form input[type="email"]::placeholder,
.content-page .wpcf7-form textarea::placeholder {
    color: #999;
    font-style: italic;
}

/* Select : chevron minimaliste */
.content-page .wpcf7-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23aaa' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    cursor: pointer;
}

/* Textarea */
.content-page .wpcf7-form textarea {
    min-height: 140px;
    resize: none;
    line-height: 1.7;
}

/* GDPR / acceptance */
.content-page .wpcf7-form .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 4px;
}

.content-page .wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    min-width: 17px;
    border: 1.5px solid #ccc;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    margin-top: 2px;
    transition: border-color 0.2s ease, background 0.2s ease;
    position: relative;
}

.content-page .wpcf7-form .wpcf7-acceptance input[type="checkbox"]:checked {
    background: #d4af37;
    border-color: #d4af37;
}

.content-page .wpcf7-form .wpcf7-acceptance input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Alerte rouge si GDPR non coch? */
.content-page .wpcf7-form .wpcf7-acceptance.wpcf7-not-valid input[type="checkbox"] {
    border-color: #e57373;
    box-shadow: 0 0 0 3px rgba(229, 115, 115, 0.15);
}

.content-page .wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label,
.content-page .wpcf7-form .wpcf7-acceptance span {
    font-size: 0.82rem;
    color: #999;
    line-height: 1.5;
}

.content-page .wpcf7-form .wpcf7-acceptance a {
    color: #aaa;
    transition: color 0.2s ease;
}
.content-page .wpcf7-form .wpcf7-acceptance a:hover {
    color: #d4af37;
}

/* Bouton submit */
.content-page .wpcf7-form .wpcf7-submit {
    display: inline-block;
    background: #0a0a0a;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 48px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 6px;
}

.content-page .wpcf7-form .wpcf7-submit:hover {
    background: #d4af37;
    color: #000;
}

/* Spinner CF7 */
.content-page .wpcf7-form .wpcf7-spinner {
    vertical-align: middle;
    margin-left: 12px;
}

/* Messages CF7 */
.content-page .wpcf7-response-output {
    margin-top: 8px !important;
    margin-bottom: 0;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    border: none !important;
    font-style: normal;
    letter-spacing: 0.01em;
}

.content-page .wpcf7-mail-sent-ok {
    background: #f6fdf6;
    border-left: 3px solid #4caf50;
    color: #388e3c;
}

.content-page .wpcf7-validation-errors,
.content-page .wpcf7-acceptance-missing {
    background: #fff8f8;
    border-left: 3px solid #e57373;
    color: #b71c1c;
}

.content-page .wpcf7-mail-sent-ng {
    background: #fff8f8;
    border-left: 3px solid #e57373;
    color: #b71c1c;
}

/* Erreurs inline */
.content-page .wpcf7-not-valid-tip {
    font-size: 0.78rem;
    color: #e57373;
    margin-top: 5px;
    display: block;
    font-style: italic;
}

/* Responsive */
@media (max-width: 600px) {
    .content-page .wpcf7-form {
        grid-template-columns: 1fr;
    }
}


/* ==================== NEWSLETTER FORM - VARIANTE FOND BLANC (inner circle) ==================== */
/* Wrapper de la section newsletter inner circle */
.newsletter-ic-block {
    background: #f9f7f2;
    border-left: 3px solid #d4af37;
    border-radius: 0 12px 12px 0;
    padding: 40px 48px;
    margin: 10px 0 30px 0;
}

.newsletter-ic-block .newsletter-ic-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 12px;
}

.newsletter-ic-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.newsletter-ic-block .newsletter-ic-sub {
    font-size: 0.95rem;
    color: #888;
    margin: 0 0 28px 0;
    line-height: 1.6;
}

/* Formulaire lui-meme */
/* ==================== NEWSLETTER FORM - INNER CIRCLE (MailPoet) ==================== */
/* Selecteurs ajustes sur le HTML reellement genere par MailPoet :
   champ email = input.mailpoet_text (pas .mailpoet_input)
   bouton = input[type="submit"].mailpoet_submit (pas un <button>) */

.newsletter-form-light .mailpoet_form_shortcode {
    max-width: 520px;
}

.newsletter-form-light form.mailpoet_form {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 0 !important;
}

/* Champ email */
.newsletter-form-light input.mailpoet_text {
    width: 100% !important;
    padding: 16px 20px !important;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    font-family: inherit;
    font-size: 1rem !important;
    color: #1a1a1a !important;
    outline: none;
    box-sizing: border-box !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    margin: 0 !important;
}

.newsletter-form-light input.mailpoet_text:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.10);
}

.newsletter-form-light input.mailpoet_text::placeholder {
    color: #bbb;
    font-style: italic;
}

/* Le paragraphe wrapper de MailPoet ne doit pas garder sa marge par defaut */
.newsletter-form-light .mailpoet_paragraph {
    margin-bottom: 0 !important;
}

/* Bouton (c'est un input type=submit, pas un <button>) */
.newsletter-form-light input.mailpoet_submit {
    background: #0a0a0a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px 36px !important;
    font-family: inherit;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.10em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    width: auto !important;
    min-width: 160px;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin: 0 !important;
}

.newsletter-form-light input.mailpoet_submit:hover {
    background: #d4af37 !important;
    color: #000 !important;
}

/* Messages de succes/erreur MailPoet */
.newsletter-form-light .mailpoet_validate_success {
    color: #388e3c;
    font-size: 0.9rem;
    margin-top: 8px;
}

.newsletter-form-light .mailpoet_validate_error {
    color: #b71c1c;
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Disposition cote a cote sur desktop */
@media (min-width: 600px) {
    .newsletter-form-light form.mailpoet_form {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .newsletter-form-light .mailpoet_paragraph {
        flex: 1;
        margin: 0 !important;
    }
}

@media (max-width: 600px) {
    .newsletter-ic-block {
        padding: 28px 24px;
    }
}

/* ==================== MAILPOET MANAGE SUBSCRIPTION ==================== */
/* Page /manage-subscription/ generee automatiquement par MailPoet */

.mailpoet-manage-subscription,
.mailpoet_manage_subscription_form {
    max-width: 680px;
    margin: 0 auto;
    padding: 20px 0 60px;
    font-family: 'Urbanist', sans-serif;
}

.mailpoet_manage_subscription_form input[type="email"],
.mailpoet_manage_subscription_form input[type="text"] {
    background: transparent !important;
    border: none !important;
    border-bottom: 1.5px solid #ddd !important;
    border-radius: 0 !important;
    padding: 12px 0 !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    color: #1a1a1a !important;
    outline: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.mailpoet_manage_subscription_form input[type="email"]:focus,
.mailpoet_manage_subscription_form input[type="text"]:focus {
    border-bottom-color: #d4af37 !important;
    box-shadow: none !important;
}

.mailpoet_manage_subscription_form select {
    background: transparent !important;
    border: none !important;
    border-bottom: 1.5px solid #ddd !important;
    border-radius: 0 !important;
    padding: 12px 0 !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    color: #1a1a1a !important;
    outline: none !important;
    appearance: none !important;
    width: 100% !important;
}

.mailpoet_manage_subscription_form label {
    display: block !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.10em !important;
    text-transform: uppercase !important;
    color: #aaa !important;
    margin-bottom: 4px !important;
    margin-top: 20px !important;
}

.mailpoet_manage_subscription_form table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 20px 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.mailpoet_manage_subscription_form table td,
.mailpoet_manage_subscription_form table th {
    padding: 10px 8px !important;
    border: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-size: 0.95rem !important;
    color: #444 !important;
    background: transparent !important;
    vertical-align: middle !important;
}

.mailpoet_manage_subscription_form fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.mailpoet_manage_subscription_form fieldset legend {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.10em !important;
    text-transform: uppercase !important;
    color: #aaa !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
}

.mailpoet_manage_subscription_form input[type="submit"],
.mailpoet_manage_subscription_form button[type="submit"],
form.mailpoet-manage-subscription input[type="submit"],
form.mailpoet-manage-subscription button[type="submit"] {
    background: #0a0a0a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px 40px !important;
    font-family: inherit;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 24px !important;
    display: inline-block !important;
    width: auto !important;
    min-width: auto !important;
}

.mailpoet_manage_subscription_form input[type="submit"]:hover,
.mailpoet_manage_subscription_form button[type="submit"]:hover,
form.mailpoet-manage-subscription input[type="submit"]:hover,
form.mailpoet-manage-subscription button[type="submit"]:hover {
    background: #d4af37 !important;
    color: #000 !important;
}

form.mailpoet-manage-subscription p.mailpoet_submit {
    text-align: left;
    margin-top: 10px;
}


/* ==================== NEWSLETTER BANNER RESPONSIVE ==================== */
@media (max-width: 768px) {
    .newsletter-banner {
        padding: 40px 24px;
    }

    .banner-inner {
        flex-direction: column;
        gap: 24px;
    }

    .banner-text,
    .form-wrapper {
        flex: none;
        width: 100%;
    }

    .newsletter-form form.mailpoet_form {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .newsletter-form input.mailpoet_text {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .newsletter-form input.mailpoet_submit {
        width: 100% !important;
        text-align: center;
    }
}


/* CTA placed above the images (between title/text and grid) */
.cta-top {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 10px;
}

/* ==================== GLOBAL BUTTONS ==================== */
/* Gold button */
.btn-gold {
    display: inline-block;
    background: #e3c45f;
    color: #000;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: #000;
    color: #fff;
    transform: scale(1.05);
}

.magkasama-project .btn-gold:hover,
.contact-section .btn-gold:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

.btn-black {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-black:hover {
    background: #d4af37;
    color: #000;
    transform: scale(1.05);
}

.cta-center {
    text-align: center;
    margin-top: 60px;
}

/* ==================== PAGE TITLE (r?utilisable sur toutes les pages) ==================== */
.page-title {
    margin-bottom: 70px;
}

.page-title h1 {
    font-size: clamp(1.75rem, 5vw, 2.4rem);
    font-weight: 400;
    line-height: 1.15;
    color: #1a1a1a;
    text-align: left;
}

@media (min-width: 1400px) {
    .page-title {
        padding-left: 20px;
    }
}

@media (max-width: 968px) {
    .page-title {
        margin-top: 20px;
        margin-bottom: 50px;
        padding-left: 20px;
    }
    
    .page-title h1 {
        font-size: clamp(1.75rem, 5vw, 2.4rem);
    }
}

/* ==================== CONTENT PAGES (Bio, Commitments, Design, etc.) ==================== */
.content-page {
    padding: 100px 40px 50px;
    background: #fff;
}

.content-page .section-inner {
    max-width: 920px;
    margin: 0 auto;
}

.content-block {
    margin-bottom: 75px;
}

.content-page .content-block p,
.content-page .content-block li {
    font-size: clamp(1.15rem, 3.0vw, 1.35rem);
    line-height: 1.78;
    color: #444;
    margin-bottom: 1.45em;
}

.final-line {
    font-family: 'Playfair Display', serif;
    font-size: 1.60rem;
    line-height: 1.6;
    color: #1a1a1a;
    text-align: center;
    margin-top: 60px;
}

@media (min-width: 1200px) {
    .content-page .content-block p {
        font-size: 1.38rem;
    }
}

@media (max-width: 968px) {
    .content-page {
        padding: 80px 20px 70px;
    }
    
    .content-page .content-block p {
        font-size: 1.13rem;
        line-height: 1.75;
    }
}

/* Quote blocks */
.quote-block {
    margin: 50px 0;
    padding-left: 40px;
    border-left: 5px solid #d4af37;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.28rem, 2.8vw, 1.45rem);
    line-height: 1.65;
    color: #1a1a1a;
    font-style: italic;
}

/* Centered images with caption */
.content-image {
    text-align: center;
    margin: 60px 0 80px;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.image-caption {
    margin-top: 14px;
    font-size: 0.96rem;
    color: #888;
    font-style: italic;
}

/* Images Writings - taille optimis?e + zoom hover */
.content-page .content-image {
    margin: 45px 0 65px;
    text-align: center;
}

.content-page .content-image img {
    max-width: 100% !important;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
    transition: transform 0.6s ease;
}

.content-page .content-image:hover img {
    transform: scale(1.04);     /* Zoom l?ger et ?l?gant */
}

/* Sur grand ?cran on limite la taille */
@media (min-width: 768px) {
    .content-page .content-image img {
        max-width: 620px !important;
    }
}

/* ==================== GO TO TOP ==================== */
#gotop {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 30px;
    width: 50px;
    height: 50px;
    font-size: 28px;
    color: #333;
    background-color: #f5f5f5;
    border-radius: 50%;
    line-height: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s ease;
}

#gotop:hover {
    background-color: #d4af37;
    color: white;
    transform: scale(1.1);
}

/* ==================== PARALLAX ==================== */
.parallax-section {
    position: relative;
    height: 40vh;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
	border-block: 1px solid black;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 950px;
    padding: 0 20px;
}

.parallax-content h2 {
    display: inline;
    color: #fff;
    font-style: italic;
    font-size: clamp(1.2rem, 2.8vw, 1.9rem);
    background: rgba(10, 10, 10, 0.85);
    padding: 0.15em 0.6em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    line-height: 2.3;
}

@media (max-width: 600px) {
    .parallax-content h2 br {
        display: none;
    }
    .parallax-section {
        height: auto;
        min-height: 0;
        padding: 30px 0;
    }
}

/* ==================== HERO DESCRIPTION ANIMATION ==================== */
.hero-description p {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.9s ease-out;
    margin-bottom: 18px;
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
    line-height: 1.55;
}

.hero-description p {
    animation: slideInLeft 0.9s ease-out forwards;
}

.hero-description p:nth-child(1) { animation-delay: 400ms; }
.hero-description p:nth-child(2) { animation-delay: 900ms; }
.hero-description p:nth-child(3) { animation-delay: 1400ms; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== SCROLL INDICATOR ANIMATION ==================== */
.scroll-indicator {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: revealScrollIndicator 1.2s ease-out forwards;
    animation-delay: 2200ms;
}

.scroll-indicator p {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.scroll-arrow {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    display: block;
    color: #d4af37;
    animation: bounce 2.2s infinite;
    animation-delay: 3200ms;
}

@keyframes revealScrollIndicator {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(12px); }
    70% { transform: translateY(6px); }
}

/* ==================== SITE FOOTER ==================== */
.site-footer {
    background: #0a0a0a;
    color: #aaa;
    padding: 70px 40px 45px;
}

.footer-container {
    max-width: 1350px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-col:first-child {
    padding-left: 15px;
}

.footer-col h4 {
    color: #d4af37;
    font-family: 'Playfair Display', serif;
    font-size: 1.22rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.footer-col ul {
    list-style: none;
    font-size: 1.02rem;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-logo {
    height: 25px;
    margin-bottom: 16px;
    opacity: 0.95;
}

.footer-desc {
    font-size: 1.02rem;
    line-height: 1.75;
    max-width: 300px;
    color: #999;
    margin-bottom: 35px;
}

.footer-bottom-left {
    font-size: 0.93rem;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-left p {
    margin-bottom: 6px;
}

.footer-legal-nav a {
    color: #888;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-legal-nav a:hover {
    color: #d4af37;
}

.footer-legal-nav .separator {
    color: #555;
    margin: 0 6px;
}

.footer-col .social-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #aaa;
    transition: color 0.25s ease;
}

.footer-col .social-item:hover {
    color: #d4af37;
}

.footer-col .social-item i {
    font-size: 1.3rem;
}

/* ==================== FOOTER RESPONSIVE ==================== */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 45px 35px;
    }
    
    .site-footer {
        padding: 60px 20px 40px;
    }
    
    .footer-bottom-left {
        padding-top: 20px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==================== MOBILE GLOBAL ==================== */
@media (max-width: 968px) {
    .world-of-sama,
    .magkasama-project,
    .artworks-gallery,
    .literary-works,
    .design-section,
    .contact-section,
    .content-page {
        padding: 80px 20px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 20px;
        gap: 40px;
    }

    .section-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .magka-right {
        max-height: 380px;
    }
}

/* ==================== BIOGRAPHY STAGGERED TEXT ANIMATION ==================== */
/* Apparition progressive du texte sur la page Biography */

.content-page .content-block p,
.content-page .content-block .final-line {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpBio 0.95s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeInUpBio {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* D?lais progressifs par bloc (ajuste les valeurs selon le rythme d?sir?) */
.content-page .content-block:nth-child(1) p { animation-delay: 150ms; }
.content-page .content-block:nth-child(2) p { animation-delay: 300ms; }
.content-page .content-block:nth-child(3) p { animation-delay: 450ms; }
.content-page .content-block:nth-child(4) p { animation-delay: 550ms; }
.content-page .content-block:nth-child(5) p { animation-delay: 650ms; }
.content-page .content-block:nth-child(6) p { animation-delay: 750ms; }
.content-page .content-block:nth-child(7) p { animation-delay: 800ms; }

/* D?lais sp?cifiques pour les .final-line */
.content-page .content-block .final-line {
    animation-duration: 1.1s;
}

.content-page .content-block:nth-child(1) .final-line { animation-delay: 400ms; }
.content-page .content-block:nth-child(7) .final-line { animation-delay: 800ms; }

/* Animation du titre Biography */
.page-title h1 {
    opacity: 0;
    animation: fadeInUpBio 0.8s ease-out forwards;
    animation-delay: 150ms;
}

/* ==================== ARTIFACTS MASONRY ==================== */
.artifacts-masonry-section {
    padding: 40px 0 100px;
}

.masonry-grid {
    column-count: 3;
    column-gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 32px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.masonry-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

.masonry-image-wrapper {
    position: relative;
    overflow: hidden;
}

.masonry-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.masonry-item:hover .masonry-image-wrapper img {
    transform: scale(1.06);
}

.masonry-caption {
    padding: 24px 24px 28px;
}

.masonry-caption h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.masonry-caption p {
    font-size: 1.02rem;
    color: #777;
    line-height: 1.5;
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    touch-action: none;
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(12px);
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95vh;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image-wrapper {
    position: relative;           /* Important for positioning the close icon */
    max-height: 78vh;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.6);
    background: #000;
    margin-bottom: 15px;
}

.lightbox-image-wrapper img {
    max-height: 78vh;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.lightbox-caption {
    text-align: center;
    color: #fff;
    max-width: 700px;
    padding: 0 10px;
}

.lightbox-caption h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.lightbox-caption p {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
}

/* Cross placed ON the image */
.lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    border: 2px solid #d4af37;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.lightbox-close:hover {
    background: #d4af37;
    color: #000;
    transform: rotate(90deg) scale(1.08);
}

/* Mobile */
@media (max-width: 768px) {
    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
    .lightbox-image-wrapper {
        max-height: 74vh;
    }
    .lightbox {
        padding: 10px;
    }
}

/* Navigation */
.lightbox-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 20px;
}

.lightbox-nav button {
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-nav button:hover {
    background: #d4af37;
    color: #000;
    transform: scale(1.1);
}

.lightbox-counter {
    font-size: 1.1rem;
    color: #ccc;
    min-width: 80px;
    text-align: center;
}

/* Hover masonry */
.masonry-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

.masonry-item {
    cursor: zoom-in;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1100px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        column-count: 1;
        column-gap: 20px;
    }
    .masonry-item {
        margin-bottom: 24px;
    }
    .lightbox {
        padding: 15px;
    }
    .lightbox-image-wrapper {
        max-height: 72vh;
    }
    .lightbox-close {
        top: -50px;
        font-size: 36px;
    }
}

/* ==================== ARTWORKS MASONRY 2 COLONNES ==================== */
.artworks-masonry-section {
    padding: 0px 0 70px;
}

.masonry-grid-2 {
    column-count: 2;
    column-gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.masonry-grid-2 .masonry-item {
    break-inside: avoid;
    margin-bottom: 32px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.masonry-grid-2 .masonry-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.masonry-grid-2 .masonry-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.masonry-grid-2 .masonry-item:hover img {
    transform: scale(1.04);
}

.masonry-caption-center {
    text-align: center;
    padding: 18px 20px 22px;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 968px) {
    .masonry-grid-2 {
        column-count: 1;
        column-gap: 20px;
    }
}

/* ==================== SINGLE IMAGE AVEC LEGENDE (comme Commitments) ==================== */
.masonry-single {
    max-width: 100%;
    margin: 50px auto 60px;
    text-align: center;
}

.masonry-single img {
    max-width: 100% !important;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.single-caption {
    margin-top: 20px;
    padding: 0 10px;
}

.single-caption h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.single-caption p {
    font-size: 1.05rem;
    color: #555;
}

/* Sur grand ?cran : m?me taille que les autres content-image */
@media (min-width: 768px) {
    .masonry-single img {
        max-width: 620px !important;
    }
}

/* Pour cacher les donn?es de l?gende tout en les gardant pour la lightbox */
.hidden-caption {
    display: none !important;
}

/* ==================== SPLIT CARD (Texte / Image) ==================== */
.split-card {
    max-width: 1200px;
    margin: 60px auto;
}

.split-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 40px;
    align-items: center;
}

.split-text h3 {
    font-family: 'Playfair Display', serif;
	font-size: clamp(1.4rem, 2.8vw, 1.7rem);
    margin-bottom: 12px;
    color: #1a1a1a;
}

.split-text p {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #444;
    margin-bottom: 16px;
}

.split-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.split-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.split-image:hover img {
    transform: scale(1.06);
}

/* Version invers?e */
.split-card.reverse .split-card-inner {
    grid-template-columns: 1fr 1fr;
}

.split-card.reverse .split-text {
    order: 2;
}

.split-card.reverse .split-image {
    order: 1;
}

/* Responsive */
@media (max-width: 968px) {
    .split-card-inner,
    .split-card.reverse .split-card-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    .split-card {
        margin: 30px 16px;   /* marge lat?rale sur mobile */
    }
}
/* ==================== CHRONICLE FEATURED IMAGE (single) ==================== */
.chronicle-featured-image {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 20px;
    margin: 0 0 50px;
    text-align: center;
}

.chronicle-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .chronicle-featured-image img {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .chronicle-featured-image {
        padding: 14px;
    }
}

/* ==================== CHRONICLE CATEGORY (single post, above breadcrumb) ==================== */
.chronicle-category {
    font-size: 0.95rem;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 6px;
}

.chronicle-category a {
    color: #d4af37;
}

.chronicle-category a:hover {
    color: #000;
}

/* ==================== CHRONICLE BREADCRUMB ==================== */
.chronicle-breadcrumb {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.chronicle-breadcrumb a {
    color: #888;
    font-weight: 600;
    transition: color 0.25s ease;
}

.chronicle-breadcrumb a:hover {
    color: #d4af37;
}

/* ==================== CHRONICLE ACCESS BADGE ==================== */
.chronicle-access-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #d4af37;
    border: 1px solid #d4af37;
    border-radius: 50px;
    padding: 4px 14px;
    margin-bottom: 14px;
}

/* ==================== CHRONICLE IN-CONTENT IMAGES (editor-selectable classes) ==================== */
.content-page .content-block .chronicle-img-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 16px;
    margin-bottom: 30px;
}

.content-page .content-block .chronicle-img-box img {
    border-radius: 8px;
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.content-page .content-block .chronicle-img-left {
    float: left;
    max-width: 320px;
    margin: 6px 30px 20px 0;
}

.content-page .content-block .chronicle-img-right {
    float: right;
    max-width: 320px;
    margin: 6px 0 20px 30px;
}

.content-page .content-block .chronicle-img-center {
    float: none;
    max-width: 620px;
    margin: 40px auto;
}

@media (max-width: 768px) {
    .content-page .content-block .chronicle-img-left,
    .content-page .content-block .chronicle-img-right {
        float: none;
        max-width: 100%;
        margin: 0 auto 30px;
    }
}

/* ==================== CHRONICLES FREEMIUM ==================== */
.chronicle-locked-wrapper {
    margin-top: 20px;
}

/* Purely decorative — fixed fake "lines", never the real hidden text */
.chronicle-locked-placeholder {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 30px 0 40px;
    filter: blur(2px);
    opacity: 0.45;
    user-select: none;
    pointer-events: none;
}

.chronicle-locked-placeholder span {
    display: block;
    height: 14px;
    border-radius: 4px;
    background: #ccc;
}

.chronicle-locked-placeholder span:nth-child(1) { width: 100%; }
.chronicle-locked-placeholder span:nth-child(2) { width: 94%; }
.chronicle-locked-placeholder span:nth-child(3) { width: 88%; }
.chronicle-locked-placeholder span:nth-child(4) { width: 96%; }
.chronicle-locked-placeholder span:nth-child(5) { width: 70%; }

/* Normal document flow, solid background — nothing to clip, full contrast */
.chronicle-locked-overlay {
    text-align: center;
    padding: 10px 20px 0;
}

.chronicle-locked-overlay p {
    color: #1a1a1a;
}

/* Shared by the full password-gate page (md_chronicle_render_password_gate)
   and the inline unlock form on single Chronicles, so both match the
   site's established underline-input style (see .wpcf7-form). */
.chronicle-password-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 300px;
    margin: 30px auto 0;
}

.chronicle-password-form input[type="password"] {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid #ddd;
    border-radius: 0;
    padding: 12px 0;
    font-family: inherit;
    font-size: 1rem;
    color: #1a1a1a;
    text-align: center;
    outline: none;
    transition: border-color 0.25s ease;
    box-sizing: border-box;
}

.chronicle-password-form input[type="password"]:focus {
    border-bottom-color: #d4af37;
}

.chronicle-password-form input[type="password"]::placeholder {
    color: #999;
    font-style: italic;
}

/* ==================== CHRONICLES HOME SECTION ==================== */
.chronicles-home-section {
    background: #fff;
    padding-top: 60px;
	padding-right: 40px;
	padding-bottom: 100px;
	padding-left: 40px;
}

@media (max-width: 968px) {
    .chronicles-home-section {
        padding: 80px 20px;
    }
}

.blink-head {
opacity: 0.5;
transition-duration: 0.2s;
}
.blink-head:hover{
opacity: 1;
transition-duration: 0.2s;
}

/* ==================== DIVIDER ==================== */
.section-divider {
    width: 100%;
    height: 21px;
    background-image: url('/img/theme/maxdana_background_samaline_gold.jpg');
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 19px;
}

@media (max-width: 768px) {
    .section-divider {
        height: 21px;
    }
}

/* ==================== CHRONICLE "NEW" BADGE ==================== */
.chronicle-new-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff6a00;
    font-size: 0.85em;
    margin-left: 6px;
    vertical-align: middle;
}

.chronicle-premium-badge {
	color:#e3c45f;
}

/* ==================== SOCIAL BANNER (home section) ==================== */
.social-banner {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    margin-top: 0px;
}

.social-banner a.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
    transition: color 0.25s ease, transform 0.25s ease;
}

.social-banner a.social-item:hover {
    color: #d4af37;
    transform: scale(1.08);
}

.social-banner i {
    font-size: 38px;
}

/* ==================== LIGHT VARIANT (Welcome Samayan Confirmed page) ==================== */
/* Same X links as the homepage's "The Conversation Continues" section, but
   folded into the regular page copy instead of a separate dark banner:
   icons in plain black, handles shown as small black pill badges. */
.social-row-light {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 36px;
    margin: 20px 0 10px;
}

.social-row-light .social-item-light {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.social-row-light .social-item-light:hover {
    transform: scale(1.08);
}

.social-row-light .social-item-light i {
    font-size: 28px;
    color: #1a1a1a;
}

.social-row-light .social-handle-badge {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-family: 'Urbanist', sans-serif;
    letter-spacing: 0.03em;
}

.social-item-disabled {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
    opacity: 0.5;
    cursor: default;
}

.social-icon-wrap {
    position: relative;
    display: inline-block;
    line-height: 1;
    opacity: 0.5;
    cursor: default;
}

.social-new-badge {
    position: absolute;
    top: -4px;
    right: -34px;
    color: #e3c45f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.social-handle {
    font-size: 14px;
    font-family: 'Urbanist', sans-serif;
    color: #cfcac0;
    letter-spacing: 0.02em;
}

@media (max-width: 600px) {
    .social-banner {
        gap: 24px;
    }
    .social-banner i {
        font-size: 32px;
    }
    .social-handle {
        font-size: 12px;
    }
}