/* ==========================================================
   GI SEO LISTINGS — PREMIUM UI
   Conserves les classes existantes du plugin.
========================================================== */

.gi-listing-page {
    --gi-green: #0B493E;
    --gi-green-2: #136A58;
    --gi-green-3: #1D8770;
    --gi-cream: #F6F1E7;
    --gi-soft: #F4FBF8;
    --gi-text: #173F37;
    --gi-muted: #5F746E;
    --gi-border: rgba(11, 73, 62, .14);
    --gi-shadow: 0 18px 45px rgba(9, 40, 34, .10);
}

/* ==========================================================
   HUB LOCALISATION — BOUTONS PREMIUM
========================================================== */

.gi-hub {
    position: relative;
    margin: 38px 0;
    padding: 34px;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96) 0%, rgba(244,251,248,.98) 65%, rgba(246,241,231,.92) 100%);
    border: 1px solid rgba(11, 73, 62, .13);
    box-shadow: 0 22px 55px rgba(9, 40, 34, .09);
    overflow: hidden;
}

.gi-hub::before {
    content: "";
    position: absolute;
    right: -100px;
    top: -110px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11,73,62,.14), rgba(11,73,62,0) 68%);
    pointer-events: none;
}

.gi-hub::after {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -100px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,172,88,.15), rgba(212,172,88,0) 70%);
    pointer-events: none;
}

.gi-hub h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 22px;
    color: var(--gi-green, #0B493E);
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
    line-height: 1.12;
    font-weight: 900;
}

.gi-hub h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin-top: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0B493E, #D4AC58);
}

.gi-hub-group {
    position: relative;
    z-index: 1;
    margin: 28px 0 0;
}

.gi-hub-group h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: #163D35;
    font-size: 1.08rem;
    line-height: 1.2;
    font-weight: 900;
}

.gi-hub-group h3::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D4AC58;
    box-shadow: 0 0 0 5px rgba(212,172,88,.14);
}

.gi-hub-buttons,
.gi-related-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.gi-hub-btn,
.gi-related-links a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 12px 14px 12px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(11, 73, 62, .15);
    color: var(--gi-green, #0B493E) !important;
    text-decoration: none !important;
    font-weight: 850;
    line-height: 1.2;
    box-shadow: 0 10px 24px rgba(9,40,34,.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
    overflow: hidden;
}

.gi-hub-btn::before,
.gi-related-links a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,73,62,.075), rgba(212,172,88,.08));
    opacity: 0;
    transition: opacity .18s ease;
    pointer-events: none;
}

.gi-hub-btn:hover,
.gi-related-links a:hover {
    transform: translateY(-3px);
    border-color: rgba(11, 73, 62, .34);
    box-shadow: 0 18px 38px rgba(9,40,34,.12);
    background: #fff;
}

.gi-hub-btn:hover::before,
.gi-related-links a:hover::before {
    opacity: 1;
}

.gi-hub-btn span,
.gi-related-links span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--gi-green, #0B493E);
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(11,73,62,.16);
}

.gi-hidden {
    display: none !important;
}

.gi-hub-buttons.is-open .gi-hidden {
    display: flex !important;
}

.gi-hub-more {
    align-self: stretch;
    min-height: 48px;
    border: 0;
    border-radius: 16px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #0B493E, #136A58);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(11,73,62,.18);
    transition: transform .18s ease, box-shadow .18s ease;
}

.gi-hub-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(11,73,62,.23);
}

/* ==========================================================
   HERO LISTING — PREMIUM DESTINATION
========================================================== */

.gi-listing-hero {
    position: relative;
    overflow: hidden;
    margin: 34px 0;
    padding: 72px 60px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0B493E 0%, #136A58 52%, #1D8770 100%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    box-shadow: 0 22px 62px rgba(0,0,0,.17);
    isolation: isolate;
}

.gi-listing-hero.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0,0,0,.80) 0%, rgba(0,0,0,.62) 48%, rgba(0,0,0,.30) 100%),
        linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.35) 100%);
}

.gi-listing-hero.no-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 86% 18%, rgba(255,255,255,.16), rgba(255,255,255,0) 28%),
        radial-gradient(circle at 5% 100%, rgba(212,172,88,.20), rgba(212,172,88,0) 32%);
}

.gi-listing-hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: -140px;
    right: -140px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    pointer-events: none;
}

.gi-listing-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 930px;
}

.gi-listing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #fff;
    backdrop-filter: blur(8px);
    text-transform: uppercase;
    letter-spacing: .10em;
    font-size: .78rem;
    line-height: 1;
    font-weight: 900;
}

.gi-listing-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D4AC58;
}

.gi-listing-hero h1 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(2.25rem, 4.6vw, 4rem);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -.035em;
    text-shadow: 0 4px 22px rgba(0,0,0,.35);
}

.gi-listing-intro {
    max-width: 880px;
    color: rgba(255,255,255,.96);
    font-size: 1.12rem;
    line-height: 1.85;
    text-shadow: 0 2px 12px rgba(0,0,0,.22);
}

.gi-listing-intro p:last-child {
    margin-bottom: 0;
}

/* Intro déplacée sous le hero : plus lisible, plus uniforme */
.gi-listing-intro-panel {
    position: relative;
    margin: -8px 0 36px;
    padding: 34px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(244,251,248,.98) 100%);
    border: 1px solid rgba(11,73,62,.12);
    box-shadow: 0 18px 42px rgba(9,40,34,.08);
    overflow: hidden;
}

.gi-listing-intro-panel::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -90px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,172,88,.18), rgba(212,172,88,0) 68%);
    pointer-events: none;
}

.gi-listing-intro-panel-inner {
    position: relative;
    z-index: 1;
    max-width: 980px;
}

.gi-listing-intro-panel .gi-listing-intro {
    max-width: 980px;
    color: var(--gi-text, #173F37);
    font-size: 1.08rem;
    line-height: 1.9;
    text-shadow: none;
}

.gi-listing-intro-panel .gi-listing-intro p {
    margin: 0 0 18px;
}


.gi-listing-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.gi-listing-badges span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.17);
    color: #fff;
    border: 1px solid rgba(255,255,255,.20);
    backdrop-filter: blur(8px);
    font-size: .9rem;
    line-height: 1;
    font-weight: 850;
}

/* CTA éditorial */
.gi-editorial-cta {
    margin: 20px 0 32px;
}

.gi-editorial-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #0B493E, #136A58);
    color: #fff !important;
    border-radius: 999px;
    padding: 15px 25px;
    text-decoration: none !important;
    font-weight: 900;
    box-shadow: 0 16px 32px rgba(11,73,62,.20);
    transition: transform .18s ease, box-shadow .18s ease;
}

.gi-editorial-cta a::after {
    content: "→";
    font-weight: 900;
}

.gi-editorial-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(11,73,62,.26);
}

/* ==========================================================
   RÉSULTATS HÉBERGEMENTS — CARTES BOOKING PRO
========================================================== */

.gi-booking-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 38px 0 22px;
    align-items: stretch;
}

.gi-booking-card {
    height: 100%;
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(11,73,62,.13);
    box-shadow: 0 18px 44px rgba(9,40,34,.09);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.gi-booking-card:hover {
    transform: translateY(-5px);
    border-color: rgba(11,73,62,.30);
    box-shadow: 0 30px 70px rgba(9,40,34,.15);
}

.gi-booking-card-link {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    color: inherit !important;
    text-decoration: none !important;
}

.gi-booking-card-image {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #DCEBE6, #F4FBF8);
    overflow: hidden;
}

.gi-booking-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.gi-booking-card:hover .gi-booking-card-image img {
    transform: scale(1.04);
}

.gi-booking-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #0B493E;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.gi-booking-card-badge {
    position: absolute;
    left: 15px;
    top: 15px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: #0B493E;
    font-size: .78rem;
    line-height: 1;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

.gi-booking-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

.gi-booking-card-content h3 {
    margin: 0 0 10px;
    color: #0B493E;
    font-size: 1.14rem;
    line-height: 1.25;
    font-weight: 950;
}

.gi-booking-card-content p {
    margin: 0 0 18px;
    color: #52645F;
    line-height: 1.58;
    font-size: .95rem;
}

.gi-booking-card-button {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    background: #0B493E;
    color: #fff;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 900;
    font-size: .9rem;
    box-shadow: 0 12px 26px rgba(11,73,62,.17);
}

/* ==========================================================
   BLOCS ÉDITORIAUX, FAQ, RELATED
========================================================== */

.gi-editorial-middle,
.gi-faq,
.gi-related {
    margin: 40px 0;
    padding: 30px;
    background: #fff;
    border: 1px solid rgba(11,73,62,.13);
    border-radius: 26px;
    box-shadow: 0 16px 38px rgba(9,40,34,.07);
}

.gi-editorial-middle h2,
.gi-faq h2,
.gi-related h2 {
    margin-top: 0;
    color: #0B493E;
    font-weight: 950;
}

.gi-faq details {
    border-top: 1px solid #E4EFEB;
    padding: 16px 0;
}

.gi-faq details:first-of-type {
    border-top: 0;
}

.gi-faq summary {
    cursor: pointer;
    font-weight: 900;
    color: #0B493E;
}

.gi-faq details div {
    color: #334B45;
    line-height: 1.68;
}

.gi-magazine-wrap {
    margin-top: 30px;
}

/* ==========================================================
   ADMIN
========================================================== */

.gi-admin-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.gi-admin-cards div {
    background: #fff;
    border: 1px solid #ccd0d4;
    padding: 20px;
    border-radius: 12px;
}

.gi-admin-cards strong {
    display: block;
    font-size: 32px;
    color: #0B493E;
}

.gi-admin-cards span {
    display: block;
    margin-top: 6px;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1120px) {
    .gi-hub-buttons,
    .gi-related-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .gi-booking-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gi-admin-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .gi-listing-hero {
        padding: 56px 42px;
    }
}

@media (max-width: 760px) {
    .gi-hub-buttons,
    .gi-related-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gi-listing-hero {
        padding: 42px 28px;
        border-radius: 22px;
    }

    .gi-listing-hero h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .gi-listing-intro {
        font-size: 1rem;
        line-height: 1.75;
    }
}

@media (max-width: 640px) {
    .gi-booking-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gi-hub,
    .gi-listing-intro-panel,
    .gi-editorial-middle,
    .gi-faq,
    .gi-related {
        padding: 24px;
        border-radius: 22px;
    }

    .gi-hub-buttons,
    .gi-related-links,
    .gi-admin-cards {
        grid-template-columns: 1fr;
    }

    .gi-hub-more {
        width: 100%;
    }

    .gi-listing-badges span {
        flex: 1 1 auto;
    }
}

/* ==========================================================
   CONTENUS ÉDITORIAUX PREMIUM — INTRO LONGUE, BLOC, FAQ, CTA
========================================================== */

.gi-editorial-section {
    position: relative;
    margin: 34px 0;
    padding: 34px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(244,251,248,.98) 100%);
    border: 1px solid rgba(11,73,62,.13);
    box-shadow: 0 18px 48px rgba(9,40,34,.08);
    overflow: hidden;
}

.gi-editorial-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #0B493E, #D4AC58);
}

.gi-editorial-section::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,172,88,.14), rgba(212,172,88,0) 70%);
    pointer-events: none;
}

.gi-editorial-section-inner {
    position: relative;
    z-index: 1;
    max-width: 980px;
}

.gi-editorial-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    color: #0B493E;
    text-transform: uppercase;
    letter-spacing: .10em;
    font-size: .76rem;
    line-height: 1;
    font-weight: 950;
}

.gi-editorial-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D4AC58;
    box-shadow: 0 0 0 5px rgba(212,172,88,.16);
}

.gi-editorial-content {
    color: #294D45;
    font-size: 1.04rem;
    line-height: 1.86;
}

.gi-editorial-content h2,
.gi-editorial-content h3 {
    color: #0B493E;
    line-height: 1.18;
    font-weight: 950;
    letter-spacing: -.02em;
}

.gi-editorial-content h2 {
    font-size: clamp(1.55rem, 2.5vw, 2.15rem);
    margin: 0 0 16px;
}

.gi-editorial-content h3 {
    font-size: 1.25rem;
    margin: 28px 0 10px;
}

.gi-editorial-content p:last-child {
    margin-bottom: 0;
}

.gi-editorial-content a {
    color: #0B493E;
    font-weight: 850;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.gi-premium-cta {
    position: relative;
    margin: 42px 0;
    padding: 36px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(212,172,88,.22), rgba(212,172,88,0) 38%),
        linear-gradient(135deg, #0B493E 0%, #136A58 100%);
    color: #fff;
    box-shadow: 0 22px 58px rgba(11,73,62,.18);
    overflow: hidden;
}

.gi-premium-cta .gi-editorial-label {
    color: #fff;
}

.gi-premium-cta h2 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(1.45rem, 2.6vw, 2.2rem);
    line-height: 1.12;
    font-weight: 950;
}

.gi-premium-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    background: #fff;
    color: #0B493E !important;
    text-decoration: none !important;
    font-weight: 950;
    box-shadow: 0 16px 32px rgba(0,0,0,.18);
    transition: transform .18s ease, box-shadow .18s ease;
}

.gi-premium-cta-button::after {
    content: "→";
}

.gi-premium-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 46px rgba(0,0,0,.23);
}

.gi-faq {
    background:
        linear-gradient(135deg, #ffffff 0%, #F4FBF8 100%);
}

.gi-faq details {
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(11,73,62,.10);
    border-radius: 18px;
    padding: 16px 18px;
    margin: 12px 0;
    box-shadow: 0 10px 24px rgba(9,40,34,.04);
}

.gi-faq summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.gi-faq summary::-webkit-details-marker {
    display: none;
}

.gi-faq summary::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: #0B493E;
    color: #fff;
    font-weight: 950;
}

.gi-faq details[open] summary::after {
    content: "−";
}

@media (max-width: 640px) {
    .gi-editorial-section,
    .gi-premium-cta {
        padding: 26px;
        border-radius: 22px;
    }

    .gi-premium-cta-button {
        width: 100%;
    }
}

/* ==========================================================
   V31 — FAQ PREMIUM : alignement propre des boutons + / −
========================================================== */

.gi-faq details {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.gi-faq summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: center;
    gap: 18px;
    min-height: 68px;
    padding: 18px 20px 18px 22px;
    cursor: pointer;
    color: #0B493E;
    font-weight: 950;
    line-height: 1.35;
}

.gi-faq-question {
    display: block;
    min-width: 0;
}

.gi-faq summary::after {
    grid-column: 2;
    justify-self: end;
    align-self: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(11,73,62,.18);
}

.gi-faq-answer {
    padding: 0 22px 20px 22px;
    color: #314F47;
    line-height: 1.78;
    border-top: 1px solid rgba(11,73,62,.08);
    background: rgba(255,255,255,.62);
}

.gi-faq-answer p:first-child {
    margin-top: 16px;
}

.gi-faq-answer p:last-child {
    margin-bottom: 0;
}

.gi-faq details[open] {
    border-color: rgba(11,73,62,.18);
    box-shadow: 0 16px 34px rgba(9,40,34,.07);
}

@media (max-width: 640px) {
    .gi-faq summary {
        grid-template-columns: minmax(0, 1fr) 30px;
        min-height: 60px;
        padding: 16px;
        gap: 14px;
    }

    .gi-faq summary::after {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        font-size: 20px;
    }

    .gi-faq-answer {
        padding: 0 16px 18px 16px;
    }
}

/* ==========================================================
   V32 — FAQ compacte premium + boutons mieux alignés
========================================================== */
.gi-faq {
    margin: 34px 0;
    padding: 26px;
}

.gi-faq details {
    margin: 10px 0;
    border-radius: 16px;
}

.gi-faq summary {
    grid-template-columns: minmax(0, 1fr) 30px;
    min-height: 48px;
    padding: 13px 16px 13px 18px;
    gap: 14px;
    font-size: 1rem;
    line-height: 1.32;
}

.gi-faq summary::after {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    font-size: 19px;
    line-height: 30px;
    text-align: center;
}

.gi-faq-answer {
    padding: 0 18px 16px 18px;
    line-height: 1.68;
}

.gi-faq-answer p:first-child {
    margin-top: 12px;
}

@media (max-width: 640px) {
    .gi-faq {
        padding: 22px;
    }

    .gi-faq summary {
        grid-template-columns: minmax(0, 1fr) 28px;
        min-height: 46px;
        padding: 12px 14px;
        gap: 12px;
    }

    .gi-faq summary::after {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        font-size: 18px;
        line-height: 28px;
    }

    .gi-faq-answer {
        padding: 0 14px 15px 14px;
    }
}

/* ==========================================================
   V33 — PREMIUM+ : BOUTONS PLUS IMPACTANTS
========================================================== */
.gi-hub-buttons,
.gi-related-links {
    gap: 16px;
}

.gi-hub-btn,
.gi-related-links a {
    min-height: 74px;
    padding: 18px 18px 18px 20px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(250,248,240,.96) 100%);
    border: 1px solid rgba(11,73,62,.14);
    box-shadow:
        0 12px 30px rgba(9,40,34,.07),
        inset 0 1px 0 rgba(255,255,255,.95);
    font-size: .98rem;
    letter-spacing: -.01em;
}

.gi-hub-btn::after,
.gi-related-links a::after {
    content: "→";
    position: absolute;
    right: 18px;
    bottom: 13px;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(212,172,88,.18);
    color: #0B493E;
    font-size: 15px;
    font-weight: 900;
    opacity: .95;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.gi-hub-btn:hover,
.gi-related-links a:hover {
    transform: translateY(-5px);
    border-color: rgba(212,172,88,.75);
    box-shadow:
        0 22px 44px rgba(9,40,34,.15),
        inset 0 1px 0 rgba(255,255,255,1);
}

.gi-hub-btn:hover::after,
.gi-related-links a:hover::after {
    transform: translateX(3px);
    background: #D4AC58;
    color: #fff;
}

.gi-hub-btn span,
.gi-related-links span {
    min-width: 44px;
    height: 32px;
    padding: 0 12px;
    margin-right: 30px;
    background: linear-gradient(135deg, #0B493E, #176655);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    font-size: .82rem;
    box-shadow: 0 10px 22px rgba(11,73,62,.23);
}

/* V36 : compteur premium réduit au chiffre seul. */

.gi-hub-more {
    min-height: 74px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, #0B493E 0%, #136A58 100%);
    border: 1px solid rgba(212,172,88,.38);
    letter-spacing: .01em;
}

/* ==========================================================
   V33 — BLOCS EDITORIAUX PREMIUM+
========================================================== */
.gi-why-section .gi-editorial-section-inner {
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(246,241,231,.72));
    border-left: 5px solid #D4AC58;
}

.gi-neighbourhoods {
    margin: 34px 0;
    padding: 30px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(11,73,62,.96), rgba(19,106,88,.94));
    color: #fff;
    box-shadow: 0 22px 58px rgba(9,40,34,.16);
    overflow: hidden;
}

.gi-neighbourhoods .gi-editorial-label {
    color: rgba(255,255,255,.76);
}

.gi-neighbourhoods h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.5rem, 2.2vw, 2.05rem);
    line-height: 1.15;
}

.gi-neighbourhoods-head p:not(.gi-editorial-label) {
    max-width: 760px;
    margin: 0 0 22px;
    color: rgba(255,255,255,.86);
    line-height: 1.7;
}

.gi-neighbourhood-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gi-neighbourhood-card {
    position: relative;
    display: block;
    min-height: 150px;
    padding: 22px;
    border-radius: 22px;
    text-decoration: none !important;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.gi-neighbourhood-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.18);
    border-color: rgba(212,172,88,.65);
}

.gi-neighbourhood-card-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(212,172,88,.22);
    color: #fff;
    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.gi-neighbourhood-card strong {
    display: block;
    color: #fff;
    font-size: 1.18rem;
    line-height: 1.2;
    margin-bottom: 9px;
}

.gi-neighbourhood-card em {
    display: block;
    color: rgba(255,255,255,.84);
    font-style: normal;
    line-height: 1.55;
}

.gi-booking-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 30px 0 22px;
}

.gi-booking-trust-item {
    padding: 18px 20px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(11,73,62,.12);
    box-shadow: 0 12px 30px rgba(9,40,34,.07);
}

.gi-booking-trust-item strong {
    display: block;
    color: #0B493E;
    font-size: 1.25rem;
    line-height: 1.15;
    font-weight: 950;
}

.gi-booking-trust-item span {
    display: block;
    margin-top: 5px;
    color: #5F746E;
    font-size: .92rem;
    line-height: 1.4;
}

@media screen and (max-width: 980px) {
    .gi-hub-buttons,
    .gi-related-links,
    .gi-neighbourhood-grid,
    .gi-booking-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 640px) {
    .gi-hub-buttons,
    .gi-related-links,
    .gi-neighbourhood-grid,
    .gi-booking-trust {
        grid-template-columns: 1fr;
    }
    .gi-neighbourhoods {
        padding: 22px;
        border-radius: 22px;
    }
    .gi-hub-btn span,
    .gi-related-links span {
        margin-right: 26px;
    }
}

/* ==========================================================
   V34 — QUARTIERS MANUELS PREMIUM AVEC PHOTOS
   Remplace les encarts automatiques Booking par des cartes éditoriales.
========================================================== */
.gi-neighbourhoods-manual {
    position: relative;
    background:
        radial-gradient(circle at 100% 0%, rgba(212,172,88,.18), rgba(212,172,88,0) 36%),
        linear-gradient(135deg, rgba(11,73,62,.98), rgba(18,91,76,.96));
}

.gi-neighbourhoods-manual .gi-neighbourhood-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gi-neighbourhoods-manual .gi-neighbourhood-card {
    position: relative;
    min-height: 210px;
    padding: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-color: rgba(255,255,255,.18);
}

.gi-neighbourhoods-manual .gi-neighbourhood-card:not([style]) {
    background:
        radial-gradient(circle at 100% 0%, rgba(212,172,88,.25), rgba(212,172,88,0) 42%),
        linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.08));
}

.gi-neighbourhood-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.38) 45%, rgba(0,0,0,.72) 100%);
    transition: background .2s ease;
}

.gi-neighbourhood-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: block;
    padding: 18px;
}

.gi-neighbourhoods-manual .gi-neighbourhood-card:hover .gi-neighbourhood-card-overlay {
    background:
        linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.32) 42%, rgba(11,73,62,.86) 100%);
}

.gi-neighbourhoods-manual .gi-neighbourhood-card::after {
    content: "→";
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #0B493E;
    font-weight: 950;
    box-shadow: 0 10px 24px rgba(0,0,0,.15);
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.gi-neighbourhoods-manual .gi-neighbourhood-card:hover::after {
    transform: translateX(3px);
    background: #D4AC58;
    color: #fff;
}

.gi-neighbourhoods-manual .gi-neighbourhood-card-kicker {
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
}

.gi-neighbourhoods-manual .gi-neighbourhood-card strong {
    font-size: 1.22rem;
    text-shadow: 0 2px 14px rgba(0,0,0,.25);
}

.gi-neighbourhoods-manual .gi-neighbourhood-card em {
    color: rgba(255,255,255,.88);
    font-size: .92rem;
}

.gi-booking-trust {
    display: none !important;
}

/* Back-office : champs quartiers plus lisibles */
.gi-admin-neighbourhoods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.gi-admin-neighbourhood-row {
    padding: 16px;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    background: #fff;
}

.gi-admin-neighbourhood-row h4 {
    margin: 0 0 12px;
    color: #0B493E;
}

.gi-admin-neighbourhood-row label {
    font-weight: 600;
}

@media screen and (max-width: 1180px) {
    .gi-neighbourhoods-manual .gi-neighbourhood-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 760px) {
    .gi-neighbourhoods-manual .gi-neighbourhood-grid,
    .gi-admin-neighbourhoods {
        grid-template-columns: 1fr;
    }

    .gi-neighbourhoods-manual .gi-neighbourhood-card {
        min-height: 180px;
    }
}

/* ==========================================================
   Pagination premium des listings dynamiques
========================================================== */
.gi-pagination {
    margin: 34px 0 18px;
    display: flex;
    justify-content: center;
    clear: both;
}

.gi-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: #ffffff;
    border: 1px solid rgba(11,73,62,.10);
    border-radius: 999px;
    box-shadow: 0 14px 35px rgba(11,73,62,.08);
}

.gi-pagination li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gi-pagination a,
.gi-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    color: #0B493E;
    background: #f4faf7;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.gi-pagination a:hover,
.gi-pagination a:focus {
    color: #ffffff;
    background: linear-gradient(135deg,#0B493E 0%,#14715f 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(11,73,62,.18);
}

.gi-pagination .current {
    color: #ffffff;
    background: linear-gradient(135deg,#0B493E 0%,#14715f 100%);
    box-shadow: 0 10px 22px rgba(11,73,62,.20);
}

.gi-pagination .prev,
.gi-pagination .next {
    min-width: auto;
    padding: 0 18px;
}

@media (max-width: 640px) {
    .gi-pagination ul {
        border-radius: 22px;
        gap: 6px;
    }

    .gi-pagination a,
    .gi-pagination span {
        min-width: 34px;
        height: 34px;
        padding: 0 11px;
        font-size: 13px;
    }
}
