:root{
  --premier-red:#e60000;
  --premier-red-dark:#c40000;
  --premier-black:#000000;
  --premier-text:#111827;
  --premier-text-soft:#475467;
  --premier-line:#e5e7eb;
  --premier-bg:#f5f6f8;
  --premier-white:#ffffff;
  --premier-shadow:0 18px 45px rgba(16,24,40,.08);
}

.premier-article-page{
  background:linear-gradient(180deg,#ffffff 0%,#f7f8fa 48%,#ffffff 100%);
  color:var(--premier-text);
  font-family:'PremierPoppins', Arial, sans-serif;
}

/* =========================
   HERO
========================= */
.premier-article-hero{
  position:relative;
  overflow:hidden;
  padding:42px 0 36px;
  background:
    radial-gradient(circle at 88% 14%, rgba(230,0,0,.10), transparent 24%),
    linear-gradient(135deg, #050505 0%, #081426 52%, #0a0a0a 100%);
}

.premier-article-hero::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:4px;
  background:var(--premier-red);
}

.premier-article-hero__top{
  margin-bottom:18px;
}

.premier-article-breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  color:rgba(255,255,255,.72);
  font-size:.9rem;
  line-height:1.45;
}

.premier-article-breadcrumb a{
  color:#ffffff;
  text-decoration:none;
}

.premier-article-breadcrumb a:hover{
  color:#ffffff;
  text-decoration:underline;
}

.premier-article-breadcrumb i{
  font-size:.7rem;
  color:rgba(255,255,255,.5);
}

.premier-article-breadcrumb span{
  max-width:580px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.premier-article-hero__grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  gap:34px;
  align-items:center;
}

.premier-article-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  color:#ffffff;
  font-size:.82rem;
  font-weight:700;
  line-height:1;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.premier-article-kicker span{
  width:34px;
  height:4px;
  background:var(--premier-red);
  display:inline-block;
}

.premier-article-hero h1{
  margin:0;
  max-width:760px;
  color:#ffffff;
  font-size:clamp(1.9rem, 3.2vw, 3.25rem);
  line-height:1.04;
  letter-spacing:-.04em;
  font-weight:700;
  text-wrap:balance;
}

.premier-article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.premier-article-meta span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px 12px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  border-radius:4px;
  color:#ffffff;
  font-size:.84rem;
  line-height:1;
  font-weight:400;
}

.premier-article-meta i{
  color:var(--premier-red);
}

.premier-article-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.premier-article-btn{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 18px;
  border-radius:4px;
  text-decoration:none;
  font-weight:700;
  line-height:1;
  transition:all .18s ease;
  border:none;
}

.premier-article-btn--red{
  background:var(--premier-red);
  color:#ffffff;
}

.premier-article-btn--red:hover{
  background:var(--premier-red-dark);
  color:#ffffff;
  transform:translateY(-1px);
}

.premier-article-btn--light{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  color:#ffffff;
}

.premier-article-btn--light:hover{
  background:rgba(255,255,255,.14);
  color:#ffffff;
}

.premier-article-hero__media{
  overflow:hidden;
  background:#0f172a;
  border-left:4px solid var(--premier-red);
  box-shadow:0 25px 60px rgba(0,0,0,.22);
}

.premier-article-hero__media img{
  display:block;
  width:100%;
  aspect-ratio:16 / 10;
  object-fit:cover;
}

/* =========================
   BODY LAYOUT
========================= */
.premier-article-body-section{
  padding:38px 0 64px;
}

.premier-article-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:30px;
  align-items:start;
}

.premier-article-main{
  min-width:0;
}

.premier-article-content{
  background:#ffffff;
  border:1px solid var(--premier-line);
  box-shadow:var(--premier-shadow);
  padding:40px;
  color:#263244;
  font-size:1rem;
  line-height:1.85;
}

/* Normalización TinyMCE */
.premier-article-content,
.premier-article-content *{
  font-family:'PremierPoppins', Arial, sans-serif !important;
}

.premier-article-content p,
.premier-article-content li,
.premier-article-content td,
.premier-article-content th,
.premier-article-content span,
.premier-article-content a,
.premier-article-content strong,
.premier-article-content em{
  font-size:inherit !important;
  line-height:inherit !important;
}

.premier-article-content > *:first-child{
  margin-top:0 !important;
}

.premier-article-content h1,
.premier-article-content h2,
.premier-article-content h3,
.premier-article-content h4,
.premier-article-content h5,
.premier-article-content h6{
  color:#101828;
  font-weight:700;
  line-height:1.28;
  letter-spacing:-.02em;
  margin:1.6em 0 .68em;
}

.premier-article-content h1{
  font-size:1.85rem;
}

.premier-article-content h2{
  font-size:1.7rem;
  padding-bottom:10px;
  border-bottom:2px solid rgba(230,0,0,.14);
}

.premier-article-content h3{
  font-size:1.38rem;
}

.premier-article-content h4{
  font-size:1.18rem;
}

.premier-article-content h5,
.premier-article-content h6{
  font-size:1rem;
}

.premier-article-content p{
  margin:0 0 1.1em;
  color:#344054;
}

.premier-article-content a{
  color:var(--premier-red);
  font-weight:700;
  text-decoration:none;
}

.premier-article-content a:hover{
  color:var(--premier-red-dark);
  text-decoration:underline;
}

.premier-article-content ul,
.premier-article-content ol{
  margin:0 0 1.2em;
  padding-left:1.35rem;
}

.premier-article-content li{
  margin-bottom:.62em;
  color:#344054;
}

.premier-article-content img{
  display:block;
  max-width:100% !important;
  width:auto !important;
  height:auto !important;
  margin:24px auto;
  border-radius:4px;
}

.premier-article-content figure{
  max-width:100%;
  margin:26px auto;
}

.premier-article-content figcaption{
  margin-top:8px;
  color:#667085;
  font-size:.9rem;
  text-align:center;
}

.premier-article-content table{
  width:100% !important;
  max-width:100%;
  border-collapse:collapse;
  margin:24px 0;
}

.premier-article-content table th,
.premier-article-content table td{
  border:1px solid #e5e7eb;
  padding:12px;
  vertical-align:top;
}

.premier-article-content table th{
  background:#f8fafc;
  color:#111827;
  font-weight:700;
}

.premier-article-content blockquote{
  margin:1.6em 0;
  padding:18px 20px;
  border-left:4px solid var(--premier-red);
  background:#f8fafc;
  color:#1f2937;
}

.premier-article-content iframe,
.premier-article-content video{
  width:100%;
  max-width:100%;
  display:block;
  margin:24px auto;
}

/* =========================
   SIDEBAR DESKTOP
========================= */
.premier-article-sidebar{
  position:sticky;
  top:98px;
}

.premier-article-sidebar__card{
  background:#050505;
  border-top:4px solid var(--premier-red);
  box-shadow:var(--premier-shadow);
  padding:24px;
  color:#ffffff;
}

.premier-article-sidebar__card > span{
  display:block;
  margin-bottom:8px;
  color:var(--premier-red);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.premier-article-sidebar__card h2{
  margin:0 0 10px;
  color:#ffffff;
  font-size:1.35rem;
  line-height:1.22;
  font-weight:700;
}

.premier-article-sidebar__card p{
  margin:0 0 14px;
  color:rgba(255,255,255,.78);
  font-size:.96rem;
  line-height:1.7;
}

.premier-article-sidebar__link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:15px 0;
  color:#ffffff;
  text-decoration:none;
  border-top:1px solid rgba(255,255,255,.12);
  font-weight:700;
}

.premier-article-sidebar__link:hover{
  color:var(--premier-red);
}

/* =========================
   CTA INFERIOR
========================= */
.premier-article-bottom-cta{
  margin-top:30px;
  padding:28px 30px;
  background:#050505;
  border-top:4px solid var(--premier-red);
  color:#ffffff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

.premier-article-bottom-cta__content span{
  display:block;
  margin-bottom:6px;
  color:var(--premier-red);
  font-size:.8rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.premier-article-bottom-cta__content h2{
  margin:0 0 8px;
  color:#ffffff;
  font-size:1.7rem;
  line-height:1.2;
  font-weight:700;
}

.premier-article-bottom-cta__content p{
  margin:0;
  color:rgba(255,255,255,.78);
  line-height:1.7;
}

/* =========================
   404
========================= */
.premier-article-not-found{
  padding:70px 0;
  background:#f6f7f9;
}

.premier-article-not-found__box{
  max-width:760px;
  margin:0 auto;
  background:#ffffff;
  border:1px solid var(--premier-line);
  border-top:4px solid var(--premier-red);
  box-shadow:var(--premier-shadow);
  padding:42px;
  text-align:center;
}

.premier-article-not-found__box i{
  font-size:2rem;
  color:var(--premier-red);
  margin-bottom:12px;
}

.premier-article-not-found__box h1{
  margin:0 0 10px;
  font-size:2rem;
  font-weight:700;
  color:#111827;
}

.premier-article-not-found__box p{
  margin:0 0 20px;
  color:#667085;
}

/* =========================
   MOBILE FLOATING WIDGET
========================= */
.premier-mobile-widget{
  display:none;
}

.premier-mobile-widget__toggle{
  border:none;
  background:#050505;
  color:#ffffff;
  min-height:48px;
  padding:0 16px;
  border-radius:999px;
  box-shadow:0 14px 35px rgba(16,24,40,.2);
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.premier-mobile-widget__panel{
  display:none;
}

.premier-mobile-widget.is-open .premier-mobile-widget__panel{
  display:block;
}

.premier-mobile-widget__panel{
  position:absolute;
  bottom:58px;
  left:0;
  width:250px;
  background:#050505;
  border:1px solid rgba(255,255,255,.08);
  border-top:4px solid var(--premier-red);
  box-shadow:0 20px 45px rgba(16,24,40,.22);
  overflow:hidden;
}

.premier-mobile-widget__head{
  padding:12px 16px;
  color:var(--premier-red);
  font-size:.8rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.premier-mobile-widget__link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 16px;
  color:#ffffff;
  text-decoration:none;
  font-weight:700;
  border-top:1px solid rgba(255,255,255,.08);
}

.premier-mobile-widget__link:first-of-type{
  border-top:none;
}

.premier-mobile-widget__link:hover{
  color:var(--premier-red);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:1199.98px){
  .premier-article-hero__grid{
    grid-template-columns:1fr;
    gap:24px;
  }

  .premier-article-hero__media{
    max-width:860px;
  }

  .premier-article-layout{
    grid-template-columns:1fr;
  }

  .premier-article-sidebar{
    display:none;
  }
}

@media (max-width:767.98px){
  .premier-article-hero{
    padding:20px 0 22px;
  }

  .premier-article-hero__top{
    margin-bottom:12px;
  }

  .premier-article-breadcrumb{
    font-size:.8rem;
    gap:6px;
  }

  .premier-article-breadcrumb span{
    max-width:100%;
    white-space:normal;
    overflow:visible;
    text-overflow:unset;
  }

  .premier-article-kicker{
    font-size:.72rem;
    margin-bottom:10px;
  }

  .premier-article-kicker span{
    width:24px;
    height:3px;
  }

.premier-article-hero h1{
    font-size:1.65rem;
    line-height:1.16;
    letter-spacing:-.025em;
    margin-bottom:10px;
  }

  .premier-article-meta{
    margin-top:16px;
    gap:8px;
  }

  .premier-article-meta span{
    font-size:.78rem;
    padding:8px 10px;
  }

  .premier-article-hero__actions{
    margin-top:18px;
    flex-direction:column;
  }

  .premier-article-btn{
    width:100%;
  }

  .premier-article-hero__media img{
    aspect-ratio:16 / 10;
  }

  .premier-article-body-section{
    padding:24px 0 44px;
  }

  .premier-article-content{
    padding:22px 18px;
    font-size:.97rem;
    line-height:1.8;
  }

  .premier-article-content h1{
    font-size:1.55rem;
  }

  .premier-article-content h2{
    font-size:1.42rem;
  }

  .premier-article-content h3{
    font-size:1.2rem;
  }

  .premier-article-bottom-cta{
    flex-direction:column;
    align-items:flex-start;
    padding:22px 18px;
    gap:16px;
  }

  .premier-article-bottom-cta__content h2{
    font-size:1.28rem;
  }
  
  .premier-mobile-widget{
  display:block;
  position:fixed;
  left:14px;
  bottom:calc(14px + env(safe-area-inset-bottom));
  z-index:1070;
}

.premier-mobile-widget__toggle{
  height:52px;
  min-height:52px;
  padding:0 18px;
}

.premier-mobile-widget__panel{
  bottom:62px;
}

.premier-blog-whatsapp{
  right:14px !important;
  bottom:calc(14px + env(safe-area-inset-bottom)) !important;
  width:52px !important;
  height:52px !important;
}
}