@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
/* Workshop Ingeniería 360°: official palette and artwork (PDF / supplied SVGs).
   Scoped to the one event: all other TuUni events keep the generic catalog/detail. */
.engineering-official,
.featured-event-official {
 --workshop-ink:#050a1d;
 --workshop-deep:#003452;
 --workshop-cyan:#36a9e1;
 --workshop-border:#d9e7f0;
 --workshop-paper:#f5faff;
 font-family:Poppins,Arial,Helvetica,sans-serif;
}

/* The homepage remains a discovery page with one highlighted event, not a duplicate detail page. */
.public-v2.official-home .home-intro-wrap{background:#fff;border-bottom:0}
.public-v2.official-home .home-intro{padding:36px 0 24px;align-items:end;gap:48px}
.public-v2.official-home .home-intro .eyebrow{color:var(--workshop-deep,#003452);font-size:11px;letter-spacing:.13em}
.public-v2.official-home .home-intro h1{max-width:800px;font-size:clamp(2.25rem,4.3vw,3.7rem);line-height:1.05;letter-spacing:-.05em;color:#0b2034;margin:9px 0 0}
.public-v2.official-home .home-intro>p{max-width:370px;color:#5b6978;font-size:14px;line-height:1.75;padding-bottom:2px}
.public-v2.official-home .event-catalog{padding-top:14px;padding-bottom:70px}
.public-v2.official-home .catalog-heading{margin-bottom:19px}
.public-v2.official-home .catalog-overline{color:#13608c}
.public-v2.official-home .catalog-heading h2{font-size:22px;color:#0b2034}
.public-v2.official-home .catalog-heading>span{color:#718096}
.public-v2 .featured-event-official{isolation:isolate;position:relative;display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);min-height:510px;background:radial-gradient(circle at 90% -20%,#0a5372 0,transparent 46%),linear-gradient(125deg,#050a1d,#003452 88%);color:#fff;border:1px solid #164968;border-radius:14px;box-shadow:0 20px 48px rgba(2,35,57,.11);overflow:hidden}
.featured-event-official::before{content:"";position:absolute;right:-7%;top:-28%;width:47%;height:86%;background:url('/assets/engineering-360/asterisk.svg') center/contain no-repeat;opacity:.11;transform:rotate(-12deg);pointer-events:none}
.featured-official-content{position:relative;z-index:1;padding:45px 24px 45px 52px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0}
.featured-official-kicker{display:flex;align-items:center;gap:10px;max-width:100%;flex-wrap:wrap;color:#a8dff8;font-size:11px;font-weight:700;letter-spacing:.11em;line-height:1.6}
.featured-official-dot{width:7px;height:7px;background:var(--workshop-cyan);border-radius:50%;flex:none;box-shadow:0 0 0 4px rgba(54,169,225,.13)}
.featured-official-line{height:1px;width:26px;background:#3f8aaf;display:inline-block}
.featured-official-title{display:block;width:min(100%,490px);height:auto;aspect-ratio:880/412;object-fit:contain;margin:11px 0 15px;filter:drop-shadow(0 3px 3px rgba(0,0,0,.08))}
.featured-official-details{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);border-top:1px solid rgba(192,224,241,.27);margin:0 0 24px;padding-top:22px;gap:20px}
.featured-official-details div{min-width:0}
.featured-official-details dt{font-size:10px;color:#99cfe9;text-transform:uppercase;letter-spacing:.13em;font-weight:700;margin-bottom:9px}
.featured-official-details dd{font-size:14px;color:#fff;line-height:1.55;font-weight:600;margin:0;overflow-wrap:anywhere}
.featured-official-details dd span{display:block;color:#c5deec;font-size:13px;font-weight:400;margin-top:3px}
.featured-official-cta.button{display:inline-flex;align-items:center;justify-content:space-between;gap:27px;min-height:50px;min-width:192px;background:var(--workshop-cyan);color:var(--workshop-ink);border:1px solid var(--workshop-cyan);font-weight:700;border-radius:5px;letter-spacing:.01em;font-size:14px}
.featured-official-cta.button:hover{background:#63c4f1;border-color:#63c4f1;color:var(--workshop-ink)}
.featured-official-cta span{font-size:19px;line-height:1}
.featured-official-poster{position:relative;z-index:1;min-width:0;display:flex;align-items:center;justify-content:center;padding:27px 35px 27px 4px}
.featured-official-poster::before{content:"";position:absolute;width:63%;height:75%;background:rgba(54,169,225,.08);filter:blur(36px);border-radius:40%;pointer-events:none}
.featured-official-poster img{position:relative;display:block;width:auto;height:auto;max-width:min(100%,352px);max-height:452px;aspect-ratio:4/5;object-fit:contain;box-shadow:0 14px 33px rgba(0,0,0,.31);border:1px solid rgba(189,234,255,.22)}
.featured-official-poster-label{position:absolute;top:31px;right:39px;z-index:2;font-size:9px;font-weight:700;letter-spacing:.14em;color:#d9f3ff;writing-mode:vertical-rl;pointer-events:none}
@media(hover:hover){.featured-official-poster img{transition:transform .23s ease,box-shadow .23s ease}.featured-official-poster:hover img{transform:translateY(-3px);box-shadow:0 19px 38px rgba(0,0,0,.36)}}

/* Event detail — one high-contrast event header, then readable editorial sections. */
.public-v2 .event-detail:has(.engineering-official){width:calc(100% - 64px);max-width:1200px;padding:18px 0 0}
.public-v2 .breadcrumb:has(+ .event-detail .engineering-official){width:calc(100% - 64px);max-width:1200px}
.engineering-official{width:100%;min-width:0}
.engineering-official-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.78fr);align-items:center;min-height:540px;padding:47px 58px;gap:38px;background:radial-gradient(ellipse at 95% 0%,#0a5272,transparent 52%),linear-gradient(130deg,#050a1d,#003452);color:#fff;border-radius:13px}
.engineering-official-hero::before{content:"";position:absolute;z-index:-1;right:-4%;top:-27%;width:43%;height:82%;background:url('/assets/engineering-360/asterisk.svg') center/contain no-repeat;opacity:.12;pointer-events:none}
.engineering-official-copy{min-width:0;position:relative}
.engineering-official-topline{color:#a9e4fc;letter-spacing:.13em;font-size:11px;font-weight:700;text-transform:uppercase;display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.engineering-official-indicator{width:8px;height:8px;background:var(--workshop-cyan);border-radius:50%}
.engineering-official-divider{height:1px;width:20px;background:#4b95b7}
.engineering-official-logotype{display:block;width:min(100%,520px);height:auto;aspect-ratio:880/412;object-fit:contain;margin:18px 0 23px}
.engineering-official-info{display:grid;grid-template-columns:minmax(0,1fr);margin:0;gap:0;max-width:520px;border-top:1px solid rgba(187,225,246,.27)}
.engineering-official-info>div{display:grid;grid-template-columns:118px 1fr;gap:16px;min-width:0;padding:14px 0;border-bottom:1px solid rgba(187,225,246,.2)}
.engineering-official-info dt{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#a1d5ef;margin-top:3px}
.engineering-official-info dd{margin:0;font-size:15px;font-weight:600;color:white;line-height:1.55;overflow-wrap:anywhere}
.engineering-official-info dd span{display:block;color:#d2e7f1;font-size:14px;font-weight:400;margin-top:2px}
.engineering-official-action{margin-top:25px;display:flex;align-items:center;gap:15px;flex-wrap:wrap}
.engineering-official-action .button{min-height:51px;background:var(--workshop-cyan);border:1px solid var(--workshop-cyan);border-radius:5px;padding:14px 24px;color:var(--workshop-ink);font-size:14px;font-weight:700;min-width:190px;justify-content:center}
.engineering-official-action .button:hover:not(:disabled){background:#60bde9;border-color:#60bde9;color:var(--workshop-ink)}
.engineering-official-action .button:focus-visible,.featured-official-cta:focus-visible{outline:3px solid #fff;outline-offset:4px}
.engineering-official-action span{color:#c7dce8;font-size:12px}
.engineering-official-poster{min-width:0;justify-self:center;display:flex;justify-content:center;align-items:center;width:100%}
.engineering-official-poster-frame{width:min(100%,344px);padding:9px;background:#164363;border:1px solid rgba(211,243,255,.24);border-radius:6px;box-shadow:0 22px 50px rgba(0,0,0,.23);transform:rotate(1deg)}
.engineering-official-poster img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:contain;border-radius:2px}
.engineering-official-about{display:grid;grid-template-columns:minmax(170px,.7fr) minmax(0,1.3fr);gap:58px;align-items:start;padding:57px 0 54px;border-bottom:1px solid #d7e5ed}
.engineering-official-label{font-size:10px;color:#2674a0;letter-spacing:.14em;font-weight:700}
.engineering-official-about h2,.engineering-official-themes h2{font-family:Poppins,Arial,Helvetica,sans-serif;line-height:1.19;letter-spacing:-.035em;color:#0b2034;margin:12px 0 0;font-size:clamp(24px,2.7vw,33px)}
.engineering-official-rule{display:block;width:42px;height:3px;background:var(--workshop-cyan);margin-top:24px}
.engineering-official-about-copy>p{font-size:17px;color:#364e60;line-height:1.8;margin:3px 0 26px;max-width:760px}
.engineering-official-organizers{padding-left:18px;border-left:3px solid #36a9e1}
.engineering-official-organizers strong{font-size:11px;letter-spacing:.09em;color:#125982;text-transform:uppercase}
.engineering-official-organizers p{font-size:14px;color:#395263;line-height:1.7;margin:5px 0 0}
.engineering-official-themes{padding:51px 0 30px}
.engineering-official-themes-head{display:flex;gap:38px;align-items:end;justify-content:space-between;margin-bottom:24px}
.engineering-official-themes-head>p{max-width:320px;margin:0;color:#657788;font-size:13px;line-height:1.65}
.engineering-official-ods{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;list-style:none;margin:0;padding:0}
.official-ods-card{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;padding:17px 10px 16px;min-height:218px;background:#f8fbfe;border:1px solid #dcebf3;border-radius:9px;text-align:center;transition:transform .17s,border-color .17s}
.official-ods-card img{display:block;width:auto;height:131px;max-width:100%;aspect-ratio:428/600;object-fit:contain}
.official-ods-name{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:11px;line-height:1.35;color:#516778}
.official-ods-name b{color:#003452;font-size:10px;letter-spacing:.06em}
@media(hover:hover){.official-ods-card:hover{transform:translateY(-2px);border-color:#b4ddec}}
/* Multiple events still use the regular card layout; official poster remains crisp. */
.event-card.engineering-card .event-card-image{background:#003452;aspect-ratio:4/5}
.event-card.engineering-card .event-card-image img{object-fit:contain;width:100%;height:100%}

@media(max-width:1020px){
 .featured-official-content{padding:34px 16px 34px 35px}
 .featured-official-details{grid-template-columns:1fr;gap:12px}
 .featured-official-title{margin:12px 0}
 .featured-official-poster{padding:19px 24px 19px 0}
 .featured-official-poster img{max-height:414px}
 .engineering-official-hero{padding:37px 35px;gap:25px}
 .engineering-official-info>div{grid-template-columns:92px 1fr}
 .engineering-official-about{gap:30px}
 .engineering-official-ods{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
 .official-ods-card{padding:13px 5px;min-height:214px}
}
@media(max-width:740px){
 .public-v2.official-home .home-intro{display:block;padding:28px 0 12px}
 .public-v2.official-home .home-intro h1{font-size:clamp(30px,9vw,42px)}
 .public-v2.official-home .home-intro>p{max-width:550px;padding:0;margin-top:11px;font-size:13px}
 .public-v2.official-home .event-catalog{padding-top:15px;padding-bottom:48px}
 .public-v2.official-home .catalog-heading{margin-bottom:13px}
 .public-v2 .featured-event-official{grid-template-columns:1fr;min-height:0}
 .featured-official-content{padding:30px 24px 24px}
 .featured-official-title{max-width:460px;width:100%;margin:5px 0 10px}
 .featured-official-details{grid-template-columns:1fr;gap:10px;padding-top:15px;margin-bottom:19px}
 .featured-official-details dt{margin-bottom:3px}
 .featured-official-cta.button{min-width:0;width:100%}
 .featured-official-poster{padding:17px 30px 22px;background:rgba(0,0,0,.11)}
 .featured-official-poster img{max-width:260px;max-height:327px}
 .featured-official-poster-label{right:12px;top:23px}
 .public-v2 .event-detail:has(.engineering-official),.public-v2 .breadcrumb:has(+ .event-detail .engineering-official){width:calc(100% - 32px)}
 .engineering-official-hero{grid-template-columns:1fr;min-height:0;padding:28px 22px 25px;gap:22px;border-radius:8px}
 .engineering-official-logotype{width:100%;max-width:445px;margin:6px 0 14px}
 .engineering-official-info>div{grid-template-columns:1fr;gap:3px;padding:10px 0}
 .engineering-official-info dt{margin:0;font-size:10px}
 .engineering-official-info dd{font-size:14px}
 .engineering-official-action{margin-top:18px;gap:7px}
 .engineering-official-action .button{width:100%;min-width:0}
 .engineering-official-action span{display:block;text-align:center;width:100%}
 .engineering-official-poster{border-top:1px solid rgba(187,225,246,.27);padding-top:22px}
 .engineering-official-poster-frame{max-width:245px;padding:5px;transform:none}
 .engineering-official-about{grid-template-columns:1fr;gap:14px;padding:35px 0 32px}
 .engineering-official-rule{margin-top:15px}
 .engineering-official-about-copy>p{font-size:15px;line-height:1.7}
 .engineering-official-themes{padding:36px 0 8px}
 .engineering-official-themes-head{display:block;margin-bottom:20px}
 .engineering-official-themes-head>p{margin:11px 0 0;max-width:100%;font-size:13px}
 .engineering-official-ods{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .official-ods-card{padding:14px 9px 11px;min-height:199px}
 .official-ods-card img{height:123px}
 .official-ods-name{font-size:10px}
}
@media(min-width:741px) and (max-width:1020px){.engineering-official-ods{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:360px){.featured-official-content{padding:24px 18px}.featured-official-kicker{font-size:9px}.engineering-official-hero{padding:23px 16px}}
@media(prefers-reduced-motion:reduce){.featured-official-poster img,.official-ods-card{transition:none}}
/* These text alternatives give screen readers a proper heading without
   visually duplicating the official outlined title graphic. */
.featured-event-official .sr-only,.engineering-official .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
