/* Blog : liste et article (thème sombre, texte lisible) */
.blogpost { background: #0e0f16; color: #e6e8f0; padding: 235px 0 80px; font-family: 'Atkinson Hyperlegible', 'Tajawal', sans-serif; }
.blogpost-wrap { width: min(820px, 100% - 32px); margin-inline: auto; }
.blogpost-head h1 { margin: 0 0 14px; font: 700 clamp(1.9rem, 4.2vw, 3rem)/1.15 'Rufina', 'Tajawal', serif; color: #fff; text-wrap: balance; }
.blogpost-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 24px; color: #aeb2c4; font-size: 14.5px; } .blogpost-meta strong { color: #f2d25a; font-weight: 700; }
.blogpost-hero { margin: 0 0 30px; border-radius: 22px; overflow: hidden; } .blogpost-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.blogpost-body { font-size: 18px; line-height: 1.8; }
.blogpost-body h2 { margin: 2.1em 0 .6em; font: 700 clamp(1.45rem, 3vw, 1.9rem)/1.25 'Rufina', 'Tajawal', serif; color: #fff; }
.blogpost-body h3 { margin: 1.6em 0 .4em; font-size: 1.15rem; color: #f2d25a; }
.blogpost-body p { margin: 0 0 1.15em; color: #d9dcea; }
.blogpost-body ul, .blogpost-body ol { margin: 0 0 1.3em; padding-inline-start: 1.4em; color: #d9dcea; } .blogpost-body li { margin-bottom: .45em; }
.blogpost-body a { color: #f2d25a; text-decoration: underline; text-underline-offset: 3px; } .blogpost-body a:hover { color: #fff; }
.blogpost-body strong { color: #fff; }
.blogpost-body figure { margin: 1.8em 0; } .blogpost-body figure img { display: block; width: 100%; height: auto; border-radius: 16px; } .blogpost-body figcaption { margin-top: 8px; color: #aeb2c4; font-size: 14px; text-align: center; }
.blogpost-body .table-wrap { margin: 1.5em 0; overflow-x: auto; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); }
.blogpost-body table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 15.5px; } .blogpost-body th, .blogpost-body td { padding: 11px 14px; text-align: start; border-bottom: 1px solid rgba(255, 255, 255, .08); } .blogpost-body th { background: rgba(228, 191, 59, .12); color: #f2d25a; white-space: nowrap; } .blogpost-body td { color: #d9dcea; }
.blog-cta { margin: 1.8em 0; text-align: center; }
.bcta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: 40px; background: linear-gradient(135deg, #f2d25a, #cd9343); color: #1b1306 !important; font-weight: 700; text-decoration: none !important; box-shadow: 0 14px 30px -14px rgba(228, 191, 59, .7); transition: transform .25s; } .bcta:hover { transform: translateY(-2px); }
.bcta--call, .bcta--link { background: rgba(255, 255, 255, .08); color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .35); box-shadow: none; }
.blog-faq { margin-top: 2em; padding: 6px 22px 12px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); } .blog-faq h2 { margin-top: .8em; }
.blogpost-related { margin-top: 3em; } .blogpost-related h2 { font: 700 1.5rem 'Rufina', 'Tajawal', serif; color: #fff; }
.blogpost-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } @media (max-width: 720px) { .blogpost-related__grid { grid-template-columns: 1fr; } }
.blogpost-card { display: block; border-radius: 16px; overflow: hidden; background: #161823; border: 1px solid #2a2e42; text-decoration: none; color: #fff; } .blogpost-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; } .blogpost-card span { display: block; padding: 12px 14px 16px; font-weight: 700; line-height: 1.35; font-size: 15px; }
.blogpost-back { margin-top: 2em; } .blogpost-back a { color: #f2d25a; }
.blog-card-image { display: block; } .blog-card-image img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.blog-excerpt { margin: 8px 0 0; color: #aeb2c4; font-size: 14.5px; line-height: 1.55; }
