/* Feuilles internes des guides 1xBet Haïti.
   Chargée après site.css (copie du style de la page d'accueil) ; elle n'ajoute que
   la mise en page des pages internes et ne remplace aucune règle du thème. */

/* Carte CTA codée : reprend la carte de la page d'accueil (blanche, bordure violette),
   compactée pour un usage en séparateur. Toute la carte est le lien (une seule ancre),
   donc logo, offre, note et bouton sont cliquables. */
.cta-banner { margin: 1.7rem 0; }
/* Supprime tout soulignement hérité sur l'ancre de la carte (Bootstrap souligne les <a>). */
.cta-banner a.hero-cta-card,
.cta-banner a.hero-cta-card:hover,
.cta-banner a.hero-cta-card:focus,
.cta-banner a.hero-cta-card:active,
.cta-banner a.hero-cta-card:visited,
.cta-banner a.hero-cta-card * {
    text-decoration: none !important;
    border-bottom: 0 !important;
}
.cta-stretched-link,
.cta-stretched-link:hover,
.cta-stretched-link:focus,
.cta-stretched-link:visited { text-decoration: none !important; border-bottom: 0 !important; opacity: 1 !important; }

a.hero-cta-card.cta-banner-card {
    display: block;
    text-decoration: none;
    color: inherit;
    /* Le thème anime ses cartes en fondu : en usage inline on coupe l'animation et on
       force l'opacité, sinon la carte reste invisible (espace blanc). */
    opacity: 1 !important;
    animation: none;
    background: #ffffff;
    border: 2px solid rgba(75, 0, 130, 0.12);
    border-radius: 1.25rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 28px 0 rgba(31, 38, 135, 0.14);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.hero-cta-card.cta-banner-card:hover,
a.hero-cta-card.cta-banner-card:focus-visible {
    transform: translateY(-2px);
    border-color: #dd2476;
    box-shadow: 0 14px 34px rgba(75, 0, 130, 0.22);
}
a.hero-cta-card.cta-banner-card:focus-visible { outline: 3px solid #4B0082; outline-offset: 3px; }

.cta-banner .hero-cta-content { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cta-banner .hero-cta-left { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.cta-banner .hero-cta-logo { max-height: 42px; width: auto; height: auto; padding: 0; margin: 0; }
.cta-banner .hero-cta-info { min-width: 0; text-align: left; }
/* Carte blanche ici : le titre doit rester violet (l'or serait illisible sur fond clair). */
.cta-banner .cta-banner-title {
    color: #4B0082;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}
.cta-banner .bonus-text { font-size: 1rem; font-weight: 700; color: #2c3e50; margin-bottom: 0.15rem; }
.cta-banner .rating { font-size: 0.9rem; color: #FFD700; letter-spacing: 0.1em; }
.cta-banner .hero-cta-button {
    display: inline-block;
    color: #ffffff;
    background: linear-gradient(90deg, #ff512f 0%, #dd2476 100%);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(221, 36, 118, 0.25);
    white-space: nowrap;
}

/* Lien étiré : rend cliquable une carte existante sans imbriquer d'ancres. */
.hero-cta-card { position: relative; }
.cta-stretched-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}
.hero-cta-card .hero-cta-button { position: relative; z-index: 3; }

/* En-tête des pages internes : logo + CTA d'inscription, puis fil d'Ariane et hero. */
.nav-cta {
    display: inline-block;
    background: linear-gradient(90deg, #ff512f 0%, #dd2476 100%);
    color: #ffffff !important;
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}
.nav-cta:hover { filter: brightness(1.08); }

.page-hero {
    background: linear-gradient(135deg, #4B0082 0%, #2b004d 100%);
    color: #ffffff;
    padding: 3rem 0 2.6rem;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.20), transparent 55%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #ffffff; font-size: 2.3rem; line-height: 1.22; margin-bottom: 0.7rem; }
.page-hero-sub { color: rgba(255, 255, 255, 0.9); font-size: 1.05rem; max-width: 54rem; margin: 0; }

.breadcrumb-bar { background: #ffffff; border-bottom: 1px solid rgba(0, 0, 0, 0.06); font-size: 0.85rem; }
.breadcrumb-bar .container { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.breadcrumb-bar a { color: #4B0082; text-decoration: none; font-weight: 600; }
.breadcrumb-bar span.sep { color: #98a2b3; margin: 0 0.4rem; }
.breadcrumb-bar .current { color: #56606e; }

/* Corps d'article */
.page-body { max-width: 900px; padding-top: 2.2rem; padding-bottom: 3rem; }
.page-banner-top { padding-top: 1.6rem; padding-bottom: 0; }
.page-banner-top .cta-banner { margin-top: 0; }
.page-body p { margin-bottom: 1.1rem; }
.page-body h2 { margin-top: 2.4rem; padding-top: 0.4rem; color: #24103a; }
.page-body h3 { margin-top: 1.6rem; font-size: 1.3rem; color: #2f1a4a; }
.page-body ul, .page-body ol { margin: 0 0 1.2rem 1.1rem; }
.page-body li { margin-bottom: 0.45rem; }
.page-body a { color: #4B0082; font-weight: 600; }
.page-body a:hover { text-decoration: underline !important; }
.page-body .lead { font-size: 1.15rem; color: #2c3e50; }
.key-points { background: #ffffff; border-left: 4px solid #4B0082; border-radius: 10px; padding: 1rem 1.2rem; margin: 1.4rem 0 1.8rem; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05); }
.key-points ul { margin-bottom: 0; }

.page-faq h3 { font-size: 1.15rem; margin-top: 1.4rem; }
.page-faq p { margin-bottom: 0.8rem; }

/* Bio de l'auteure, affichée après la FAQ (reprend le bloc de la page d'accueil). */
.author-box { margin-top: 2.4rem; }
.author-box #bio-avatar { max-width: 110px; }
.author-box #bio-name { margin-bottom: 0.35rem; color: #24103a; font-weight: 700; }
.author-box #bio-text { color: #3b3b4f; margin-bottom: 0; }

.related-links { background: #ffffff; border-radius: 14px; padding: 1.2rem 1.3rem; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06); margin: 2rem 0 0; }
.related-links p.h5 { color: #24103a; }
.related-links ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.4rem 1rem; }
.related-links a { color: #4B0082; font-weight: 600; text-decoration: none; }
.related-links a:hover { text-decoration: underline; }

/* Navigation du pied de page : Accueil + 8 pages + plan du site. */
.footer-nav { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 1rem; margin-bottom: 1rem; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1rem; }
.footer-nav li { padding-left: 0; margin-bottom: 0; }
.footer-nav a { color: #f5f0e6; text-decoration: none; font-size: 0.9rem; opacity: 0.9; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.rg-pill { display: inline-block; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50px; padding: 0.15rem 0.7rem; font-size: 0.8rem; color: #f5f0e6; text-decoration: none; }
.rg-pill:hover { color: #ffffff; border-color: #ffffff; }

@media (max-width: 767px) {
    .page-hero h1 { font-size: 1.75rem; }
    .page-body { padding-top: 1.4rem; }
    .cta-banner .hero-cta-content { flex-wrap: wrap; gap: 0.9rem; }
    .cta-banner .hero-cta-button { width: 100%; text-align: center; }
    .cta-banner .hero-cta-logo { max-height: 34px; }
    .footer-nav ul { gap: 0.3rem 0.7rem; }
}
