/* Styles de guide.php — page de contenu SEO (maillage interne avec l'agenda),
   voir /guide/{slug}?idioma=XX. Réutilise le gabarit "article plein écran"
   (.content/.content--show) de l'agenda ; ce fichier ne couvre que le contenu
   propre au guide. */

.guide-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px 80px;
}

.guide-title {
    color: #990033;
    font-size: 2.4em;
    text-shadow: 1px 1px 2px #fff;
    margin: 0 0 6px;
}

.guide-subtitle {
    font-style: italic;
    color: #555;
    font-size: 1.1em;
    margin: 0 0 30px;
}

.guide-page {
    margin: 40px 0;
}

.guide-page-title {
    color: #990033;
    border-bottom: 2px solid #cddff7;
    padding-bottom: 8px;
    margin: 0 0 16px;
}

.guide-text p {
    line-height: 1.6;
    margin: 0 0 1em;
}

.guide-block {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px;
    margin: 28px 0;
}

.guide-block--img-right {
    flex-direction: row-reverse;
}

.guide-block-img {
    flex: 0 0 180px;
    width: 180px;
    height: 180px;
    object-fit: contain;
}

.guide-block-body {
    flex: 1 1 320px;
    min-width: 0;
}

.guide-block-body h3 {
    color: #990033;
    margin: 0 0 10px;
    font-size: 1.3em;
}

.guide-list {
    margin: 0 0 1em;
    padding-left: 1.3em;
}

.guide-list li {
    margin-bottom: 0.6em;
    line-height: 1.5;
}

.guide-full-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 16px 0;
}

/* FAQ (accordéon natif <details>) */
.guide-faq {
    margin: 12px 0 0;
}

.guide-faq-item {
    border: 1px solid #cddff7;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 12px 16px;
    background: #f0f6ff;
}

.guide-faq-item summary {
    cursor: pointer;
    font-weight: bold;
    color: #007abc;
    list-style: none;
    position: relative;
    padding-right: 28px;
}

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

.guide-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    color: #990033;
    transition: transform 0.2s;
}

.guide-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.guide-faq-answer {
    margin-top: 10px;
    line-height: 1.55;
    color: #303030;
}

.guide-cta {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #990033, #cc0044);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-shadow: none;
    font-style: normal;
}

.guide-cta:hover {
    color: #fff;
    opacity: 0.9;
}

.guide-back {
    margin-top: 40px;
    text-align: center;
}

@media (max-width: 600px) {
    .guide-block,
    .guide-block--img-right {
        flex-direction: column;
    }

    .guide-block-img {
        width: 100%;
        max-width: 220px;
        height: auto;
        margin: 0 auto;
    }

    .guide-title {
        font-size: 1.8em;
    }
}
