/**
 * CSS pour la page Prochain Tirage Loto
 * /prochain-tirage-loto/
 */

/* ================================================
   LAYOUT PRINCIPAL
   ================================================ */

.prochain-tirage-container {
    max-width: calc(1300px + 4rem);
    margin: 0 auto;
    padding: 20px 2rem;
}

.prochain-tirage-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-top: 20px;
}

.prochain-tirage-main {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Typographie du contenu genere (contenu_html injecte directement) */
.prochain-tirage-main > h2,
.prochain-tirage-main > h3 {
    margin-top: 40px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.prochain-tirage-main > h2 {
    font-size: 22px;
    color: #1e3a5f;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.prochain-tirage-main > h3 {
    font-size: 18px;
    color: #374151;
}

.prochain-tirage-main > p {
    font-size: 15.5px;
    line-height: 1.9;
    color: #374151;
    margin-bottom: 22px;
}

.prochain-tirage-main > ul,
.prochain-tirage-main > ol {
    font-size: 15.5px;
    line-height: 1.9;
    margin-bottom: 22px;
    padding-left: 24px;
    color: #374151;
}

.prochain-tirage-main > ul li,
.prochain-tirage-main > ol li {
    margin-bottom: 8px;
}

.prochain-tirage-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ================================================
   BREADCRUMB
   ================================================ */

.prochain-tirage-container .breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.prochain-tirage-container .breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.prochain-tirage-container .breadcrumb a:hover {
    text-decoration: underline;
}

.prochain-tirage-container .breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

.prochain-tirage-container .breadcrumb .current {
    color: #333;
}

/* ================================================
   ARTICLE HEADER
   ================================================ */

.article-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-header h1 {
    font-size: 28px;
    color: #1e3a5f;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.article-meta {
    font-size: 14px;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.article-meta .meta-separator {
    color: #ccc;
    margin: 0 5px;
}

.article-meta strong {
    color: #2563eb;
}

/* ================================================
   ARTICLE INTRO
   ================================================ */

.article-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

/* ================================================
   IMAGE PRINCIPALE
   ================================================ */

.article-featured-image {
    position: relative;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-featured-image .btn-jouer-fdj {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/* ================================================
   BOUTONS CTA
   ================================================ */

.btn-jouer-fdj {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-jouer-fdj:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-jouer-fdj .btn-icon {
    font-size: 18px;
}

.cta-center {
    text-align: center;
    margin: 30px 0;
}

.btn-voir-resultats {
    display: inline-block;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-voir-resultats:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: translateY(-2px);
}

/* ================================================
   INFO BOXES
   ================================================ */

.info-box {
    background: #fff;
    padding: 22px 24px;
    margin: 25px 0;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #1e3a5f;
}

.info-box .info-icon {
    font-size: 20px;
}

.info-box-essential {
    background: #fffbeb;
    border-color: #fcd34d;
    box-shadow: inset 0 -3px 0 #d97706;
}

.info-box-conseil {
    background: #f8fbff;
    border-color: #bfdbfe;
    position: relative;
    padding-left: 48px;
}

.info-box-conseil::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 36px;
    background: #2563eb;
    border-radius: 6px 0 0 6px;
    opacity: 0.08;
}

.info-box-tip {
    background: #fffdf5;
    border-color: #fde68a;
    box-shadow: 0 2px 8px rgba(245,158,11,0.1);
}

.info-box-result {
    background: #f0fdf8;
    border-color: #a7f3d0;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-list .check-icon {
    flex-shrink: 0;
    font-size: 16px;
}

/* ================================================
   SECTIONS ARTICLE
   ================================================ */

.article-section {
    margin: 45px 0;
}

.article-section h2 {
    font-size: 23px;
    color: #1e3a5f;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    line-height: 1.3;
}

.article-section h3 {
    font-size: 18px;
    color: #374151;
    margin: 30px 0 14px 0;
    line-height: 1.4;
}

.article-section p {
    line-height: 1.85;
    color: #374151;
    margin-bottom: 20px;
    font-size: 15.5px;
}

.article-section p + p {
    margin-top: 0;
}

.article-section ul,
.article-section ol {
    line-height: 1.85;
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-section li {
    margin-bottom: 6px;
}

.bonus-info {
    background: #dcfce7;
    padding: 12px 16px;
    border-radius: 8px;
    color: #166534;
}

/* ================================================
   LISTE ETAPES
   ================================================ */

.steps-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    counter-reset: step;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    line-height: 1.6;
}

.steps-list .step-icon {
    flex-shrink: 0;
    font-size: 18px;
}

.steps-list a {
    color: #2563eb;
    text-decoration: none;
}

.steps-list a:hover {
    text-decoration: underline;
}

/* ================================================
   TABLEAU PRONOSTICS
   ================================================ */

.pronostic-table {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    margin: 25px 0;
    border: 1px solid #e2e8f0;
}

.pronostic-header {
    background: #1e3a5f;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

.pronostic-numbers {
    padding: 25px;
    text-align: center;
}

.numbers-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.pronostic-ball {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.3);
}

.pronostic-ball.chance {
    background: linear-gradient(145deg, #f59e0b, #d97706);
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.3);
}

.pronostic-ball.hot {
    background: linear-gradient(145deg, #ef4444, #dc2626);
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.3);
}

.chance-label {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
}

.chance-row {
    margin-bottom: 0;
}

/* ================================================
   NUMEROS CHAUDS
   ================================================ */

.hot-numbers-section {
    background: #fef2f2;
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
    border: 1px solid #fecaca;
}

.hot-numbers-section h3 {
    color: #dc2626;
    margin-top: 0;
}

.hot-numbers-section p {
    color: #7f1d1d;
    margin-bottom: 15px;
}

.hot-numbers {
    margin-bottom: 0;
}

/* ================================================
   DISCLAIMER
   ================================================ */

.disclaimer-box {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    font-size: 14px;
    line-height: 1.6;
}

.disclaimer-box .warning-icon {
    font-size: 18px;
    margin-right: 8px;
}

.disclaimer-box a {
    color: #92400e;
}

/* ================================================
   FAQ
   ================================================ */

.faq-section {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 17px;
    color: #1e3a5f;
    margin: 0 0 10px 0;
}

.faq-item p {
    margin: 0;
    color: #4b5563;
}

/* ================================================
   SIDEBAR WIDGETS
   ================================================ */

.widget {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Widget Jackpot */
.widget-jackpot {
    text-align: center;
}

.widget-jackpot-header {
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    padding: 20px;
}

.widget-jackpot-header .loto-logo {
    height: 50px;
    width: auto;
}

.widget-jackpot-content {
    padding: 25px 20px;
    background: linear-gradient(180deg, #f8fafc, #fff);
}

.jackpot-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.jackpot-amount {
    font-size: 32px;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 15px;
}

.btn-jouer-widget {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-jouer-widget:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
}

.widget-jackpot-footer {
    background: #f1f5f9;
    padding: 12px 15px;
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
}

.widget-jackpot-footer a {
    color: #2563eb;
}

/* Widget Articles */
.widget-articles,
.widget-tools {
    padding: 20px;
}

.widget-title {
    font-size: 16px;
    color: #1e3a5f;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #2563eb;
}

.articles-list,
.tools-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.articles-list li,
.tools-list li {
    margin-bottom: 12px;
}

.articles-list li:last-child,
.tools-list li:last-child {
    margin-bottom: 0;
}

.articles-list a,
.tools-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.articles-list a:hover,
.tools-list a:hover {
    color: #2563eb;
}

.article-icon {
    font-size: 16px;
}

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

@media (max-width: 992px) {
    .prochain-tirage-grid {
        grid-template-columns: 1fr;
    }
    
    .prochain-tirage-sidebar {
        order: -1;
    }
    
    .widget-jackpot {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .prochain-tirage-container {
        padding: 15px;
    }
    
    .prochain-tirage-main {
        padding: 20px;
    }
    
    .article-header h1 {
        font-size: 22px;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .article-meta .meta-separator {
        display: none;
    }
    
    .article-intro {
        font-size: 16px;
    }
    
    .article-section h2 {
        font-size: 19px;
    }
    
    .btn-jouer-fdj {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .info-box {
        padding: 15px;
    }
    
    .pronostic-ball {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .jackpot-amount {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .article-featured-image .btn-jouer-fdj {
        position: static;
        transform: none;
        display: block;
        margin: 15px auto 0;
        text-align: center;
    }
    
    .numbers-row {
        gap: 8px;
    }
    
    .pronostic-ball {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}