/* AVAxMadrid — brand: AVAx logo colours + Madrid teal. Headings: Agenor Neue, body: Nunito. */
:root {
  --teal: #00a59d;
  --teal-600: #00857f;
  --teal-700: #006d68;     /* text-safe teal on white (AA) */
  --teal-900: #0c4f4b;     /* deep teal, hero / footer */
  --teal-50: #e6f6f5;
  --blue: #009fdd;
  --green: #6ba800;
  --orange: #ff6700;
  --orange-600: #e05a00;
  --orange-700: #b84a00;
  --grey: #5e5e5e;
  --ink: #17302e;
  --ink-2: #3d5250;
  --muted: #61716f;
  --line: #dbe5e3;
  --cream: #f6f3ec;
  --paper: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(12, 79, 75, .06), 0 8px 24px rgba(12, 79, 75, .08);
  --head: "Agenor Neue", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6; font-weight: 450;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-900); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; font-synthesis: none; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0 0 1em; }
.lead { font-size: 1.16rem; color: var(--ink-2); line-height: 1.55; }
.eyebrow { font-family: var(--body); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--teal-700); margin: 0 0 .8rem; }
.eyebrow-light { color: #9fe3dc; }
.center { text-align: center; }
.fine { font-size: .86rem; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px;
  padding: .7em 1.3em; border-radius: 999px; border: 2px solid transparent; font: 800 1rem/1.1 var(--body);
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-lg { min-height: 54px; padding: .85em 1.6em; font-size: 1.06rem; }
.btn-sm { min-height: 38px; padding: .45em 1em; font-size: .92rem; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255, 103, 0, .28); }
.btn-orange:hover { background: var(--orange-600); color: #fff; }
.btn-teal { background: var(--teal-700); color: #fff; }
.btn-teal:hover { background: var(--teal-900); color: #fff; }
.btn-outline { background: #fff; color: var(--teal-900); border-color: var(--teal-700); }
.btn-outline:hover { background: var(--teal-50); color: var(--teal-900); }
.btn-light { background: #fff; color: var(--teal-900); }
.btn-light:hover { color: var(--teal-900); background: var(--teal-50); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.cta-row.center { justify-content: center; }
.more { font-weight: 800; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-btn { background: none; border: 0; color: var(--teal-700); font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; padding: 0; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: .35em; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .3em .8em; border-radius: 999px; }
.pill .ico { width: 1em; height: 1em; }
.pill-open { background: #e3f3cf; color: #3d6100; }
.pill-closed { background: #eceeee; color: #4b5553; }

/* Notice */
.notice { background: var(--orange); color: #fff; font-weight: 700; text-align: center; padding: .7rem 0; }
.notice a { color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand img { width: 200px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.site-nav ul a { display: block; white-space: nowrap; padding: .5em .7em; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.site-nav ul a:hover { background: var(--teal-50); color: var(--teal-900); }
.site-nav ul a[aria-current="page"] { color: var(--teal-700); box-shadow: inset 0 -3px 0 var(--teal); border-radius: 8px 8px 0 0; }
/* dropdown groups in the main menu: hover/focus on desktop, tap to expand on small screens */
.site-nav li.has-sub { position: relative; }
.sub-btn { display: flex; align-items: center; gap: .35em; background: none; border: 0; font: inherit; font-weight: 700; font-size: .95rem; color: var(--ink); padding: .5em .7em; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.sub-btn:hover, .has-sub:focus-within > .sub-btn { background: var(--teal-50); color: var(--teal-900); }
.sub-btn.on { color: var(--teal-700); box-shadow: inset 0 -3px 0 var(--teal); border-radius: 8px 8px 0 0; }
.sub-btn .chev { width: 10px; height: 6px; transition: transform .15s; }
.sub-btn[aria-expanded="true"] .chev, .has-sub:hover .chev { transform: rotate(180deg); }
.site-nav ul.sub { display: none; position: absolute; top: calc(100% + 4px); left: 0; min-width: 230px; flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; z-index: 60; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .sub-btn[aria-expanded="true"] + .sub { display: flex; }
.site-nav ul.sub a { white-space: normal; padding: .6em .8em; }
.site-nav ul.sub a[aria-current="page"] { box-shadow: none; border-radius: 8px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--teal); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { font-weight: 800; font-size: .85rem; color: var(--ink); text-decoration: none; border: 2px solid var(--line); border-radius: 999px; padding: .35em .8em; }
.lang:hover { border-color: var(--teal); color: var(--teal-900); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle .bars { top: 21px; }
.nav-toggle .bars::before { left: 0; right: 0; top: -7px; }
.nav-toggle .bars::after { left: 0; right: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; max-height: calc(100vh - 72px); overflow: auto; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: .85em .4em; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .site-nav ul a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--teal); padding-left: .9em; }
  .nav-actions { padding-top: 16px; justify-content: space-between; }
  .site-nav li.has-sub { position: static; }
  .sub-btn { width: 100%; justify-content: space-between; padding: .85em .4em; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .sub-btn.on { box-shadow: inset 4px 0 0 var(--teal); padding-left: .9em; }
  .site-nav ul.sub { position: static; border: 0; box-shadow: none; border-radius: 0; padding: 0 0 0 16px; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .sub-btn[aria-expanded="true"] + .sub { display: flex; }
  .site-nav ul.sub a[aria-current="page"] { box-shadow: none; padding-left: .4em; }
  .has-sub:hover .chev { transform: none; }
  .sub-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
}

/* Hero (home) */
.hero { position: relative; background: var(--teal-900); color: #fff; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 0; isolation: isolate; }
.hero-bg { position: absolute; right: -4%; bottom: 0; width: min(62vw, 880px); z-index: -1; opacity: .9; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal-900) 0%, rgba(12, 79, 75, .55) 35%, rgba(12, 79, 75, 0) 70%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); gap: 40px; align-items: end; padding-bottom: clamp(36px, 6vw, 64px); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 14ch; }
.hero h1 span { color: #7fe0d7; }
.hero-when { font-size: 1.1rem; color: #d9f3f0; line-height: 1.8; }
.hero-when .ico { color: #7fe0d7; }
.hero-note { margin-top: 1rem; font-weight: 700; color: #ffd3b5; }
.countdown { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 20px 22px; backdrop-filter: blur(6px); }
.cd-grid { display: grid; grid-template-columns: 1fr; gap: 10px; text-align: center; }
.cd-grid b { display: block; font-family: var(--head); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; }
.cd-grid span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #a9e4de; }
.facts { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; color: var(--ink); border-radius: var(--radius) var(--radius) 0 0; padding: 0; box-shadow: var(--shadow); }
.facts li { padding: 22px 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; border-right: 1px solid var(--line); }
.facts li:last-child { border-right: 0; }
.facts .ico { grid-row: span 2; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--teal-50); color: var(--teal-700); }
.facts li:nth-child(2) .ico { background: #e5f4fb; color: #0077a8; }
.facts li:nth-child(3) .ico { background: #eef6e1; color: #4c7800; }
.facts li:nth-child(4) .ico { background: #fff0e5; color: var(--orange-700); }
.facts strong { font-family: var(--head); font-weight: 400; font-size: 1.35rem; line-height: 1.1; }
.facts span { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-bg { width: 120vw; right: -30vw; opacity: .45; }
  .facts { grid-template-columns: 1fr 1fr; margin: 0 var(--gutter); }
  .facts li:nth-child(2) { border-right: 0; }
  .facts li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 420px) { .facts li { padding: 16px 12px; } .facts strong { font-size: 1.1rem; } }

/* Splits & intro */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo-stack { position: relative; margin: 0; min-height: 440px; }
.photo-stack img { position: absolute; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.ps-a { width: 58%; height: 86%; top: 0; left: 0; z-index: 2; }
.ps-b { width: 54%; height: 58%; right: 0; bottom: 0; z-index: 3; border: 6px solid #fff; }
.ps-pattern { width: 40%; right: 8%; top: -6%; box-shadow: none !important; opacity: .9; z-index: 1; }

.pillars-sec { padding-top: 0; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 28px; border-radius: var(--radius); background: var(--cream); border-top: 5px solid var(--c); }
.pillar-blue { --c: var(--blue); } .pillar-green { --c: var(--green); } .pillar-orange { --c: var(--orange); }
.pillar h3 { font-size: 1.4rem; }
.pillar p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* Programme teaser */
.programme-teaser { background: var(--cream); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head > div { max-width: 720px; }
.featured { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
ul.featured a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px 22px; background: #fff; border-radius: var(--radius); text-decoration: none; color: var(--ink); border-left: 5px solid var(--room); box-shadow: var(--shadow); transition: transform .15s; }
ul.featured a:hover { transform: translateY(-2px); color: var(--ink); }
.featured strong { font-family: var(--head); font-weight: 400; font-size: 1.2rem; line-height: 1.25; }
.fh-meta { font-size: .82rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } }
.topic-cloud { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topic-cloud a { display: inline-block; padding: .45em 1em; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .9rem; }
.topic-cloud a:hover { border-color: var(--teal); color: var(--teal-900); }

/* Venue teaser */
.venue-teaser .split { align-items: stretch; }
.venue-card { background: var(--teal-900) url('/assets/img/pattern-teal.webp') right -60px bottom -120px / 320px auto no-repeat; color: #e2f6f3; border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.venue-card h2 { color: #fff; }
.venue-card .addr { font-weight: 700; color: #fff; }
.included { padding: clamp(8px, 2vw, 20px) 0; }
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checks li { display: flex; gap: 12px; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.checks .ico { color: var(--green); margin-top: .2em; }

/* Collaborate */
.collaborate { background: var(--cream); }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-card { display: block; padding: 22px; border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s; }
.mini-card:hover { transform: translateY(-2px); color: var(--ink); }
.mini-card h3 { margin: .9rem 0 .4rem; display: flex; gap: .4em; align-items: center; }
.mini-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.mini-card.is-closed { background: #f3f5f5; box-shadow: none; border: 1px dashed #c9d3d1; }
.mini-card.is-closed h3 { color: var(--ink-2); }
@media (max-width: 960px) { .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cards-4 { grid-template-columns: 1fr; } }

/* Final CTA */
.final-cta { background: var(--teal-900) url('/assets/img/madrid-cibeles.webp') center bottom / cover no-repeat; color: #fff; position: relative; isolation: isolate; text-align: center; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: rgba(12, 79, 75, .82); z-index: -1; }
.final-in img { margin: 0 auto 18px; width: 150px; background: #fff; padding: 12px 16px; border-radius: 12px; }
.final-cta h2 { color: #fff; }

/* Page hero */
.page-hero { background: var(--cream) url('/assets/img/pattern-orange-b.webp') right -40px top -80px / 260px auto no-repeat; padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 760px; }
.agenda-hero, .sponsor-hero { background-color: var(--teal-900); background-image: url('/assets/img/pattern-teal.webp'); background-size: 340px auto; color: #dff4f1; border: 0; }
.agenda-hero h1, .sponsor-hero h1 { color: #fff; }
.agenda-hero .lead, .sponsor-hero .lead { color: #cdeee9; }
.sponsor-hero .eyebrow { color: #9fe3dc; }
.agenda-stats { list-style: none; padding: 0; margin: 24px 0 0; display: flex; gap: 28px; flex-wrap: wrap; }
.agenda-stats li { display: flex; align-items: baseline; gap: 8px; color: #b8e9e3; font-weight: 700; }
.agenda-stats b { font-family: var(--head); font-weight: 400; font-size: 2.2rem; color: #fff; }

/* Agenda toolbar */
.agenda-toolbar { position: sticky; top: 72px; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); box-shadow: 0 6px 16px rgba(12, 79, 75, .05); backdrop-filter: blur(8px); }
.tb-in { padding-top: 12px; padding-bottom: 12px; display: grid; gap: 10px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tab { flex: none; display: flex; flex-direction: column; align-items: flex-start; border: 2px solid var(--line); background: #fff; color: var(--ink); border-radius: 12px; padding: .45em 1em; cursor: pointer; font: inherit; line-height: 1.2; }
.tab b { font-family: var(--head); font-weight: 400; font-size: 1.1rem; }
.tab span { font-size: .8rem; color: var(--muted); font-weight: 700; }
.tab[aria-selected="true"] { background: var(--teal-900); border-color: var(--teal-900); color: #fff; }
.tab[aria-selected="true"] span { color: #a9e4de; }
.filters { display: flex; gap: 8px 10px; flex-wrap: wrap; align-items: center; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: .45em; min-height: 38px; padding: .35em .9em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); font: 700 .9rem/1 var(--body); cursor: pointer; }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--room, var(--teal)); }
.chip[aria-pressed="true"] { border-color: var(--room, var(--teal-700)); background: color-mix(in srgb, var(--room, var(--teal)) 12%, #fff); color: var(--ink); }
.chip-fav .ico { color: #c9a000; }
.chip-fav[aria-pressed="true"] { --room: #e2b400; }
.fav-count { background: var(--teal-50); border-radius: 999px; padding: .15em .55em; font-size: .78rem; }
.sel select, .search input { min-height: 38px; border: 1.5px solid var(--line); border-radius: 999px; padding: .35em 1em; font: 600 .92rem var(--body); color: var(--ink); background: #fff; }
.search { position: relative; display: inline-flex; align-items: center; flex: 1 1 200px; max-width: 320px; }
.search .ico { position: absolute; left: 12px; color: var(--muted); }
.search input { padding-left: 2.2em; width: 100%; }
@media (max-width: 720px) {
  .agenda-toolbar { position: static; }
  .search { max-width: none; flex-basis: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .chip { flex: none; }
}

/* Agenda */
.agenda { padding-top: 32px; }
.agenda-result { color: var(--muted); font-weight: 700; font-size: .92rem; min-height: 1.5em; }
.day { margin-bottom: 56px; }
.day-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 3px solid var(--ink); padding-bottom: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.day-head h2 { margin: 0; }
.day-head h2 span { font-family: var(--body); font-size: 1rem; font-weight: 700; color: var(--muted); margin-left: .4em; letter-spacing: 0; }
.day-head p { margin: 0; font-weight: 800; color: var(--teal-700); }
.room-legend { display: grid; grid-template-columns: 76px repeat(3, 1fr); gap: 14px; padding: 10px 0; position: sticky; top: 196px; z-index: 5; background: #fff; }
.room-legend b { display: flex; align-items: center; gap: .5em; font-family: var(--head); font-weight: 400; font-size: 1.1rem; }
.room-legend i { width: 12px; height: 12px; border-radius: 50%; background: var(--room); }
.slot { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.slot-time { font-weight: 800; color: var(--ink); padding-top: 14px; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.slot-time span { color: var(--muted); font-weight: 600; font-size: .85rem; }
.slot-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.slot-common .common { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--cream); font-size: 1.05rem; }
.slot-common .common .ico { color: var(--teal-700); width: 22px; height: 22px; }
.slot-common.kind-meal .common { background: #fff3ea; }
.slot-common.kind-meal .common .ico { color: var(--orange-700); }
.slot-common.kind-social .common { background: #eef6e1; }
.slot-common.kind-social .common .ico { color: #4c7800; }
.common-all { margin-left: auto; font-size: .78rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.session { position: relative; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--room); border-radius: var(--radius-sm); padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .15s, transform .15s; }
.session:hover { box-shadow: var(--shadow); }
.session:target { box-shadow: 0 0 0 3px var(--orange), var(--shadow); }
.session.is-fav { background: #fffbea; }
.session.is-now { box-shadow: 0 0 0 3px var(--room), var(--shadow); }
.s-meta { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; font-weight: 800; color: var(--muted); flex-wrap: wrap; }
.s-room { display: none; align-items: center; gap: .4em; color: var(--ink-2); }
.s-room i { width: 9px; height: 9px; border-radius: 50%; background: var(--room); }
.s-time { display: inline-flex; align-items: center; gap: .35em; font-variant-numeric: tabular-nums; }
.s-title { font-size: 1.12rem; margin: 2px 0 0; }
.s-desc { color: var(--ink-2); font-size: .95rem; margin: 0; line-height: 1.5; }
.s-speakers { font-size: .9rem; font-weight: 700; color: var(--teal-900); display: flex; flex-wrap: wrap; gap: 6px; }
.s-speakers span { background: var(--teal-50); border-radius: 999px; padding: .15em .7em; }
.s-topics { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.s-topics li { font-size: .74rem; font-weight: 800; color: var(--muted); background: #f1f4f3; border-radius: 999px; padding: .2em .7em; }
.s-actions { display: flex; gap: 2px; margin-top: auto; padding-top: 6px; justify-content: flex-end; }
.s-actions button, .s-actions a { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 0; background: none; border-radius: 8px; color: var(--muted); cursor: pointer; }
.s-actions button:hover, .s-actions a:hover { background: var(--teal-50); color: var(--teal-900); }
.s-fav[aria-pressed="true"] { color: #d4a300; }
.s-fav[aria-pressed="true"] .ico { fill: #f5c400; }
.s-now { position: absolute; top: -12px; right: 12px; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .2em .7em; border-radius: 999px; }
.cont { border: 1.5px dashed color-mix(in srgb, var(--room) 45%, #fff); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .85rem; color: var(--muted); font-style: italic; background: color-mix(in srgb, var(--room) 4%, #fff); }
.cont.empty { border: 0; background: none; }
.agenda-foot { border-top: 1px solid var(--line); padding-top: 24px; }
.note { color: var(--muted); display: flex; gap: .5em; }
.no-results { text-align: center; padding: 40px 0; color: var(--muted); font-weight: 700; }
.is-hidden { display: none !important; }
.day[data-only-list] .room-legend { display: none; }
/* filtered views: stack cards in a list (room shown on card) */
.agenda.filtered .room-legend { display: none; }
.agenda.filtered .slot-cells { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.agenda.filtered .cont { display: none; }
.agenda.filtered .s-room { display: inline-flex; }
/* programme as a chronological list: one session per row, room shown on the card, no empty grid cells */
.view-toggle { display: inline-flex; gap: 4px; margin-left: auto; }
.agenda.view-list .slot-cells { grid-template-columns: 1fr; gap: 8px; }
.agenda.view-list .cont, .agenda.view-list .room-legend { display: none; }
.agenda.view-list .s-room { display: inline-flex; }
.agenda.view-list .session { padding: 10px 14px 8px; }
.agenda.view-list .s-desc { font-size: .92rem; }
@media (max-width: 900px) {
  .room-legend { display: none; }
  .slot { grid-template-columns: 1fr; gap: 8px; }
  .slot-time { flex-direction: row; gap: .5em; padding-top: 4px; font-size: 1.05rem; }
  .slot-time span::before { content: "– "; }
  .slot-cells { grid-template-columns: 1fr; }
  .cont { display: none; }
  .s-room { display: inline-flex; }
}

/* Info pages */
.info-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: 100px; }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: .35em 0 .35em 1em; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .95rem; }
.toc a:hover { color: var(--teal-900); border-left-color: var(--teal); }
@media (max-width: 860px) { .info-layout { grid-template-columns: 1fr; } .toc { position: static; } .toc ul { display: flex; flex-wrap: wrap; gap: 6px; border: 0; } .toc a { border: 1px solid var(--line); border-radius: 999px; padding: .3em .9em; margin: 0; } }
.info-block { padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.info-block:last-child { border-bottom: 0; }
.info-block h2 { display: flex; align-items: center; gap: .4em; }
.info-block h2 .ico { color: var(--teal); }
.venue-block { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.venue-block img { border-radius: var(--radius); }
@media (max-width: 760px) { .venue-block { grid-template-columns: 1fr; } }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.tile { background: var(--cream); border-radius: var(--radius); padding: 22px; }
.tile h3 { display: flex; gap: .4em; align-items: center; }
.tile p { margin: 0; color: var(--ink-2); }
.timeline-mini { list-style: none; padding: 0; margin: 0; }
.timeline-mini li { display: flex; gap: 14px; padding: .35em 0; border-bottom: 1px dashed #d6dfdd; }
.timeline-mini time { font-weight: 800; min-width: 3.2em; font-variant-numeric: tabular-nums; color: var(--teal-700); }
.meals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.meal-day { background: #fff3ea; border-radius: var(--radius); padding: 18px 22px; }
.meal-day h4 { font-size: 1.15rem; }
.meal-day ul { list-style: none; padding: 0; margin: 0; }
.meal-day li { display: flex; gap: 12px; padding: .25em 0; }
.meal-day time { font-weight: 800; color: var(--orange-700); min-width: 3.2em; }
@media (max-width: 560px) { .meals { grid-template-columns: 1fr; } }
.ticket { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg, var(--teal-900), #0f6b65); color: #e2f6f3; border-radius: var(--radius); padding: 28px 32px; margin-bottom: 1.2rem; position: relative; overflow: hidden; }
.ticket::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 160px; background: url('/assets/img/pattern-teal.webp') center / cover; opacity: .25; }
.t-price { font-family: var(--head); font-size: 3rem; line-height: 1; color: #fff; margin: 0 0 .3rem; }
.t-main p { margin: 0 0 .3rem; }
.t-cap { font-weight: 700; color: #ffd3b5; }
.t-cta { position: relative; z-index: 1; text-align: center; }
.t-cta .fine { color: #a9e4de; margin-top: .5rem; }

/* Status cards */
.status-card { border-radius: var(--radius); padding: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.status-card h3 { display: flex; align-items: center; gap: .45em; margin: .9rem 0 .5rem; }
.status-card p { color: var(--ink-2); margin: 0 0 1rem; }
.status-card.is-closed { background: #f3f5f5; border: 1px dashed #c3cecc; box-shadow: none; }
.status-card.is-closed h3 { color: var(--ink-2); }
.status-card.is-closed p { margin: 0; }
.involve { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.involve > div { display: flex; }
.involve > div > .status-card { flex: 1; }
@media (max-width: 900px) { .involve { grid-template-columns: 1fr; } }

/* Sponsors */
.sponsor-wall { padding-bottom: 0; }
.logo-wall { list-style: none; padding: 0; margin: 20px 0 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logo-wall a { display: grid; place-items: center; min-width: 220px; min-height: 96px; padding: 18px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--teal-900); font-family: var(--head); font-size: 1.3rem; text-align: center; box-shadow: var(--shadow); }
.logo-wall img { max-height: 60px; width: auto; }
.logo-wall.small a { min-width: 180px; min-height: 72px; font-size: 1.1rem; box-shadow: none; }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.benefits li { background: var(--cream); border-radius: var(--radius); padding: 20px; }
.benefits h3 { font-size: 1.12rem; }
.benefits p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }
.packages-sec { background: var(--cream); }
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.package { background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; border: 2px solid transparent; box-shadow: var(--shadow); }
.package.featured { border-color: var(--orange); position: relative; }
.package h3 { font-size: 1.4rem; margin-bottom: .2rem; }
.pk-for { color: var(--muted); font-size: .92rem; min-height: 2.8em; }
.pk-price { font-family: var(--head); font-size: 2.4rem; color: var(--teal-900); margin: .2rem 0 1rem; }
.package ul { list-style: none; padding: 0; margin: 0 0 1.4rem; flex: 1; }
.package li { display: flex; gap: 10px; padding: .4em 0; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.package li .ico { color: var(--green); margin-top: .2em; }
@media (max-width: 900px) { .packages { grid-template-columns: 1fr; } }

/* Forms */
.form-sec { background: var(--cream); }
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-intro { position: sticky; top: 100px; }
.form-intro h2 { margin-top: .8rem; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } .form-intro { position: static; } }
.site-form { background: #fff; border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form-grid > * { grid-column: 1 / -1; }
.form-grid > .half { grid-column: auto; }
@media (max-width: 560px) { .form-grid > .half { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 800; margin-bottom: 6px; font-size: .95rem; }
.req { color: var(--orange-700); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1.5px solid #cbd7d5; border-radius: 10px; padding: .65em .9em; font: 500 1rem var(--body); color: var(--ink); background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 165, 157, .2); }
.field input[type=file] { font: inherit; font-size: .92rem; width: 100%; padding: 10px; border: 1.5px dashed #cbd7d5; border-radius: 10px; background: #fafcfc; }
.choices { display: flex; gap: 10px; flex-wrap: wrap; }
.choice { display: inline-flex; align-items: center; gap: .5em; padding: .55em 1em; border: 1.5px solid #cbd7d5; border-radius: 10px; cursor: pointer; font-weight: 700; }
.choice:has(input:checked) { border-color: var(--teal); background: var(--teal-50); }
.choice input { accent-color: var(--teal-700); width: 18px; height: 18px; }
.help { font-size: .86rem; color: var(--muted); margin: 6px 0 0; }
.err { color: #b42318; font-size: .86rem; font-weight: 700; margin: 6px 0 0; }
.has-err input, .has-err select, .has-err textarea { border-color: #d92d20 !important; }
.f-heading { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 6px; }
.f-heading:first-child { border: 0; padding: 0; margin: 0; }
.f-heading h3 { margin: 0; }
.f-heading .help { margin-top: 4px; }
.f-note { background: var(--teal-50); border-left: 4px solid var(--teal); padding: 14px 16px; border-radius: 0 10px 10px 0; }
.f-note .help { color: var(--ink-2); font-size: .92rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 24px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.form-foot .fine { margin: 0; flex: 1 1 240px; display: flex; gap: .4em; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 10px; font-weight: 700; }
.form-status.ok { background: #e3f3cf; color: #2f4d00; }
.form-status.bad { background: #fde8e7; color: #8a1c13; }
.site-form.done .form-grid, .site-form.done .form-foot { display: none; }
.contact-alt { list-style: none; padding: 0; margin: 1.4rem 0; }
.contact-alt li { display: flex; gap: .6em; align-items: center; padding: .4em 0; }
.contact-alt .ico { color: var(--teal-700); }

/* FAQ */
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-size: 1.6rem; border-bottom: 3px solid var(--teal); display: inline-block; padding-bottom: 4px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; font-weight: 800; font-size: 1.06rem; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--teal-50); color: var(--teal-900); display: grid; place-items: center; font-size: 1.3rem; font-weight: 700; line-height: 1; transition: transform .2s; }
.qa[open] summary::after { content: "–"; background: var(--teal); color: #fff; }
.qa summary:hover { color: var(--teal-900); }
.answer { padding: 0 0 18px; color: var(--ink-2); max-width: 72ch; }
.faq-search { margin-top: 20px; max-width: none; width: 100%; }
.faq-more { background: var(--teal-900); color: #dff4f1; border-radius: var(--radius); padding: 28px; }
.faq-more h3 { color: #fff; }

/* Speakers */
.speaker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; margin-bottom: 48px; }
.speaker-grid:empty { display: none; }
.speaker { text-align: left; }
.speaker .ph { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--teal-50) url('/assets/img/pattern-teal.webp') center / 140% auto; margin-bottom: 12px; display: grid; place-items: center; font-family: var(--head); font-size: 3rem; color: var(--teal-700); }
.speaker .ph img { width: 100%; height: 100%; object-fit: cover; }
.speaker h3 { font-size: 1.15rem; margin: 0 0 2px; }
.speaker p { margin: 0; color: var(--muted); font-size: .92rem; }
.speaker .sp-sessions { margin-top: 6px; font-size: .85rem; }
.speaker .sp-sessions a { color: var(--teal-700); }
.org-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.org-list li { padding: .5em 1em; border-radius: 999px; background: var(--cream); font-weight: 800; color: var(--teal-900); }
.speaker-photos { position: relative; margin: 0; min-height: 460px; }
.speaker-photos img { position: absolute; border-radius: var(--radius); object-fit: cover; }
.speaker-photos img:first-child { width: 52%; height: 100%; left: 8%; top: 0; z-index: 2; }
.speaker-photos img:nth-child(2) { width: 44%; right: 0; bottom: 6%; z-index: 3; border: 6px solid #fff; box-shadow: var(--shadow); }
.sp-pattern { width: 38% !important; right: 4%; top: 0; opacity: .5; z-index: 1; }

/* Footer */
.site-footer { background: var(--teal-900); color: #cfeae6; margin-top: 0; }
.pattern-strip { height: 10px; background: linear-gradient(90deg, var(--blue) 0 25%, var(--green) 25% 50%, var(--orange) 50% 75%, var(--teal) 75% 100%); }
.footer-in { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 32px; }
.f-logo { background: #fff; padding: 10px 14px; border-radius: 10px; width: 230px; margin-bottom: 18px; }
.f-dates { line-height: 1.9; font-weight: 700; color: #fff; }
.f-dates .ico { color: #7fe0d7; }
.f-about { font-size: .95rem; }
.f-nav { list-style: none; padding: 0; margin: 0; columns: 1; }
.f-nav a, .f-social a { color: #fff; text-decoration: none; display: inline-flex; gap: .45em; align-items: center; padding: .25em 0; }
.f-nav a:hover, .f-social a:hover { color: #7fe0d7; }
.ava-logo { background: #fff; border-radius: 10px; padding: 10px; width: 170px; }
.f-org .eyebrow { color: #9fe3dc; }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 18px; padding-bottom: 28px; font-size: .88rem; flex-wrap: wrap; }
.f-bottom a { color: #cfeae6; }
@media (max-width: 860px) { .footer-in { grid-template-columns: 1fr; gap: 28px; } }

/* Motion & print */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .agenda-toolbar, .site-footer, .s-actions, .agenda-foot .cta-row, .skip, .notice { display: none !important; }
  .agenda-hero { background: none; color: #000; padding: 0; }
  .agenda-hero h1, .agenda-hero .lead { color: #000; }
  .agenda-stats { display: none; }
  .session { break-inside: avoid; border-top-width: 3px; }
  .day { break-before: page; }
  .day:first-of-type { break-before: auto; }
  body { font-size: 11pt; }
}

/* Gallery, org logos, photo pairs */
.gallery-sec { padding-bottom: 24px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; margin-bottom: 10px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery .g1 { grid-row: span 2; }
.gallery .g4 { grid-column: 3; grid-row: 1; }
.gallery .g5 { grid-column: 2; grid-row: 2; }
.gallery .g3 { grid-column: 3; grid-row: 2; }
.gallery .g2 { grid-column: 2; grid-row: 1; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; } .gallery .g1 { grid-column: 1 / -1; grid-row: 1; } .gallery .g2, .gallery .g3, .gallery .g4, .gallery .g5 { grid-column: auto; grid-row: auto; } }
.orgs-sec { padding-top: 32px; }
.org-logos { list-style: none; padding: 0; margin: 18px 0 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.org-logos li { width: 104px; height: 104px; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.org-logos img { width: 100%; height: 100%; object-fit: contain; }
.logo-wall img { max-height: 90px; border-radius: 12px; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 1.2rem; }
.photo-pair img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* ===================================================================================
   AVA International style layer (avainternational.org): light headings with bold
   coloured key words, outlined uppercase buttons with two rounded corners, cards with
   one large rounded corner, full-width colour bands.
   =================================================================================== */
:root {
  --ava-grey: #5e5e5e;
  --ava-cream: #f4f1ea;
  --ava-blue: #009fdd;
  --ava-blue-700: #0079a8;
  --ava-orange-text: #d45500;   /* orange on white, readable at heading size */
  --r-card: 0;                  /* blocks, cards and photos: square */
  --radius: 0;
  --radius-sm: 0;
  --r-btn: 0 16px 0 16px;       /* two rounded corners on buttons */
}
body { color: #2b2b2b; }
h1, h2, h3, h4 { color: var(--ava-grey); }
h1 { font-size: clamp(2.6rem, 6.6vw, 5rem); line-height: 1.04; letter-spacing: -.015em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h1 strong, h2 strong, h3 strong {
  font-family: var(--head); font-weight: 400; letter-spacing: inherit; color: var(--orange);
}
h1 strong:nth-of-type(2n), h2 strong:nth-of-type(2n) { color: var(--ava-blue); }
.eyebrow { color: var(--ava-orange-text); letter-spacing: .16em; }
.eyebrow-light { color: #ffd3b5; }
.lead { color: #3a3a3a; }

/* Buttons */
.btn {
  border-radius: 0; border: 3px solid var(--orange); background: #fff; color: var(--ava-grey);
  text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .88rem; min-height: 52px; padding: .8em 1.8em;
  box-shadow: none; transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--orange); color: #fff; transform: none; }
.btn .ico { width: 1.1em; height: 1.1em; }
.btn-lg { min-height: 58px; padding: .9em 2.1em; font-size: .95rem; }
.btn-sm { min-height: 40px; padding: .45em 1.1em; font-size: .78rem; border-width: 2px; }
.btn-orange { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: none; border-radius: var(--r-btn); }
.btn-orange:hover { background: #fff; color: var(--ava-orange-text); }
.btn-teal { background: var(--ava-blue); border-color: var(--ava-blue); color: #fff; }
.btn-teal:hover { background: #fff; color: var(--ava-blue-700); border-color: var(--ava-blue); }
.btn-outline { background: #fff; color: var(--ava-grey); border-color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: #fff; }
.btn-light { background: #fff; color: var(--ava-grey); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ava-grey); }
.pill { border-radius: 0 10px 0 10px; }
.lang { border-radius: 0 10px 0 10px; }
.site-nav ul a[aria-current="page"] { color: var(--ava-orange-text); box-shadow: inset 0 -3px 0 var(--orange); }
.sub-btn.on { color: var(--ava-orange-text); box-shadow: inset 0 -3px 0 var(--orange); }
.site-nav ul.sub a[aria-current="page"] { box-shadow: none; text-decoration-color: var(--orange); }
.more { color: var(--ava-orange-text); text-transform: uppercase; letter-spacing: .1em; font-size: .88rem; }

/* One big rounded corner on cards and photos */
.pillar, ul.featured a, .venue-card, .mini-card, .tile, .meal-day, .ticket, .status-card, .logo-wall a,
.benefits li, .package, .site-form, .faq-more, .gallery figure, .speaker .ph, .photo-stack img,
.speaker-photos img, .venue-block img, .photo-pair img, .session, .slot-common .common, .countdown,
.org-logos li, .included-card { border-radius: var(--r-card); }
.photo-stack .ps-pattern, .speaker-photos .sp-pattern { border-radius: 0; }
.speaker-photos img:nth-child(2), .photo-stack .ps-b { border-radius: var(--r-card); }

/* Home hero: the original full-bleed Cibeles hero (rules at the top of this file) */
.hero .eyebrow-light { color: #ffd3b5; }

/* Page headers like avainternational.org: breadcrumb, big light title with accents */
.page-hero, .agenda-hero, .sponsor-hero { background: #fff url('/assets/img/pattern-orange-b.webp') right -60px top -40px / 300px auto no-repeat; color: var(--ink); border-bottom: 0; padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); }
.agenda-hero h1, .sponsor-hero h1 { color: var(--ava-grey); }
.agenda-hero .lead, .sponsor-hero .lead { color: #3a3a3a; }
.page-hero h1 { max-width: 15ch; margin-bottom: .4em; }
.page-hero .lead { font-size: 1.2rem; font-weight: 700; color: var(--ava-grey); max-width: 46ch; }
.crumbs { color: var(--ava-grey); font-size: 1.05rem; margin-bottom: 2rem; }
.crumbs a { color: var(--ava-grey); text-decoration: none; }
.crumbs a:hover { color: var(--ava-orange-text); }
.agenda-stats li { color: var(--muted); }
.agenda-stats b { color: var(--orange); font-family: var(--head); font-weight: 400; }
.agenda-stats li:nth-child(2) b { color: var(--ava-blue); }
.agenda-stats li:nth-child(3) b { color: var(--green); }
.agenda-stats li:nth-child(4) b { color: var(--teal); }

/* Colour bands */
.programme-teaser, .collaborate, .packages-sec, .form-sec, .pillars-sec { background: var(--ava-cream); }
.pillars-sec { padding-top: clamp(56px, 8vw, 104px); }
.pillar { background: #fff; border-top: 0; border-left: 6px solid var(--c); }
.venue-teaser { background: var(--ava-blue); }
.venue-teaser .venue-card { background: #fff; color: var(--ink); }
.venue-teaser .venue-card h2 { color: var(--ava-grey); }
.venue-teaser .venue-card .eyebrow { color: var(--ava-orange-text); }
.venue-teaser .venue-card .addr { color: var(--ava-blue-700); }
.venue-teaser .venue-card .btn-light { border-color: var(--orange); }
.venue-teaser .venue-card .btn-light:hover { background: var(--orange); color: #fff; }
.venue-teaser .venue-card .btn-ghost-light { color: var(--ava-grey); border-color: var(--orange); }
.venue-teaser .venue-card .btn-ghost-light:hover { background: var(--orange); color: #fff; }
.venue-teaser .included { color: #fff; }
.venue-teaser .included h2, .venue-teaser .included .eyebrow { color: #fff; }
.venue-teaser .included h2 strong { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 5px; text-underline-offset: 8px; }
.venue-teaser .checks li { border-bottom-color: rgba(255, 255, 255, .35); }
.venue-teaser .checks .ico { color: #fff; }
.venue-teaser .included .btn-orange:hover { border-color: #fff; }
.orgs-sec { background: #fff; }
.final-cta { background-color: var(--orange); }
.final-cta::before { background: rgba(212, 85, 0, .86); }
.final-cta h2, .final-cta h2 strong { color: #fff; }
.final-cta .btn-orange { background: #fff; color: var(--ava-orange-text); border-color: #fff; }
.final-cta .btn-orange:hover { background: transparent; color: #fff; }
.mini-card.is-open { border-top: 0; border-left: 6px solid var(--green); }
.mini-card.is-closed { border-radius: var(--r-card); }
.status-card.is-open { border-left: 6px solid var(--green); }

/* Programme */
.agenda-toolbar { background: rgba(255, 255, 255, .97); }
.tab { border-radius: 0 14px 0 14px; border-width: 2px; }
.tab[aria-selected="true"] { background: var(--ava-blue); border-color: var(--ava-blue); }
.tab[aria-selected="true"] span { color: #dff4fc; }
.chip { border-radius: 0 12px 0 12px; }
.sel select, .search input { border-radius: 0 12px 0 12px; }
.day-head { border-bottom-color: var(--orange); }
.day-head p { color: var(--ava-orange-text); }
.session { border-top: 0; border-left: 5px solid var(--room); }
ul.featured a { border-left-width: 6px; }

/* Info, FAQ, forms */
.info-block h2 .ico { color: var(--orange); }
.tile:nth-child(4n+1) { border-left: 5px solid var(--ava-blue); }
.tile:nth-child(4n+2) { border-left: 5px solid var(--green); }
.tile:nth-child(4n+3) { border-left: 5px solid var(--orange); }
.tile:nth-child(4n+4) { border-left: 5px solid var(--teal); }
.ticket { background: var(--ava-blue); }
.ticket .t-cta .btn-orange:hover { border-color: #fff; }
.faq-group h2 { border-bottom-color: var(--orange); }
.qa[open] summary::after { background: var(--orange); }
.qa summary::after { border-radius: 0 10px 0 10px; }
.faq-more { background: var(--ava-blue); }
.faq-more .btn-teal { background: #fff; color: var(--ava-blue-700); border-color: #fff; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field select, .field textarea { border-radius: 0 12px 0 12px; }
.choice { border-radius: 0 10px 0 10px; }
.package.featured { border-color: var(--orange); border-width: 3px; }
.pk-price { color: var(--ava-orange-text); font-family: var(--head); font-weight: 400; }
.package:nth-child(1) .pk-price { color: var(--ava-blue-700); }
.package:nth-child(3) .pk-price { color: #4c7800; }
.toc a:hover { border-left-color: var(--orange); }
.f-heading h3, .faq-group h2 { color: var(--ava-grey); }
.site-footer { background: #3f3f3f; }
.f-dates .ico, .f-nav a:hover, .f-social a:hover { color: #ffb37f; }
.f-org .eyebrow { color: #ffb37f; }

/* Tickets: registration through Whova */
.reg-box { background: #fff; border-radius: var(--r-card); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow); align-self: start; }
.reg-box h3 { display: flex; gap: .4em; align-items: center; font-size: 1.5rem; margin-top: .4rem; }
.reg-box .btn-lg { margin-top: .4rem; }
.tickets-sec .checks .ico { color: var(--green); }

/* Sponsors: large clickable cards */
.sponsor-grid { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.sponsor-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; height: 100%; padding: 28px 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
.sponsor-card:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: 0 14px 34px rgba(12, 79, 75, .14); color: var(--ink); }
.sp-logo { width: 100%; height: 190px; display: grid; place-items: center; margin-bottom: 8px; }
.sp-logo img { max-width: 100%; max-height: 190px; width: auto; height: auto; object-fit: contain; border-radius: 18px; }
.sp-name { font-family: var(--head); font-size: 1.35rem; color: var(--ava-grey); line-height: 1.2; }
.sp-url { font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ava-orange-text); }
.sp-note { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.home-sponsors .sp-logo { height: 150px; }
.home-sponsors .sp-logo img { max-height: 150px; }
.pk-alt { display: block; text-align: center; margin-top: 12px; font-weight: 800; font-size: .9rem; color: var(--ava-orange-text); text-decoration: none; }
.package .btn { width: 100%; white-space: normal; text-align: center; }
/* Steps */
.steps-sec { background: var(--ava-blue); }
.steps-sec h2, .steps-sec .eyebrow { color: #fff; }
.steps-sec h2 strong { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 5px; text-underline-offset: 8px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--r-card); padding: 26px 22px; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 0 14px 0 14px; background: var(--orange); color: #fff; font-weight: 900; font-size: 1.2rem; margin-bottom: 14px; }
.steps h3 { font-size: 1.2rem; }
.steps p { margin: 0; color: #3a3a3a; font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
/* Instagram */
.ig-sec { background: var(--ava-cream); }
.ig-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ig-grid a { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); }
.ig-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .35s; }
.ig-grid a:hover img { transform: scale(1.04); }
.ig-badge { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; display: grid; place-items: center; background: rgba(255, 255, 255, .92); border-radius: 0 12px 0 12px; color: var(--ava-orange-text); }
.ig-embeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.ig-embeds .instagram-media { min-width: 0 !important; margin: 0 !important; }
@media (max-width: 860px) { .ig-grid { grid-template-columns: 1fr 1fr; } }

/* No coloured accent borders on cards, sessions, tiles or notes */
.pillar { border: 0; }
ul.featured a { border-left: 0; }
.session { border: 1px solid var(--line); }
.tile:nth-child(n) { border-left: 0; }
.mini-card.is-open { border-left: 0; }
.status-card.is-open { border-left: 1px solid var(--line); }
.f-note { border-left: 0; }
.faq-group h2 { border-bottom: 0; }

/* Home: rotating featured sessions, plain topic list, objectives */
ul.featured li { transition: opacity .3s ease; }
ul.featured li.swap-out { opacity: 0; }
ul.featured a { min-height: 150px; }
.topic-list { margin: 22px 0 0; font-size: .86rem; color: var(--muted); line-height: 1.7; }
.topic-list span { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.obj-intro { font-weight: 800; margin-bottom: .4rem; }
.objectives { margin-bottom: 1.2rem; }
.objectives .ico { color: var(--green); }

/* Countdown: days and hours */
.cd-grid { grid-template-columns: 1fr; }
.hero-when .provisional { font-size: .9em; color: #a9e4de; font-weight: 600; }

/* Header: dates under the logo */
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; text-decoration: none; }
.brand-dates { font-family: var(--head); font-weight: 400; font-size: 1.12rem; line-height: 1.1; letter-spacing: 0; color: #00a49c; /* the logo's Madrid teal */ padding-left: 3px; white-space: nowrap; }

/* Hero: big dates */
.hero-dates { font-family: var(--head); font-size: clamp(1.8rem, 4.2vw, 3rem); line-height: 1.08; color: #fff; margin: .25em 0 .35em; }
.hero-dates .provisional { display: block; font-family: var(--body); font-size: 1rem; font-weight: 700; color: #a9e4de; margin-top: .45em; letter-spacing: .02em; }
.hero-when { margin-top: 0; }

/* Share band (every page) */
.share-band { background: var(--ava-cream); padding: clamp(32px, 5vw, 56px) 0; }
.share-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px 40px; align-items: center; }
.share-in h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 .3em; }
.share-in p { margin: 0; color: var(--ink-2); }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: .5em .95em; background: #fff; border: 2px solid #fff;
  color: var(--ava-grey); font: 800 .82rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.share-btn .ico { width: 1.25em; height: 1.25em; }
.share-btn:hover, .share-btn:focus-visible { border-color: var(--orange); color: var(--ava-orange-text); }
.share-whatsapp .ico { color: #1fa855; } .share-instagram .ico { color: #c13584; } .share-telegram .ico { color: #229ed9; }
.share-facebook .ico { color: #1877f2; } .share-linkedin .ico { color: #0a66c2; }
.share-status { grid-column: 1 / -1; margin: 0; font-weight: 700; color: var(--teal-700); }
@media (max-width: 860px) { .share-in { grid-template-columns: 1fr; } }
@media print { .share-band { display: none; } }

/* Programme: a little more compact; topics as plain text */
.agenda .session { padding: 11px 13px 10px; gap: 4px; }
.agenda .s-title { font-size: 1rem; }
.agenda .s-desc { font-size: .87rem; line-height: 1.45; }
.agenda .s-meta { font-size: .74rem; }
.slot { gap: 12px; padding: 9px 0; }
.slot-time { font-size: .92rem; padding-top: 11px; }
.slot-cells { gap: 12px; }
.slot-common .common { padding: 10px 16px; font-size: .95rem; }
.cont { padding: 10px 12px; font-size: .8rem; }
@media (min-width: 861px) { .slot { grid-template-columns: 66px 1fr; } }
.s-topics { gap: 0; }
.s-topics li { background: none; padding: 0; border-radius: 0; font-size: .72rem; font-weight: 700; }
.s-topics li + li::before { content: "·"; margin: 0 .4em; }

/* Info: caterer */
.caterer { background: var(--ava-cream); padding: 22px 24px; margin: 0 0 1.2rem; }
.caterer h3 { font-size: 1.5rem; margin: 0 0 .35em; }
.caterer p:not(.eyebrow) { margin: 0 0 .6em; }

/* Travel awards: eligibility note */
.awards-elig { display: flex; gap: .5em; align-items: flex-start; margin: 1rem 0 0; font-weight: 700; color: var(--ink-2); }
.awards-elig .ico { flex: none; width: 1.2em; height: 1.2em; margin-top: .2em; color: var(--green); }

/* Privacy: consent banner */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; box-shadow: 0 -8px 30px rgba(0, 0, 0, .18); padding: 18px 0; }
.consent-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 32px; align-items: center; }
.consent h2 { font-size: 1.35rem; margin: 0 0 .25em; }
.consent p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.consent-opts { display: grid; gap: 10px; margin-top: 14px; }
.consent-opt { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.consent-opt input { margin-top: .3em; width: 18px; height: 18px; flex: none; accent-color: var(--orange); }
.consent-opt b { color: var(--ink); margin-right: .3em; }
.consent-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.consent-btns .btn { min-height: 46px; padding: .6em 1.3em; font-size: .82rem; }
@media (max-width: 860px) { .consent-in { grid-template-columns: 1fr; } .consent-btns { justify-content: flex-start; } }
@media print { .consent { display: none; } }
.f-legal { display: inline-flex; gap: .4em; align-items: center; flex-wrap: wrap; }
.f-legal .link-btn { color: #cfeae6; font-weight: 400; }
.consent-placeholder { padding: 18px 20px; background: #fff; color: var(--ink-2); }

/* Privacy policy page */
.conduct-in > * { max-width: 820px; }
.conduct-in h2 { margin: 1.6em 0 .6em; }
.principles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; max-width: none; }
.principle { background: var(--cream); border-left: 4px solid var(--teal); padding: 16px 18px; border-radius: var(--radius-sm); }
.principle h3 { margin: 0 0 .3em; font-size: 1.1rem; }
.principle p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.rules { counter-reset: rule; }
.rules li { align-items: flex-start; }
.rules li::before { counter-increment: rule; content: counter(rule); flex: 0 0 1.6em; font-weight: 800; color: var(--teal-700); }
.rules .ico { display: none; }
.enforce { background: #fff3ea; border-left: 4px solid var(--orange); padding: 6px 22px 10px; margin: 2em 0; border-radius: var(--radius-sm); }
.enforce h2 { margin-top: .8em; }
.agree { margin-top: 2em; font-size: 1.05rem; }
.agree-note { margin-top: 10px; }
.legal-in > * { max-width: 760px; }
.legal-in h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 1.8em 0 .5em; }
.legal-in h2:first-of-type { margin-top: .6em; }
.legal-in ul { padding-left: 1.2em; }
.legal-in li { margin-bottom: .5em; }
.legal-in .updated { color: var(--muted); font-size: .9rem; }

/* Header: slides away on scroll down, back on scroll up; sticky bars follow it */
.site-header { transition: transform .25s ease; }
body.hdr-hidden .site-header { transform: translateY(-100%); }
.agenda-toolbar, .room-legend, .toc, .form-intro { transition: top .25s ease; }
body.hdr-hidden .agenda-toolbar { top: 0; }
.room-legend { top: calc(72px + var(--tb-h, 124px)); }
body.hdr-hidden .room-legend { top: var(--tb-h, 124px); }
body.hdr-hidden .toc, body.hdr-hidden .form-intro { top: 28px; }
@media (prefers-reduced-motion: reduce) { .site-header, .agenda-toolbar, .room-legend, .toc, .form-intro { transition: none; } }

/* Page headers: no breadcrumbs, less space before the content */
.page-hero, .agenda-hero, .sponsor-hero { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(12px, 2vw, 24px); }
.page-hero .lead { margin-bottom: 0; }
.page-hero + .section { padding-top: clamp(20px, 3vw, 40px); }

/* Phones: the Cibeles image sits at the top of the hero, visible straight away */
@media (max-width: 860px) {
  .hero { padding-top: 0; }
  .hero-bg { position: relative; right: auto; bottom: auto; width: 100%; height: clamp(180px, 52vw, 320px); opacity: 1; z-index: 0; overflow: hidden; }
  .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(12, 79, 75, 0) 40%, var(--teal-900) 100%); }
  .hero-in { padding-top: 4px; }
}

/* Phones: a more compact consent banner */
@media (max-width: 600px) {
  .consent { padding: 12px 0; }
  .consent h2 { font-size: 1.1rem; }
  .consent p { font-size: .84rem; line-height: 1.45; }
  .consent-opts { gap: 8px; margin-top: 10px; }
  .consent-opt { font-size: .84rem; }
  .consent-btns { gap: 8px; }
  .consent-btns .btn { min-height: 40px; padding: .5em .85em; font-size: .72rem; letter-spacing: .08em; }
}

/* Home hero: cut-out person on the right, in front of the Cibeles, behind the text and countdown */
.hero-person { position: absolute; bottom: 0; right: max(0px, calc((100vw - 1240px) / 2)); height: min(92%, 680px); width: auto; z-index: 0; pointer-events: none; }
.hero-in, .hero .facts { position: relative; z-index: 1; }
.hero .countdown { background: rgba(12, 79, 75, .72); border-radius: 0 24px 0 24px; }   /* half-rounded, like the primary buttons */
@media (max-width: 860px) {
  .hero-person { top: 6px; bottom: auto; right: 2%; height: clamp(190px, 56vw, 340px);
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
}

/* Home hero: national-conference line under the headline; parallax layers */
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 700; color: #d9f3f0; margin: -.2em 0 .8em; max-width: 34ch; }
.hero-bg, .hero-person { will-change: transform; }

/* Info: caterer photo */
.caterer-photo { margin: 0 0 16px; }
.caterer-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.caterer-photo figcaption { font-size: .78rem; color: var(--muted); margin-top: 6px; }

/* Info: about us — organizing team and steering committee */
.about-block h3 { font-size: 1.4rem; margin: 1.6em 0 .3em; }
.team { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.member { display: flex; gap: 14px; align-items: center; background: var(--ava-cream); padding: 12px; }
.member-ph { flex: none; width: 76px; height: 76px; overflow: hidden; background: var(--teal-900); display: grid; place-items: center; }
.member-ph img { width: 100%; height: 100%; object-fit: cover; }
.initials { font-family: var(--head); font-size: 1.6rem; color: #fff; letter-spacing: .02em; }
.member h4 { font-family: var(--head); font-weight: 400; font-size: 1.15rem; margin: 0 0 .15em; color: var(--ava-grey); }
.member p { margin: 0; font-size: .86rem; line-height: 1.4; color: var(--ink-2); }

/* Home: the facts strip sits inside the hero, clear of the white section below */
.hero .facts { margin-bottom: clamp(28px, 4vw, 48px); }

/* Home venue band: Talent Garden photo behind a blue overlay, with parallax */
.venue-teaser { position: relative; overflow: hidden; isolation: isolate; }
.venue-bg { position: absolute; left: 0; right: 0; top: -22%; bottom: -22%; z-index: -2; will-change: transform; }
.venue-bg img { width: 100%; height: 100%; object-fit: cover; }
.venue-teaser::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 159, 221, .84); }

/* Info: venue photo and Whova logo */
.venue-block .venue-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; max-height: 560px; }
.whova-logo { width: 120px; height: auto; margin: 0 0 12px; }

/* Becas: five cards fit in one row on wide screens; number field styled like the other inputs */
@media (min-width: 961px) { .cards-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.field input[type=number] { width: 100%; min-height: 48px; border: 1.5px solid #cbd7d5; border-radius: 0 12px 0 12px; padding: .65em .9em; font: 500 1rem var(--body); color: var(--ink); background: #fff; }
.form-intro .awards-elig { margin: 1rem 0; }

/* Home: AVA International band with the AVA collage */

/* Home: testimonials, with a cut-out speaker on an AVA colour shape */
.testimonials .t-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.t-figure { position: relative; align-self: end; }
.t-shape { position: absolute; left: 0; right: 0; bottom: 0; height: 80%; background: var(--orange); clip-path: polygon(0 0, 60% 0, 100% 100%, 0 100%); }
.t-figure img { position: relative; display: block; width: 92%; height: auto; margin-left: 4%; }
.quotes { list-style: none; padding: 0; margin: 22px 0 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.quotes li { background: var(--ava-cream); padding: 22px 22px 18px; display: flex; flex-direction: column; justify-content: space-between; }
.quotes blockquote { margin: 0; }
.quotes blockquote p { margin: 0 0 14px; font-family: var(--head); font-size: 1.15rem; line-height: 1.35; color: var(--ava-grey); }
.q-by { margin: 0; font-size: .86rem; color: var(--ink-2); }
.q-by strong { display: block; color: var(--ava-orange-text); font-weight: 800; }
@media (max-width: 860px) {
  .testimonials .t-layout { grid-template-columns: 1fr; }
  .t-figure { max-width: 300px; }
  .quotes { grid-template-columns: 1fr; }
}

/* Home: AVA collage full width, text set in its empty upper-middle area (stacked above it on narrower screens) */
.ava-global { background: var(--ava-cream); padding-top: clamp(32px, 4vw, 56px); overflow: hidden; }
.ava-stage { position: relative; max-width: 1600px; margin: 0 auto; }
.ava-stage .ava-collage { display: block; width: 100%; height: auto; }
.ava-copy { position: absolute; left: 41%; top: 2%; width: 42%; }
.ava-copy h2 { font-size: clamp(1.8rem, 2.9vw, 2.9rem); margin-bottom: .35em; }
.ava-copy p { font-size: clamp(.95rem, 1.1vw, 1.12rem); line-height: 1.55; margin: 0 0 1.1em; color: #3a3a3a; }
@media (max-width: 1000px) {
  .ava-stage { display: flex; flex-direction: column; }
  .ava-copy { order: -1; position: static; width: auto; max-width: 640px; padding: 0 var(--gutter) 28px; }
}

/* Policies page */
.policies-intro { margin-bottom: 1.6rem; max-width: 72ch; }
.policies-intro p { color: var(--ink-2); }
.qa.policy { scroll-margin-top: 110px; }
.qa.policy .answer h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.qa.policy .answer ul, .qa.policy .answer ol { padding-left: 1.3em; }
.qa.policy .answer li { margin-bottom: .4em; }
.qa.policy .answer .updated { color: var(--muted); font-size: .88rem; }

/* Policies: hero with the movement-landscape diagram */
.policy-hero { background: #fff; padding: clamp(32px, 5vw, 72px) 0 clamp(16px, 3vw, 40px); }
.ph-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.policy-hero h1 { font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.08; color: var(--ava-grey); margin: 0 0 .5em; }
.policy-hero h1 strong { color: var(--green); }
.ph-lead { font-weight: 800; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.35; color: var(--ava-grey); margin: 0 0 1em; }
.ph-copy > p:last-child { color: #3a3a3a; line-height: 1.8; }
.ph-venn { margin: 0; }
.venn { display: block; width: 100%; height: auto; max-width: 560px; margin: 0 auto; }
.ph-key-title { text-align: center; font-weight: 800; color: var(--ava-grey); margin: 14px 0 10px; }
.ph-key { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; text-align: center; }
.ph-key li { font-size: .82rem; font-weight: 800; line-height: 1.25; color: var(--ava-grey); }
.ph-key .sw { display: block; width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 8px; }
.ph-key .sw-ring { border: 2px dashed #2a9fd6; }
@media (max-width: 900px) { .ph-in { grid-template-columns: 1fr; } .ph-key { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Policies: incident form inside the conduct policy */
.incident-form { margin: 14px 0 22px; }
.incident-form .site-form { box-shadow: none; border: 1px solid var(--line); }
.refund-note { margin-top: .6rem; }
.f-legal .link-btn { text-decoration: none; }
.f-legal .link-btn:hover { text-decoration: underline; }

/* Speakers page: organizations block */
.orgs-sec h2.center { margin-bottom: .3em; }
.orgs-lead { max-width: 56ch; margin: 0 auto 8px; }


/* Mobile review (2026-10-10) */
@media (max-width: 860px) {
  /* page headers: no pattern behind the text */
  .page-hero, .agenda-hero, .sponsor-hero { background-image: none; }
  /* buttons may wrap instead of stretching the page */
  .btn { white-space: normal; text-align: center; line-height: 1.2; }
  .info-layout, .involve, .form-layout, .packages, .cards-4, .featured, .pillars, .split { grid-template-columns: minmax(0, 1fr); }
  /* speakers: three columns of small photos */
  .speaker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; margin-bottom: 32px; }
  .speaker .ph { margin-bottom: 6px; }
  .speaker h3 { font-size: .86rem; line-height: 1.2; margin: 0 0 1px; }
  .speaker p { font-size: .72rem; line-height: 1.3; }
  .org-logos li { width: 84px; height: 84px; }
  /* programme: compact toolbar */
  .agenda-stats { gap: 14px 18px; margin-top: 14px; }
  .agenda-stats b { font-size: 1.45rem; }
  .agenda-stats li { font-size: .9rem; }
  .tb-in { gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .tab { flex-direction: row; align-items: baseline; gap: .4em; padding: .35em .75em; min-height: 36px; }
  .tab b { font-size: .95rem; }
  .tab span { display: none; }   /* the date is in the day heading below */
  .tabs { gap: 6px; }
  .filters { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .filters .search { grid-column: 1 / -1; order: 3; }
  .sel select, .search input, .chip { min-height: 36px; font-size: .88rem; }
}
@media (min-width: 861px) and (max-width: 1080px) { .speaker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
