/* =========================================================================
   APCSS 2026 – single stylesheet
   1. Tokens          5. Components (header, nav, page band, buttons, speakers, footer)
   2. Reset / base    6. Page sections (home, accommodation, courses, programme tables)
   3. Typography      7. Utilities  (Tailwind-like: flex, grid, gap-4, mt-6, md:grid-cols-3 ...)
   4. Layout          Breakpoints: md = 768px, lg = 1025px (desktop menu)
   ========================================================================= */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --c-navy: #01034e;         /* menu text, outline buttons */
  --c-blue: #0a0d83;         /* header gradient start */
  --c-blue-dark: #05003b;    /* header gradient end */
  --c-sky: #93afcf;          /* light buttons on dark cards */
  --c-heading: #192a3d;
  --c-text: #3a4f66;
  --c-muted: #69727d;
  --c-border: #e1e8ed;
  --c-band: #f2f5f7;         /* page title band */
  --c-bg: #fafbfc;
  --c-white: #fff;
  --c-footer: #131c4e;
  --c-tab: #1559ed;          /* programme tabs */

  --f-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

  --container: 1290px;
  --container-home: 1140px;
  --gutter: 1.2rem;
  --radius: 3px;
  --shadow: 0 12px 18px -6px rgba(34, 56, 101, .04);
  --shadow-card: 0 0 10px 0 rgba(0, 0, 0, .15);
  --ease: .2s ease;
}

/* 2. Reset / base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 16px/1.65 var(--f-body);
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; }
iframe { border: 0; }
a { color: var(--c-tab); transition: color var(--ease); }
a:hover { color: var(--c-heading); }
button { font: inherit; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
hr { height: 0; margin: 0 0 1.5em; border: 0; border-top: 1px solid var(--c-border); }
::selection { color: #fff; background: var(--c-blue); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 8px 16px; background: #fff; }

/* 3. Typography ------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--c-heading); font-weight: 700; line-height: 1.5; }
h1 { font-size: 30px; }
h2 { font-size: 35px; line-height: 1; }
h3 { font-size: 30px; line-height: 1.3; }
h4 { font-size: 25px; line-height: 1.4; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }
p { margin: 0 0 1.5em; }
ul, ol { margin: 0 0 1.5em; padding-left: 2em; }
strong, b { font-weight: 700; }

/* .prose: plain HTML content (p, h2, ul, table, img ...) needs no classes */
.prose { overflow-wrap: break-word; }
.prose > :last-child { margin-bottom: 0; }
.prose :is(h1, h2, h3, h4, h5, h6) { margin-top: 1.2em; }
.prose > :is(h1, h2, h3, h4, h5, h6):first-child, .prose div > :is(h1, h2, h3, h4, h5, h6):first-child { margin-top: 0; }
.prose table { margin-bottom: 1.5em; }
.prose :is(td, th) { padding: .7em 1em; border: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.prose th { font-weight: 700; }
.prose :is(td, th).text-center { text-align: center; }
.table-scroll { overflow-x: auto; }

/* 4. Layout ----------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-home { max-width: calc(var(--container-home) + var(--gutter) * 2); }
.section { padding-block: 60px; }

/* Content + optional sidebar: <div class="layout has-sidebar"><div class="layout-main">…</div><aside class="layout-sidebar">…</aside></div> */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 1025px) {
  .layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 316px; gap: 0; }
  .layout-sidebar { padding-left: 35px; }
}
.content-box { padding: 2rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.widget-title { margin: 0 0 1.2em; font-size: 30px; line-height: 1.5; }
.widget p { margin: 0 0 1.5em; }

/* 5. Components ------------------------------------------------------------- */

/* Header: blue banner (logo, partner logos, Register) + white menu bar */
.site-header { position: relative; z-index: 50; background: #fff; }
.header-main { padding: 30px 10px; background: linear-gradient(180deg, var(--c-blue) 0%, var(--c-blue-dark) 100%); }
.header-main .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 1180px; }
.site-logo { flex: 0 1 722px; }
.site-logo img { display: block; width: 100%; }
.header-side { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 24px; width: 240px; }
.header-logos { display: block; width: 240px; }
.header-bar { display: flex; justify-content: center; padding: 6px 10px; background: #fff; }

/* Desktop navigation (from 1025px) */
.nav { display: none; }
.nav ul { margin: 0; padding: 0; list-style: none; }
.nav > ul { display: flex; flex-wrap: wrap; justify-content: center; }
.nav li { position: relative; }
.nav > ul > li { display: flex; }
.nav > ul > li > a {
  position: relative; display: flex; align-items: center; gap: 6px; padding: 13px 12px; font-size: 14px; line-height: 20px;
  text-decoration: none; white-space: nowrap; color: var(--c-navy);
}
.nav > ul > li > a::before, .nav > ul > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; height: 3px; background: var(--c-navy); opacity: 0; transition: opacity var(--ease), transform var(--ease);
}
.nav > ul > li > a::before { top: 0; height: 1px; transform: scaleX(.6); }
.nav > ul > li > a::after { bottom: 0; transform: scaleX(.6); }
.nav > ul > li:hover > a::before, .nav > ul > li:focus-within > a::before,
.nav > ul > li.is-active > a::before { opacity: 1; transform: none; }
.nav .chevron { width: 9px; height: 9px; fill: currentColor; }
.nav .submenu {
  position: absolute; top: 100%; left: 0; z-index: 10; min-width: 220px; background: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}
.nav li:hover > .submenu, .nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.nav .submenu a { display: block; padding: 12px 18px; font-size: 14px; line-height: 1.5; color: var(--c-navy); text-decoration: none; white-space: nowrap; transition: color var(--ease), background var(--ease); }
.nav .submenu a:hover, .nav .submenu a:focus-visible, .nav .submenu a[aria-current] { color: #fff; background: var(--c-navy); outline: none; }

/* Mobile menu trigger + off-canvas panel */
.menu-toggle { display: flex; padding: 6px; color: var(--c-navy); background: #f1f2f3; border: 0; border-radius: 3px; }
.menu-toggle svg { width: 26px; height: 26px; fill: currentColor; }
.offcanvas { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.offcanvas.is-open { visibility: visible; }
.offcanvas-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); opacity: 0; transition: opacity .3s; }
.offcanvas-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(90vw, 400px); padding: 20px 24px; overflow-y: auto;
  background: var(--c-footer); box-shadow: 0 0 70px rgba(0, 0, 0, .35); transform: translateX(100%); transition: transform .3s;
}
.offcanvas.is-open .offcanvas-backdrop { opacity: 1; }
.offcanvas.is-open .offcanvas-panel { transform: none; }
.offcanvas-close { display: flex; margin-left: auto; padding: 8px; color: #fff; background: none; border: 0; }
.offcanvas-close svg { width: 14px; height: 14px; fill: currentColor; }
.mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.mobile-nav > ul { margin-top: 16px; }
.mobile-nav li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-nav a { display: block; padding: 12px 0; font-size: 16px; line-height: 1.4; color: #fff; text-decoration: none; }
.mobile-nav a:hover, .mobile-nav a[aria-current] { color: var(--c-sky); }
.mobile-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mobile-nav-row a { flex: 1; }
.mobile-nav-row button { display: flex; padding: 10px 12px; color: #fff; background: none; border: 0; border-left: 1px solid rgba(255, 255, 255, .1); }
.mobile-nav-row svg { width: 10px; height: 10px; fill: currentColor; transition: transform var(--ease); }
.mobile-nav .submenu { display: none; padding-left: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.mobile-nav .submenu li:last-child { border-bottom: 0; }
.mobile-nav li.is-open > .submenu { display: block; }
.mobile-nav li.is-open > .mobile-nav-row svg { transform: rotate(180deg); }
body.no-scroll { overflow: hidden; }

/* Page title band */
.page-hero { display: flex; align-items: center; min-height: 145px; padding-block: 20px; text-align: center; background: var(--c-band); }
.page-hero h1 { margin: 0; }

/* Buttons: .btn (grey) / .btn-light / .btn-outline / .btn-outline-light / .btn-pill */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px;
  font: 400 15px/1 var(--f-body); text-align: center; text-decoration: none !important; color: #fff;
  background: var(--c-muted); border: 0; border-radius: 3px; transition: background var(--ease), color var(--ease), box-shadow var(--ease);
}
.btn:hover { color: #fff; background: var(--c-navy); }
.btn-light { color: var(--c-navy); background: var(--c-sky); }
.btn-light:hover { color: var(--c-navy); background: #fff; }
.btn-outline { color: var(--c-navy); background: transparent; border: 3px solid var(--c-navy); }
.btn-outline:hover { color: #fff; background: var(--c-navy); }
.btn-outline-light { color: #fff; background: transparent; border: 3px solid #fff; border-radius: 22px; }
.btn-outline-light:hover { color: var(--c-navy); background: #fff; }
.btn-pill { padding: 14px 28px; background: #32373c; border-radius: 9999px; }

/* Icon list: <ul class="icon-list"><li>{icon}<span>…</span></li></ul> */
.icon-list { margin: 0; padding: 0; list-style: none; }
.icon-list li { display: flex; align-items: flex-start; gap: 10px; }
.icon-list li + li { margin-top: 8px; }
.icon-list svg { flex: none; width: 16px; height: 16px; margin-top: .25em; fill: currentColor; }
.icon-list a { color: inherit; text-decoration: none; }
.icon-list a:hover { text-decoration: underline; }

/* Speakers list (pages/speakers.php) */
.speakers { display: grid; gap: 35px 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .speakers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1025px) { .speakers { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.speaker-card {
  display: flex; flex-direction: column; overflow: hidden; text-align: center; text-decoration: none; color: inherit;
  background: #fff; border-radius: 3px; box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15); transition: box-shadow var(--ease);
}
.speaker-card:hover { color: inherit; box-shadow: 0 0 30px 0 rgba(0, 0, 0, .15); }
.speaker-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.speaker-card-body { padding: 18px 12px 20px; }
.speaker-card-name { display: block; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--c-tab); }
.speaker-card:hover .speaker-card-name { color: var(--c-heading); }
.speaker-card-org { display: block; margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--c-muted); }

/* Single speaker (pages/speaker.php) */
.speaker-single { display: flex; flex-wrap: wrap; gap: 30px; padding: 30px; background: #f1f2f6; border-radius: var(--radius); }
.speaker-single-photo { display: block; flex: none; width: 160px; height: 160px; object-fit: cover; border-radius: 3px; }
.speaker-single-body { flex: 1 1 320px; }
.speaker-single h1 { margin: 0 0 12px; font-size: 30px; line-height: 1.3; }
.speaker-single-org { margin: 0; padding-bottom: 20px; font-size: 14px; color: var(--c-muted); border-bottom: 1px solid #b9cde2; }
.speaker-single-bio { margin-top: 20px; font-size: 14px; }

/* Lightbox: any link to an image (or <a data-lightbox="group">) opens it full screen */
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; color: #fff; background: rgba(0, 0, 0, .92); border: 0; }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: fade-in .25s ease; }
@keyframes fade-in { from { opacity: 0; } }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { display: block; max-width: min(90vw, 1400px); max-height: 82vh; margin: auto; }
.lightbox figcaption { min-height: 20px; margin-top: 12px; font-size: 13px; opacity: .8; }
.lightbox button { position: absolute; display: flex; padding: 12px; color: #fff; background: rgba(255, 255, 255, .1); border: 0; border-radius: 50%; transition: background var(--ease); }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox .i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { top: 50%; left: 16px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 16px; transform: translateY(-50%); }
.lightbox-count { position: absolute; top: 24px; left: 24px; font-size: 13px; opacity: .8; }
.lightbox.is-single :is(.lightbox-prev, .lightbox-next, .lightbox-count) { display: none; }
a[data-lightbox] { display: block; overflow: hidden; cursor: zoom-in; }
a[data-lightbox] img { width: 100%; transition: transform .4s ease; }
a[data-lightbox]:hover img { transform: scale(1.04); }
body.modal-open { overflow: hidden; }

/* Gallery: <div class="gallery gallery-3"><a href="big.jpg"><img …></a> …</div> */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .gallery-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery img { aspect-ratio: 3 / 2; object-fit: cover; }

/* Tabs (pages/scientific-programme.php): <div class="tabs" data-tabs> … (see site.js) */
.tabs-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 20px; }
.tabs-list button { flex: 1 1 200px; max-width: 260px; padding: 15px 20px; font-size: 16px; line-height: 1.4; color: #54595f; background: #f1f2f3; border: 0; transition: background var(--ease), color var(--ease); }
.tabs-list button:hover { color: #fff; background: var(--c-blue); }
.tabs-list button[aria-selected="true"] { font-weight: 700; color: #fff; background: var(--c-tab); }
.tab-panel:focus-visible { outline: 2px solid var(--c-tab); outline-offset: 4px; }

/* Footer */
.site-footer { color: #fff; background: var(--c-footer); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 64px; }
@media (min-width: 1025px) { .footer-grid { grid-template-columns: 46fr 17fr 20fr; gap: 60px; } }
.footer-title { margin: 0 0 20px; font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--c-border); }
.footer-about p { margin: 30px 0 0; }
.footer-social { display: flex; gap: 18px; }
.footer-social a { display: flex; color: var(--c-muted); transition: color var(--ease); }
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 23px; height: 23px; fill: currentColor; }
.footer-nav ul { margin: 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; font-size: 12px; line-height: 1.5; color: var(--c-border); text-decoration: none; }
.footer-nav a:hover, .footer-nav a[aria-current] { color: var(--c-sky); }
.footer-nav .chevron { width: 8px; height: 8px; fill: currentColor; }
.footer-nav .submenu { padding-left: 12px; }
.footer-contact img { display: block; width: 120px; margin-bottom: 16px; }
.footer-contact .icon-list { font-size: 12px; line-height: 1.5; color: var(--c-border); }
.footer-contact .icon-list svg { width: 14px; height: 14px; margin-top: .1em; }

.to-top {
  position: fixed; right: 30px; bottom: 30px; z-index: 40; display: flex; padding: 10px; color: #fff; background: var(--c-navy); border-radius: 3px;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--ease), transform var(--ease), visibility var(--ease), background var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; background: var(--c-tab); }
.to-top svg { width: 18px; height: 18px; }

/* Responsive embeds: <div class="embed"><iframe …></iframe></div> (vimeo() helper) */
.embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; margin-bottom: 1.5em; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 6. Page sections ---------------------------------------------------------- */

/* Home */
.home-banner img { display: block; width: 100%; min-height: 220px; object-fit: cover; object-position: 30% 50%; }
.home-band { padding-block: 24px; color: #fff; background: linear-gradient(90deg, var(--c-blue), var(--c-blue-dark)); }
.home-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 32px; text-align: center; }
.home-band img { width: 72px; border-radius: 4px; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.home-band h2 { margin: 0; color: #fff; }
.home-band p { margin: 0; }
.home-band .btn { flex: none; padding: 14px 28px; border-radius: 9999px; }
@media (min-width: 768px) { .home-band-inner { flex-wrap: nowrap; text-align: left; } .home-band-text { flex: 1; } }
.home-photo-band { position: relative; padding-block: 70px; color: #fff; text-align: center; background: center 40% / cover no-repeat; }
.home-photo-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 13, 131, .82), rgba(5, 0, 59, .7)); }
.home-photo-band-inner { position: relative; }
.home-photo-band h2 { margin: 0 0 .25em; color: #fff; font-size: clamp(28px, 4vw, 40px); }
.home-photo-band p { margin: 0 0 1.25em; }
.home-photo-band .btn { padding: 14px 28px; border-radius: 9999px; }
.home-section { padding-block: 30px; }
.home-section h2 { margin-bottom: 20px; }
.home-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 768px) { .home-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.home-card { position: relative; padding: 40px; overflow: hidden; background: center / cover no-repeat; border-radius: 30px; }
.home-card + .home-card { background-position: 0 100%; }
.home-card + .home-card::before { content: ""; position: absolute; inset: 0; background: #880303; opacity: .84; }
.home-card > * { position: relative; }
.home-card h2 { color: var(--c-border); }
.home-invitation { position: relative; padding-block: 50px; overflow: hidden; }
.home-invitation::before { content: ""; position: absolute; inset: 0; background: url(../../wp-content/uploads/2026/01/8805.jpg) center / cover; opacity: .21; filter: brightness(.46) contrast(.94) saturate(.15); }
.home-invitation-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; }
@media (min-width: 1025px) { .home-invitation-grid { grid-template-columns: 334px minmax(0, 1fr); gap: 20px; } }
.home-invitation h2 { margin: 0; }
.compliance { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px; }
.compliance p { flex: 1 1 480px; }
.compliance img { width: 280px; }

/* Contact */
.contact-logo { width: 250px; }
.contact .icon-list { font-size: 15px; }

/* Accommodation */
.hotels { display: grid; gap: 20px; }
.hotel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px; background: #f3f3f3; }
@media (min-width: 768px) { .hotel { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); align-items: center; } }
.hotel-photo { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hotel-body h5 { margin: 0 0 .5em; }
.hotel-body p { margin-bottom: .75em; }

/* Premeeting courses */
.box { padding: 20px 24px; margin-bottom: 20px; }
.box > :last-child { margin-bottom: 0; }
.box-note { background: #fcecec; }
.box-info { background: #f0f7ff; }
.box h3 { font-size: 24px; }
.course-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 768px) { .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.course-grid .box { margin: 0; }

/* Programme tables (pages/scientific-programme.php) – colours from the WordPress page */
table.program { color: #333; border: 0; border-collapse: collapse; }
table.program th { padding: 15px; font-size: 22pt; line-height: 1.4; color: #fff; background-color: #040054; border: 0; }
table.program td { padding: 8px; border: 0; vertical-align: top; }
.program .session { background: #9e9e9e; font-size: 13pt; color: #fff; }
.program .oral { background: #4cb060; font-size: 13pt; color: #fff; }
.program .oral2 { background: #a8e8b5; font-size: 13pt; }
.program .halla { color: #fff; background-color: #2f3661; font-weight: bold; text-align: center; font-size: large; }
.program .hallb { color: #fff; background-color: #414b88; font-weight: bold; text-align: center; font-size: large; }
.program .hallc { color: #fff; background-color: #5361ad; font-weight: bold; text-align: center; font-size: large; }
.program .halld { color: #fff; background-color: #7584d5; font-weight: bold; text-align: center; }
.program .session-alt { background: #adbee5; }
.program .break { background: #deedd7; }
.program .opening { background: #7db4b2; }
.program .special { background: #2d4b8f; color: #fff; font-size: 22px; }
.program .social { background: #41bbc7; }
.program .panel { background: #76a439; color: #fff; }
.program .keynote { background: #cca83d; color: #fff; }
.program .green2 { background: #28a02e; color: #fff; }
.program .sat { background: #b3bbe6; color: #000; }
.program .kurs { background: #666; color: #fff; }
.program .kurs2 { background: #e9e9e9; }

/* 7. Utilities -------------------------------------------------------------- */
.block { display: block; } .inline-block { display: inline-block; } .hidden { display: none; }
.flex { display: flex; } .inline-flex { display: inline-flex; } .grid { display: grid; }
.flex-col { flex-direction: column; } .flex-row { flex-direction: row; } .flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; } .flex-none { flex: none; } .grow { flex-grow: 1; }
.items-start { align-items: flex-start; } .items-center { align-items: center; } .items-end { align-items: flex-end; } .items-stretch { align-items: stretch; }
.justify-start { justify-content: flex-start; } .justify-center { justify-content: center; } .justify-end { justify-content: flex-end; } .justify-between { justify-content: space-between; } .justify-around { justify-content: space-around; }
.self-center { align-self: center; } .mx-auto { margin-inline: auto; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); } .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; } .col-span-full { grid-column: 1 / -1; }

.gap-0 { gap: 0; } .gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-5 { gap: 20px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; } .gap-10 { gap: 40px; } .gap-12 { gap: 48px; }

.m-0 { margin: 0; } .mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-5 { margin-bottom: 20px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; } .mb-12 { margin-bottom: 48px; }
.p-0 { padding: 0; } .p-2 { padding: 8px; } .p-4 { padding: 16px; } .p-6 { padding: 24px; } .p-8 { padding: 32px; }
.pt-0 { padding-top: 0; } .pb-0 { padding-bottom: 0; }
.px-4 { padding-inline: 16px; } .px-6 { padding-inline: 24px; } .py-4 { padding-block: 16px; } .py-8 { padding-block: 32px; } .py-12 { padding-block: 48px; }

.w-full { width: 100%; } .h-full { height: 100%; }
.relative { position: relative; } .overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; } .aspect-square { aspect-ratio: 1; } .aspect-video { aspect-ratio: 16 / 9; }
.rounded { border-radius: var(--radius); } .shadow { box-shadow: var(--shadow-card); }

.text-left { text-align: left; } .text-center { text-align: center; } .text-right { text-align: right; }
.text-xs { font-size: 12px; } .text-sm { font-size: 14px; } .text-base { font-size: 16px; } .text-lg { font-size: 20px; } .text-xl { font-size: 24px; }
.font-normal { font-weight: 400; } .font-bold { font-weight: 700; }
.italic { font-style: italic; } .uppercase { text-transform: uppercase; }
.text-muted { color: var(--c-muted); } .text-white { color: #fff; }
.bg-white { background: #fff; } .bg-band { background: var(--c-band); }

/* Responsive variants */
@media (min-width: 768px) {
  .md\:flex { display: flex; } .md\:grid { display: grid; } .md\:hidden { display: none; } .md\:block { display: block; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
}
@media (min-width: 1025px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Desktop navigation breakpoint */
@media (min-width: 1025px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}

/* Small screens */
@media (max-width: 1024.98px) {
  .section { padding-block: 40px; }
  .header-side { width: 180px; gap: 16px; }
  .header-logos { width: 180px; }
}
@media (max-width: 767.98px) {
  :root { --gutter: 1rem; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
  h4 { font-size: 21px; }
  .header-main { padding: 20px 0; }
  .header-main .container { flex-direction: column; gap: 16px; }
  .site-logo { flex: none; width: 100%; }
  .header-side { flex-direction: row; align-items: center; justify-content: center; width: 100%; }
  .header-logos { width: 170px; }
  .content-box { padding: 1.25rem; }
  .home-card { padding: 30px 24px; }
  .speaker-single { padding: 20px; }
  table.program th { font-size: 16pt; }
  .to-top { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
