/* Reference: https://www.outono.net/elentir/2020/08/05/asi-son-los-colores-exactos-y-el-patron-de-diseno-de-la-bandera-y-el-escudo-de-espana/
   Flag width:height 3:2; horizontal stripes 25% red / 50% yellow / 25% red.
   Reference web colors: red RGB(173,21,25) #AD1519; yellow RGB(250,189,0) #FABD00. */
:root{--brand-red:#ad1519;--brand-yellow:#fabd00;--spain-red:var(--brand-red);--spain-yellow:var(--brand-yellow);--red:var(--brand-red);--yellow:var(--brand-yellow)}
.flag-brand{position:relative;display:block;width:216px;max-width:100%;aspect-ratio:3 / 2;flex-shrink:0;align-self:flex-start;padding:0;border:0;background:linear-gradient(to bottom,var(--brand-red) 0% 25%,var(--brand-yellow) 25% 75%,var(--brand-red) 75% 100%);color:#080b0e;text-decoration:none;border-radius:0;box-shadow:0 3px 12px #07111d15;pointer-events:auto}
.flag-brand-band{position:absolute;inset:25% 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:0 6px}
.flag-brand strong{font-family:Georgia,'Times New Roman',serif;font-size:27px;line-height:1.08;font-weight:400;letter-spacing:-.045em;white-space:nowrap}
.flag-brand small{font:600 10px/1.3 ui-sans-serif,system-ui,sans-serif;text-transform:uppercase;letter-spacing:1.8px;white-space:nowrap}
.site-languages{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}
.site-languages a{display:grid;place-items:center;min-width:44px;min-height:40px;border:1px solid #07111d40;border-radius:999px;text-decoration:none;color:#07111d;font-size:14px;font-weight:750}
.site-languages a[aria-current=page]{background:#07111d;color:white}
.site-languages a:hover{background:var(--brand-yellow);color:#07111d}
:focus-visible{outline:3px solid var(--brand-yellow);outline-offset:5px}
.alt-header{padding:24px;max-width:280px}
.alt-portal{grid-template-columns:280px minmax(0,1fr)}
.alt-intro{padding:194px 24px 32px;gap:16px}
.alt-intro-top{margin-bottom:24px}
.alt-intro h1{font-size:clamp(3.5rem,5.4vw,5.5rem);line-height:.93;letter-spacing:-.06em}
.alt-intro-copy{margin-top:16px}
.alt-intro .site-languages{margin:16px 0 0}
.alt-kicker,.alt-signature{font-size:12px}
.alt-intro-contact a:not(.alt-contact-button){overflow-wrap:anywhere;font-size:14px}
.alt-intro-contact .alt-contact-button{font-size:14px}
.alt-tile p{font-size:16px}
.alt-tile h2{font-size:clamp(2rem,3.3vw,3.4rem)}
.alt-tile-body{inset:auto 24px 24px}
.alt-activities{padding-top:32px}
@media(max-width:1000px){.alt-portal{grid-template-columns:240px minmax(0,1fr)}.alt-header{padding:20px}.alt-header .flag-brand{width:200px}.alt-header .flag-brand strong{font-size:23px}.alt-header .flag-brand small{font-size:9px}.alt-intro{padding:172px 20px 28px}.alt-tile{width:92%;height:88%}.alt-tile p{font-size:14px}.alt-tile-body{inset:auto 18px 20px}}
@media(max-width:760px){.alt-portal{grid-template-columns:1fr}.alt-header{position:relative;max-width:none;background:#f7f2e8;padding:20px}.alt-header .flag-brand{width:186px}.alt-header .flag-brand strong{font-size:21px}.alt-intro{min-height:0;padding:12px 24px 28px;display:block}.alt-intro-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 24px}.alt-intro .site-languages{margin:0}.alt-intro h1{max-width:15ch;font-size:clamp(3.6rem,13vw,5rem)}.alt-intro-copy{max-width:36rem}.alt-intro-contact{margin-top:20px}.alt-activities{grid-template-rows:none;gap:20px;padding:24px}.alt-tile{width:100%;height:auto;min-height:340px;margin:0}.alt-tile h2{font-size:2.5rem}.alt-tile p{font-size:16px}}
@media(max-width:540px){.alt-activities{grid-template-columns:1fr}.alt-intro-top{flex-wrap:wrap}.alt-tile{min-height:350px}}

/* Approved offline draft: 30-degree flat Manrope flag. */
.flag-brand{aspect-ratio:380 / 350;background:none;box-shadow:none}
.flag-brand-logo{display:block;width:100%;height:auto}
.alt-intro{padding-top:254px}
@media(max-width:1000px){.alt-intro{padding-top:230px}}
@media(max-width:760px){.alt-intro{padding-top:12px}}

/* Diagonal flag ribbon crosses the cream portal panel edge to edge. */
.alt-header{padding:0;width:280px;max-width:280px;overflow:hidden}
.alt-header .flag-brand{width:100%;max-width:none;aspect-ratio:380 / 360}
.alt-header .flag-brand-logo{width:100%;height:100%;object-fit:cover}
.alt-intro{padding-top:292px}
@media(max-width:1000px){.alt-header{width:240px;max-width:240px;padding:0}.alt-header .flag-brand{width:100%}.alt-intro{padding-top:254px}}
@media(max-width:760px){.alt-header{width:100%;max-width:none;padding:0}.alt-header .flag-brand{width:100%;height:clamp(230px,43vw,320px);aspect-ratio:auto}.alt-intro{padding-top:12px}}
