

/* ========================================
   BLOC VIDÉO YOUTUBE - DESIGN ÉPURÉ
   ======================================== */

.eeat-terrain{
  background:#f5fff8;
  border-left:4px solid #1f8f4e;
  padding:12px 14px;
  margin:18px 0 24px;
  border-radius:0 10px 10px 0;
  font-size:0.98rem;
  line-height:1.6;
  color:#1b2b20;
}


.video-youtube-block {
    margin: 40px 0;
    max-width: 700px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.video-youtube-block:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-youtube-header {
    padding: 18px 20px;
    background: #f5f5f5;
    border-bottom: 2px solid #ddd;
}

.video-youtube-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

/* ✅ Stabilise le rendu (moins de CLS) */
.video-youtube-container {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.video-youtube-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-youtube-lazy{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
}

.video-youtube-play{
    width: 80px;
    height: 80px;
    border-radius: 999px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform 0.2s ease, background 0.2s ease;
}

.video-youtube-lazy:hover .video-youtube-play{
    transform: scale(1.06);
    background: rgba(0,0,0,0.65);
}

/* Responsive */
@media (max-width: 768px) {
    .video-youtube-block {
        margin: 30px 0;
    }

    .video-youtube-header {
        padding: 15px;
    }

    .video-youtube-title {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .video-youtube-block {
        margin: 20px 0;
    }

    .video-youtube-header {
        padding: 12px;
    }

    .video-youtube-title {
        font-size: 14px;
    }
}

.hub-backlink {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #c41e3a;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.hub-backlink:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #f0f2f5 0%, #e3e8ee 100%);
}

.hub-backlink p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.hub-backlink__link {
    font-weight: 600;
    color: #c41e3a;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.hub-backlink__link:hover {
    color: #165b33;
    text-decoration: underline;
    margin-left: 2px;
}

@media (max-width: 768px) {
    .hub-backlink {
        padding: 15px 20px;
    }
}


.news_mag {
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2c2c2c;
  max-width: 860px;
  margin: 0 auto;
  padding: 10px;
}

/* Titres principaux */
.news_mag h1, .news_mag h2, .news_mag h3 {
  color: #0b4660;
  font-weight: 800;
  margin-top: 2.2rem;
  margin-bottom: 1.2rem;
  line-height: 1.4;
  text-wrap: balance;
}

/* Sous-titres secondaires */
.news_mag h4, .news_mag h5, .news_mag h6 {
  color: #165a7a;
  font-weight: 700;
  margin-top: 1.4rem;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

/* Paragraphe principal */
.news_mag p {
  margin-bottom: 1.4rem;
  line-height: 1.8;
  color: #2c2c2c;
}

/* Listes */
.news_mag ul,
.news_mag ol {
  margin-left: 1.5rem;
  padding-left: 0.5rem;
  margin-bottom: 1.2rem;
}
.news_mag ul li,
.news_mag ol li {
  margin-bottom: 0.5rem;
}

/* Gras */
.news_mag strong {
  color: #165a7a;
  font-weight: bold;
}

/* Titres de section (catégories) */
.news_mag .category-title {
  font-size: 1.4em;
  margin-top: 2.5em;
  margin-bottom: 1em;
  color: #0b4660;
  font-weight: 800;
  border-left: 4px solid #f47c1c;
  padding-left: 12px;
}

/* Titres de jeux ou activités */
.news_mag .activity-title {
  font-size: 1.15em;
  font-weight: 700;
  color: #1f76a1;
  margin-top: 1.4em;
  margin-bottom: 0.4em;
}

/* Paragraphes explicatifs des jeux */
.news_mag .activity-description {
  margin-bottom: 1.2em;
  color: #2c2c2c;
  line-height: 1.7;
}

/* Liens */
.news_mag a {
  color: #f47c1c;
  font-weight: 600;
  text-decoration: underline;
}
.news_mag a:hover {
  text-decoration: none;
  color: #d9670c;
}

/* Métadonnées article (date, auteur, temps de lecture) */
.article-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.2rem;
}
.article-meta time {
  color: #333;
  font-weight: 600;
}

/* Bloc À propos du contenu */
.about-content-block {
  background: #f5f9ff;
  border-left: 4px solid #0b4660;
  padding: 16px 18px;
  margin: 30px 0 10px;
  border-radius: 0 10px 10px 0;
}
.about-content-block h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

/* Encart auteur */
.author-box {
  margin: 30px 0 10px;
  padding: 18px;
  border-radius: 10px;
  background: #f8f9fa;
  border: 1px solid #e1e4e8;
}
.author-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.author-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.author-text h4 {
  margin: 0 0 4px 0;
}
.author-text p {
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.author-text a {
  font-size: 0.9rem;
}

/* Visually hidden pour le H1 SEO sans doublon visuel */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —————————————————————————————————————————————— */
/* Bloc promo quiz                                 */
/* —————————————————————————————————————————————— */
.quiz-promo-wrap2 .card {
  max-width: 360px;
  margin: 0 auto;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.quiz-promo-wrap2 .promo-icon {
  width: 120px;
  height: 120px;
  margin-top: 1rem;
}
.quiz-promo-wrap2 .card-title {
  font-size: 1.4rem;
  margin-top: 0.75rem;
  color: #0044cc;
  font-weight: 600;
}
.quiz-promo-wrap2 .card-text {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.25rem;
}
.quiz-promo-wrap2 .btn-primary {
  background-color: #0044cc;
  border-color: #0044cc;
  padding: 0.6rem;
  font-size: 1rem;
  border-radius: 4px;
}
.quiz-promo-wrap2 .btn-primary:hover {
  background-color: #003399;
  border-color: #003399;
}

.ra-img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Related articles */
.related-articles .related-item{
  display:block;
  padding:16px 0;
  border-top:1px solid #eaeaea;
  text-decoration:none;
  color:inherit;
}
.related-articles .related-item:first-of-type{ border-top:none; padding-top:0; }
.related-articles .ra-title{
  font-weight:700;
  margin:0 0 .35rem;
  font-size:1.125rem;
}
.related-articles .ra-excerpt{ margin:0; color:#444; line-height:1.45; }
.related-articles .ra-thumb{ text-align:right; }
.related-articles .ra-img{
  max-width:180px;
  max-height:120px;
  width:100%;
  height:auto;
  object-fit:cover;
  border-radius:6px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
@media (max-width: 576px){
  .related-articles .ra-thumb{ text-align:left; margin-top:.5rem; }
}

/* ✅ Image principale responsive (LCP) */
.article-main-img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* ✅ Galerie d'images : responsive + stable */
.image-gallery{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-start;
}
.gallery-item{
  width: calc(50% - 10px);
  margin-bottom: 10px;
}
.gallery-item img{
  width: 100%;
  height: auto;
  display:block;
  cursor: zoom-in;
}
@media (max-width: 480px){
  .gallery-item{ width: 100%; }
}

/* ✅ Adsense : réserve de l'espace pour réduire le CLS */
.adsbygoogle{
  min-height: 250px;
}
@media (max-width: 480px){
  .adsbygoogle{ min-height: 280px; }
}

