:root {
    --bg:#070908;
    --panel:#111411;
    --text:#f5f6f2;
    --muted:#a7aca5;
    --lime:#caff20;
    --line:#282d28
}

* {
    box-sizing:border-box
}

html,body {
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:Arial,Helvetica,sans-serif
}

body {
    min-height:100vh
}

a {
    color:inherit;
    text-decoration:none
}

header {
    height:86px;
    border-bottom:1px solid var(--line);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 3%;
    position:sticky;
    top:0;
    background:rgba(7,9,8,.96);
    z-index:10
}

.brand {
    font-size:24px;
    font-weight:800;
    letter-spacing:2px
}

.brand span {
    display:inline-block;
    width:18px;
    height:18px;
    border-radius:50%;
    background:var(--lime);
    margin-right:12px
}

nav {
    display:flex;
    align-items:center;
    gap:32px;
    font-size:17px
}

.langs {
    display:flex;
    gap:9px;
    border-left:1px solid var(--line);
    padding-left:18px
}

.langs a {
    color:var(--muted);
    text-transform:uppercase;
    font-size:13px
}

.btn {
    display:inline-block;
    border:0;
    background:var(--lime);
    color:#0a0b08;
    padding:17px 26px;
    border-radius:18px;
    font-weight:800;
    font-size:16px;
    cursor:pointer
}

.secondary {
    background:#222622;
    color:#fff
}

.navbtn {
    padding:17px 25px
}

.hero {
    padding:70px 3% 45px
}

.hero h1 {
    font-size:clamp(44px,7vw,92px);
    line-height:.9;
    margin:0 0 42px;
    font-weight:900;
    letter-spacing:-4px
}

.hero h1 b {
    color:var(--lime)
}

.search {
    display:grid;
    grid-template-columns:2fr 1fr 1fr auto;
    gap:14px
}

.search input,.search select,.narrow input,.narrow select,.narrow textarea {
    background:#0f120f;
    border:1px solid #2c312c;
    color:#fff;
    border-radius:17px;
    padding:17px 20px;
    font-size:17px;
    width:100%
}

.listing {
    padding:10px 3% 50px;
    max-width:1300px;
    margin:auto
}

.section-heading {
    max-width:1300px;
    margin:35px auto 0;
    padding:0 3%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px
}

.section-heading h2 {
    font-size:32px;
    margin:0
}

.section-heading a {
    color:var(--lime);
    font-weight:700
}

.blog-home {
    border-top:1px solid var(--line);
    padding:25px 0 10px;
    margin-top:10px
}

.blog-home .listing {
    padding-top:10px
}

.blog-home .adcard h2 {
    margin-bottom:15px
}

.adcard {
    display:grid;
    grid-template-columns:240px 1fr;
    gap:25px;
    border-top:1px solid var(--line);
    padding:25px 0
}

.thumb {
    height:170px;
    background:#151915;
    border-radius:16px;
    overflow:hidden
}

.thumb img {
    width:100%;
    height:100%;
    object-fit:cover
}

.adcard h2 {
    font-size:25px;
    margin:3px 0 15px
}

.adcard p {
    color:var(--muted);
    line-height:1.55;
    max-width:800px
}

.flag {
    font-size:22px
}

.meta {
    display:flex;
    justify-content:space-between;
    gap:20px;
    margin-top:20px;
    color:var(--muted)
}

.meta strong {
    color:var(--lime);
    font-size:18px
}

.empty,.notice,.errors,.success {
    border:1px solid var(--line);
    border-radius:18px;
    padding:45px;
    text-align:center
}

.narrow {
    max-width:950px;
    margin:50px auto;
    padding:0 25px
}

.narrow form {
    display:grid;
    gap:17px
}

.narrow label {
    display:grid;
    gap:8px;
    color:#d9ddd6
}

.check {
    display:flex!important;
    align-items:center
}

.check input {
    width:auto
}

.trap {
    position:absolute;
    left:-10000px
}

.errors {
    color:#ff8e8e;
    text-align:left;
    margin-bottom:20px
}

.success {
    margin-top:100px
}

.center {
    text-align:center
}

.pagination {
    display:flex;
    justify-content:center;
    gap:8px;
    padding:10px 0 60px
}

.pagination a {
    padding:10px 14px;
    border:1px solid var(--line);
    border-radius:10px
}

.pagination .active {
    background:var(--lime);
    color:#000
}

.detail {
    width:100%;
    max-width:none;
    margin:42px auto 70px;
    display:block;
    padding:0 3%
}

.ad-detail-content {
    width:100%;
}

.gallery {
    display:grid;
    gap:14px
}

.ad-gallery-bottom {
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    margin-top:34px;
    padding-top:28px;
    border-top:1px solid var(--line);
    align-items:stretch
}

.ad-gallery-bottom a {
    display:block;
    min-width:0;
    border-radius:16px;
    overflow:hidden;
    background:#151915
}

.gallery img {
    display:block;
    width:100%;
    height:210px;
    object-fit:cover;
    border-radius:16px
}

.detail h1 {
    font-size:44px;
    line-height:1.05
}

.price {
    color:var(--lime);
    font-size:28px;
    font-weight:800;
    margin:20px 0
}

.content {
    line-height:1.7;
    white-space:normal;
    color:#d5dad3
}

.video {
    width:100%;
    aspect-ratio:16/9;
    border:0;
    border-radius:16px;
    margin-top:25px
}

.contact {
    margin-top:25px;
    border-top:1px solid var(--line);
    padding-top:20px
}

.bloggrid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px
}

.bloggrid article {
    border:1px solid var(--line);
    padding:18px;
    border-radius:16px
}

.bloggrid img,.article-cover {
    width:100%;
    border-radius:12px
}

.article {
    line-height:1.7
}

.article h1 {
    font-size:48px
}

footer {
    border-top:1px solid var(--line);
    padding:40px 3%;
    color:var(--muted);
    margin-top:60px
}

footer a {
    color:var(--lime)
}

.footer-links {
    line-height:1.6;
}


.footer-reference-text {
    margin-top:18px;
    max-width:1500px;
    color:#7f877d;
    font-size:10.5px;
    line-height:1.55;
    font-weight:400;
}

.footer-reference-text p {
    margin:0 0 5px;
}

.footer-reference-text p:last-child {
    margin-bottom:0;
}

@media(max-width:700px) {
    .footer-reference-text {
        font-size:9.5px;
        line-height:1.5;
    }
}

@media(max-width:850px) {
    header {
        height:auto;
        padding:18px 20px;
        align-items:flex-start
    }

    nav {
        gap:12px;
        font-size:14px;
        flex-wrap:wrap;
        justify-content:flex-end
    }

    .brand {
        font-size:18px
    }

    .search {
        grid-template-columns:1fr
    }

    .adcard {
        grid-template-columns:120px 1fr
    }

    .thumb {
        height:120px
    }

    .adcard h2 {
        font-size:20px
    }

    .meta {
        display:block
    }

    .detail {
        grid-template-columns:1fr
    }

    .bloggrid {
        grid-template-columns:1fr
    }

    .hero {
        padding-top:45px
    }

    .hero h1 {
        letter-spacing:-2px
    }

}

/* Administration : menu commun en haut de chaque page */ .admin-topbar {
    position:sticky;
    top:0;
    z-index:50;
    width:100%;
    border-bottom:1px solid var(--line);
    background:rgba(7,9,8,.97);
    backdrop-filter:blur(10px)
}

.admin-topbar-inner {
    max-width:1200px;
    margin:0 auto;
    padding:12px 25px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px
}

.admin-nav-brand {
    font-size:18px;
    font-weight:900;
    white-space:nowrap;
    letter-spacing:.2px
}

.admin-nav-brand span {
    color:var(--lime)
}

.admin-nav-links {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    flex-wrap:wrap
}

.admin-nav-links>a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:10px 14px;
    border:1px solid transparent;
    border-radius:12px;
    color:#d9ddd6;
    font-size:14px;
    font-weight:700;
    transition:.15s ease
}

.admin-nav-links>a:hover,.admin-nav-links>a.active {
    background:#1a1e1a;
    border-color:#343a34;
    color:var(--lime)
}

.admin-nav-links .admin-logout {
    width:42px;
    padding:9px;
    color:#ffb4b4;
    border-color:#3f2929;
    background:#241717;
    margin-left:4px
}

.admin-nav-links .admin-logout:hover {
    background:#3a2020;
    border-color:#603434;
    color:#fff
}

.admin-logout svg {
    width:20px;
    height:20px;
    fill:currentColor
}

body:has(.admin-topbar) .narrow {
    margin-top:34px
}

@media(max-width:760px) {
    .admin-topbar-inner {
        align-items:flex-start;
        flex-direction:column;
        gap:10px;
        padding:12px 16px
    }

    .admin-nav-links {
        width:100%;
        justify-content:flex-start;
        gap:6px
    }

    .admin-nav-links>a {
        padding:9px 11px;
        font-size:13px
    }

    .admin-nav-links .admin-logout {
        margin-left:auto
    }

    .admin-nav-brand {
        font-size:17px
    }

    body:has(.admin-topbar) .narrow {
        margin-top:25px
    }

}

/* Drapeaux locaux + sélecteur de pays sans emoji ni service externe */ .country-flag {
    display:inline-block;
    width:26px;
    height:18px;
    object-fit:cover;
    border-radius:3px;
    vertical-align:-3px;
    box-shadow:0 0 0 1px rgba(255,255,255,.14);
    flex:0 0 auto
}

.flag {
    display:inline-flex;
    align-items:center;
    margin-left:7px;
    vertical-align:middle
}

.detail h1 .flag {
    margin-left:10px
}

.detail h1 .country-flag {
    width:34px;
    height:23px;
    vertical-align:0
}

.country-picker {
    position:relative;
    width:100%;
    min-width:0
}

.country-picker-toggle {
    width:100%;
    min-height:58px;
    background:#0f120f;
    border:1px solid #2c312c;
    color:#fff;
    border-radius:17px;
    padding:14px 17px 14px 20px;
    font-size:17px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    cursor:pointer;
    text-align:left
}

.country-picker-toggle:hover,.country-picker.open .country-picker-toggle {
    border-color:#4a524a
}

.country-picker-current {
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0
}

.country-picker-current span {
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis
}

.country-picker-placeholder {
    color:#d9ddd6
}

.country-picker-chevron {
    font-size:21px;
    color:#a7aca5;
    line-height:1;
    transform:translateY(-2px)
}

.country-picker-menu {
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:calc(100% + 7px);
    max-height:330px;
    overflow:auto;
    background:#111411;
    border:1px solid #343a34;
    border-radius:15px;
    padding:7px;
    z-index:80;
    box-shadow:0 18px 45px rgba(0,0,0,.55)
}

.country-picker.open .country-picker-menu {
    display:block
}

.country-picker-option {
    width:100%;
    border:0;
    background:transparent;
    color:#f5f6f2;
    padding:10px 11px;
    border-radius:10px;
    display:flex;
    align-items:center;
    gap:11px;
    font-size:15px;
    text-align:left;
    cursor:pointer
}

.country-picker-option:hover,.country-picker-option[aria-selected="true"] {
    background:#222822;
    color:var(--lime)
}

.country-picker-empty {
    color:#a7aca5
}

.country-picker-error .country-picker-toggle {
    border-color:#ff6b6b;
    box-shadow:0 0 0 2px rgba(255,107,107,.12)
}

.form-field {
    display:grid;
    gap:8px;
    color:#d9ddd6
}

.form-label {
    display:block
}

@media(max-width:850px) {
    .country-picker-menu {
        max-height:280px
    }

    .country-picker-toggle {
        min-height:56px
    }

}

/* Correctif robuste sélecteur pays : évite que toute la liste soit visible si le CSS est en cache. */ .country-picker-menu[hidden] {
    display:none!important
}

.country-picker:not(.open) .country-picker-menu {
    display:none!important
}

.country-picker.open .country-picker-menu:not([hidden]) {
    display:block!important
}

.country-picker-option .country-flag {
    width:26px!important;
    height:18px!important;
    max-width:26px!important;
    max-height:18px!important
}

.flag .country-flag {
    width:26px!important;
    height:18px!important;
    max-width:26px!important;
    max-height:18px!important
}

/* Lecture des articles de blog : mise en page plus lisible et photo maîtrisée */ .blog-article {
    max-width:980px;
    margin:48px auto 70px;
    padding:0 25px
}

.blog-article-head,.article-body {
    max-width:780px;
    margin-left:auto;
    margin-right:auto
}

.article-cover-wrap {
    max-width:520px;
    margin-left:auto;
    margin-right:auto
}

.blog-back {
    margin:0 0 22px
}

.blog-back a {
    color:var(--lime);
    font-weight:700
}

.blog-back a:hover {
    text-decoration:underline
}

.blog-article h1 {
    font-size:clamp(34px,5vw,54px);
    line-height:1.08;
    letter-spacing:-1.5px;
    margin:0 0 12px
}

.blog-article-meta {
    color:var(--muted);
    font-size:14px;
    margin-bottom:28px
}

.article-cover-wrap {
    margin-top:8px;
    margin-bottom:32px;
    border-radius:16px;
    overflow:hidden;
    background:#151915;
    text-align:center
}

.article-cover {
    display:block;
    width:auto;
    max-width:100%;
    height:auto;
    max-height:290px;
    object-fit:contain;
    border-radius:16px;
    margin:0 auto
}

.article-body {
    font-size:18px;
    line-height:1.85;
    color:#d8ddd6;
    overflow-wrap:anywhere;
    word-break:normal
}

.article-body p {
    margin:0 0 1.35em
}

.article-body p:last-child {
    margin-bottom:0
}

.article-body h2 {
    font-size:30px;
    line-height:1.2;
    color:#fff;
    margin:1.65em 0 .65em
}

.article-body h3 {
    font-size:23px;
    line-height:1.3;
    color:#fff;
    margin:1.5em 0 .6em
}

.article-body strong,.article-body b {
    color:#fff
}

.article-body a {
    color:var(--lime);
    text-decoration:underline;
    text-underline-offset:3px
}

.article-body ul,.article-body ol {
    margin:0 0 1.4em;
    padding-left:1.6em
}

.article-body li {
    margin:.38em 0
}

.article-body blockquote {
    margin:1.5em 0;
    padding:12px 18px;
    border-left:4px solid var(--lime);
    background:#101410;
    border-radius:0 12px 12px 0;
    color:#eef1eb
}

.article-body br {
    line-height:1.7
}

@media(max-width:850px) {
    .blog-article {
        margin-top:32px;
        padding:0 18px
    }

    .blog-article h1 {
        letter-spacing:-.6px
    }

    .article-cover-wrap {
        margin-bottom:26px;
        border-radius:14px
    }

    .article-cover-wrap {
        max-width:420px
    }

    .article-cover {
        max-height:220px;
        border-radius:14px
    }

    .article-body {
        font-size:17px;
        line-height:1.78
    }

    .article-body h2 {
        font-size:26px
    }

    .article-body h3 {
        font-size:21px
    }

}

/* En-tête public : boutons avec icônes pour les annonces et le blog */ header nav {
    gap:14px
}

.nav-action {
    display:inline-flex;
    align-items:center;
    gap:9px;
    padding:12px 15px;
    border:1px solid #343a34;
    border-radius:14px;
    background:#151915;
    color:#f5f6f2;
    font-weight:800;
    line-height:1;
    transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease
}

.nav-action svg {
    display:block;
    width:19px;
    height:19px;
    fill:var(--lime);
    flex:0 0 auto
}

.nav-action:hover {
    background:#202520;
    border-color:#566056;
    color:var(--lime);
    transform:translateY(-1px)
}

/* Article de blog : image de couverture horizontale et centrée */ .article-cover-wrap {
    width:100%;
    max-width:760px!important;
    aspect-ratio:16/9;
    margin:8px auto 34px!important;
    border-radius:18px!important;
    overflow:hidden;
    background:#151915
}

.article-cover {
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center!important;
    margin:0!important;
    border-radius:0!important
}

@media(max-width:850px) {
    header nav {
        gap:8px
    }

    .nav-action {
        padding:10px 11px;
        border-radius:12px;
        gap:7px;
        font-size:13px
    }

    .nav-action svg {
        width:18px;
        height:18px
    }

    .article-cover-wrap {
        max-width:100%!important;
        aspect-ratio:16/9;
        margin-bottom:26px!important;
        border-radius:14px!important
    }

}

@media(max-width:560px) {
    .nav-action span {
        display:none
    }

    .nav-action {
        width:42px;
        height:42px;
        padding:0;
        justify-content:center
    }

}

/* Annonces publiques : texte plus lisible et coordonnées mieux mises en valeur */ .adcard p {
    font-size:17px;
    line-height:1.65
}

.detail .content {
    font-size:18px;
    line-height:1.8;
    color:#e0e4de
}

.contact {
    display:grid;
    gap:10px;
    margin-top:28px;
    border-top:1px solid var(--line);
    padding-top:22px
}

.contact .contact-row {
    margin:0;
    padding:13px 15px;
    border:1px solid #2f352f;
    border-radius:13px;
    background:#101310;
    font-size:17px;
    line-height:1.45;
    overflow-wrap:anywhere
}

.contact .contact-row strong {
    font-weight:900;
    color:#fff;
    margin-right:5px
}

.contact .contact-row span,.contact .contact-row a {
    font-weight:800;
    color:#f4f6f1
}

.contact .contact-row a {
    text-decoration:underline;
    text-underline-offset:3px
}

.contact .contact-highlight {
    border-color:rgba(173,255,47,.38);
    background:rgba(173,255,47,.07)
}

.contact .contact-highlight strong {
    color:var(--lime);
    font-size:18px
}

.contact .contact-highlight span {
    font-size:18px;
    color:#fff
}

.video {
    margin-top:30px
}

@media(max-width:850px) {
    .adcard p {
        font-size:16.5px
    }

    .detail .content {
        font-size:17px;
        line-height:1.75
    }

    .contact .contact-row {
        font-size:16px;
        padding:12px 13px
    }

    .contact .contact-highlight strong,.contact .contact-highlight span {
        font-size:17px
    }

}

/* Fiche annonce : pays et icones de contact */ .ad-country {
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin:2px 0 4px;
    padding:8px 12px;
    border:1px solid #303630;
    border-radius:12px;
    background:#111511;
    color:#eef2eb;
    font-size:16px
}

.ad-country .country-flag {
    width:30px!important;
    height:20px!important;
    max-width:30px!important;
    max-height:20px!important
}

.ad-country strong {
    font-weight:800
}

.contact .contact-row {
    display:flex;
    align-items:center;
    gap:9px;
    flex-wrap:wrap
}

.contact-icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:25px;
    height:25px;
    flex:0 0 25px;
    color:var(--lime)
}

.contact-icon svg {
    display:block;
    width:21px;
    height:21px;
    fill:currentColor
}

.contact-website .contact-icon {
    color:#dfe6dc
}

.contact .contact-row strong {
    margin-right:0
}

@media(max-width:850px) {
    .ad-country {
        font-size:15px
    }

    .contact-icon {
        width:23px;
        height:23px;
        flex-basis:23px
    }

    .contact-icon svg {
        width:19px;
        height:19px
    }

}

/* --------------------------------------------------------------------------
   Dépôt d'annonce : formulaire premium + FeriaShield local
   -------------------------------------------------------------------------- */ .ad-submit-page {
    max-width:1040px;
    margin:46px auto 80px;
    padding:0 24px
}

.submit-intro {
    max-width:760px;
    margin:0 auto 30px;
    text-align:center
}

.submit-kicker {
    display:inline-flex;
    align-items:center;
    padding:8px 13px;
    border:1px solid rgba(202,255,32,.32);
    border-radius:999px;
    background:rgba(202,255,32,.07);
    color:var(--lime);
    font-size:13px;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase
}

.submit-intro h1 {
    font-size:clamp(38px,6vw,62px);
    line-height:1;
    margin:15px 0 14px;
    letter-spacing:-2px
}

.submit-intro p {
    margin:0;
    color:var(--muted);
    font-size:18px;
    line-height:1.65
}

.ad-submit-form {
    display:grid;
    gap:20px
}

.submit-card {
    padding:27px;
    border:1px solid #293029;
    border-radius:22px;
    background:linear-gradient(180deg,#111511 0%,#0d100e 100%);
    box-shadow:0 15px 44px rgba(0,0,0,.16)
}

.submit-card-title {
    display:flex;
    align-items:flex-start;
    gap:15px;
    margin-bottom:23px;
    padding-bottom:19px;
    border-bottom:1px solid #272d27
}

.submit-card-title h2 {
    margin:1px 0 5px;
    font-size:23px;
    letter-spacing:-.3px
}

.submit-card-title p {
    margin:0;
    color:var(--muted);
    font-size:14px;
    line-height:1.5
}

.submit-step {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    flex:0 0 38px;
    border-radius:12px;
    background:var(--lime);
    color:#0b0e0b;
    font-weight:950;
    font-size:17px;
    box-shadow:0 0 0 5px rgba(202,255,32,.06)
}

.submit-step svg {
    width:22px;
    height:22px;
    fill:currentColor
}

.shield-step {
    background:#182318;
    color:var(--lime);
    border:1px solid rgba(202,255,32,.32)
}

.form-grid {
    display:grid;
    gap:18px
}

.form-grid-2 {
    grid-template-columns:1fr 1fr
}

.field-wide {
    grid-column:1/-1
}

.ad-submit-form .field,.ad-submit-form .form-field {
    display:grid;
    gap:8px;
    min-width:0;
    color:#e0e4de
}

.ad-submit-form .field>span,.ad-submit-form .form-label {
    font-size:15px;
    font-weight:800;
    color:#e9ece6
}

.ad-submit-form .field>span b,.ad-submit-form .form-label b,.terms-box b {
    color:var(--lime)
}

.ad-submit-form .field small {
    font-size:12px;
    color:#8e958d;
    font-weight:500;
    line-height:1.45
}

.ad-submit-form input:not([type="checkbox"]):not([type="file"]),.ad-submit-form select,.ad-submit-form textarea {
    width:100%;
    min-width:0;
    border:1px solid #343b34;
    border-radius:14px;
    background:#090c0a;
    color:#f5f6f2;
    padding:15px 16px;
    font:inherit;
    font-size:16px;
    outline:none;
    transition:border-color .16s ease,box-shadow .16s ease,background .16s ease
}

.ad-submit-form textarea {
    resize:vertical;
    min-height:180px;
    line-height:1.6
}

.ad-submit-form input::placeholder,.ad-submit-form textarea::placeholder {
    color:#666f67
}

.ad-submit-form input:focus,.ad-submit-form select:focus,.ad-submit-form textarea:focus {
    border-color:#8dbd20;
    box-shadow:0 0 0 3px rgba(202,255,32,.09);
    background:#0c100d
}

.ad-submit-form select {
    appearance:auto
}

.input-with-suffix {
    position:relative
}

.input-with-suffix input {
    padding-right:48px!important
}

.input-with-suffix em {
    position:absolute;
    right:16px;
    top:50%;
    transform:translateY(-50%);
    font-style:normal;
    color:var(--lime);
    font-weight:900;
    font-size:17px;
    pointer-events:none
}

.media-fields {
    align-items:start
}

.upload-box {
    position:relative;
    min-height:144px;
    border:1px dashed #4c594b;
    border-radius:16px;
    background:#0a0d0a;
    padding:22px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:7px;
    cursor:pointer;
    transition:border-color .16s ease,background .16s ease
}

.upload-box:hover {
    border-color:var(--lime);
    background:rgba(202,255,32,.035)
}

.upload-box svg {
    width:32px;
    height:32px;
    fill:var(--lime);
    margin-bottom:2px
}

.upload-box strong {
    font-size:15px;
    color:#f5f6f2
}

.upload-box span {
    font-size:12px;
    color:var(--muted);
    font-weight:500
}

.upload-box input[type="file"] {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    opacity:0;
    cursor:pointer
}

.photo-preview {
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:8px;
    margin-top:8px
}

.photo-preview:empty {
    display:none
}

.photo-preview-item {
    aspect-ratio:1;
    border:1px solid #2f362f;
    border-radius:10px;
    overflow:hidden;
    background:#111
}

.photo-preview-item img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block
}

.security-card {
    border-color:rgba(202,255,32,.22);
    background:linear-gradient(180deg,rgba(202,255,32,.035),#0d100e 34%)
}

.captcha-panel {
    display:grid;
    grid-template-columns:270px 1fr;
    gap:22px;
    align-items:center;
    padding:19px;
    border:1px solid #303a30;
    border-radius:18px;
    background:#090c0a
}

.captcha-visual {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:105px;
    border:1px solid #344134;
    border-radius:14px;
    background:#0d120e;
    overflow:hidden;
    box-shadow:inset 0 0 30px rgba(0,0,0,.32)
}

.captcha-visual img {
    display:block;
    width:250px;
    max-width:100%;
    height:auto;
    image-rendering:auto
}

.captcha-fields {
    display:grid;
    grid-template-columns:1fr auto;
    gap:10px 12px;
    align-items:end
}

.captcha-fields .field {
    grid-column:1/-1
}

.captcha-fields input {
    text-transform:uppercase;
    letter-spacing:.24em;
    font-size:20px!important;
    font-weight:900!important
}

.captcha-refresh {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    grid-column:2;
    padding:10px 13px;
    border:1px solid #3a4439;
    border-radius:11px;
    background:#151b15;
    color:#e7ece4;
    font-weight:800;
    cursor:pointer;
    transition:.15s ease
}

.captcha-refresh:hover {
    border-color:#697d65;
    color:var(--lime);
    background:#1a211a
}

.captcha-refresh:disabled {
    opacity:.45;
    cursor:wait
}

.captcha-refresh svg {
    width:17px;
    height:17px;
    fill:currentColor
}

.security-note {
    display:flex;
    align-items:flex-start;
    gap:9px;
    margin-top:14px;
    color:#899288;
    font-size:12px;
    line-height:1.5
}

.security-note>span {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:19px;
    height:19px;
    flex:0 0 19px;
    border-radius:50%;
    background:rgba(202,255,32,.1);
    color:var(--lime);
    font-weight:900
}

.terms-box {
    display:flex;
    align-items:flex-start;
    gap:11px;
    margin-top:20px;
    padding:15px 16px;
    border:1px solid #2b332b;
    border-radius:13px;
    background:#0a0d0a;
    color:#dfe3dc;
    cursor:pointer
}

.terms-box input {
    width:18px;
    height:18px;
    margin:1px 0 0;
    accent-color:var(--lime);
    flex:0 0 auto
}

.terms-box span {
    font-size:14px;
    line-height:1.4
}

.submit-actions {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:6px 2px 0
}

.submit-actions p {
    margin:0;
    max-width:470px;
    color:#858d84;
    font-size:13px;
    line-height:1.5
}

.submit-main-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-width:220px;
    box-shadow:0 10px 28px rgba(202,255,32,.12);
    transition:transform .16s ease,box-shadow .16s ease
}

.submit-main-btn:hover {
    transform:translateY(-1px);
    box-shadow:0 14px 32px rgba(202,255,32,.18)
}

.submit-main-btn svg {
    width:19px;
    height:19px;
    fill:currentColor
}

.submit-errors {
    max-width:none;
    margin:0 0 20px;
    padding:20px 22px;
    border-color:#633a3a;
    background:#211212;
    color:#ffbcbc;
    text-align:left
}

.submit-errors strong {
    display:block;
    color:#fff;
    margin-bottom:8px
}

.submit-errors div {
    margin-top:4px
}

.ad-submit-form .country-picker-toggle {
    min-height:51px;
    border-radius:14px;
    background:#090c0a;
    border-color:#343b34;
    padding:12px 15px
}

.ad-submit-form .country-picker-toggle:focus {
    border-color:#8dbd20;
    box-shadow:0 0 0 3px rgba(202,255,32,.09)
}

@media(max-width:760px) {
    .ad-submit-page {
        margin-top:30px;
        padding:0 16px
    }

    .submit-intro {
        margin-bottom:23px
    }

    .submit-intro p {
        font-size:16px
    }

    .submit-card {
        padding:20px;
        border-radius:18px
    }

    .submit-card-title {
        margin-bottom:19px
    }

    .form-grid-2 {
        grid-template-columns:1fr
    }

    .field-wide {
        grid-column:auto
    }

    .captcha-panel {
        grid-template-columns:1fr;
        padding:14px
    }

    .captcha-fields {
        grid-template-columns:1fr
    }

    .captcha-fields .field,.captcha-refresh {
        grid-column:1
    }

    .captcha-refresh {
        justify-self:start
    }

    .photo-preview {
        grid-template-columns:repeat(3,1fr)
    }

    .submit-actions {
        flex-direction:column;
        align-items:stretch
    }

    .submit-main-btn {
        width:100%
    }

    .submit-actions p {
        text-align:center;
        max-width:none
    }

    .captcha-visual img {
        width:235px
    }

    .submit-step {
        width:35px;
        height:35px;
        flex-basis:35px
    }

}

/* Formulaire d'annonce simplifié : une seule colonne, noms dans les champs */ .sr-only {
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important
}

.ad-submit-page {
    max-width:760px
}

.ad-submit-form {
    display:block
}

.submit-simple-stack {
    display:flex;
    flex-direction:column;
    gap:14px
}

.submit-simple-stack .field,.submit-simple-stack .form-field {
    display:block
}

.submit-simple-stack input:not([type="checkbox"]):not([type="file"]),.submit-simple-stack select,.submit-simple-stack textarea {
    min-height:56px;
    border-radius:15px;
    padding:16px 17px;
    background:#0b0e0c;
    border:1px solid #343b34;
    font-size:16px
}

.submit-simple-stack textarea {
    min-height:190px
}

.submit-simple-stack input::placeholder,.submit-simple-stack textarea::placeholder {
    color:#a1a89f;
    opacity:1
}

.submit-simple-stack select:invalid {
    color:#a1a89f
}

.submit-simple-stack select option {
    color:#f5f6f2;
    background:#0b0e0c
}

.submit-simple-stack .input-with-suffix {
    width:100%
}

.submit-simple-stack .upload-box {
    min-height:126px;
    border-radius:15px
}

.submit-simple-stack .photo-preview {
    margin-top:10px
}

.submit-simple-stack .country-picker-toggle {
    min-height:56px;
    border-radius:15px;
    background:#0b0e0c;
    border-color:#343b34;
    padding:14px 16px
}

.simple-security {
    margin-top:4px;
    padding:16px;
    border:1px solid rgba(202,255,32,.24);
    border-radius:16px;
    background:rgba(202,255,32,.025)
}

.simple-security-heading {
    display:flex;
    align-items:center;
    gap:9px;
    margin-bottom:13px;
    color:#f3f5ef;
    font-size:15px
}

.simple-security-icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    border-radius:9px;
    background:rgba(202,255,32,.11);
    color:var(--lime)
}

.simple-security-icon svg {
    width:17px;
    height:17px;
    fill:currentColor
}

.simple-security .captcha-panel {
    grid-template-columns:250px 1fr;
    padding:12px;
    border-radius:14px;
    gap:14px
}

.simple-security .captcha-visual {
    min-height:92px;
    border-radius:11px
}

.simple-security .captcha-fields {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:9px
}

.simple-security .captcha-fields .field {
    width:100%
}

.simple-security .captcha-refresh {
    align-self:flex-start
}

.submit-actions {
    margin-top:18px
}

@media(max-width:760px) {
    .ad-submit-page {
        max-width:none
    }

    .submit-simple-stack {
        gap:12px
    }

    .simple-security {
        padding:12px
    }

    .simple-security .captcha-panel {
        grid-template-columns:1fr
    }

    .simple-security .captcha-refresh {
        width:100%
    }

}

/* Ajustements formulaire vertical : libellés uniquement dans les champs,
   contraste renforcé et espacement compact avant le CAPTCHA. */ .submit-simple-stack {
    gap:11px
}

.submit-simple-stack .field,.submit-simple-stack .form-field {
    margin:0!important;
    padding:0!important
}

.submit-simple-stack input:not([type="checkbox"]):not([type="file"]), .submit-simple-stack select, .submit-simple-stack textarea, .submit-simple-stack .country-picker-toggle {
    background:#171c18!important;
    border-color:#505b50!important;
    color:#ffffff!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}

.submit-simple-stack input::placeholder, .submit-simple-stack textarea::placeholder {
    color:#d0d5cf!important;
    opacity:1!important
}

.submit-simple-stack select:invalid {
    color:#d0d5cf!important
}

.submit-simple-stack .country-picker-placeholder {
    color:#d0d5cf!important
}

.submit-simple-stack input:focus, .submit-simple-stack select:focus, .submit-simple-stack textarea:focus, .submit-simple-stack .country-picker-toggle:focus {
    background:#1b211c!important;
    border-color:var(--lime)!important;
    box-shadow:0 0 0 3px rgba(202,255,32,.10)!important;
}

.submit-simple-stack .upload-box {
    background:#141915;
    border-color:#526052
}

.submit-simple-stack .upload-box:hover {
    background:#181e19;
    border-color:var(--lime)
}

.website-field {
    margin-bottom:0!important
}

.simple-security {
    margin-top:0!important
}

.website-field + .simple-security {
    margin-top:0!important
}

@media(max-width:760px) {
    .submit-simple-stack {
        gap:10px
    }

    .simple-security {
        margin-top:0!important
    }

}

/* Formulaire : icônes intégrées aux champs + astérisques requis en vert */ .submit-intro {
    margin-bottom:18px
}

.submit-intro .submit-kicker {
    margin-bottom:0
}

.icon-field,.country-required-field {
    position:relative
}

.icon-field>.field-icon {
    position:absolute;
    left:16px;
    top:50%;
    transform:translateY(-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    width:21px;
    height:21px;
    color:var(--lime);
    z-index:3;
    pointer-events:none
}

.icon-field>.field-icon svg {
    display:block;
    width:19px;
    height:19px;
    fill:currentColor
}

.icon-field>input:not([type="checkbox"]):not([type="file"]), .icon-field>select {
    padding-left:48px!important
}

.icon-field .input-with-suffix input {
    padding-left:48px!important
}

.textarea-icon-field>.field-icon {
    top:18px;
    transform:none
}

.textarea-icon-field>textarea {
    padding-left:48px!important;
    padding-right:38px!important
}

.required-star {
    position:absolute;
    right:17px;
    top:50%;
    transform:translateY(-50%);
    z-index:4;
    color:var(--lime);
    font-size:20px;
    font-weight:950;
    line-height:1;
    pointer-events:none
}

.required-field>input:not([type="checkbox"]):not([type="file"]),.required-field>select {
    padding-right:42px!important
}

.textarea-icon-field>.required-star {
    top:17px;
    transform:none
}

.country-required-field {
    position:relative
}

.country-required-field .country-picker-toggle {
    padding-left:48px!important;
    padding-right:58px!important;
    position:relative
}

.country-required-field .country-picker-toggle::before {
    content:"";
    position:absolute;
    left:16px;
    top:50%;
    transform:translateY(-50%);
    width:19px;
    height:19px;
    background:var(--lime);
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.1 7 13 7 13s7-7.9 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.1 7 13 7 13s7-7.9 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
    pointer-events:none
}

.country-star {
    right:38px
}

.simple-security .captcha-fields .field {
    position:relative
}

.simple-security .captcha-fields .field::after {
    content:"*";
    position:absolute;
    right:16px;
    top:50%;
    transform:translateY(-50%);
    color:var(--lime);
    font-size:20px;
    font-weight:950;
    pointer-events:none
}

.simple-security .captcha-fields input {
    padding-right:40px!important
}

@media(max-width:760px) {
    .icon-field>.field-icon {
        left:15px
    }

    .required-star {
        right:15px
    }

}

.required-field select + .required-star {
    right:38px
}

/* Accueil : filtres de recherche décorés avec icônes et accent FeriaMania */ .home-search {
    align-items:stretch
}

.home-filter {
    position:relative;
    min-width:0
}

.home-filter::before {
    content:"";
    position:absolute;
    left:17px;
    top:50%;
    transform:translateY(-50%);
    width:20px;
    height:20px;
    background:var(--lime);
    z-index:3;
    pointer-events:none;
    -webkit-mask-repeat:no-repeat;
    -webkit-mask-position:center;
    -webkit-mask-size:contain;
    mask-repeat:no-repeat;
    mask-position:center;
    mask-size:contain;
}

.home-filter::after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:2px;
    background:linear-gradient(90deg,var(--lime),rgba(202,255,32,.08));
    border-radius:0 0 17px 17px;
    opacity:.8;
    pointer-events:none;
    z-index:2;
}

.home-filter-search::before {
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 3a7.5 7.5 0 1 0 4.69 13.35L20.84 22 22 20.84l-5.65-5.65A7.5 7.5 0 0 0 10.5 3Zm0 2a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 3a7.5 7.5 0 1 0 4.69 13.35L20.84 22 22 20.84l-5.65-5.65A7.5 7.5 0 0 0 10.5 3Zm0 2a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Z'/%3E%3C/svg%3E");
}

.home-filter-category::before {
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z'/%3E%3C/svg%3E");
}

.home-filter-country::before {
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.1 7 13 7 13s7-7.9 7-13a7 7 0 0 0-7-7Zm0 10a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.1 7 13 7 13s7-7.9 7-13a7 7 0 0 0-7-7Zm0 10a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z'/%3E%3C/svg%3E");
}

.home-filter-region::before {
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 5 6-3 6 3 6-3v17l-6 3-6-3-6 3V5Zm2 1.2v12.6l3-1.5V4.7L5 6.2Zm5-1.5v12.6l4 2V6.7l-4-2Zm6 2v12.6l3-1.5V5.2l-3 1.5Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 5 6-3 6 3 6-3v17l-6 3-6-3-6 3V5Zm2 1.2v12.6l3-1.5V4.7L5 6.2Zm5-1.5v12.6l4 2V6.7l-4-2Zm6 2v12.6l3-1.5V5.2l-3 1.5Z'/%3E%3C/svg%3E");
}

.home-search .home-filter>input, .home-search .home-filter>select {
    height:100%;
    min-height:58px;
    padding-left:50px!important;
    background:#111612!important;
    border-color:#3a4639!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
    transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}

.home-search .home-filter>input::placeholder {
    color:#b3bab1;
    opacity:1
}

.home-search .home-filter>input:focus, .home-search .home-filter>select:focus {
    outline:none;
    border-color:var(--lime)!important;
    background:#151b15!important;
    box-shadow:0 0 0 3px rgba(202,255,32,.09);
}

.home-search .home-filter-country .country-picker-toggle {
    min-height:58px;
    height:100%;
    padding-left:50px!important;
    background:#111612!important;
    border-color:#3a4639!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}

.home-search .home-filter-country .country-picker-toggle:hover, .home-search .home-filter-country .country-picker.open .country-picker-toggle {
    border-color:var(--lime)!important;
    background:#151b15!important;
    box-shadow:0 0 0 3px rgba(202,255,32,.07);
}

.home-search .home-filter-country .country-picker-placeholder {
    color:#e2e6df
}

.home-search-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:58px;
    box-shadow:0 8px 24px rgba(202,255,32,.12)
}

@media(max-width:850px) {
    .home-filter::after {
        border-radius:0 0 15px 15px
    }

    .home-search .home-filter>input,.home-search .home-filter>select,.home-search .home-filter-country .country-picker-toggle {
        min-height:56px
    }

    .home-search-btn {
        min-height:56px
    }

}

/* Page conditions générales */ .legal-page {
    max-width:880px;
    margin:48px auto 72px;
    padding:0 25px
}

.legal-page>h1 {
    font-size:clamp(34px,5vw,54px);
    line-height:1.08;
    letter-spacing:-1.4px;
    margin:0 auto 28px;
    max-width:780px
}

.legal-content {
    max-width:780px;
    margin:0 auto
}

.terms-box a {
    color:var(--lime);
    font-weight:800;
    text-decoration:underline;
    text-underline-offset:3px
}

.terms-box a:hover {
    color:#e2ff82
}

@media(max-width:760px) {
    .legal-page {
        margin-top:32px;
        padding:0 18px
    }

    .legal-page>h1 {
        letter-spacing:-.6px
    }

}

/* Page publique Partenaires */ .partners-page {
    max-width:1300px;
    margin:48px auto 78px;
    padding:0 3%
}

.partners-page>h1 {
    font-size:clamp(36px,5vw,56px);
    letter-spacing:-1.2px;
    margin:0 0 30px
}

.partners-list {
    display:grid;
    gap:18px
}

.partner-card {
    display:grid;
    grid-template-columns:150px 1fr auto;
    gap:18px;
    align-items:center;
    padding:14px;
    border:1px solid #282d28;
    border-radius:16px;
    background:#111411
}

.partner-logo {
    width:150px;
    height:95px;
    border-radius:11px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px;
    overflow:hidden
}

.partner-logo img {
    display:block;
    max-width:100%;
    max-height:100%;
    object-fit:contain
}

.partner-body h2 {
    margin:0 0 5px;
    font-size:21px;
    line-height:1.15
}

.partner-url {
    color:var(--lime);
    font-size:13px;
    overflow-wrap:anywhere;
    margin:0 0 8px
}

.partner-body p {
    margin:7px 0 0;
    color:#b5bbb3;
    font-size:14px;
    line-height:1.6;
    white-space:normal
}

.partner-actions {
    display:flex;
    justify-content:flex-end;
    align-items:center
}

.partner-link {
    display:inline-flex;
    width:auto;
    white-space:nowrap
}

@media(max-width:700px) {
    .partners-page {
        margin-top:32px;
        padding:0 18px
    }

    .partner-card {
        grid-template-columns:90px 1fr;
        padding:14px;
        gap:14px
    }

    .partner-logo {
        width:90px;
        height:75px
    }

    .partner-body h2 {
        font-size:19px
    }

    .partner-body p {
        font-size:15px
    }

    .partner-actions {
        grid-column:1/-1;
        justify-content:flex-start
    }

}

/* Largeur cohérente des listings publics */ .public-list-page {
    max-width:1300px;
    margin:50px auto;
    padding:0 3%
}

.public-list-page>h1 {
    margin:0 0 28px
}

.public-list-page>.listing {
    max-width:none;
    margin:0;
    padding:0 0 50px
}

.date-with-icon {
    display:inline-flex;
    align-items:center;
    gap:6px
}

.time-icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:16px;
    height:16px;
    flex:0 0 16px;
    color:var(--lime)
}

.time-icon svg {
    width:16px;
    height:16px;
    display:block;
    fill:currentColor
}

.blog-article-meta.date-with-icon {
    display:flex
}

@media(max-width:700px) {
    .public-list-page {
        margin-top:32px;
        padding:0 18px
    }

}

/* Listes publiques : même présentation compacte que les partenaires */ .listing {
    display:grid;
    gap:14px
}

.listing>.adcard {
    display:grid;
    grid-template-columns:150px minmax(0,1fr) auto !important;
    gap:18px;
    align-items:center;
    padding:14px;
    border:1px solid #282d28;
    border-radius:16px;
    background:#111411;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

.listing>.adcard .thumb {
    width:150px;
    height:95px;
    border-radius:11px;
    background:#171b17;
    overflow:hidden;
    display:block;
}

.listing>.adcard .thumb img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block
}

.listing>.adcard .adcard-body {
    min-width:0
}

.listing>.adcard h2 {
    margin:0 0 5px;
    font-size:21px;
    line-height:1.2;
    letter-spacing:-.2px;
    font-weight:800
}

.listing>.adcard h2 a:hover {
    color:var(--lime)
}

.listing>.adcard .adcard-title {
    display:flex;
    align-items:center;
    gap:9px;
    min-width:0
}

.listing>.adcard .adcard-title-flag {
    display:inline-flex;
    align-items:center;
    flex:0 0 auto
}

.listing>.adcard .adcard-title-flag .country-flag {
    width:26px!important;
    height:18px!important;
    max-width:26px!important;
    max-height:18px!important
}

.listing>.adcard .adcard-kicker {
    display:flex;
    align-items:center;
    gap:7px;
    flex-wrap:wrap;
    color:var(--lime);
    font-size:13px;
    font-weight:700;
    margin-bottom:7px
}

.listing>.adcard .adcard-kicker .flag {
    display:inline-flex;
    align-items:center
}

.listing>.adcard .adcard-kicker .country-flag {
    width:25px!important;
    height:17px!important;
    max-width:25px!important;
    max-height:17px!important
}

.listing>.adcard .adcard-dot {
    color:#727a71
}

.listing>.adcard p {
    margin:7px 0 0;
    color:#b5bbb3;
    font-size:14px;
    line-height:1.6;
    max-width:none
}

.listing>.adcard .meta {
    display:flex;
    justify-content:flex-start;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
    margin-top:10px;
    color:#929990;
    font-size:13px
}

.listing>.adcard .meta strong {
    color:var(--lime);
    font-size:15px;
    font-weight:850
}

.listing>.adcard .adcard-actions {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    align-self:center;
    padding-left:6px
}

.listing>.adcard .adcard-consult {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    min-width:118px;
    text-align:center;
    padding:15px 22px;
    border-radius:16px
}

.listing>.blog-list-card .adcard-kicker {
    color:#caff20
}

@media(max-width:700px) {
    .listing>.adcard {
        grid-template-columns:90px minmax(0,1fr)!important;
        gap:14px;
        padding:14px
    }

    .listing>.adcard .thumb {
        width:90px;
        height:75px
    }

    .listing>.adcard h2 {
        font-size:19px
    }

    .listing>.adcard p {
        font-size:14.5px
    }

    .listing>.adcard .adcard-actions {
        grid-column:1/-1;
        justify-content:flex-start;
        padding-left:0
    }

    .listing>.adcard .adcard-consult {
        min-width:0;
        padding:12px 20px
    }

}

/* Promotions constructeurs / fournisseurs */ .partners-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
    margin:0 0 30px
}

.partners-head h1 {
    font-size:clamp(36px,5vw,56px);
    letter-spacing:-1.2px;
    margin:0;
    line-height:1.05
}

.promotion-photo {
    background:#171b17;
    padding:0
}

.promotion-photo img {
    width:100%;
    height:100%;
    max-width:none;
    max-height:none;
    object-fit:cover
}

.promotion-submit-page {
    max-width:760px;
    margin:48px auto 78px;
    padding:0 25px
}

.promotion-submit-page>h1 {
    font-size:clamp(34px,5vw,50px);
    margin:0 0 28px;
    letter-spacing:-1px
}

.promotion-submit-form {
    display:grid;
    gap:18px
}

@media(max-width:700px) {
    .partners-head {
        align-items:flex-start
    }

    .partners-head .btn {
        width:100%;
        text-align:center
    }

    .promotion-submit-page {
        margin-top:32px;
        padding:0 18px
    }

}

/* Tarifs et compte à rebours des promotions */ .promotion-rates {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin:4px 0 2px
}

.promotion-rate-card {
    position:relative;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    align-items:center;
    gap:11px;
    min-height:78px;
    border:1px solid #4b5e35;
    background:linear-gradient(180deg,#161c13 0%,#10140f 100%);
    border-radius:16px;
    padding:12px 14px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 8px 22px rgba(0,0,0,.12)
}

.promotion-rate-card::after {
    content:"";
    position:absolute;
    left:14px;
    right:14px;
    bottom:0;
    height:2px;
    border-radius:2px;
    background:linear-gradient(90deg,transparent,var(--lime),transparent);
    opacity:.55
}

.promotion-rate-icon {
    width:38px;
    height:38px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(202,255,32,.11);
    border:1px solid rgba(202,255,32,.24);
    color:var(--lime)
}

.promotion-rate-icon svg {
    width:20px;
    height:20px;
    fill:currentColor
}

.promotion-rate-card strong {
    display:block;
    font-size:15px;
    color:#f5f7f3;
    line-height:1.2;
    margin-bottom:3px
}

.promotion-rate-card small {
    display:block;
    color:#8f988c;
    font-size:11px;
    line-height:1.25
}

.promotion-rate-price {
    color:#0a0b08!important;
    background:var(--lime);
    font-weight:900!important;
    font-size:15px!important;
    line-height:1;
    white-space:nowrap;
    text-align:center!important;
    border-radius:11px;
    padding:10px 11px;
    box-shadow:0 6px 16px rgba(202,255,32,.12)
}

.promotion-actions {
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    min-width:150px
}

.promotion-countdown {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:1px solid #ff942f;
    background:linear-gradient(180deg,rgba(255,148,47,.16),rgba(255,122,24,.08));
    border-radius:14px;
    padding:11px 14px;
    color:#ff9f43;
    text-align:center;
    white-space:nowrap;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 7px 18px rgba(255,120,20,.08)
}

.promotion-countdown-icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:19px;
    line-height:1;
    flex:0 0 auto
}

.promotion-countdown strong {
    display:block;
    font-size:15px;
    line-height:1.2;
    color:#ff9f43;
    font-weight:900;
    letter-spacing:.2px
}

.promotion-countdown.is-ended {
    opacity:.7
}

@media(max-width:700px) {
    .promotion-rates {
        grid-template-columns:1fr
    }

    .promotion-rate-card {
        grid-template-columns:40px minmax(0,1fr) auto;
        min-height:72px
    }

    .promotion-actions {
        width:100%;
        min-width:0
    }

    .promotion-countdown {
        justify-content:flex-start
    }

    .promotion-actions .partner-link {
        justify-content:center
    }

}


/* Fiche annonce : contenu pleine largeur et galerie alignée en fin d'annonce */
.ad-detail-full {
    display:block;
    width:100%;
    max-width:none;
}

.ad-detail-full .ad-detail-content {
    width:100%;
}

.ad-detail-full .content {
    max-width:none;
}

.ad-detail-full .video {
    display:block;
    width:min(100%, 1050px);
    margin:30px auto 0;
}

@media(max-width:850px) {
    .ad-detail-full {
        display:block;
        padding:0 20px;
        margin-top:30px;
    }

    .ad-gallery-bottom {
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:10px;
        margin-top:26px;
        padding-top:22px;
    }

    .ad-gallery-bottom img {
        height:180px;
    }
}

@media(max-width:520px) {
    .ad-gallery-bottom {
        grid-template-columns:1fr;
    }

    .ad-gallery-bottom img {
        height:auto;
        aspect-ratio:16 / 10;
    }
}


/* Campagne publicitaire : largeur et conditions alignées sur le formulaire d'annonces */
.promotion-submit-page {
    max-width:760px;
}

.promotion-submit-form .promotion-rates {
    grid-template-columns:1fr;
}

.promotion-submit-form .promotion-rate-card {
    min-height:82px;
}

.promotion-submit-form .promotion-security {
    margin-top:2px;
}

.promotion-submit-form .promotion-terms {
    margin-top:4px;
}

@media (min-width:640px) {
    .promotion-submit-form .promotion-rates {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}


/* Sélecteur de formule publicitaire cliquable */
.promotion-formula-picker {
    margin:4px 0 2px;
    padding:0;
    border:0;
    min-width:0;
}

.promotion-formula-picker legend {
    margin:0 0 10px;
    padding:0;
    color:#f1f4ef;
    font-size:16px;
    font-weight:800;
}

.required-star-inline {
    color:var(--lime);
}

.promotion-rate-choice {
    position:relative;
    display:block;
    min-width:0;
    cursor:pointer;
}

.promotion-rate-radio {
    position:absolute;
    width:1px;
    height:1px;
    opacity:0;
    pointer-events:none;
}

.promotion-rate-choice .promotion-rate-card {
    position:relative;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto 24px;
    align-items:center;
    gap:11px;
    min-height:78px;
    border:1px solid #4b5e35;
    background:linear-gradient(180deg,#161c13 0%,#10140f 100%);
    border-radius:16px;
    padding:12px 14px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 8px 22px rgba(0,0,0,.12);
    transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease;
}

.promotion-rate-choice:hover .promotion-rate-card {
    border-color:#789b39;
    background:linear-gradient(180deg,#1a2215 0%,#11170f 100%);
    transform:translateY(-1px);
}

.promotion-rate-radio:focus-visible + .promotion-rate-card {
    outline:3px solid rgba(202,255,32,.2);
    outline-offset:2px;
}

.promotion-rate-radio:checked + .promotion-rate-card {
    border-color:var(--lime);
    background:linear-gradient(180deg,rgba(202,255,32,.12) 0%,#11170f 100%);
    box-shadow:0 0 0 2px rgba(202,255,32,.12),inset 0 1px 0 rgba(255,255,255,.04),0 10px 26px rgba(0,0,0,.16);
}

.promotion-rate-copy {
    min-width:0;
}

.promotion-rate-copy strong {
    display:block;
    margin:0;
    color:#f5f7f3;
    font-size:16px;
    line-height:1.2;
}

.promotion-rate-check {
    display:flex;
    align-items:center;
    justify-content:center;
    width:22px;
    height:22px;
    border:1px solid #52604a;
    border-radius:50%;
    color:transparent;
    background:#0d110d;
    font-size:13px;
    font-weight:900;
    transition:all .16s ease;
}

.promotion-rate-radio:checked + .promotion-rate-card .promotion-rate-check {
    border-color:var(--lime);
    background:var(--lime);
    color:#0a0b08;
}

@media(max-width:700px) {
    .promotion-rate-choice .promotion-rate-card {
        grid-template-columns:40px minmax(0,1fr) auto 22px;
        min-height:72px;
    }
}

/* Formules publicitaires : mise en page sans chevauchement + sélection orange fluo */
.promotion-rate-choice .promotion-rate-card {
    grid-template-columns:42px minmax(0,1fr) 24px;
    grid-template-areas:
        "icon copy check"
        "icon price check";
    column-gap:12px;
    row-gap:6px;
    min-height:92px;
}

.promotion-rate-choice .promotion-rate-icon {
    grid-area:icon;
}

.promotion-rate-choice .promotion-rate-copy {
    grid-area:copy;
    min-width:0;
    align-self:end;
}

.promotion-rate-choice .promotion-rate-price {
    grid-area:price;
    justify-self:start;
    align-self:start;
    max-width:100%;
    padding:8px 12px;
    margin:0;
    overflow:hidden;
    text-overflow:ellipsis;
}

.promotion-rate-choice .promotion-rate-check {
    grid-area:check;
    align-self:center;
}

.promotion-rate-radio:checked + .promotion-rate-card {
    border-color:#ff8a00;
    background:linear-gradient(180deg,rgba(255,138,0,.16) 0%,#15120d 100%);
    box-shadow:
        0 0 0 2px rgba(255,138,0,.38),
        0 0 18px rgba(255,138,0,.22),
        inset 0 1px 0 rgba(255,255,255,.05),
        0 10px 26px rgba(0,0,0,.16);
}

.promotion-rate-radio:checked + .promotion-rate-card::after {
    background:linear-gradient(90deg,transparent,#ff8a00,transparent);
    opacity:1;
}

.promotion-rate-radio:checked + .promotion-rate-card .promotion-rate-check {
    border-color:#ff8a00;
    background:#ff8a00;
    color:#111;
    box-shadow:0 0 12px rgba(255,138,0,.55);
}

@media (min-width:640px) {
    .promotion-submit-form .promotion-rates {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:420px) {
    .promotion-rate-choice .promotion-rate-card {
        grid-template-columns:38px minmax(0,1fr) 22px;
        min-height:88px;
        padding:11px 12px;
    }

    .promotion-rate-choice .promotion-rate-price {
        font-size:14px!important;
        padding:7px 10px;
    }
}


/* Sélecteur public de catégories */
.category-picker {
    position: relative;
    width: 100%;
    min-width: 0;
}

.category-picker-toggle {
    width: 100%;
    min-height: 58px;
    background: #111612;
    border: 1px solid #3a4639;
    color: #fff;
    border-radius: 17px;
    padding: 14px 17px 14px 20px;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.category-picker-toggle:hover,
.category-picker.open .category-picker-toggle {
    border-color: var(--lime);
    background: #151b15;
    box-shadow: 0 0 0 3px rgba(202, 255, 32, .07);
}

.category-picker-current {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.category-picker-current > span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-picker-placeholder {
    color: #e2e6df;
}

.category-picker-chevron {
    color: var(--lime);
    font-size: 21px;
    line-height: 1;
    transform: translateY(-2px);
}

.category-picker-mini-icon,
.category-picker-option-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 7px;
    border: 1px solid rgba(202, 255, 32, .55);
    background:
        linear-gradient(var(--lime), var(--lime)) 5px 5px / 4px 4px no-repeat,
        linear-gradient(var(--lime), var(--lime)) 13px 5px / 4px 4px no-repeat,
        linear-gradient(var(--lime), var(--lime)) 5px 13px / 4px 4px no-repeat,
        linear-gradient(var(--lime), var(--lime)) 13px 13px / 4px 4px no-repeat,
        rgba(202, 255, 32, .06);
}

.category-picker-option-icon-all {
    border-color: #596159;
    opacity: .8;
}

.category-picker-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    max-height: 360px;
    overflow: auto;
    background: #0e120f;
    border: 1px solid #394139;
    border-radius: 16px;
    padding: 8px;
    z-index: 90;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .62);
    scrollbar-width: thin;
    scrollbar-color: #586158 #151a15;
}

.category-picker.open .category-picker-menu:not([hidden]) {
    display: grid;
    gap: 4px;
}

.category-picker-menu[hidden],
.category-picker:not(.open) .category-picker-menu {
    display: none !important;
}

.category-picker-option {
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    color: #f3f5f1;
    padding: 10px 11px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    transition: background .14s ease, color .14s ease, border-color .14s ease, transform .14s ease;
}

.category-picker-option:hover {
    background: #1d241e;
    border-color: #364136;
    color: #fff;
    transform: translateX(2px);
}

.category-picker-option[aria-selected="true"] {
    color: var(--lime);
    background: rgba(202, 255, 32, .08);
    border-color: rgba(202, 255, 32, .34);
}

.category-picker-option[aria-selected="true"] .category-picker-option-icon {
    background:
        linear-gradient(#111, #111) 5px 5px / 4px 4px no-repeat,
        linear-gradient(#111, #111) 13px 5px / 4px 4px no-repeat,
        linear-gradient(#111, #111) 5px 13px / 4px 4px no-repeat,
        linear-gradient(#111, #111) 13px 13px / 4px 4px no-repeat,
        var(--lime);
    border-color: var(--lime);
}

.category-picker-empty {
    color: #aeb5ad;
    font-weight: 600;
}

.home-search .home-filter-category .category-picker-toggle {
    min-height: 58px;
    height: 100%;
    padding-left: 50px;
}

@media (max-width: 850px) {
    .category-picker-toggle,
    .home-search .home-filter-category .category-picker-toggle {
        min-height: 56px;
    }

    .category-picker-menu {
        max-height: 300px;
    }
}


/* Formulaire d'annonce : sélecteur visuel de catégorie */
.category-form-field {
    position: relative;
    z-index: 7;
}

.category-form-field .category-picker {
    width: 100%;
}

.category-form-field .category-picker-toggle {
    width: 100%;
    min-height: 56px;
    padding: 14px 58px 14px 17px;
    border: 1px solid #505b50;
    border-radius: 15px;
    background: #171c18;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.category-form-field .category-picker-toggle:hover,
.category-form-field .category-picker.open .category-picker-toggle,
.category-form-field .category-picker-toggle:focus {
    border-color: var(--lime);
    background: #1b211c;
    box-shadow: 0 0 0 3px rgba(202,255,32,.10);
}

.category-form-field .category-picker-placeholder {
    color: #d0d5cf;
}

.category-form-field .category-picker-menu {
    left: 0;
    right: 0;
    width: 100%;
    max-height: 330px;
    z-index: 40;
}

.category-form-star {
    right: 43px;
}

.category-form-field .category-picker-error .category-picker-toggle {
    border-color: #ff7b7b !important;
    box-shadow: 0 0 0 3px rgba(255,90,90,.12) !important;
}


/* Accueil sans grand slogan */
.hero-search-only {
    padding-top:34px;
    padding-bottom:32px;
}

/* Mobile : photo des annonces entre le titre et la description */
@media(max-width:700px) {
    .listing > .adcard:not(.blog-list-card) {
        display:flex !important;
        flex-direction:column;
        align-items:stretch;
        gap:12px;
        padding:14px;
    }

    .listing > .adcard:not(.blog-list-card) .adcard-body {
        display:contents;
    }

    .listing > .adcard:not(.blog-list-card) .adcard-title {
        order:1;
        margin:0;
        font-size:20px;
        line-height:1.25;
    }

    .listing > .adcard:not(.blog-list-card) .thumb {
        order:2;
        width:100%;
        height:auto;
        aspect-ratio:16 / 9;
        border-radius:13px;
    }

    .listing > .adcard:not(.blog-list-card) .thumb img {
        width:100%;
        height:100%;
        object-fit:cover;
    }

    .listing > .adcard:not(.blog-list-card) .adcard-body > p {
        order:3;
        margin:0;
        font-size:15px;
        line-height:1.6;
    }

    .listing > .adcard:not(.blog-list-card) .meta {
        order:4;
        margin-top:0;
    }

    .listing > .adcard:not(.blog-list-card) .adcard-actions {
        order:5;
        width:100%;
        padding-left:0;
        justify-content:flex-start;
    }

    .listing > .adcard:not(.blog-list-card) .adcard-consult {
        width:100%;
        min-width:0;
        text-align:center;
    }

    .hero-search-only {
        padding-top:22px;
        padding-bottom:24px;
    }
}

/* Campagnes publicitaires VIP sur la page d'accueil */
.vip-home-section {
    max-width:1300px;
    margin:0 auto 26px;
    padding:0 3%;
}

.vip-home-heading {
    display:flex;
    align-items:center;
    gap:10px;
    margin:0 0 12px;
}

.vip-heading-badge {
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 11px;
    border:1px solid #ff991f;
    border-radius:999px;
    background:rgba(255, 134, 20, .13);
    color:#ff9d2f;
    font-size:13px;
    font-weight:900;
    letter-spacing:.7px;
}

.vip-heading-badge svg {
    width:17px;
    height:17px;
    fill:currentColor;
}

.vip-home-title {
    color:#e7eae5;
    font-size:16px;
    font-weight:800;
}

.vip-home-list {
    display:grid;
    gap:14px;
}

.vip-home-card {
    display:grid;
    grid-template-columns:150px minmax(0, 1fr) auto;
    grid-template-areas:
        "photo title action"
        "photo copy action";
    gap:8px 18px;
    align-items:center;
    padding:14px;
    border:1px solid #ff8a1f;
    border-radius:16px;
    background:
        linear-gradient(90deg, rgba(255, 127, 20, .105), rgba(255, 127, 20, .02) 48%, rgba(17, 20, 17, .98)),
        #111411;
    box-shadow:0 0 0 1px rgba(255, 138, 31, .08), 0 12px 30px rgba(0, 0, 0, .12);
    font-family:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.vip-card-photo {
    grid-area:photo;
    display:block;
    width:150px;
    height:95px;
    overflow:hidden;
    border-radius:11px;
    background:#1a1713;
}

.vip-card-photo img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.vip-card-title {
    grid-area:title;
    display:flex;
    align-items:center;
    gap:9px;
    min-width:0;
}

.vip-card-title h2 {
    margin:0;
    color:#fff;
    font-size:21px;
    line-height:1.2;
    font-weight:850;
    letter-spacing:-.2px;
}

.vip-mini-badge {
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:4px 7px;
    border-radius:7px;
    background:#ff8a1f;
    color:#181008;
    font-size:11px;
    font-weight:950;
    letter-spacing:.7px;
    box-shadow:0 0 12px rgba(255, 138, 31, .22);
}

.vip-card-copy {
    grid-area:copy;
    min-width:0;
}

.vip-card-copy p {
    margin:0;
    color:#c9c5be;
    font-size:14.5px;
    line-height:1.55;
}

.vip-card-actions {
    grid-area:action;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:center;
    gap:9px;
    min-width:150px;
}

.vip-countdown {
    min-width:150px;
    padding:9px 11px;
    border-color:#ff8a1f;
    background:rgba(255, 138, 31, .11);
    box-shadow:0 0 14px rgba(255, 138, 31, .10);
}

.vip-countdown strong {
    font-size:13px;
}

.vip-card-button {
    min-width:118px;
    padding:15px 22px;
    border:1px solid #ff9a2b;
    background:#ff8a1f;
    color:#1a1007;
    text-align:center;
    white-space:nowrap;
}

.vip-card-button:hover {
    background:#ffa43f;
}

@media(max-width:700px) {
    .vip-home-section {
        padding:0 18px;
        margin-bottom:22px;
    }

    .vip-home-card {
        grid-template-columns:1fr;
        grid-template-areas:
            "title"
            "photo"
            "copy"
            "action";
        gap:12px;
    }

    .vip-card-photo {
        width:100%;
        height:auto;
        aspect-ratio:16 / 9;
    }

    .vip-card-title h2 {
        font-size:19px;
    }

    .vip-card-copy p {
        font-size:14.5px;
    }

    .vip-card-actions {
        align-items:flex-start;
        justify-content:flex-start;
        min-width:0;
    }

    .vip-countdown {
        min-width:0;
    }

    .vip-card-button {
        min-width:0;
        padding:12px 20px;
    }
}

/* Sélecteur de langue public FR / EN, sans service externe. */
.language-toggle {
    min-width:52px;
    height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:4px 8px;
    border:1px solid #343a34;
    border-radius:9px;
    background:#151915;
    color:#f5f7f5;
    font-size:12px;
    font-weight:800;
    line-height:1;
    text-decoration:none;
    letter-spacing:.04em;
    flex:0 0 auto;
    transition:transform .16s ease,border-color .16s ease,background .16s ease;
}

.language-toggle img {
    width:22px;
    height:15px;
    display:block;
    object-fit:cover;
    border-radius:3px;
}

.language-toggle:hover,
.language-toggle:focus-visible {
    transform:translateY(-1px);
    border-color:var(--lime);
    background:#202520;
    color:#fff;
    outline:none;
}

@media(max-width:560px) {
    .language-toggle {
        min-width:48px;
        height:32px;
        gap:5px;
        padding:4px 7px;
    }

    .language-toggle img {
        width:20px;
        height:14px;
    }
}

/* Paiement PayPal dans le formulaire de campagne publicitaire */
.promotion-payment-box {
    display:grid;
    gap:12px;
    margin:4px 0 8px;
    padding:16px;
    border:1px solid #45513f;
    border-radius:16px;
    background:linear-gradient(180deg,#151a14 0%,#10140f 100%);
}

.promotion-payment-message {
    margin:0;
    color:#e9eee6;
    font-size:14px;
    font-weight:700;
    line-height:1.55;
}

.promotion-paypal-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:11px;
    width:max-content;
    max-width:100%;
    min-height:48px;
    padding:11px 18px;
    border:1px solid #169bd7;
    border-radius:13px;
    background:#0070ba;
    color:#fff;
    font-weight:900;
    text-decoration:none;
    box-shadow:0 8px 20px rgba(0,112,186,.18);
    transition:transform .16s ease,background .16s ease,box-shadow .16s ease;
}

.promotion-paypal-button:hover {
    background:#005ea6;
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 10px 24px rgba(0,112,186,.25);
}

.promotion-paypal-button:focus-visible {
    outline:3px solid rgba(23,185,239,.35);
    outline-offset:3px;
}

.paypal-logo-mini {
    position:relative;
    display:inline-block;
    flex:0 0 27px;
    width:27px;
    height:27px;
    border-radius:8px;
    background:#fff;
    overflow:hidden;
}

.paypal-p {
    position:absolute;
    top:1px;
    font-family:Arial,sans-serif;
    font-size:23px;
    font-style:italic;
    font-weight:900;
    line-height:27px;
}

.paypal-p-back {
    left:5px;
    color:#003087;
}

.paypal-p-front {
    left:9px;
    color:#009cde;
    opacity:.9;
}

@media(max-width:640px) {
    .promotion-paypal-button {
        width:100%;
    }
}

/* --------------------------------------------------------------------------
 * Favoris, badges récents et signalements
 * -------------------------------------------------------------------------- */
.favorites-nav {
    position:relative;
}

.favorites-nav svg {
    fill:#ff1744;
}

.favorites-nav:hover svg {
    fill:#ff4567;
}

.favorite-count {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:20px;
    height:20px;
    padding:0 6px;
    border-radius:999px;
    background:#ff1744;
    color:#fff;
    font-size:11px;
    font-weight:950;
}

.favorite-count[hidden] {
    display:none!important;
}

.favorite-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:45px;
    padding:11px 13px;
    border:1px solid #3a413a;
    border-radius:14px;
    background:#171b17;
    color:#d9ddd6;
    font:inherit;
    font-size:13px;
    font-weight:850;
    cursor:pointer;
    transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease;
}

.favorite-button svg {
    display:block;
    width:18px;
    height:18px;
    fill:transparent;
    stroke:#ff1744;
    stroke-width:1.9;
    transition:fill .16s ease,color .16s ease;
}

.favorite-button:hover {
    transform:translateY(-1px);
    border-color:#ff1744;
    color:#ff4567;
}

.favorite-button.is-favorite {
    border-color:#ff1744;
    background:rgba(255,23,68,.12);
    color:#ff1744;
}

.favorite-button.is-favorite svg {
    fill:currentColor;
}

.listing>.adcard .adcard-actions {
    gap:9px;
}

.ad-badge {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    padding:4px 7px;
    border-radius:7px;
    font-size:10px;
    font-weight:950;
    letter-spacing:.55px;
    line-height:1;
    white-space:nowrap;
}

.ad-badge-new {
    border:1px solid rgba(202,255,32,.45);
    background:rgba(202,255,32,.12);
    color:#d8ff62;
}


.favorites-heading {
    max-width:1300px;
    margin:0 auto 20px;
}

.favorites-heading h1 {
    margin:0;
}

/* Fiche annonce : favoris et signalement */
.ad-detail-badges {
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin:-4px 0 16px;
}

.ad-detail-actions {
    display:flex;
    align-items:flex-start;
    gap:10px;
    flex-wrap:wrap;
    margin:18px 0 22px;
}

.favorite-button-detail {
    min-height:48px;
    padding:12px 16px;
}

.report-ad-box {
    min-width:230px;
    max-width:520px;
}

.report-ad-box>summary {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:48px;
    padding:12px 16px;
    border:1px solid #ff5a36;
    border-radius:14px;
    background:rgba(255,70,40,.14);
    color:#ff8a6f;
    font-size:13px;
    font-weight:900;
    cursor:pointer;
    list-style:none;
    box-shadow:0 0 0 1px rgba(255,90,54,.08), 0 0 18px rgba(255,70,40,.08);
    transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}

.report-ad-box>summary:hover {
    transform:translateY(-1px);
    border-color:#ff744f;
    background:rgba(255,70,40,.22);
    color:#ffd2c8;
}

.report-ad-box>summary::-webkit-details-marker {
    display:none;
}

.report-ad-box[open] {
    width:100%;
    flex-basis:100%;
}

.report-ad-box[open]>summary {
    margin-bottom:10px;
}

.report-ad-form {
    display:grid;
    gap:12px;
    padding:16px;
    border:1px solid #3b332f;
    border-radius:15px;
    background:#111411;
}

.report-ad-form label {
    display:grid;
    gap:7px;
    color:#d7d9d4;
    font-size:14px;
    font-weight:700;
}

.report-ad-form select,
.report-ad-form textarea,
.report-ad-form input {
    width:100%;
    padding:13px 14px;
    border:1px solid #343a34;
    border-radius:12px;
    background:#0e120f;
    color:#fff;
    font:inherit;
}

.report-ad-form textarea {
    resize:vertical;
}

.report-submit-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border-color:#ff5a36;
    background:#ff4b2f;
    color:#fff;
    font-weight:900;
}

.report-submit-button:hover {
    border-color:#ff795d;
    background:#ff6248;
    color:#fff;
}

.report-success,
.report-errors {
    margin:14px 0;
    padding:16px!important;
    text-align:left!important;
}

.report-success {
    border-color:#4d7e2d!important;
}


@media(max-width:700px) {
    .listing > .adcard:not(.blog-list-card) .adcard-title {
        flex-wrap:wrap;
    }

    .listing > .adcard:not(.blog-list-card) .adcard-actions {
        display:block;
    }

    .listing > .adcard:not(.blog-list-card) .adcard-consult {
        width:100%;
    }

    .ad-detail-actions {
        align-items:stretch;
    }

    .favorite-button-detail,
    .report-ad-box,
    .report-ad-box>summary {
        width:100%;
    }

    .report-ad-box>summary {
        justify-content:center;
    }
}

@media(max-width:560px) {
    .favorites-nav .favorite-count {
        position:absolute;
        right:-4px;
        top:-5px;
        min-width:18px;
        height:18px;
        padding:0 5px;
        border:2px solid #070908;
        font-size:10px;
    }
}


/* Navigation secondaire et fil d'Ariane : utile aux visiteurs et au SEO. */
.seo-breadcrumbs {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:7px;
    margin:0 0 18px;
    color:#8f998f;
    font-size:13px;
    line-height:1.45;
}

.seo-breadcrumbs a {
    color:#b7c1b7;
    text-decoration:none;
}

.seo-breadcrumbs a:hover {
    color:var(--lime);
}

.seo-breadcrumbs > span:last-child {
    max-width:min(620px, 100%);
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

@media(max-width:700px) {
    .seo-breadcrumbs {
        margin-bottom:14px;
        font-size:12px;
    }
}

/* =========================================================
   FeriaMania — mode Évènements
   ========================================================= */
.public-header-start {
    display:flex;
    align-items:center;
    gap:22px;
    min-width:0
}

.site-mode-switch {
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:4px;
    border:1px solid #343a34;
    border-radius:14px;
    background:#101410;
    font-size:13px;
    font-weight:900;
    white-space:nowrap
}

.site-mode-switch a {
    padding:9px 12px;
    border-radius:10px;
    color:#aeb5aa;
    transition:background .15s ease,color .15s ease
}

.site-mode-switch a:hover {
    color:#fff;
    background:#1c211c
}

.site-mode-switch a.is-active {
    background:var(--lime);
    color:#080a07
}

.events-page {
    max-width:1400px;
    margin:0 auto;
    padding:34px 3% 50px
}

.events-intro {
    max-width:1300px;
    margin:0 auto 10px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px
}

.events-intro h1 {
    margin:6px 0 10px;
    font-size:clamp(34px,5vw,58px);
    line-height:1
}

.events-intro p {
    margin:0;
    max-width:760px;
    color:var(--muted);
    line-height:1.6
}

.events-kicker,
.event-detail-category {
    color:var(--lime);
    font-size:13px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em
}

.events-search-wrap {
    padding:24px 0 26px;
    max-width:1300px;
    margin:auto
}

.events-search {
    grid-template-columns:1.1fr 1.6fr 1.5fr auto
}

.events-search select {
    width:100%;
    height:100%;
    min-height:58px;
    border:1px solid #343a34;
    border-radius:16px;
    background:#101410;
    color:#f5f6f2;
    padding:0 16px;
    font-size:16px
}

.event-search-note {
    max-width:1300px;
    margin:0 auto 4px;
    padding:12px 16px;
    border:1px solid #343a34;
    border-radius:14px;
    background:#101410;
    color:#aeb5aa;
    display:flex;
    gap:8px;
    flex-wrap:wrap
}

.event-search-note strong {
    color:var(--lime)
}

.event-card .meta {
    align-items:center
}

.event-card .meta strong {
    color:#ffb347
}

.event-detail-page {
    max-width:1050px
}

.event-detail-card {
    display:grid;
    gap:28px
}

.event-detail-heading {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px
}

.event-detail-heading h1 {
    margin:8px 0 10px;
    font-size:clamp(34px,5vw,58px);
    line-height:1.05
}

.event-location-line {
    margin:0;
    color:#b7beb4;
    font-size:17px
}

.event-location-line strong {
    color:#ffb347
}

.event-detail-photo {
    display:block;
    width:100%;
    max-height:620px;
    overflow:hidden;
    border-radius:20px;
    border:1px solid #2f352f;
    background:#111411
}

.event-detail-photo img {
    display:block;
    width:100%;
    max-height:620px;
    object-fit:contain;
    background:#0d100d
}

.event-description {
    font-size:18px;
    line-height:1.8;
    color:#e0e4de
}

.event-contact {
    margin-top:0
}

.event-submit-page .upload-box {
    border-color:#3b423b
}

.event-submit-page .required-upload-field .upload-box::after {
    content:"*";
    position:absolute;
    right:15px;
    top:10px;
    color:var(--lime);
    font-size:20px;
    font-weight:900
}

.event-submit-page .upload-box {
    position:relative
}

.event-favorite-button.is-favorite,
.event-favorites-page .favorite-button.is-favorite {
    color:#ff335f;
    border-color:#ff335f;
    background:rgba(255,51,95,.1)
}

.event-favorite-button.is-favorite svg {
    fill:#ff335f
}

@media(max-width:1050px) {
    .public-header-start {
        gap:12px
    }

    .site-mode-switch a {
        padding:8px 9px
    }
}

@media(max-width:850px) {
    header {
        flex-wrap:wrap;
        gap:12px
    }

    .public-header-start {
        width:100%;
        justify-content:space-between
    }

    header nav {
        width:100%;
        justify-content:flex-end
    }

    .events-search {
        grid-template-columns:1fr
    }

    .events-intro {
        align-items:flex-start;
        flex-direction:column
    }

    .event-detail-heading {
        flex-direction:column
    }
}

@media(max-width:560px) {
    .site-mode-switch {
        font-size:12px
    }

    .site-mode-switch a {
        padding:8px 9px
    }

    .events-page {
        padding-top:24px
    }

    .event-card {
        display:flex;
        flex-direction:column;
        gap:12px;
        padding:20px 0
    }

    .event-card .adcard-body {
        display:contents
    }

    .event-card .adcard-title {
        order:1;
        margin:0
    }

    .event-card .thumb {
        order:2;
        width:100%;
        height:auto;
        aspect-ratio:16/10
    }

    .event-card .adcard-body > p {
        order:3
    }

    .event-card .meta {
        order:4;
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:5px;
        margin-top:0
    }

    .event-card .adcard-actions {
        order:5;
        width:100%
    }

    .event-card .adcard-consult {
        width:100%;
        text-align:center
    }

    .event-detail-photo {
        border-radius:14px
    }
}

/* Évènements : date clairement identifiable sur les listes et fiches. */
.event-date-badge {
    display:inline-flex;
    align-items:center;
    gap:7px;
    width:max-content;
    padding:7px 11px;
    border:1px solid rgba(255,179,71,.5);
    border-radius:999px;
    background:rgba(255,179,71,.08);
    color:#ffc56f;
    font-size:14px;
    font-weight:900;
    line-height:1.1
}

.event-date-card {
    margin:0 0 4px
}

.event-detail-meta {
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap
}

.event-date-input-wrap input[type="date"] {
    color-scheme:dark
}

@media(max-width:560px) {
    .event-detail-meta {
        align-items:flex-start;
        flex-direction:column;
        gap:8px
    }
}


/* =========================================================
   En-tête public allégé + switch Annonces / Évènements renforcé
   ========================================================= */
header {
    padding-left:4%;
    padding-right:4%;
}

header nav {
    gap:12px;
}

.favorites-nav {
    width:46px;
    height:46px;
    padding:0;
    justify-content:center;
    flex:0 0 46px;
}

.favorites-nav svg {
    width:22px;
    height:22px;
}

.favorites-nav .favorite-count {
    position:absolute;
    right:-6px;
    top:-7px;
}

.site-mode-switch {
    gap:6px;
    padding:5px;
    border:2px solid #525b52;
    background:#171c17;
    box-shadow:0 0 0 1px rgba(255,255,255,.03);
}

.site-mode-switch a {
    min-width:92px;
    text-align:center;
    padding:10px 14px;
    color:#f0f3ee;
    background:#242a24;
    border:1px solid #3d453d;
}

.site-mode-switch a:first-child.is-active {
    background:var(--lime);
    border-color:var(--lime);
    color:#080a07;
    box-shadow:0 0 18px rgba(202,255,32,.22);
}

.site-mode-switch a:nth-child(2).is-active {
    background:#ff9f1c;
    border-color:#ffb347;
    color:#120b02;
    box-shadow:0 0 18px rgba(255,159,28,.28);
}

.site-mode-switch a:not(.is-active):hover {
    background:#303730;
    border-color:#6b766b;
    color:#fff;
}

.events-page > .vip-home-section,
.event-category-page > .vip-home-section {
    max-width:1300px;
    margin-left:auto;
    margin-right:auto;
}

@media(max-width:850px) {
    header {
        padding-left:3%;
        padding-right:3%;
    }

    .favorites-nav {
        width:42px;
        height:42px;
        flex-basis:42px;
    }
}

@media(max-width:560px) {
    .site-mode-switch {
        gap:4px;
        padding:4px;
    }

    .site-mode-switch a {
        min-width:0;
        padding:8px 10px;
    }

    .favorites-nav .favorite-count {
        right:-4px;
        top:-5px;
    }
}


/* Autocomplétion des villes françaises dans le module Évènements */
.city-autocomplete {
    position:relative;
    overflow:visible!important;
}

.city-autocomplete > input[type="hidden"] {
    display:none!important;
}

.city-suggestions {
    position:absolute;
    z-index:120;
    left:0;
    right:0;
    top:calc(100% + 7px);
    max-height:290px;
    overflow-y:auto;
    padding:7px;
    border:1px solid #505b50;
    border-radius:14px;
    background:#111612;
    box-shadow:0 18px 42px rgba(0,0,0,.48);
}

.city-suggestions[hidden] {
    display:none!important;
}

.city-suggestion-option {
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    border:0;
    border-radius:10px;
    padding:11px 12px;
    background:transparent;
    color:#f4f6f2;
    font:inherit;
    text-align:left;
    cursor:pointer;
}

.city-suggestion-option + .city-suggestion-option {
    margin-top:3px;
}

.city-suggestion-option:hover,
.city-suggestion-option.is-active {
    background:#263128;
    color:#fff;
}

.city-suggestion-option strong {
    font-weight:850;
}

.city-suggestion-option span {
    flex:0 0 auto;
    color:var(--lime);
    font-weight:900;
    letter-spacing:.02em;
}

.events-intro {
    align-items:center;
}

@media(max-width:760px) {
    .city-suggestions {
        max-height:250px;
    }
}

/* =========================================================
   En-tête public mobile + switch bleu, sans bouton "Tous"
   ========================================================= */
.site-mode-switch {
    border-color:#315f8f;
    background:#0f1823;
    box-shadow:0 0 0 1px rgba(63,151,255,.08);
}

.site-mode-switch a {
    color:#dceaff;
    background:#17283b;
    border-color:#294c70;
}

.site-mode-switch a.is-active,
.site-mode-switch a:first-child.is-active,
.site-mode-switch a:nth-child(2).is-active {
    background:#2f8cff;
    border-color:#62a8ff;
    color:#fff;
    box-shadow:0 0 18px rgba(47,140,255,.34);
}

.site-mode-switch a:not(.is-active):hover {
    background:#213b56;
    border-color:#4d83b8;
    color:#fff;
}

@media(max-width:560px) {
    header {
        height:auto;
        min-height:0;
        padding-top:14px;
        padding-bottom:14px;
        align-items:stretch;
    }

    .public-header-start {
        width:100%;
        flex-direction:column;
        align-items:stretch;
        gap:12px;
    }

    .brand {
        width:100%;
        display:flex;
        align-items:center;
        justify-content:flex-start;
    }

    .site-mode-switch {
        width:100%;
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:6px;
    }

    .site-mode-switch a {
        width:100%;
        min-width:0;
        padding:10px 8px;
    }

    header nav {
        width:100%;
        justify-content:space-between;
        gap:10px;
    }

    header nav .navbtn {
        flex:1 1 auto;
        text-align:center;
    }
}

/* =========================================================
   VIP : liste épurée + accroche campagne + switch élargi
   ========================================================= */
/* Les cartes portent déjà leur badge VIP : aucun titre supplémentaire au-dessus. */
.vip-home-section {
    padding-top:0;
}

/* Accroche VIP uniquement sur le formulaire de campagne publicitaire. */
.promotion-vip-intro {
    display:flex;
    align-items:center;
    gap:12px;
    margin:-12px 0 26px;
    padding:12px 14px;
    border:1px solid rgba(255,138,31,.55);
    border-radius:14px;
    background:linear-gradient(90deg,rgba(255,138,31,.13),rgba(255,138,31,.035));
    color:#f6f7f3;
}

.promotion-vip-intro strong {
    font-size:16px;
    line-height:1.35;
}

.promotion-vip-logo {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    flex:0 0 auto;
    padding:7px 10px;
    border:1px solid #ff991f;
    border-radius:999px;
    background:rgba(255,134,20,.16);
    color:#ff9d2f;
    font-size:12px;
    font-weight:900;
    letter-spacing:.7px;
}

.promotion-vip-logo svg {
    width:17px;
    height:17px;
    fill:currentColor;
}

/* Sur tablette et ordinateur, le switch occupe l'espace disponible du header. */
@media (min-width:561px) {
    header {
        gap:14px;
    }

    .public-header-start {
        flex:1 1 auto;
        gap:18px;
    }

    .brand {
        flex:0 0 auto;
    }

    .site-mode-switch {
        flex:1 1 420px;
        width:auto;
        max-width:none;
        min-width:240px;
    }

    .site-mode-switch a {
        flex:1 1 50%;
        min-width:0;
        padding-left:20px;
        padding-right:20px;
    }

    header nav {
        flex:0 0 auto;
        margin-left:0;
    }
}

@media (max-width:760px) and (min-width:561px) {
    .public-header-start {
        gap:10px;
    }

    .site-mode-switch {
        min-width:0;
    }

    .site-mode-switch a {
        padding-left:12px;
        padding-right:12px;
    }
}

@media (max-width:560px) {
    .promotion-vip-intro {
        align-items:flex-start;
        margin-top:-10px;
    }
}



/* Confirmation du formulaire de contact */
.contact-thank-page {
    width:min(760px,94%);
    margin:0 auto;
    padding:64px 0 90px
}

.thank-card {
    padding:clamp(28px,5vw,52px);
    border:1px solid #2e352f;
    border-radius:24px;
    background:#101410;
    text-align:center;
    box-shadow:0 20px 55px rgba(0,0,0,.22)
}

.thank-icon {
    display:flex;
    align-items:center;
    justify-content:center;
    width:70px;
    height:70px;
    margin:0 auto 18px;
    border-radius:50%;
    background:rgba(202,255,32,.11);
    border:1px solid rgba(202,255,32,.28);
    color:#caff20
}

.thank-icon svg {
    width:38px;
    height:38px;
    fill:currentColor
}

.thank-card h1 {
    margin:8px 0 14px
}

.thank-card p {
    max-width:580px;
    margin:0 auto;
    color:#c3c9c0;
    font-size:17px;
    line-height:1.7
}

.thank-actions {
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin-top:26px
}

@media(max-width:620px) {
    .contact-thank-page {
        padding:36px 0 64px
    }

    .thank-actions .btn {
        width:100%;
        text-align:center
    }
}

/* =========================================================
   Évènements : liste alignée sur les VIP + fiche type annonce
   ========================================================= */
.events-page > .listing,
.event-category-page > .listing {
    width:100%;
    max-width:1300px;
    margin-left:auto;
    margin-right:auto;
    padding-left:3%;
    padding-right:3%;
    box-sizing:border-box;
}

.listing > .event-card .event-card-media {
    width:150px;
    min-width:0;
    display:grid;
    gap:8px;
    align-content:center;
}

.listing > .event-card .event-card-media .event-date-card {
    width:100%;
    justify-content:center;
    margin:0;
    padding:6px 8px;
    border-radius:10px;
    font-size:13px;
    text-align:center;
}

.listing > .event-card .event-card-media .thumb {
    width:150px;
    height:95px;
}

.event-detail-page {
    max-width:none;
}

.event-detail-content {
    width:100%;
}

.event-detail-meta-inline {
    margin:16px 0 4px;
}

.event-detail-meta-inline .event-detail-category {
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:7px 10px;
    border:1px solid #343a34;
    border-radius:999px;
    background:#101410;
}

.event-detail-actions {
    margin-top:18px;
}

.event-gallery-bottom {
    margin-top:34px;
}

@media(max-width:700px) {
    .events-page > .listing,
    .event-category-page > .listing {
        padding-left:18px;
        padding-right:18px;
    }

    .listing > .event-card .event-card-media {
        order:2;
        width:100%;
        display:grid;
        gap:10px;
    }

    .listing > .event-card .event-card-media .event-date-card {
        width:max-content;
        max-width:100%;
        justify-content:flex-start;
        padding:7px 11px;
    }

    .listing > .event-card .event-card-media .thumb {
        width:100%;
        height:auto;
        aspect-ratio:16 / 9;
    }
}

/* =========================================================
   Évènements : sélecteur de date immédiat, sans bouton OK
   ========================================================= */
.event-date-picker {
    position:relative;
    overflow:visible;
}

.event-date-trigger {
    width:100%;
    min-height:54px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:0 16px 0 52px;
    border:1px solid #343a34;
    border-radius:14px;
    background:#111511;
    color:#aeb6ac;
    text-align:left;
    cursor:pointer;
    font:inherit;
}

.event-date-trigger:hover,
.event-date-trigger:focus-visible,
.event-date-trigger.has-value {
    border-color:#5a6857;
    color:#f5f7f3;
}

.event-date-trigger .field-icon {
    left:16px;
}

.event-date-trigger-label {
    font-weight:800;
}

.event-calendar {
    position:absolute;
    z-index:80;
    top:calc(100% + 8px);
    left:0;
    width:min(100%, 390px);
    padding:14px;
    border:1px solid #3d473b;
    border-radius:16px;
    background:#101410;
    box-shadow:0 18px 50px rgba(0,0,0,.48);
}

.event-calendar[hidden] {
    display:none !important;
}

.event-calendar-head {
    display:grid;
    grid-template-columns:42px 1fr 42px;
    align-items:center;
    gap:8px;
    margin-bottom:12px;
}

.event-calendar-head strong {
    text-align:center;
    color:#fff;
    font-size:16px;
}

.event-calendar-nav {
    width:42px;
    height:38px;
    border:1px solid #374036;
    border-radius:10px;
    background:#171c17;
    color:#fff;
    font-size:25px;
    line-height:1;
    cursor:pointer;
}

.event-calendar-nav:disabled {
    opacity:.28;
    cursor:not-allowed;
}

.event-calendar-weekdays,
.event-calendar-grid {
    display:grid;
    grid-template-columns:repeat(7, minmax(0, 1fr));
    gap:5px;
}

.event-calendar-weekdays {
    margin-bottom:6px;
}

.event-calendar-weekdays span {
    padding:4px 0;
    color:#8e978c;
    font-size:11px;
    font-weight:900;
    text-align:center;
    text-transform:uppercase;
}

.event-calendar-day,
.event-calendar-empty {
    aspect-ratio:1;
}

.event-calendar-day {
    display:grid;
    place-items:center;
    border:1px solid transparent;
    border-radius:10px;
    background:#181d18;
    color:#f3f5f1;
    font-weight:850;
    cursor:pointer;
}

.event-calendar-day:hover:not(:disabled),
.event-calendar-day:focus-visible {
    border-color:#4f7cff;
    background:#1d2a4d;
}

.event-calendar-day.is-today {
    border-color:#707a6d;
}

.event-calendar-day.is-selected {
    border-color:#7ea0ff;
    background:#3158c8;
    color:#fff;
}

.event-calendar-day:disabled {
    opacity:.2;
    cursor:not-allowed;
}

@media(max-width:620px) {
    .event-calendar {
        width:100%;
    }
}

/* Filtre département des évènements */
.home-filter-department::before {
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Zm2 3v12h12V6H6Zm2 2h3v3H8V8Zm5 0h3v3h-3V8Zm-5 5h3v3H8v-3Zm5 0h3v3h-3v-3Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Zm2 3v12h12V6H6Zm2 2h3v3H8V8Zm5 0h3v3h-3V8Zm-5 5h3v3H8v-3Zm5 0h3v3h-3v-3Z'/%3E%3C/svg%3E");
}

.pagination .pagination-gap {
    display:inline-flex;
    min-width:34px;
    min-height:34px;
    align-items:center;
    justify-content:center;
    color:#8f978d;
    font-weight:800;
}


/* Prix + devise dans le formulaire de dépôt d'annonce. */
.price-currency-field {
    display:grid;
    grid-template-columns:minmax(0,1fr) 150px;
    gap:10px;
    width:100%
}

.icon-field .price-currency-field input {
    padding-left:48px!important
}

.price-currency-field select {
    min-width:0;
    padding-left:14px!important;
    padding-right:12px!important;
    font-weight:800
}

@media (max-width:560px) {
    .price-currency-field {
        grid-template-columns:minmax(0,1fr) 125px
    }
}
