/* Colores posteriores a Misión y Visión, sin modificar el video inicial. */
#mision-vision,#seguimiento,#opiniones,#trabaja{background:#092d56;color:#e9f3ff}
#actualidad,#pagos,#denuncias,#preguntas{background:#061d39;color:#e9f3ff}
#mision-vision h2,#seguimiento h2,#opiniones h2,#trabaja h2,#actualidad h2,#pagos h2,#denuncias h2,#preguntas h2{color:#f4f9ff}
#mision-vision .info-card,#seguimiento .info-card,#opiniones .info-card,#trabaja .info-card,#actualidad .info-card,#pagos .info-card,#denuncias .info-card,#preguntas .info-card{background:#12385d;color:#d7e8f8;border-color:#2c5376;box-shadow:none}
#mision-vision .info-card p,#mision-vision .info-card h3,#trabaja .info-card p,#trabaja .info-card h3,#preguntas details,#preguntas summary{color:inherit}
#stmCartLauncher{position:fixed;right:22px;bottom:88px;z-index:49;border:1px solid #82c6ff;border-radius:30px;background:#0873db;color:white;padding:13px 21px;box-shadow:0 5px 22px #001b3e40;font-weight:700;min-height:48px}
#stmCartDialog{width:min(860px,94vw);max-height:88dvh;padding:24px;border:1px solid #c4d9ec;border-radius:20px;background:#f5f9fd;color:#102f4c;overflow:auto;box-shadow:0 20px 90px #001a3f70}
#stmCartDialog::backdrop{background:#04172bd4}
.stm-cart-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;position:sticky;top:-24px;background:#f5f9fd;padding:14px 0;z-index:2}
.stm-cart-dialog-head h2{margin:0;font-size:23px}.stm-cart-dialog-head button{border:1px solid #bccfe0;border-radius:10px;padding:10px;background:white;color:#173c5a}
.stm-cart-payment-note{font-size:13px;line-height:1.6;color:#526c82}
#stmCartDialog #stmPublicCart{display:block!important;padding:0;border:0;background:transparent}
#stmCartDialog label{display:grid;gap:6px;margin:12px 0;font-size:13px}#stmCartDialog input,#stmCartDialog textarea,#stmCartDialog select{max-width:100%;padding:11px;border:1px solid #b9cee0;border-radius:8px;font:inherit;background:white;color:#17344e}
#stmCartDialog button{cursor:pointer;min-height:40px}#stmCartDialog :focus-visible,#stmCartLauncher:focus-visible{outline:3px solid #24a0f3;outline-offset:3px}
#stmCartDialog input[type=checkbox]{width:18px;min-width:18px;height:18px;min-height:18px;padding:0;margin:0 7px 0 0;display:inline-block;vertical-align:middle}#stmCartDialog label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}
#stmCatalogShell .price{font-size:21px!important;line-height:1.3;color:#123d61!important;letter-spacing:-.4px}
#stmCatalogShell .price del{font-size:13px;color:#758697;font-weight:400}
#actualidad #noticias{background:transparent;color:#e9f3ff}#actualidad #noticias h2{color:#f4f9ff}
:is(#mision-vision,#seguimiento,#opiniones,#trabaja,#actualidad,#pagos,#denuncias,#preguntas) p{color:#c1d5e9}
:is(#mision-vision,#seguimiento,#opiniones,#trabaja,#actualidad,#pagos,#denuncias,#preguntas) a{color:#8fd2ff}
:is(#mision-vision,#seguimiento,#opiniones,#trabaja,#actualidad,#pagos,#denuncias,#preguntas) .info-card h3{color:#edf6ff}
#stmApplyDialog,#stmHelpDialog{width:min(780px,94vw);max-height:88dvh;overflow:auto;background:#f5f9fd;color:#123451;border:1px solid #b9d3e9;border-radius:18px;padding:24px;box-shadow:0 20px 70px #001b3e66}
#stmApplyDialog::backdrop,#stmHelpDialog::backdrop{background:#04172bd4}
#stmApplyDialog .grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}#stmApplyDialog label{display:grid;gap:7px;font-size:13px;margin:14px 0}#stmApplyDialog input,#stmApplyDialog textarea{width:100%;min-height:42px;padding:11px;background:white;color:#123451;border:1px solid #b9cee1;border-radius:8px;font:inherit;box-sizing:border-box}#stmApplyDialog label:has(input[type=checkbox]){display:flex;align-items:flex-start;line-height:1.6}#stmApplyDialog input[type=checkbox]{width:18px;min-width:18px;min-height:18px;height:18px;margin:2px 5px 0 0;padding:0}#stmApplyDialog .stm-apply-trap{position:absolute;left:-10000px}#stmApplyDialog button,#stmHelpDialog button{background:#126b8b;color:white;padding:12px 18px;border:0;border-radius:9px;cursor:pointer;min-height:44px}#stmApplyDialog a,#stmHelpDialog a{color:#0864b5}#stmApplyDialog [role=status]{line-height:1.6}#stmHelpDialog details{padding:14px 0;border-bottom:1px solid #c8dbea}#stmHelpDialog summary{cursor:pointer;font-weight:600}#stmHelpDialog a{display:inline-block;margin-top:20px}#stmHelpLauncher{position:fixed;left:18px;bottom:24px;z-index:48;padding:10px 16px;background:#092d56;color:#eaf6ff;border:1px solid #91badb;border-radius:24px;cursor:pointer;min-height:44px}
@media(max-width:600px){#stmApplyDialog .grid{grid-template-columns:1fr}#stmApplyDialog,#stmHelpDialog{padding:16px}}
/* Alternancia solicitada: azul, blanco, azul, blanco. */
#actualidad,#pagos,#denuncias,#preguntas{background:#fff;color:#123451}
:is(#actualidad,#pagos,#denuncias,#preguntas) :is(h2,h3),#actualidad #noticias h2{color:#123451}
:is(#actualidad,#pagos,#denuncias,#preguntas) p{color:#526b82}
:is(#actualidad,#pagos,#denuncias,#preguntas) a{color:#0864b5}
:is(#actualidad,#pagos,#denuncias,#preguntas) .info-card{background:#f4f8fc;color:#123451;border-color:#d4e2ee}
:is(#actualidad,#pagos,#denuncias,#preguntas) .info-card h3{color:#123451}
#preguntas details,#preguntas summary,#actualidad #noticias{color:#123451}
@media(max-width:600px){#stmCartLauncher{right:14px;bottom:82px;padding:11px 17px}#stmCartDialog{padding:16px}.stm-cart-dialog-head{top:-16px}#stmCartDialog .grid{grid-template-columns:1fr!important}}

/* Noticias: mostrar la fotografía completa para que no se corten las caras. */
#noticias .stm-news-card img{height:220px!important;object-fit:contain!important;object-position:center!important;background:linear-gradient(135deg,#eef5fa,#f8fbfd)!important;padding:8px!important}
#noticias .stm-news-dialog>img{max-height:420px!important;object-fit:contain!important;object-position:center!important;background:#eef5fa!important;padding:8px!important}
@media(max-width:520px){#noticias .stm-news-card img{height:200px!important;padding:6px!important}}

/* Noticias: presentación más cercana y editorial, manteniendo la paleta STM. */
#actualidad{position:relative;overflow:hidden}
#actualidad::before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:5px;background:linear-gradient(90deg,#087cff,#55c7e8,#f4b860);opacity:.9}
#noticias{max-width:1180px;margin:0 auto;padding:8px 0 4px}
#noticias>h2{display:flex;align-items:center;gap:12px;font-size:clamp(24px,3vw,34px);letter-spacing:-.6px;margin:0 0 8px}
#noticias>h2::before{content:"";width:34px;height:34px;display:inline-block;border-radius:12px;background:linear-gradient(135deg,#087cff,#58c8e9);box-shadow:0 8px 18px #087cff32}
#noticias>h2::after{content:"Actualidad STM";font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#63819d;font-weight:800;position:absolute;margin:52px 0 0 46px}
#noticias .stm-news-grid{gap:24px;margin-top:28px}
#noticias .stm-news-card{border:1px solid #d7e6f0!important;border-radius:22px!important;background:linear-gradient(180deg,#fff,#f6fafd)!important;box-shadow:0 12px 28px #0a427015!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important}
#noticias .stm-news-card:hover{transform:translateY(-5px)!important;border-color:#8bc9ea!important;box-shadow:0 18px 34px #0a427026!important}
#noticias .stm-news-card>img{height:190px!important;border-radius:22px 22px 0 0!important;padding:12px!important;background:linear-gradient(135deg,#eaf5fb,#fbfdff)!important}
#noticias .stm-news-copy{padding:18px 20px 20px!important}
#noticias .stm-news-copy small{display:inline-flex;align-items:center;gap:6px;color:#28729b!important;font-size:12px;font-weight:700}
#noticias .stm-news-copy small::before{content:"";width:7px;height:7px;border-radius:50%;background:#55c7e8}
#noticias .stm-news-copy h3{font-size:19px!important;line-height:1.3!important;margin:10px 0 8px!important;color:#123b60!important}
#noticias .stm-news-copy p{font-size:14px!important;line-height:1.65!important;color:#587086!important;margin:0 0 16px!important}
#noticias .stm-news-copy button{background:#eaf5fb!important;border-color:#b9d9e9!important;color:#12527b!important;font-weight:700!important;transition:background .2s,transform .2s}
#noticias .stm-news-copy button:hover{background:#d8eff9!important;transform:translateY(-1px)}
#noticias .stm-news-pagination{margin-top:30px!important}
#noticias .stm-news-pagination button{border-radius:22px!important;background:#123b60!important;padding:10px 18px!important}
#noticias .stm-news-pagination span{background:#edf5fa;padding:7px 12px;border-radius:14px;color:#537089!important}
#noticias .stm-news-dialog{border-radius:24px!important;padding:28px!important;box-shadow:0 24px 70px #062c4b45!important}
@media(max-width:600px){#noticias{padding-left:2px;padding-right:2px}#noticias>h2{font-size:26px}#noticias>h2::after{margin-top:44px;font-size:10px}#noticias .stm-news-grid{gap:18px}}
