/* RAYT — Boletín cinematográfico para conductores. Aislado de la web actual. */
.rayt-story[hidden]{display:none!important}
.rayt-story{position:fixed;inset:0;z-index:10000;background:#080c10;color:#fff;font-family:Manrope,'DM Sans',sans-serif;overflow:hidden;isolation:isolate}
body.rayt-story-open{overflow:hidden!important}
.rayt-story *, .rayt-story *::before,.rayt-story *::after{box-sizing:border-box}
.rayt-story__scene{position:absolute;inset:0;display:grid;grid-template-columns:1.02fr .98fr;overflow:hidden;opacity:0;visibility:hidden;pointer-events:none;transform:translateX(3%);transition:opacity .6s ease,transform .75s cubic-bezier(.22,1,.36,1),visibility .6s}
.rayt-story__scene.is-active{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.rayt-story__scene::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 30% 50%,rgba(255,197,28,.085),transparent 57%);pointer-events:none;z-index:0}
.rayt-story__visual{position:relative;min-width:0;overflow:hidden;display:grid;place-items:center;background:#13191d}
.rayt-story__visual::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 72%,#090e14 100%),linear-gradient(0deg,rgba(5,9,13,.5),transparent 37%)}
.rayt-story__visual img.rayt-story__photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.85) saturate(.8);transform:scale(1.08);transition:transform 7s ease,filter 1.1s ease}
.rayt-story__scene.is-active .rayt-story__photo{transform:scale(1);filter:brightness(.95) saturate(.88)}
.rayt-story__visual .rayt-story__taxi{position:absolute;z-index:1;width:min(115%,820px);max-height:70vh;object-fit:contain;filter:drop-shadow(0 35px 40px rgba(0,0,0,.6));transform:translateY(40px) scale(.95);opacity:0;transition:transform 1.2s cubic-bezier(.22,1,.36,1) .2s,opacity 1s .1s}
.rayt-story__scene.is-active .rayt-story__taxi{transform:translateY(0) scale(1);opacity:1}
.rayt-story__visual .rayt-story__taxi--side{width:130%;max-width:none;left:-20%;bottom:8%}
.rayt-story__visual-mark{position:absolute;bottom:11%;left:8%;z-index:2;font-size:clamp(10px,1.1vw,15px);letter-spacing:.25em;font-weight:800;color:#e9eef3;text-shadow:0 2px 20px #000}
.rayt-story__visual-word{position:absolute;z-index:0;bottom:8%;left:2%;font-size:clamp(90px,16vw,280px);font-weight:900;letter-spacing:-.09em;color:#ffffff13;white-space:nowrap;line-height:1}
.rayt-story__body{position:relative;z-index:1;align-self:center;padding:clamp(80px,7.5vw,135px) clamp(34px,6.5vw,125px) clamp(115px,9vw,155px) clamp(30px,5vw,90px);max-width:850px}
.rayt-story__eyebrow{color:#ffca35;display:block;font-size:clamp(10px,.86vw,12px);letter-spacing:.22em;font-weight:800;margin-bottom:clamp(20px,4vh,40px)}
.rayt-story__body h2{font-size:clamp(45px,5.5vw,102px)!important;font-weight:850!important;letter-spacing:-.075em!important;line-height:1.02!important;margin:0 0 27px!important;text-wrap:balance;color:#f9fafb!important}
.rayt-story__body h2 em{font-style:normal;color:#ffcc37}
.rayt-story__body p{max-width:590px;color:#c6ced6;font-size:clamp(14px,1.19vw,18px);line-height:1.75;margin:0 0 17px}
.rayt-story__body strong.rayt-story__thesis{display:block;max-width:620px;margin-top:24px;color:#ffe291;font-size:clamp(15px,1.35vw,21px);line-height:1.5;font-weight:800}
.rayt-story__points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 18px;list-style:none;margin:25px 0 0;padding:0;max-width:560px}
.rayt-story__points li{display:flex;gap:10px;align-items:center;color:#e6eaf0;font-size:clamp(12px,1vw,15px);font-weight:650}
.rayt-story__points li::before{content:'✦';color:#ffd044;font-size:12px}
.rayt-story__top{position:absolute;z-index:10;left:0;right:0;top:0;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:clamp(20px,3vw,42px) clamp(20px,4vw,65px);pointer-events:none}
.rayt-story__top > *{pointer-events:auto}
.rayt-story__brand{width:clamp(102px,10vw,153px);filter:brightness(0) invert(1);object-fit:contain;display:block}
.rayt-story__topright{display:flex;align-items:center;gap:25px}
.rayt-story__edition{font-size:10px;font-weight:750;color:#d0d5da;letter-spacing:.18em}
.rayt-story button{font:inherit;cursor:pointer}
.rayt-story__skip{color:#e3e7ec;border:1px solid #ffffff35;background:rgba(12,18,24,.65);border-radius:100px;padding:10px 17px;font-size:11px!important;font-weight:800!important;letter-spacing:.08em;transition:background .2s,border-color .2s}
.rayt-story__skip:hover,.rayt-story__skip:focus-visible{background:#29313b;border-color:#fff}
.rayt-story__footer{position:absolute;z-index:10;bottom:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:25px clamp(20px,4vw,65px) max(25px,env(safe-area-inset-bottom));background:linear-gradient(0deg,rgba(4,7,11,.95),rgba(4,7,11,.5) 70%,transparent)}
.rayt-story__count{font-weight:900;letter-spacing:.14em;color:#fff;font-size:12px;white-space:nowrap}
.rayt-story__count span{color:#ffd044;font-size:18px}
.rayt-story__progress{display:flex;gap:7px;align-items:center;flex:1;max-width:380px}
.rayt-story__progress span{height:3px;flex:1;background:#ffffff37;transition:background .25s,transform .25s}
.rayt-story__progress span.is-on{background:#ffc629}
.rayt-story__actions{display:flex;gap:11px;align-items:center}
.rayt-story__back{background:transparent!important;color:#f4f6f9!important;border:1px solid #ffffff42!important;padding:13px 18px!important;font-size:12px!important;font-weight:800!important;letter-spacing:.06em}
.rayt-story__back:disabled{opacity:.25;cursor:default}
.rayt-story__next{background:#ffc629!important;color:#10151c!important;border:0!important;padding:14px clamp(18px,3vw,34px)!important;min-width:165px;font-size:12px!important;font-weight:900!important;letter-spacing:.07em;transition:filter .2s,transform .2s}
.rayt-story__next:hover{filter:brightness(1.08);transform:translateY(-2px)}
.rayt-story__reopen{background:transparent;color:inherit;border:1px solid rgba(255,197,28,.5);padding:12px 15px;display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:800;letter-spacing:.06em;text-decoration:none}
.rayt-story__reopen:hover{background:rgba(255,197,28,.14)}
.rayt-story__finalmark{margin-top:26px;font-size:11px;letter-spacing:.22em;font-weight:900;color:#ffda5d}
@media(max-width:900px){
 .rayt-story__scene{grid-template-columns:1fr;grid-template-rows:42% 58%}
 .rayt-story__visual::after{background:linear-gradient(0deg,#090e14 0%,transparent 50%)}
 .rayt-story__visual .rayt-story__taxi{max-height:95%;width:80%}
 .rayt-story__visual .rayt-story__taxi--side{width:105%;left:-3%;bottom:0}
 .rayt-story__visual-mark{bottom:12%;font-size:10px}
 .rayt-story__body{padding:10px 7% 100px;align-self:start;max-width:100%;}
 .rayt-story__body h2{font-size:clamp(38px,8vw,66px)!important;margin-bottom:13px!important;line-height:1.05!important}
 .rayt-story__eyebrow{margin-bottom:14px;font-size:9px}
 .rayt-story__body p{font-size:13px;line-height:1.53;margin-bottom:8px}
 .rayt-story__body strong.rayt-story__thesis{font-size:14px;margin-top:11px;line-height:1.35}
 .rayt-story__points{margin-top:10px;gap:6px 9px}
 .rayt-story__points li{font-size:11px}
 .rayt-story__visual-word{font-size:18vw}
 .rayt-story__edition{display:none}
 .rayt-story__top{padding:15px 5%}
 .rayt-story__footer{padding:15px 5% max(18px,env(safe-area-inset-bottom));gap:9px}
 .rayt-story__next{min-width:123px;padding:13px 14px!important}
 .rayt-story__back{padding:12px!important}
 .rayt-story__progress{max-width:140px}
}
@media(max-width:540px){
 .rayt-story__scene{grid-template-rows:39% 61%}
 .rayt-story__body{padding:8px 6% 100px}
 .rayt-story__body h2{font-size:clamp(33px,9.5vw,47px)!important}
 .rayt-story__body p{font-size:12.5px}
 .rayt-story__points li{font-size:10px}
 .rayt-story__progress{max-width:74px}
 .rayt-story__skip{padding:9px 12px;font-size:10px!important}
 .rayt-story__count{font-size:10px}
 .rayt-story__count span{font-size:15px}
}
@media(max-height:720px) and (max-width:900px){
 .rayt-story__scene{grid-template-rows:31% 69%}
 .rayt-story__body h2{font-size:clamp(27px,7vw,40px)!important}
 .rayt-story__body p{font-size:12px;line-height:1.35}
 .rayt-story__body strong.rayt-story__thesis{font-size:12px}
 .rayt-story__eyebrow{margin-bottom:7px}
}
@media(prefers-reduced-motion:reduce){.rayt-story__scene,.rayt-story__photo,.rayt-story__taxi,.rayt-story__progress span{transition:none!important;animation:none!important}}


/* Boletín RAYT 002 — altura segura y lectura accesible.
   La navegación permanece fija; el contenido es desplazable si no cabe. */
@media (min-width:901px){
  .rayt-story .rayt-story__scene{min-height:0;}
  .rayt-story .rayt-story__body{
    align-self:stretch;
    min-width:0;
    min-height:0;
    max-height:100dvh;
    overflow-y:auto;
    overscroll-behavior:contain;
    display:flex;
    flex-direction:column;
    justify-content:safe center;
    padding-top:clamp(112px,15vh,155px);
    padding-bottom:clamp(135px,18vh,175px);
    scrollbar-width:thin;
    scrollbar-color:#ffffff38 transparent;
  }
  .rayt-story .rayt-story__body h2{
    font-size:clamp(40px,4.1vw,76px)!important;
    line-height:1.045!important;
    letter-spacing:-.065em!important;
    overflow-wrap:normal;
  }
  .rayt-story .rayt-story__eyebrow{margin-bottom:clamp(14px,2.1vh,24px);}
  .rayt-story .rayt-story__body p{font-size:clamp(16px,1.12vw,20px);line-height:1.58;}
  .rayt-story .rayt-story__body strong.rayt-story__thesis{margin-top:16px;font-size:clamp(16px,1.2vw,20px);}
  .rayt-story .rayt-story__points{margin-top:14px;gap:8px 14px;}
  .rayt-story .rayt-story__points li{font-size:clamp(14px,1.05vw,17px);}
}
/* Compact laptop viewports: shorter typography avoids visual clipping. */
@media (min-width:901px) and (max-height:750px){
  .rayt-story .rayt-story__body h2{font-size:clamp(38px,3.4vw,62px)!important;margin-bottom:16px!important;}
  .rayt-story .rayt-story__body p{line-height:1.45;margin-bottom:10px;}
  .rayt-story .rayt-story__body{padding-top:96px;padding-bottom:120px;}
  .rayt-story .rayt-story__eyebrow{margin-bottom:12px;}
}
/* In portrait devices the body scrolls independently of the fixed controls.
   Body text is intentionally larger for older readers. */
@media (max-width:900px){
  .rayt-story .rayt-story__scene{min-height:0;}
  .rayt-story .rayt-story__body{
    min-height:0;
    max-height:100%;
    align-self:stretch;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    padding-bottom:clamp(112px,16vh,150px);
    scrollbar-width:thin;
  }
  .rayt-story .rayt-story__body p{font-size:16px;line-height:1.58;margin-bottom:12px;}
  .rayt-story .rayt-story__body strong.rayt-story__thesis{font-size:16px;line-height:1.45;margin-top:15px;}
  .rayt-story .rayt-story__points li{font-size:14px;line-height:1.42;}
}
@media (max-width:540px){
  .rayt-story .rayt-story__body p{font-size:16px;line-height:1.55;margin-bottom:11px;}
  .rayt-story .rayt-story__body strong.rayt-story__thesis{font-size:16px;line-height:1.45;}
  .rayt-story .rayt-story__points li{font-size:14px;}
}
@media (max-height:720px) and (max-width:900px){
  .rayt-story .rayt-story__body p{font-size:16px;line-height:1.5;}
  .rayt-story .rayt-story__body strong.rayt-story__thesis{font-size:16px;line-height:1.4;}
}


/* RAYT Boletín v004 · tema claro y composición estrictamente de una pantalla */
.rayt-story{background:#f0f8ff!important;color:#173753!important}
.rayt-story .rayt-story__scene{background:linear-gradient(120deg,#f6fbff,#e2f1fe)!important;grid-template-columns:50% 50%!important}
.rayt-story .rayt-story__visual{background:#cfe6f9!important}
.rayt-story .rayt-story__visual::after{background:linear-gradient(90deg,transparent 80%,rgba(230,244,254,.32))!important}
.rayt-story .rayt-story__visual img.rayt-story__photo{filter:brightness(1.18) saturate(.87)!important;opacity:.62}
.rayt-story .rayt-story__visual-word{color:#1976df24!important}
.rayt-story .rayt-story__visual-mark{color:#eaf6ff!important;text-shadow:0 2px 10px rgba(20,62,97,.68)!important}
.rayt-story .rayt-story__body{align-self:stretch!important;display:flex!important;flex-direction:column!important;justify-content:center!important;min-height:0!important;height:100%!important;max-width:none!important;overflow:hidden!important;overscroll-behavior:none!important;padding:90px clamp(28px,3.7vw,65px) 95px!important}
.rayt-story .rayt-story__body h2{font-size:clamp(32px,3.35vw,58px)!important;line-height:1.01!important;letter-spacing:-.065em!important;margin:0 0 13px!important;color:#113654!important;text-shadow:none!important}
.rayt-story .rayt-story__body h2 em{color:#d69b00!important}
.rayt-story .rayt-story__body p{font-size:clamp(15px,1.0vw,17px)!important;color:#385b75!important;line-height:1.42!important;margin:0 0 9px!important;max-width:650px!important}
.rayt-story .rayt-story__body strong.rayt-story__thesis{font-size:clamp(15px,1.04vw,18px)!important;line-height:1.35!important;margin-top:9px!important;color:#146ab2!important}
.rayt-story__eyebrow{color:#2871ac!important;margin-bottom:12px!important;font-size:10px!important}
.rayt-story__points{margin:6px 0 2px!important;gap:5px 13px!important}
.rayt-story__points li{font-size:clamp(13px,.9vw,15px)!important;line-height:1.25!important;color:#244d6e!important}
.rayt-story__points li::before{color:#dca800!important}
.rayt-story__finalmark{color:#2c6b9e!important;font-size:10px!important;margin-top:12px!important}
.rayt-story .rayt-story__top{padding:14px clamp(18px,3.4vw,52px)!important;background:linear-gradient(180deg,rgba(247,252,255,.94),rgba(247,252,255,.58),transparent)!important}
.rayt-story__brand{filter:brightness(0) saturate(100%) invert(19%) sepia(35%) saturate(1494%) hue-rotate(169deg) brightness(90%)!important;width:clamp(95px,8vw,140px)!important}
.rayt-story__edition{color:#365d79!important}
.rayt-story__skip{background:#fff!important;color:#1e5d92!important;border:1px solid #c4dbed!important}
.rayt-story .rayt-story__footer{padding:12px clamp(18px,3.4vw,52px) max(12px,env(safe-area-inset-bottom))!important;background:linear-gradient(0deg,rgba(246,251,255,.99),rgba(246,251,255,.92) 68%,transparent)!important}
.rayt-story__back{background:#fff!important;color:#1c5788!important;border-color:#c2d6e6!important}
.rayt-story__count{color:#2c5677!important}
.rayt-story__progress span{background:#ccdfef!important}
.rayt-story__progress span.is-on{background:#f9c52c!important}
.rayt-story .rayt-story__visual .rayt-story__taxi{max-height:58vh!important}
@media(min-width:901px) and (max-height:750px){
 .rayt-story .rayt-story__body{padding-top:74px!important;padding-bottom:74px!important}
 .rayt-story .rayt-story__body h2{font-size:clamp(28px,3vw,48px)!important;margin-bottom:9px!important}
 .rayt-story .rayt-story__body p{font-size:15px!important;line-height:1.34!important;margin-bottom:6px!important}
 .rayt-story .rayt-story__body strong.rayt-story__thesis{font-size:15px!important;margin-top:7px!important}
 .rayt-story__eyebrow{margin-bottom:8px!important}
 .rayt-story .rayt-story__visual .rayt-story__taxi{max-height:49vh!important}
}
@media(max-width:900px){
 .rayt-story .rayt-story__scene{grid-template-columns:1fr!important;grid-template-rows:25% 75%!important}
 .rayt-story .rayt-story__visual{grid-row:1;grid-column:1}
 .rayt-story .rayt-story__body{grid-row:2;grid-column:1;padding:5px 6% 79px!important;justify-content:center!important}
 .rayt-story .rayt-story__body h2{font-size:clamp(28px,7vw,43px)!important;margin-bottom:9px!important;line-height:1.02!important}
 .rayt-story .rayt-story__body p{font-size:16px!important;line-height:1.39!important;margin-bottom:8px!important}
 .rayt-story .rayt-story__body strong.rayt-story__thesis{font-size:16px!important;line-height:1.3!important;margin-top:8px!important}
 .rayt-story__eyebrow{font-size:9px!important;margin-bottom:7px!important}
 .rayt-story__points{margin-top:5px!important;gap:4px 9px!important}
 .rayt-story__points li{font-size:13px!important;line-height:1.25!important}
 .rayt-story .rayt-story__visual .rayt-story__taxi{max-height:87%!important;width:66%!important}
 .rayt-story .rayt-story__visual .rayt-story__taxi--side{max-height:86%!important;width:100%!important}
 .rayt-story .rayt-story__top{padding:9px 5%!important}
 .rayt-story__brand{width:93px!important}
 .rayt-story .rayt-story__footer{padding:9px 5% max(10px,env(safe-area-inset-bottom))!important}
}
@media(max-width:540px){
 .rayt-story .rayt-story__scene{grid-template-rows:23% 77%!important}
 .rayt-story .rayt-story__body{padding-bottom:78px!important}
 .rayt-story .rayt-story__body h2{font-size:clamp(26px,7.25vw,35px)!important}
 .rayt-story__next{min-width:104px!important;padding:12px 10px!important}
 .rayt-story__back{padding:11px 10px!important}
}
@media(max-height:720px) and (max-width:900px){
 .rayt-story .rayt-story__scene{grid-template-rows:20% 80%!important}
 .rayt-story .rayt-story__body{padding-top:6px!important;padding-bottom:68px!important}
 .rayt-story .rayt-story__body h2{font-size:clamp(23px,6.2vw,31px)!important;margin-bottom:5px!important}
 .rayt-story .rayt-story__body p{font-size:15px!important;line-height:1.28!important;margin-bottom:5px!important}
 .rayt-story .rayt-story__body strong.rayt-story__thesis{font-size:15px!important;line-height:1.25!important;margin-top:5px!important}
 .rayt-story__points li{font-size:12px!important}
 .rayt-story .rayt-story__visual .rayt-story__taxi{max-height:90%!important}
}
