/*
Theme Name: Best IPTV (Hello Elementor Child)
Template: hello-elementor
Description: Child theme of Hello Elementor. On activation it installs Elementor and Rank Math, then creates every page and article as an Elementor page with an HTML widget (Edit with Elementor → HTML), plus the blog, images and SEO.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bestiptv
*/

html{scroll-behavior:smooth}
body{margin:0;background:#13151d;color:#fff;font:16px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}
.site-main{display:block}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
img{max-width:100%;height:auto}

/* ---------- Blog (same tokens as the site) ---------- */
.bipb{--bg:#13151d;--bg2:#1c1f29;--pn:#222633;--rd:#e11d2e;--rd2:#ff3347;--gd:#ff8f99;--mu:#a6a9af;--bd:rgba(255,255,255,.09);
--fd:"Oswald","Arial Narrow",Impact,sans-serif;background:var(--bg);color:#fff}
.bipb *{box-sizing:border-box}
.bipb a{color:inherit;text-decoration:none}
.bipb-w{width:min(1180px,92vw);margin-inline:auto}
.bipb-hero{position:relative;padding:84px 0 56px;border-bottom:1px solid var(--bd);
background:radial-gradient(900px 420px at 85% -10%,rgba(225,29,46,.22),transparent 60%),radial-gradient(700px 360px at 0% 120%,rgba(255,143,153,.08),transparent 60%)}
.bipb-eyebrow{display:inline-block;color:var(--gd);font-size:12.5px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;margin:0 0 14px}
.bipb-hero h1{font-family:var(--fd);font-weight:400;font-size:clamp(40px,6vw,72px);line-height:1.02;letter-spacing:.01em;text-transform:uppercase;margin:0 0 18px}
.bipb-hero h1 span{color:var(--rd)}
.bipb-hero p{color:#d1d3d7;max-width:680px;margin:0;font-size:17px}
.bipb-search{display:flex;gap:10px;margin-top:28px;max-width:520px}
.bipb-search input{flex:1;min-width:0;background:var(--pn);border:1px solid var(--bd);border-radius:8px;color:#fff;padding:12px 14px;font:inherit}
.bipb-search input:focus{outline:2px solid var(--rd);outline-offset:1px}
.bipb-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--rd);color:#ffffff!important;border:0;border-radius:8px;padding:12px 22px;font:700 14.5px/1 system-ui,sans-serif;cursor:pointer;transition:.2s;white-space:nowrap}
.bipb-btn:hover{background:var(--rd2);transform:translateY(-2px);box-shadow:0 10px 24px rgba(225,29,46,.35);color:#ffffff}
.bipb-list{padding:56px 0 80px}
.bipb-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.bipb-card{display:flex;flex-direction:column;background:var(--pn);border:1px solid var(--bd);border-radius:14px;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s}
.bipb-card:hover{transform:translateY(-4px);border-color:rgba(225,29,46,.55);box-shadow:0 18px 40px rgba(0,0,0,.45)}
.bipb-thumb{aspect-ratio:16/9;background:var(--bg2);overflow:hidden}
.bipb-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.bipb-card:hover .bipb-thumb img{transform:scale(1.04)}
.bipb-body{display:flex;flex-direction:column;gap:10px;padding:20px 20px 22px;flex:1}
.bipb-meta{color:var(--mu);font-size:13px;display:flex;gap:10px;align-items:center}
.bipb-meta b{color:var(--gd);font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:11.5px}
.bipb-card h2{font-family:var(--fd);font-weight:400;font-size:24px;line-height:1.15;letter-spacing:.01em;margin:0;text-transform:uppercase}
.bipb-card p{color:#c1c4c9;font-size:15px;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.bipb-more{margin-top:auto;padding-top:6px;color:var(--rd2);font-weight:700;font-size:14px}
.bipb-card--lead{grid-column:1/-1;flex-direction:row}
.bipb-card--lead .bipb-thumb{flex:0 0 58%;aspect-ratio:auto;min-height:340px}
.bipb-card--lead .bipb-body{padding:36px;justify-content:center}
.bipb-card--lead h2{font-size:clamp(28px,3vw,40px)}
.bipb-pag{display:flex;justify-content:center;gap:8px;margin-top:48px;flex-wrap:wrap}
.bipb-pag .page-numbers{min-width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border:1px solid var(--bd);border-radius:8px;background:var(--pn);color:#d1d3d7;font-weight:600}
.bipb-pag .page-numbers.current,.bipb-pag a.page-numbers:hover{background:var(--rd);border-color:var(--rd);color:#ffffff}
.bipb-empty{text-align:center;padding:40px 0;color:var(--mu)}
.bipb-cta{margin-top:64px;padding:40px;border-radius:16px;border:1px solid rgba(225,29,46,.35);
background:linear-gradient(135deg,rgba(225,29,46,.16),rgba(34,38,51,.9));display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.bipb-cta h2{font-family:var(--fd);font-weight:400;text-transform:uppercase;font-size:clamp(26px,3vw,36px);line-height:1.1;margin:0 0 6px}
.bipb-cta p{margin:0;color:#d1d3d7}
.bipb-404{padding:120px 0;text-align:center}
.bipb-404 .bipb-btn{margin-top:26px}
@media(max-width:1024px){.bipb-grid{grid-template-columns:repeat(2,1fr)}.bipb-card--lead{flex-direction:column}.bipb-card--lead .bipb-thumb{flex:none;aspect-ratio:16/9;min-height:0}.bipb-card--lead .bipb-body{padding:22px}}
@media(max-width:640px){.bipb-grid{grid-template-columns:1fr}.bipb-hero{padding:56px 0 40px}.bipb-cta{padding:26px}}

/* ---------- Floating WhatsApp button (every page, always visible) ---------- */
.bip-wa{position:fixed;right:20px;bottom:20px;z-index:9990;display:flex;align-items:center;gap:10px;
height:60px;min-width:60px;padding:0 15px;border-radius:999px;background:#25d366;color:#fff!important;text-decoration:none;
font:700 15px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;box-shadow:0 10px 28px rgba(0,0,0,.45),0 0 0 0 rgba(37,211,102,.55);
animation:bipWaPulse 2.2s infinite;transition:transform .2s,background .2s}
.bip-wa:hover{background:#1ebe5b;transform:translateY(-3px) scale(1.03)}
.bip-wa:focus-visible{outline:3px solid #fff;outline-offset:3px}
.bip-wa svg{flex:0 0 30px}
.bip-wa-label{white-space:nowrap;padding-right:4px}
@keyframes bipWaPulse{0%{box-shadow:0 10px 28px rgba(0,0,0,.45),0 0 0 0 rgba(37,211,102,.55)}70%{box-shadow:0 10px 28px rgba(0,0,0,.45),0 0 0 16px rgba(37,211,102,0)}100%{box-shadow:0 10px 28px rgba(0,0,0,.45),0 0 0 0 rgba(37,211,102,0)}}
@media(max-width:640px){.bip-wa{right:14px;bottom:14px;width:58px;height:58px;min-width:0;padding:0;gap:0;justify-content:center}.bip-wa svg{width:32px;height:32px;flex-basis:32px}.bip-wa-label{display:none}}
@media(prefers-reduced-motion:reduce){.bip-wa{animation:none}}

/* ---------- Gray + yellow: readable text on yellow areas ---------- */
html body .biph a.biph-cta,html body .bipf div.bipf-cta h2,html body .bipf div.bipf-cta p,html body .bipf div.bipf-bar a,html body .bipf div.bipf-bar strong,html body .bipf div.bipf-bar{color:#ffffff!important}
html body .hero a.btn.o{color:#fff!important}
