/**
 * Styles d'adaptation et d'intégration WordPress pour Mon Garage En Ville Guide
 * Couleur principale : #164196 (Bleu)
 * Couleur secondaire / texte : #3c3d3e
 * Typographie : Figtree, sans-serif
 */

:root {
    --mgv-blue: #164196;
    --mgv-blue-dark: #0f2d69;
    --mgv-blue-light: #e8eef8;
    --mgv-text: #3c3d3e;
    --mgv-text-muted: #6b7280;
    --mgv-bg: #ffffff;
    --mgv-bg-light: #f7f8fa;
    --mgv-footer-bg: #f2f2f2;
    --mgv-border: #e5e7eb;
}

/* ==========================================================================
   Base & Typographie
   ========================================================================== */
body {
    font-family: Figtree, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--mgv-text);
    background-color: var(--mgv-bg);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typographie exacte du site Mon Garage En Ville */
.title .title_content_1,
h1,
h1.h1,
.guide-article__title {
    color: #164196;
    font: normal normal 400 clamp(1.563rem, 1.65vw + 17.28px, 2.441rem)/1.152 Figtree, sans-serif;
    letter-spacing: 0;
    text-transform: none;
    word-break: normal;
}

.title .title_content_2,
h2,
h2.h2,
.guide-article__content h2 {
    color: #3c3d3e;
    font: normal normal 400 clamp(1.406rem, 1.027vw + 17.69px, 1.953rem)/1.44 Figtree, sans-serif;
    letter-spacing: 0;
    text-transform: none;
    word-break: normal;
}

h3,
h3.h3,
.guide-article__content h3,
.guide-card__title {
    color: #3c3d3e;
    font: normal normal 400 clamp(1.125rem, 0.235vw + 16.9px, 1.25rem)/1.4 Figtree, sans-serif;
    letter-spacing: 0;
    text-transform: none;
    word-break: normal;
}

/* ==========================================================================
   Header & Menu Navigation (Hauteur compacte et équilibrée)
   ========================================================================== */
.header {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 9999 !important;
    background: #ffffff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
}

/* Topbar 100% pleine largeur bord à bord */
.header .header_topbar {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
    border: none !important;
}

.header .header_topbar .topbar__structure {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0.35rem 3rem !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: linear-gradient(180deg, #bcbcbc, #585858) !important;
}

.header .header_topbar .topbar__structure .topbar__content {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
}

.header .header_topbar .topbar__structure a,
.header .header_topbar .topbar__structure .text_item,
.header .header_topbar .topbar__structure .lang_init {
    color: #ffffff !important;
    font-size: 0.8rem !important;
    font-family: Figtree, sans-serif !important;
    text-decoration: none !important;
}

.header .header_topbar .topbar__structure .button_proprietaire {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    background: rgba(255, 255, 255, 0.15) !important;
    padding: 0.25rem 0.65rem !important;
    border-radius: 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

.header .header_topbar .topbar__structure .button_heart {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    color: #ffffff !important;
}

.header .header_topbar .topbar__structure svg {
    fill: #ffffff !important;
}

.header .header_topbar .topbar__structure svg .fill_element,
.header .header_topbar .topbar__structure svg .stroke_element {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Menu desktop conforme au site d'origine (Navigation centrée sans logo dans l'en-tête, 100% pleine largeur) */
.header.desktop_menu .header_menu.header-3 {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0.85rem 3rem !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    opacity: 1 !important;
    position: relative !important;
    min-height: auto !important;
    height: auto !important;
}

.header.desktop_menu .header_menu.header-3:before {
    display: none !important;
}

.header .header_menu .menu__logo {
    display: none !important;
}

.header.desktop_menu .header_menu.header-3 .menu_burger {
    display: none !important;
}

/* Navigation centrée */
.header.desktop_menu .header_menu.header-3 .menu__navigation {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
    box-shadow: none !important;
    background: transparent !important;
}

.header.desktop_menu .header_menu.header-3 .navigation__items {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}

.header.desktop_menu .header_menu.header-3 .navigation__item {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
}

.header.desktop_menu .header_menu.header-3 .navigation__item .navigation__link {
    font-family: Figtree, sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 400 !important;
    color: #3c3d3e !important;
    text-decoration: none !important;
    padding: 0.35rem 2rem !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: color 0.2s ease, font-weight 0.2s ease !important;
    text-transform: capitalize !important;
    line-height: 1.5 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.header.desktop_menu .header_menu.header-3 .navigation__item.current-menu-item .navigation__link,
.header.desktop_menu .header_menu.header-3 .navigation__item.current-page-ancestor .navigation__link,
.header.desktop_menu .header_menu.header-3 .navigation__item .navigation__link:hover {
    color: #164196 !important;
    font-weight: 700 !important;
}

/* Menu mobile & burger */
@media screen and (max-width: 1199px) {
    .header .header_menu {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 4rem !important;
        height: 4rem !important;
        padding: 0 1.25rem !important;
        position: relative !important;
    }

    .header .header_menu .menu__logo .logo {
        max-height: 38px !important;
        width: auto !important;
    }

    .header .menu_burger {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0.5rem !important;
        color: var(--mgv-text) !important;
        font-family: Figtree, sans-serif !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
    }

    .header .menu_burger_icon {
        width: 22px !important;
        height: 16px !important;
        position: relative !important;
        display: inline-block !important;
    }

    .header .menu_burger_icon span.icon {
        display: block !important;
        width: 100% !important;
        height: 2px !important;
        background: var(--mgv-text) !important;
        position: absolute !important;
        top: 7px !important;
        transition: 0.3s !important;
    }

    .header .menu_burger_icon span.icon:before,
    .header .menu_burger_icon span.icon:after {
        content: "" !important;
        display: block !important;
        width: 100% !important;
        height: 2px !important;
        background: var(--mgv-text) !important;
        position: absolute !important;
        transition: 0.3s !important;
    }

    .header .menu_burger_icon span.icon:before { top: -6px !important; }
    .header .menu_burger_icon span.icon:after { top: 6px !important; }

    .header .header_menu.open .menu_burger_icon span.icon {
        background: transparent !important;
    }
    .header .header_menu.open .menu_burger_icon span.icon:before {
        top: 0 !important;
        transform: rotate(45deg) !important;
    }
    .header .header_menu.open .menu_burger_icon span.icon:after {
        top: 0 !important;
        transform: rotate(-45deg) !important;
    }

    .header .menu__navigation {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-width: none !important;
        background: #ffffff !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
        padding: 1rem 1.25rem !important;
        border-top: 1px solid var(--mgv-border) !important;
        z-index: 1000 !important;
    }

    .header .header_menu.open .menu__navigation {
        display: block !important;
    }

    .header .navigation__items {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .header .navigation__item {
        border-bottom: 1px solid #f2f2f2 !important;
    }

    .header .navigation__item:last-child {
        border-bottom: none !important;
    }

    .header .navigation__link {
        display: block !important;
        padding: 0.75rem 0.5rem !important;
        font-size: 1.05rem !important;
        font-weight: 500 !important;
        color: var(--mgv-text) !important;
        text-decoration: none !important;
    }

    .header .navigation__link:hover {
        color: var(--mgv-blue) !important;
    }
}

/* ==========================================================================
   Pied de page (Footer - Alignement exact & hauteur maîtrisée)
   ========================================================================== */
.footer.footer_form {
    background-color: #f2f2f2 !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 2rem 0 1.25rem !important;
    margin-top: auto !important;
}

.footer .footer_container {
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Annulation stricte du layout withForm qui réduisait la largeur à 40% */
.footer .footer_container.withForm .footer_left,
.footer .footer_left {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
    margin-bottom: 1.5rem !important;
}

/* Colonne de Gauche : Logo + Coordonnées */
.footer .footer_col_left {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    max-width: 50% !important;
    flex: 1 1 50% !important;
}

.footer .footer__logo {
    margin-bottom: 1rem !important;
    width: auto !important;
}

.footer .footer__logo .logo {
    max-height: 42px !important;
    width: auto !important;
    display: block !important;
    margin-bottom: 0 !important;
}

.footer .footer_element_agency {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.footer .footer_element__structure .title__element_2 {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 0.5rem !important;
}

.footer .footer_element__structure .title__element_2 .icon_content {
    align-items: center !important;
    background: linear-gradient(180deg, #bcbcbc, #585858) !important;
    border-radius: 100% !important;
    display: flex !important;
    height: 1.75rem !important;
    justify-content: center !important;
    margin-right: 0.65rem !important;
    width: 1.75rem !important;
    flex-shrink: 0 !important;
}

.footer .footer_element__structure .title__element_2 .icon_content .icon {
    fill: #ffffff !important;
    height: 14px !important;
    width: 14px !important;
}

.footer .footer_element__structure .title__element_2 .text_content {
    color: #3c3d3e !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

.footer .footer_element__content {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
}

.footer .footer_element__content a.text__element,
.footer .footer_element__content span.text__element {
    display: block !important;
    color: #3c3d3e !important;
    font-family: Figtree, sans-serif !important;
    font-size: 0.925rem !important;
    text-decoration: none !important;
    line-height: 1.45 !important;
}

.footer .footer_element__content a.text__element:hover {
    color: #164196 !important;
    text-decoration: underline !important;
}

/* Colonne de Droite : Adhérents (FNAIM, GALIAN, MLS) alignés TOUT À DROITE */
.footer .footer_col_right {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    text-align: right !important;
    margin-left: auto !important;
    max-width: 50% !important;
    flex: 1 1 50% !important;
}

.footer .footer_element_partners {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    text-align: right !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.footer .footer_element_partners .partners__title {
    color: #3c3d3e !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    display: block !important;
    margin-bottom: 0.75rem !important;
}

.footer .footer_element_partners .partners__nav_list {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 1.25rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer .footer_element_partners .partners__nav_item {
    margin: 0 !important;
}

.footer .footer_element_partners .partners__nav_img {
    height: 36px !important;
    max-height: 36px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    transition: transform 0.2s ease !important;
}

.footer .footer_element_partners .partners__nav_img:hover {
    transform: scale(1.06) !important;
}

/* Responsive Footer pour mobile */
@media screen and (max-width: 767px) {
    .footer .footer_left {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    .footer .footer_col_left,
    .footer .footer_col_right {
        max-width: 100% !important;
        flex: 1 1 100% !important;
        margin-left: 0 !important;
    }
    .footer .footer_col_right,
    .footer .footer_element_partners {
        align-items: flex-start !important;
        text-align: left !important;
    }
    .footer .footer_element_partners .partners__nav_list {
        justify-content: flex-start !important;
    }
}

/* Footer Bottom (Barre inférieure copyright et logo La Boîte Immo) */
.footer .footer_bottom {
    width: 100% !important;
    border-top: 1px solid #dfdfdf !important;
    padding-top: 1rem !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.5rem !important;
}

.footer .copyright__nav_list {
    flex: 1 1 auto !important;
}

.footer .nav_list {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 1.25rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 0.4rem !important;
}

.footer .nav_list__link {
    color: #6b7280 !important;
    font-size: 0.825rem !important;
    text-decoration: none !important;
    font-family: Figtree, sans-serif !important;
    transition: color 0.2s ease !important;
}

.footer .nav_list__link:hover {
    color: #164196 !important;
    text-decoration: underline !important;
}

.footer .copyright__text {
    color: #9ca3af !important;
    font-size: 0.8rem !important;
    margin: 0 !important;
}

/* Logo LBI aligné à droite, exactement sous les adhérents */
.footer .lbi-logo__content {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
    gap: 0.5rem !important;
    padding: 0 !important;
}

.footer .lbi-logo__text {
    font-size: 0.8rem !important;
    color: #9ca3af !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

.footer .lbi-logo {
    height: 20px !important;
    max-width: 9rem !important;
    width: auto !important;
    fill: #9ca3af !important;
}

/* ==========================================================================
   Conteneur principal & Layout
   ========================================================================== */
.guide-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.guide-main {
    min-height: 60vh;
    padding: 2.5rem 0 4rem;
}

/* Hero Bannière pour le Guide */
.guide-hero {
    background: linear-gradient(135deg, #164196 0%, #0d285d 100%);
    color: #ffffff;
    padding: 3.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.guide-hero__inner {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.guide-hero__logo {
    margin-bottom: 1.5rem;
}

.guide-hero__logo-img {
    max-height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
}

.guide-hero__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.guide-hero__title {
    font-family: Figtree, sans-serif;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: #ffffff !important;
}

.guide-hero__subtitle {
    font-size: clamp(1.05rem, 1.25vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin: 0;
    line-height: 1.6;
}

/* Pastilles de Quartiers dans le Hero */
.guide-hero__pills {
    margin-top: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.guide-pills__label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.guide-pills__items {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
}

.guide-pastille {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    color: #1e293b;
    padding: 0.75rem 1.4rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.guide-pastille:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.35);
    border-color: #3b82f6;
    color: #164196;
}

.guide-pastille__pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #164196 0%, #2563eb 100%);
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(22, 65, 150, 0.3);
    transition: transform 0.25s ease;
}

.guide-pastille:hover .guide-pastille__pin {
    transform: rotate(-10deg) scale(1.1);
}

.guide-pastille__content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.guide-pastille__tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #64748b;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.guide-pastille__name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    font-family: Figtree, sans-serif;
    transition: color 0.2s ease;
}

.guide-pastille:hover .guide-pastille__name {
    color: #164196;
}

.guide-pastille__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #164196;
    margin-left: 0.25rem;
    transition: all 0.25s ease;
}

.guide-pastille:hover .guide-pastille__arrow {
    background: #164196;
    color: #ffffff;
    transform: translateX(3px);
}

@media (max-width: 640px) {
    .guide-pills__items {
        flex-direction: column;
        align-items: stretch;
    }
    .guide-pastille {
        width: 100%;
        justify-content: space-between;
    }
}


/* Fil d'Ariane (Breadcrumb) */
.guide-breadcrumb {
    background: var(--mgv-bg-light);
    border-bottom: 1px solid var(--mgv-border);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.guide-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.guide-breadcrumb li+li:before {
    content: "›";
    color: var(--mgv-text-muted);
    margin-right: 0.5rem;
}

.guide-breadcrumb a {
    color: var(--mgv-blue);
    text-decoration: none;
}

.guide-breadcrumb a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Grille d'articles & Cartes
   ========================================================================== */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

@media screen and (max-width: 640px) {
    .guide-grid {
        grid-template-columns: 1fr;
    }
}

.guide-card {
    background: #ffffff;
    border: 1px solid var(--mgv-border);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -4px rgba(22, 65, 150, 0.12);
}

.guide-card__thumbnail {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    background: var(--mgv-bg-light);
    overflow: hidden;
}

.guide-card__thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.guide-card:hover .guide-card__thumbnail img {
    transform: scale(1.04);
}

.guide-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.guide-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--mgv-text-muted);
    margin-bottom: 0.75rem;
}

.guide-card__category {
    background: var(--mgv-blue-light);
    color: var(--mgv-blue);
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    text-decoration: none;
}

.guide-card__title {
    font-family: Figtree, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.75rem;
}

.guide-card__title a {
    color: var(--mgv-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.guide-card__title a:hover {
    color: var(--mgv-blue);
}

.guide-card__excerpt {
    color: var(--mgv-text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex: 1;
}

.guide-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f2f2f2;
}

.guide-card__readmore {
    color: var(--mgv-blue);
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s ease;
}

.guide-card__readmore:hover {
    gap: 0.6rem;
}

/* ==========================================================================
   Article Individuel (Single Post) & Pages
   ========================================================================== */
.guide-article {
    max-width: 860px;
    margin: 0 auto;
}

.guide-article__header {
    margin-bottom: 2rem;
}

.guide-article__title {
    font-family: Figtree, sans-serif;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 800;
    color: var(--mgv-blue);
    line-height: 1.25;
    margin: 1rem 0;
}

.guide-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    color: var(--mgv-text-muted);
    font-size: 0.9375rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--mgv-border);
}

.guide-article__featured-img {
    margin: 2rem 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.guide-article__featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

.guide-article__content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #2e3032;
}

.guide-article__content h2 {
    font-family: Figtree, sans-serif;
    color: var(--mgv-blue);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--mgv-blue-light);
}

.guide-article__content h3 {
    font-family: Figtree, sans-serif;
    color: var(--mgv-text);
    font-size: 1.35rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.guide-article__content p {
    margin: 1.25rem 0;
}

.guide-article__content ul,
.guide-article__content ol {
    margin: 1.25rem 0 1.25rem 2rem;
    padding: 0;
}

.guide-article__content li {
    margin-bottom: 0.5rem;
}

.guide-article__content blockquote {
    border-left: 4px solid var(--mgv-blue);
    background: var(--mgv-bg-light);
    padding: 1.25rem 1.75rem;
    margin: 2rem 0;
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: italic;
    color: #4b5563;
}

.guide-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
}

/* ==========================================================================
   Boutons
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--mgv-blue);
    color: #ffffff !important;
    font-family: Figtree, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--mgv-blue-dark);
    transform: translateY(-1px);
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.guide-pagination {
    margin: 3.5rem 0 1rem;
    display: flex;
    justify-content: center;
}

.guide-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.guide-pagination a,
.guide-pagination span {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--mgv-text);
    border: 1px solid var(--mgv-border);
}

.guide-pagination .current {
    background: var(--mgv-blue);
    color: #ffffff;
    border-color: var(--mgv-blue);
}

.guide-pagination a:hover {
    background: var(--mgv-blue-light);
    color: var(--mgv-blue);
}

/* ==========================================================================
   Bloc & Pastilles "Consulter nos annonces" (Réplique du site principal)
   ========================================================================== */
.guide-annonces-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2.25rem;
    margin: 3rem 0 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.guide-annonces-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #164196 0%, #2563eb 100%);
}

.guide-annonces-block__header {
    margin-bottom: 1.5rem;
}

.guide-annonces-group {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
}

.guide-annonces-group__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.guide-annonces-group__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #e0e7ff;
    border-radius: 50%;
    color: #164196;
    flex-shrink: 0;
}

.guide-annonces-group__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    font-family: Figtree, sans-serif;
}

.guide-annonces-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.1rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    color: #3c3d3e;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.guide-pill-btn__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #164196;
    display: inline-block;
}

.guide-pill-btn:hover {
    background: #164196;
    border-color: #164196;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 65, 150, 0.25);
}

.guide-pill-btn:hover .guide-pill-btn__dot {
    background: #ffffff;
}

.guide-pill-btn--primary {
    background: #164196;
    border-color: #164196;
    color: #ffffff !important;
    font-weight: 600;
}

.guide-pill-btn--primary:hover {
    background: #0f2d6b;
    border-color: #0f2d6b;
}

/* Pastilles Inline à l'intérieur du texte */
.guide-inline-annonces {
    background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 100%);
    border: 1px solid #dbeafe;
    border-left: 4px solid #164196;
    border-radius: 0.625rem;
    padding: 1rem 1.25rem;
    margin: 2.25rem 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    box-shadow: 0 2px 8px rgba(22, 65, 150, 0.05);
}

.guide-inline-annonces__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #0f172a;
    font-weight: 700;
    white-space: nowrap;
}

.guide-inline-annonces__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.guide-pill-btn--sm {
    padding: 0.35rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    border-radius: 9999px;
}

.guide-pill-btn--sm:hover {
    background: #164196;
    border-color: #164196;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.guide-pill-btn--highlight {
    background: #164196;
    border-color: #164196;
    color: #ffffff !important;
}

.guide-pill-btn--highlight:hover {
    background: #0f2d6b;
    border-color: #0f2d6b;
}

@media screen and (max-width: 768px) {
    .guide-annonces-block {
        padding: 1.5rem 1.15rem;
    }
    .guide-annonces-group {
        padding: 1rem;
    }
    .guide-inline-annonces {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    .guide-inline-annonces__tag {
        white-space: normal;
    }
}
