/* BBC México 2027 extends the 2026 landing's approved visual system. */
@import url('./bbc-mexico-2026.css');

.bbc-2027-page .bbc-hero{background:radial-gradient(ellipse at 92% 70%,#d7f8fa 0,transparent 48%),radial-gradient(ellipse at 15% 10%,#f7f2c5 0,transparent 40%)}
.bbc-2027-page .bbc-icon{width:1.35em;height:1.35em;display:block}
.bbc-2027-page .bbc-label{display:block}

/* Visual bands and cards */
.bbc-2027-page .bbc-visual-band{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:10px;margin-bottom:95px}
.bbc-2027-page .bbc-visual-card{position:relative;overflow:hidden;display:grid;grid-template-columns:112px 1fr;gap:26px;align-items:center;padding:30px;border:1px solid #d6dfeb;border-radius:10px;background:#fff}
.bbc-2027-page .bbc-visual-card h3{font-size:30px;line-height:1.06;letter-spacing:-.04em;margin:0 0 10px}
.bbc-2027-page .bbc-visual-card p:last-child{font-size:14px;color:#41516b}
.bbc-2027-page .bbc-visual-card-map{background:linear-gradient(135deg,#eef3ff,#fffef9)}
.bbc-2027-page .bbc-visual-card-network{background:linear-gradient(135deg,#f0fdff,#eef3ff)}
.bbc-2027-page .bbc-visual-card:before{content:'';position:absolute;right:-20px;bottom:-20px;width:130px;height:130px;border-radius:50%;background:#1649e80d}
.bbc-2027-page .bbc-visual-figure{width:92px;height:92px;border-radius:22px;display:grid;place-items:center;background:#1649e8;color:#fff;box-shadow:0 18px 30px -24px #1239b8}
.bbc-2027-page .bbc-visual-card-network .bbc-visual-figure{background:#5738ad}
.bbc-2027-page .bbc-visual-card-map .bbc-visual-figure{background:#1649e8}
.bbc-2027-page .bbc-visual-figure .bbc-icon{width:54px;height:54px}

/* Categories */
.bbc-2027-page .bbc-category-icon{display:inline-flex;align-items:center;justify-content:center;width:66px;height:66px;border-radius:50%;background:#ffffff52}
.bbc-2027-page .bbc-systems .bbc-category-icon,
.bbc-2027-page .bbc-life .bbc-category-icon{background:#ffffff14}
.bbc-2027-page .bbc-category-icon .bbc-icon{width:36px;height:36px}

/* Themes */
.bbc-2027-page .bbc-theme>span{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:16px;background:#eef3ff;color:#1649e8;margin-bottom:16px}

/* Story cards */
.bbc-2027-page .bbc-story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:0;margin-bottom:95px}
.bbc-2027-page .bbc-story-card{padding:28px;min-height:290px;background:#fff;border:1px solid #d6dfeb;border-radius:10px;position:relative;overflow:hidden}
.bbc-2027-page .bbc-story-card:after{content:'';position:absolute;inset:auto -24px -24px auto;width:90px;height:90px;border-radius:50%;background:#99e9ee3b}
.bbc-2027-page .bbc-story-card h3{font-size:28px;line-height:1.08;letter-spacing:-.045em;margin:4px 0 12px}
.bbc-2027-page .bbc-story-card p:last-child{font-size:14px;color:#41516b;position:relative;z-index:1}
.bbc-2027-page .bbc-story-icon{width:72px;height:72px;border-radius:18px;display:grid;place-items:center;background:#14243c;color:#f6ed57;margin-bottom:18px;position:relative;z-index:1}
.bbc-2027-page .bbc-story-icon .bbc-icon{width:40px;height:40px}

/* Roadmap */
.bbc-2027-page .bbc-roadmap-header{display:grid;grid-template-columns:1.15fr .85fr;gap:32px;align-items:start}
.bbc-2027-page .bbc-2027-timeline{grid-template-columns:repeat(3,minmax(0,1fr));gap:42px 30px}
.bbc-2027-page .bbc-2027-timeline li{min-width:0}
.bbc-2027-page .bbc-timeline-date{display:block;color:#f6ed57;font-weight:750;font-size:13px;margin:0 0 14px;line-height:1.5}
.bbc-2027-page .bbc-roadmap-intro{max-width:740px;margin-top:25px;color:#dce6f6;font-size:15px}
.bbc-2027-page .bbc-roadmap-visual{background:linear-gradient(180deg,#263b56,#1a2b43);border:1px solid #5a6d88;border-radius:12px;padding:24px;box-shadow:0 24px 40px -34px rgba(0,0,0,.45)}
.bbc-2027-page .bbc-roadmap-visual__badge{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:750;color:#f6ed57;margin-bottom:18px}
.bbc-2027-page .bbc-roadmap-visual__badge .bbc-icon{width:28px;height:28px}
.bbc-2027-page .bbc-roadmap-visual ul{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.bbc-2027-page .bbc-roadmap-visual li{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:13px 0;border-top:1px solid #44566e;font-size:14px;color:#dce6f6}
.bbc-2027-page .bbc-roadmap-visual li:first-child{border-top:0;padding-top:0}
.bbc-2027-page .bbc-roadmap-visual li b{color:#fff;font-size:15px;white-space:nowrap}
.bbc-2027-page .bbc-calendar-notice{margin-top:44px;border-left:4px solid #f6ed57;background:#263b56;padding:20px 24px;line-height:1.6;font-size:14px}
.bbc-2027-page .bbc-calendar-notice strong{color:#f6ed57}

/* Support */
.bbc-2027-page .bbc-support-visual{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:28px;max-width:440px}
.bbc-2027-page .bbc-support-visual__card{background:#eef3ff;border:1px solid #d6dfeb;border-radius:10px;padding:16px 14px;display:flex;flex-direction:column;gap:12px;align-items:flex-start;min-height:118px}
.bbc-2027-page .bbc-support-visual__card .bbc-icon{width:28px;height:28px;color:#1649e8}
.bbc-2027-page .bbc-support-visual__card span{font-size:13px;font-weight:700;letter-spacing:.02em}
.bbc-2027-page .bbc-support-list article>span{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border-radius:12px;background:#eef3ff;color:#1649e8}
.bbc-2027-page .bbc-support-list article>span .bbc-icon{width:22px;height:22px}

/* Evaluation */
.bbc-2027-page .bbc-criteria-rich li{display:flex;align-items:center;gap:12px;padding:16px 20px;border-radius:18px}
.bbc-2027-page .bbc-criteria-rich li span{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#eef3ff;color:#1649e8;margin-right:0}
.bbc-2027-page .bbc-criteria-rich li span .bbc-icon{width:18px;height:18px}
.bbc-2027-page .bbc-evaluation-note{margin-top:24px;color:#52637b}

/* Registration */
.bbc-2027-page .bbc-field-hint{font-size:12px;margin-top:15px!important;color:#41516b;line-height:1.55}
.bbc-2027-page .bbc-registration-note strong{font-size:22px}
.bbc-2027-page .bbc-hero-facts{line-height:1.6}
.bbc-2027-page .bbc-registration-points{list-style:none;padding:0;margin:26px 0 18px;display:grid;gap:12px}
.bbc-2027-page .bbc-registration-points li{display:flex;align-items:center;gap:14px;padding:12px 14px;background:#fff;border:1px solid #d6dfeb;border-radius:10px}
.bbc-2027-page .bbc-registration-points li>span{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;background:#eef3ff;color:#1649e8;border-radius:12px}
.bbc-2027-page .bbc-registration-points li>span .bbc-icon{width:22px;height:22px}
.bbc-2027-page .bbc-registration-points strong{display:block;font-size:14px;line-height:1.2}
.bbc-2027-page .bbc-registration-points small{display:block;font-size:12px;color:#52637b;line-height:1.4}

@media(max-width:1050px){
  .bbc-2027-page .bbc-visual-band,
  .bbc-2027-page .bbc-story-grid{margin-bottom:70px}
  .bbc-2027-page .bbc-roadmap-header{grid-template-columns:1fr}
}
@media(max-width:850px){
  .bbc-2027-page .bbc-visual-band,
  .bbc-2027-page .bbc-story-grid{grid-template-columns:1fr}
  .bbc-2027-page .bbc-2027-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .bbc-2027-page .bbc-visual-card{grid-template-columns:1fr;gap:18px;padding:24px}
  .bbc-2027-page .bbc-story-card{min-height:unset}
  .bbc-2027-page .bbc-support-visual{grid-template-columns:1fr 1fr 1fr;max-width:none}
  .bbc-2027-page .bbc-hero-badge-cluster{position:static;margin-top:-6px}
}
@media(max-width:540px){
  .bbc-2027-page .bbc-2027-timeline{grid-template-columns:1fr}
  .bbc-2027-page .bbc-calendar-notice{padding:18px}
  .bbc-2027-page .bbc-support-visual{grid-template-columns:1fr}
  .bbc-2027-page .bbc-hero-photo-caption{left:16px;right:16px;bottom:16px}
  .bbc-2027-page .bbc-hero-photo-caption strong{font-size:21px}
  .bbc-2027-page .bbc-hero-badge-cluster{gap:8px}
  .bbc-2027-page .bbc-hero-badge{padding:9px 12px}
}


/* Hero photo integration */
.bbc-2027-page .bbc-hero-grid{align-items:center}
.bbc-2027-page .bbc-hero-media{position:relative;display:grid;gap:18px;align-items:end}
.bbc-2027-page .bbc-hero-photo-frame{position:relative;margin:0;background:#fff;border:1px solid #d6dfeb;border-radius:24px;overflow:hidden;box-shadow:0 36px 60px -42px rgba(15,33,65,.45)}
.bbc-2027-page .bbc-hero-photo{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:center}
.bbc-2027-page .bbc-hero-photo-frame:after{content:'';position:absolute;inset:auto 0 0 0;height:38%;background:linear-gradient(180deg,rgba(10,18,32,0) 0%,rgba(10,18,32,.68) 100%);pointer-events:none}
.bbc-2027-page .bbc-hero-photo-caption{position:absolute;left:22px;right:22px;bottom:20px;z-index:2;display:grid;gap:7px;color:#fff}
.bbc-2027-page .bbc-hero-photo-caption strong{font-size:24px;line-height:1.02;letter-spacing:-.03em}
.bbc-2027-page .bbc-hero-photo-caption small{display:block;font-size:13px;line-height:1.45;color:#e7eefb;max-width:36ch}
.bbc-2027-page .bbc-hero-chip{display:inline-flex;align-items:center;gap:8px;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.16);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.25);font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.bbc-2027-page .bbc-hero-badge-cluster{display:flex;flex-wrap:wrap;gap:12px;position:absolute;left:-18px;bottom:-16px;z-index:3}
.bbc-2027-page .bbc-hero-badge{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #d6dfeb;border-radius:999px;padding:10px 14px;box-shadow:0 18px 36px -28px rgba(15,33,65,.4);font-size:12px;font-weight:700;color:#14243c}
.bbc-2027-page .bbc-hero-badge .bbc-icon{width:18px;height:18px;color:#1649e8}

/* Hero photo responsive overrides */
@media(max-width:760px){
  .bbc-2027-page .bbc-hero-badge-cluster{position:static;margin-top:-6px}
}
@media(max-width:540px){
  .bbc-2027-page .bbc-hero-photo-caption{left:16px;right:16px;bottom:16px}
  .bbc-2027-page .bbc-hero-photo-caption strong{font-size:21px}
  .bbc-2027-page .bbc-hero-badge-cluster{gap:8px}
  .bbc-2027-page .bbc-hero-badge{padding:9px 12px}
}
