/* ==========================================================================
   FICAC 2027 — European Regional Conference
   Built from Figma: FICAC-Conference / "Website (September 2026)"
   Desktop design frame: 1728px wide, 160px side gutters.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy: #01207a;
  --maroon: #750706;
  --lilac: #c3bedf;
  --grey-100: #f1f1f1;
  --grey-300: #c8cbd0;
  --white: #ffffff;
  --black: #000000;

  --ink-56: rgba(0, 0, 0, 0.56);
  --ink-72: rgba(0, 0, 0, 0.72);
  --ink-40: rgba(0, 0, 0, 0.4);
  --ink-32: rgba(0, 0, 0, 0.32);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid scale — values hit the Figma spec at 1728px */
  --gutter: clamp(16px, 9.26vw, 160px);
  --content: 1408px;
  --space-220: clamp(112px, 12.73vw, 220px);
  --space-160: clamp(80px, 9.26vw, 160px);
  --space-96: clamp(56px, 5.56vw, 96px);
  --space-72: clamp(40px, 4.17vw, 72px);
  --space-48: clamp(32px, 2.78vw, 48px);
  --radius-section: clamp(40px, 4.63vw, 80px);

  --fs-display: clamp(52px, 5.56vw, 96px);
  --fs-h1: clamp(38px, 3.7vw, 64px);
  --fs-h2: clamp(32px, 2.78vw, 48px);
  --fs-lead: clamp(19px, 1.39vw, 24px);
  --fs-h4: clamp(24px, 1.85vw, 32px);
  --fs-h5: clamp(20px, 1.39vw, 24px);
  --fs-h6: 20px;
  --fs-body-lg: clamp(18px, 1.16vw, 20px);
  --fs-body: 16px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 24px;
  color: var(--black);
  background: var(--grey-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

/* Figma trims text boxes to cap-height / baseline; mirror that where supported
   so vertical rhythm matches the design 1:1. */
h1,
h2,
h3,
h4,
h5,
p,
label,
.trim {
  text-box: trim-both cap alphabetic;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Stacked sections: each section's rounded bottom sits on the colour of the
   section below it, so the outer layer carries the "next" colour. */
.layer {
  position: relative;
}

.layer__inner {
  position: relative;
  border-radius: 0 0 var(--radius-section) var(--radius-section);
}

.bg-grey { background-color: var(--grey-100); }
.bg-white { background-color: var(--white); }
.bg-lilac { background-color: var(--lilac); }
.bg-navy { background-color: var(--navy); }

.next-grey { background-color: var(--grey-100); }
.next-white { background-color: var(--white); }
.next-lilac { background-color: var(--lilac); }
.next-navy { background-color: var(--navy); }

/* Two-column "title | content" rows used across the site (337 / 813 on 1408) */
.split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-48);
}

.split__title {
  flex: 0 1 337px;
}

.split__title--wide {
  flex-basis: 456px;
}

.split__body {
  flex: 0 1 813px;
  min-width: 0;
}

@media (max-width: 960px) {
  .split {
    flex-direction: column;
  }
  .split > * {
    flex-basis: auto;
    width: 100%;
  }
}

/* ---------- Typography ---------- */
.section-title {
  font-size: var(--fs-h2);
  line-height: 1.0834; /* 52 / 48 */
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--ink-56);
}

.section-title strong {
  font-weight: 600;
  color: var(--black);
}

.section-title--center {
  text-align: center;
}

.h6 {
  font-size: var(--fs-h6);
  line-height: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.body-lg {
  font-size: var(--fs-body-lg);
  line-height: 1.5; /* 30 / 20 */
}

.muted {
  opacity: 0.72;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 17px 24px 17px 26px;
  border-radius: 999px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn > span {
  display: block;
  text-box: trim-both cap alphabetic;
}

.btn img {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.2s ease;
}

.btn:hover img {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
}

.btn--primary:hover {
  background: #001860;
}

.btn--outline {
  border: 2px solid var(--navy);
  padding: 15px 22px 15px 24px;
  color: var(--black);
}

.btn--outline:hover {
  background: var(--white);
}

.btn--sm {
  gap: 6px;
  padding: 14px 18px 14px 20px;
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy);
}

.link-arrow img {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.link-arrow:hover img {
  transform: translateX(3px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--grey-100);
  font-weight: 500;
  white-space: nowrap;
}

.chip > span {
  display: block;
  text-box: trim-both cap alphabetic;
}

.chip img {
  width: 16px;
  height: 14px;
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--grey-100);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: none;
}

.brand__ficac {
  width: 80px;
  height: 80px;
}

.brand__hcc {
  width: 87px;
  height: 72px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  display: block;
  font-weight: 500;
  white-space: nowrap;
  text-box: trim-both cap alphabetic;
  transition: color 0.2s ease;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--navy);
}

.nav__toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--white);
  align-items: center;
  justify-content: center;
}

.nav__toggle-bars,
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--black);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.nav__toggle-bars {
  position: relative;
}

.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav__toggle-bars::before { top: -6px; }
.nav__toggle-bars::after { top: 6px; }

.nav__toggle[aria-expanded="true"] .nav__toggle-bars {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1500px) {
  .nav__menu,
  .nav__links {
    gap: 22px;
  }
}

@media (max-width: 1420px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px var(--gutter) 32px;
    background: var(--grey-100);
    border-bottom: 1px solid var(--grey-300);
    box-shadow: 0 24px 32px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .nav__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__links a {
    padding: 18px 0;
    border-bottom: 1px solid var(--grey-300);
    font-size: 20px;
    text-box: none;
    line-height: 24px;
  }

  .nav__menu .btn {
    align-self: flex-start;
  }
}

@media (max-width: 600px) {
  .nav {
    padding-block: 16px;
  }
  .brand {
    gap: 16px;
  }
  .brand__ficac {
    width: 56px;
    height: 56px;
  }
  .brand__hcc {
    width: 61px;
    height: 50px;
  }
}

/* ==========================================================================
   Home — hero
   ========================================================================== */
.hero {
  position: relative;
  z-index: 2; /* let the Register badge's shadow fall onto the next section */
  padding-top: var(--space-96);
}

.hero__heading {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 694px;
}

.hero__title {
  font-size: var(--fs-display);
  line-height: 1.0417; /* 100 / 96 */
  font-weight: 600;
  letter-spacing: -0.05em;
}

.hero__subtitle {
  font-size: var(--fs-h2);
  line-height: 1.0834;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink-56);
}

.hero__stage {
  position: relative;
  margin-top: var(--space-96);
}

.hero__meta {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 1;
  pointer-events: none;
}

.hero__meta p {
  position: absolute;
  top: 0;
  white-space: nowrap;
}

.hero__meta p:nth-child(1) { left: var(--gutter); }
.hero__meta p:nth-child(2) { left: 54.63%; } /* 944 / 1728 */
.hero__meta p:nth-child(3) { left: 65.45%; } /* 1131 / 1728 */

.hero__meta .hero__place {
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -0.03em;
}

.hero__image {
  aspect-ratio: 1728 / 668;
  overflow: hidden;
  -webkit-mask: url("../assets/icons/hero-mask.svg?v=3") 0 0 / 100% 100% no-repeat;
  mask: url("../assets/icons/hero-mask.svg?v=3") 0 0 / 100% 100% no-repeat;
}

.hero__image {
  position: relative;
}

/* The mask's corners are shallower now, so keep the meta row clear of the photo */
@media (min-width: 1201px) {
  .hero__stage {
    padding-top: 24px;
  }
}

.hero__image picture {
  display: block;
  height: 100%;
}

/* Slideshow: slides wait off to the right, slide in, then leave to the left */
.hero__slide {
  position: absolute;
  inset: 0;
  transform: translateX(100%);
}

.hero__slide.is-active {
  transform: none;
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero__slide.is-leaving {
  transform: translateX(-100%);
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero__slide.is-leaving-back {
  transform: translateX(100%);
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Holds the masked photos and their controls (the mask would clip the controls) */
.hero__frame {
  position: relative;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero__arrow:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-50%) scale(1.06);
}

.hero__arrow--prev {
  left: clamp(12px, 2vw, 32px);
}

.hero__arrow--next {
  right: clamp(12px, 2vw, 32px);
}

/* Sits just right of the mask's centre step, where the photo reaches lowest */
.hero__dots {
  position: absolute;
  left: calc(50% + 16px);
  bottom: 5%;
  z-index: 2;
  display: flex;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(1, 32, 122, 0.6);
}

.hero__dots button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.hero__dots button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero__dots button:hover::before {
  background: var(--white);
  transform: scale(1.25);
}

.hero__dots button[aria-current="true"]::before {
  background: var(--white);
}

@media (max-width: 600px) {
  .hero__arrow {
    width: 40px;
    height: 40px;
  }
  .hero__dots {
    left: auto;
    right: 12px;
    bottom: 22%;
  }
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--focus-y, 50%);
}

/* Circular "Register" badge overlapping the image */
.hero__cta {
  position: absolute;
  left: 29.92%; /* 517 / 1728 */
  top: 69.16%; /* (783 - 321) / 668 */
  z-index: 2;
  display: flex;
  padding: 10px;
  border-radius: 999px;
  background: var(--white);
  filter: drop-shadow(0 12px 13px rgba(0, 0, 0, 0.04)) drop-shadow(0 47px 23.5px rgba(0, 0, 0, 0.03))
    drop-shadow(0 106px 32px rgba(0, 0, 0, 0.02)) drop-shadow(0 189px 37.5px rgba(0, 0, 0, 0.01));
  transition: transform 0.25s ease;
}

.hero__cta span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 113px;
  height: 113px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 600;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.hero__cta:hover {
  transform: scale(1.04);
}

.hero__cta:hover span {
  background: var(--navy);
  color: var(--white);
}

@media (max-width: 1200px) {
  .hero__meta {
    position: static;
    display: flex;
    gap: 32px;
    padding-inline: var(--gutter);
    margin-bottom: 24px;
  }
  .hero__meta p {
    position: static;
  }
  .hero__meta p:nth-child(1) {
    margin-right: auto;
  }
  .hero__cta {
    top: auto;
    bottom: 6%;
    left: var(--gutter);
  }
  .hero__cta span {
    width: 88px;
    height: 88px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .hero__meta {
    flex-wrap: wrap;
    gap: 16px 24px;
    font-size: 16px;
  }
  .hero__meta p:nth-child(1) {
    flex-basis: 100%;
  }
  .hero__image {
    aspect-ratio: 4 / 3;
  }
}

/* ==========================================================================
   Home — event intro
   ========================================================================== */
.intro__inner {
  padding-block: var(--space-220) var(--space-160);
}

.intro__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-96);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5; /* 36 / 24 — sized for comfortable reading of the full welcome letter */
  letter-spacing: -0.01em;
}

.lead .fade {
  color: var(--ink-32);
}

.lead p + p,
.intro__more p {
  margin-top: 1.6em;
}

/* "Read More": the rest of the welcome message slides open.
   Collapsing only applies once js/main.js adds .is-collapsible, so the full
   text stays readable without JavaScript. */
.intro__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-48);
}

.intro__more {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro__more > div {
  min-height: 0;
  overflow: hidden;
}

.intro__text.is-collapsible:not(.is-expanded) .intro__more {
  grid-template-rows: 0fr;
}

.lead .fade {
  transition: color 0.4s ease;
}

.intro__text.is-collapsible.is-expanded .lead .fade {
  color: inherit;
}

.intro__signature {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.intro__signature-name {
  font-weight: 600;
}

.intro__signature-role {
  font-size: var(--fs-body-lg);
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--ink-56);
}

.btn--down img {
  transform: rotate(90deg);
}

.btn--down:hover img {
  transform: rotate(90deg) translateX(3px);
}

.btn--down[aria-expanded="true"] img {
  transform: rotate(-90deg);
}

.btn--down[aria-expanded="true"]:hover img {
  transform: rotate(-90deg) translateX(3px);
}

/* Video / media block */
.media {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 813 / 500;
  background: #1a1a1a;
}

.media video,
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media__video {
  cursor: pointer;
}

/* Large central play button (opens the video with sound) */
.media__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 6.5vw, 96px);
  height: clamp(64px, 6.5vw, 96px);
  padding-left: 4px; /* optical centring of the triangle */
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.media__play img {
  width: 40%;
  height: 40%;
}

.media__play:hover,
.media__play:focus-visible {
  background: rgba(1, 32, 122, 0.85);
  transform: translate(-50%, -50%) scale(1.08);
}

/* Pause / play toggle for the muted preview */
.media .icon-play,
.media.is-paused .icon-pause {
  display: none;
}

.media.is-paused .icon-play {
  display: block;
}

.media__controls {
  position: absolute;
  inset: auto 24px 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.media__group {
  display: flex;
  gap: 12px;
}

.glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.2s ease;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.glass-btn img {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Home — details (agenda, speakers, sessions, sponsors)
   ========================================================================== */
.details__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-220);
  padding-block: var(--space-160);
}

.agenda {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-48);
}

.agenda__day {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.agenda__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex: none;
}

.agenda__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
  width: 456px;
  max-width: 100%;
}

.agenda__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agenda__item h4 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.agenda__item p {
  opacity: 0.72;
}

.agenda__link,
.fees__includes a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.agenda__link:hover,
.fees__includes a:hover {
  opacity: 0.7;
}

.divider {
  width: 100%;
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--grey-300);
}

@media (max-width: 700px) {
  .agenda__day {
    flex-direction: column;
  }
  .agenda__items {
    width: 100%;
  }
}

/* Speakers */
.speakers {
  display: flex;
  flex-direction: column;
  gap: var(--space-96);
}

.speakers__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 200px));
  gap: 4px;
}

.speaker {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 16px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: var(--fs-h6);
  line-height: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: center;
  transition: border-radius 0.35s ease, background-color 0.35s ease;
}

.speaker p {
  max-width: 136px;
}

.speaker:hover,
.speaker:focus-visible {
  background: var(--maroon);
  border-radius: 999px;
}

@media (max-width: 600px) {
  .speaker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Past sessions */
.sessions {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.session-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.session {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--grey-300);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.2s ease;
}

.session__main {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.session__thumb {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
}

.session__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-48);
  min-width: 0;
}

@media (max-width: 600px) {
  .session__main {
    gap: 14px;
  }
  .session__thumb {
    width: 80px;
    height: 80px;
  }
  .session__text {
    gap: 16px;
  }
}

.session__cta {
  font-weight: 600;
  color: var(--navy);
}

.session__arrow {
  position: relative;
  flex: none;
  display: flex;
  padding: 10px;
  border-radius: 999px;
  background: var(--grey-100);
  transition: background-color 0.2s ease;
}

.session__arrow img {
  width: 20px;
  height: 20px;
}

.session__arrow img + img {
  position: absolute;
  inset: 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.session:hover,
.session:focus-visible {
  border-color: var(--black);
}

.session:hover .session__arrow,
.session:focus-visible .session__arrow {
  background: var(--black);
}

.session:hover .session__arrow img + img,
.session:focus-visible .session__arrow img + img {
  opacity: 1;
}

/* Sponsors carousel — full bleed */
.sponsors {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.sponsors__viewport {
  position: relative;
  width: 100%;
}

.sponsors__track {
  display: flex;
  align-items: center;
  gap: var(--space-96);
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.sponsors__track::-webkit-scrollbar {
  display: none;
}

.sponsors__track li {
  flex: none;
  scroll-snap-align: center;
}

.sponsors__track img {
  width: auto;
  max-width: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: flex;
  padding: 12px;
  border-radius: 999px;
  transform: translateY(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.carousel-btn img {
  width: 20px;
  height: 20px;
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.06);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: translateY(-50%);
}

.carousel-btn--prev {
  left: 61px;
  background: var(--white);
  filter: drop-shadow(-4px -4px 6px rgba(0, 0, 0, 0.12)) drop-shadow(-16px -16px 11px rgba(0, 0, 0, 0.1))
    drop-shadow(-35px -35px 15px rgba(0, 0, 0, 0.06)) drop-shadow(-62px -62px 17.5px rgba(0, 0, 0, 0.02));
}

.carousel-btn--prev img {
  transform: rotate(180deg);
}

.carousel-btn--next {
  right: 19px;
  background: var(--navy);
  filter: drop-shadow(-4px 4px 6px rgba(0, 0, 0, 0.12)) drop-shadow(-16px 16px 11px rgba(0, 0, 0, 0.1))
    drop-shadow(-35px 35px 15px rgba(0, 0, 0, 0.06)) drop-shadow(-63px 62px 17.5px rgba(0, 0, 0, 0.02));
}

@media (max-width: 700px) {
  .carousel-btn--prev { left: 12px; }
  .carousel-btn--next { right: 12px; }
  .sponsors__track {
    gap: 48px;
    padding-inline: 72px;
    scroll-padding-inline: 72px;
  }
  .sponsors__track img {
    max-height: 32px;
    width: auto;
    height: auto;
  }
}

.dots {
  display: flex;
  gap: 12px;
}

.dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.dots button[aria-current="true"] {
  background: var(--navy);
}

.dots button:hover {
  transform: scale(1.25);
}

/* ==========================================================================
   Home — About FICAC
   ========================================================================== */
.about-ficac__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-48);
}

.about-ficac__logo {
  width: 120px;
  height: 120px;
}

@media (max-width: 960px) {
  .about-ficac__logo {
    width: 88px;
    height: 88px;
  }
}

/* ==========================================================================
   Organiser's welcome (VenuesBX) — Locations page
   ========================================================================== */
.organiser {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-48);
}

.organiser__inner {
  padding-block: var(--space-160);
}

.organiser .body-lg {
  color: var(--ink-72);
}

.organiser .body-lg p + p {
  margin-top: 1.4em;
}

.organiser strong {
  font-weight: 600;
  color: var(--black);
}

.organiser__sign {
  display: flex;
  align-items: center;
  gap: 24px;
}

.organiser__photo {
  flex: none;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  object-fit: cover;
}

.organiser__name {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: var(--fs-body-lg);
  line-height: 1.2;
}

.organiser__name strong {
  font-weight: 600;
}

.organiser__logo-link {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.organiser__logo-link:hover {
  opacity: 0.75;
}

.organiser__logo {
  display: block;
  width: 220px;
  height: auto;
}

/* ==========================================================================
   Home — About Malta (scrolling photo strip)
   ========================================================================== */
.home-malta__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-96);
  padding-block: var(--space-160);
  overflow: hidden;
}

.home-malta__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-48);
}

.marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 70s linear infinite;
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

.marquee__track li {
  flex: 0 0 auto;
  width: clamp(240px, 19.5vw, 337px);
}

@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 10px)); /* one full set + half the gap */
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
  }
  .marquee__track {
    animation: none !important;
  }
}

/* ==========================================================================
   Countdown
   ========================================================================== */
.countdown__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-72);
  padding-block: var(--space-160);
}

.countdown__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-48);
}

.countdown__clock {
  display: flex;
  justify-content: center;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 150px;
}

.countdown__value {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  border-radius: 12px;
  font-size: 64px;
  line-height: 68px;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.countdown__label {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 20px;
  line-height: 30px;
}

.countdown__label span {
  display: block;
  text-box: trim-both cap alphabetic;
}

.countdown__sep {
  width: 48px;
  height: 200px;
  object-fit: cover;
}

/* Photo variant (homepage): the section slides up under the rounded bottom
   of the section above, so the photo fills those corners too. */
.layer--over {
  z-index: 1;
}

.countdown--photo .countdown__inner {
  margin-top: calc(-1 * var(--radius-section));
  padding-top: calc(var(--space-160) + var(--radius-section));
  background:
    linear-gradient(rgba(1, 32, 122, 0.38), rgba(1, 32, 122, 0.55)),
    url("../assets/img/countdown-comino.jpg") center / cover no-repeat;
}

.countdown--photo .section-title {
  color: rgba(255, 255, 255, 0.8);
}

.countdown--photo .section-title strong {
  color: var(--white);
}

.countdown--photo .countdown__value,
.countdown--photo .countdown__label {
  background: var(--white);
}

.countdown--photo .countdown__sep {
  filter: invert(1);
}

/* Tile colour contrasts with the section it sits in */
.bg-grey .countdown__value,
.bg-grey .countdown__label {
  background: var(--white);
}

.bg-white .countdown__value,
.bg-white .countdown__label {
  background: var(--grey-100);
}

@media (max-width: 760px) {
  .countdown__unit {
    width: clamp(64px, 18vw, 120px);
  }
  .countdown__value {
    height: clamp(88px, 26vw, 160px);
    font-size: clamp(30px, 9vw, 52px);
    line-height: 1;
  }
  .countdown__label {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 20px;
  }
  .countdown__sep {
    width: 16px;
    height: clamp(88px, 26vw, 160px);
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-72);
  padding-block: var(--space-160);
}

.faq__title {
  max-width: 456px;
}

.faq__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-48);
  width: 100%;
  max-width: 932px;
}

.faq__list {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: var(--white);
}

.faq__item {
  position: relative;
}

.faq__item + .faq__item {
  border-top: 1px solid var(--grey-300);
}

.faq__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--navy);
  transform: scaleY(0);
  transition: transform 0.25s ease;
}

.faq__item.is-open::before {
  transform: scaleY(1);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  padding: 40px clamp(20px, 2.3vw, 40px);
  text-align: left;
  transition: padding-bottom 0.3s ease;
}

.faq__q img {
  flex: none;
  width: 24px;
  height: 24px;
}

.faq__q .icon-minus,
.faq__item.is-open .faq__q .icon-plus {
  display: none;
}

.faq__item.is-open .faq__q .icon-minus {
  display: block;
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

.faq__a > div {
  overflow: hidden;
}

.faq__a-content {
  padding: 0 clamp(20px, 2.3vw, 40px) 40px;
  color: var(--ink-72);
}

@media (max-width: 600px) {
  .faq__q {
    gap: 20px;
    padding-block: 24px;
  }
  .faq__a-content {
    padding-bottom: 24px;
  }
}

/* 28px between an open question and its answer */
.faq__item.is-open .faq__q {
  padding-bottom: 28px;
}

.faq__a-content p + p {
  margin-top: 36px;
}

.faq__a-content a {
  font-weight: 500;
  color: var(--navy);
  text-decoration: underline;
  word-break: break-word;
}

/* ==========================================================================
   Sponsors page
   ========================================================================== */
.sponsor-page__inner {
  padding-bottom: var(--space-160);
}

.sponsor-page {
  display: grid;
  gap: 24px;
  max-width: calc(813px + 2 * var(--gutter));
  margin-top: var(--space-96);
}

.sponsor-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-48);
  padding: clamp(32px, 4vw, 64px) 24px;
  border-radius: 12px;
  background: var(--white);
  text-align: center;
}

.sponsor-tier__title {
  font-size: var(--fs-h4);
  line-height: 1.125;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--ink-56);
}

.sponsor-tier__title strong {
  font-weight: 600;
  color: var(--black);
}

.sponsor-tier__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-48) var(--space-96);
}

.sponsor-tier__logos a {
  display: block;
  transition: opacity 0.2s ease;
}

.sponsor-tier__logos a:hover {
  opacity: 0.7;
}

.sponsor-tier__logo {
  display: block;
  height: auto;
}

.sponsor-tier__logo--viking {
  width: clamp(180px, 16vw, 240px);
}

.sponsor-tier__logo--bianchi {
  width: clamp(150px, 13vw, 200px);
}

.sponsor-tier__logo--visitmalta {
  width: clamp(220px, 20vw, 320px);
}

.sponsor-tier__empty {
  color: var(--ink-56);
}

/* ==========================================================================
   Cultural Programme page
   ========================================================================== */
.progs__inner {
  padding-block: var(--space-160);
}

.progs {
  display: flex;
  flex-direction: column;
  gap: var(--space-160);
}

.prog {
  display: flex;
  align-items: flex-start;
  gap: var(--space-96);
  scroll-margin-top: 48px;
}

.prog--reverse {
  flex-direction: row-reverse;
}

.prog__media {
  position: sticky;
  top: 32px;
  display: grid;
  gap: 16px;
  flex: 0 1 46%;
  min-width: 0;
}

.prog__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
}

.prog__body {
  flex: 1 1 0;
  min-width: 0;
}

.prog__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 24px;
  font-weight: 500;
  color: var(--navy);
}

.prog__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prog__meta svg {
  flex: none;
}

.prog__text {
  margin-top: 32px;
  color: var(--ink-72);
}

.prog__text p + p {
  margin-top: 1.6em;
}

@media (max-width: 960px) {
  .prog,
  .prog--reverse {
    flex-direction: column;
    gap: var(--space-48);
  }
  .prog__media {
    position: static;
    flex-basis: auto;
    width: 100%;
  }
  .prog__body {
    flex-basis: auto;
    width: 100%;
  }
}

/* ==========================================================================
   Visa page
   ========================================================================== */
.visa__inner {
  padding-block: var(--space-160);
}

.visa .body-lg {
  color: var(--ink-72);
}

.visa .body-lg p + p,
.visa .body-lg p + ul,
.visa .body-lg ul + p {
  margin-top: 1.2em;
}

.visa a {
  font-weight: 500;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.visa__heading {
  margin: 2.4em 0 0.9em;
  font-size: var(--fs-h6);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--black);
}

.visa__note {
  padding: 20px 24px;
  border-left: 4px solid var(--navy);
  border-radius: 0 8px 8px 0;
  background: rgba(195, 190, 223, 0.35);
  color: var(--black);
}

.visa__docs {
  display: grid;
  gap: 12px;
  padding-left: 1.2em;
  list-style: disc;
}

.visa-countries__inner {
  padding-block: var(--space-160);
}

.visa-countries__title--next {
  margin-top: var(--space-160);
}

.visa-countries__lede {
  max-width: 813px;
  margin-top: 24px;
  font-size: var(--fs-body-lg);
  line-height: 1.5;
  color: var(--ink-72);
}

.visa-countries__groups {
  display: grid;
  gap: 40px;
  margin-top: var(--space-48);
}

.visa-group {
  padding: clamp(24px, 3vw, 40px);
  border-radius: 12px;
  background: var(--white);
}

.visa-group__title {
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.56);
}

.visa-list {
  columns: 4 200px;
  column-gap: 32px;
}

.visa-list--single {
  columns: auto;
}

.visa-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-100);
  break-inside: avoid;
  line-height: 1.4;
}

.visa-list sup,
.visa-notes {
  font-size: 12px;
}

.visa-list sup a {
  margin-left: 2px;
  font-weight: 600;
  color: var(--navy);
}

.visa-notes {
  display: grid;
  gap: 8px;
  padding-left: 1.6em;
  list-style: decimal;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-72);
}

.visa-notes li:target {
  color: var(--navy);
  font-weight: 500;
}

#visa-countries {
  scroll-margin-top: 16px;
}

@media (max-width: 600px) {
  .visa-list {
    columns: 2;
    column-gap: 16px;
    font-size: 15px;
  }
  .visa-list--single {
    columns: auto;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-160) clamp(220px, 26vw, 450px);
  background: var(--navy);
  color: var(--white);
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer__meta {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  width: 456px;
  max-width: 100%;
}

.footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-top: var(--space-96);
}

.footer__tagline {
  max-width: 694px;
  font-size: var(--fs-display);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.72);
}

.footer__tagline strong {
  font-weight: 600;
  color: var(--white);
}

.footer__cols {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 456px;
  max-width: 100%;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 0;
}

.footer__col::before {
  content: "";
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__label {
  opacity: 0.72;
}

.footer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
}

.footer__link span {
  display: block;
  text-box: trim-both cap alphabetic;
}

.footer__link img {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.footer__link:hover img {
  transform: translateX(4px);
}

.footer__skyline {
  position: absolute;
  bottom: 0;
  left: -28px;
  width: calc(100% + 28px);
  height: clamp(160px, 21.76vw, 376px);
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}

@media (max-width: 900px) {
  .footer__top,
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Inner pages — sub hero
   ========================================================================== */
.subhero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-96);
  padding-top: var(--space-96);
}

.subhero__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 932px;
  text-align: center;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "";
  width: 18px;
  height: 18px;
  background: url("../assets/icons/chevron.svg") center / 18px no-repeat;
  transform: rotate(-90deg);
}

.breadcrumb a,
.breadcrumb [aria-current] {
  display: block;
  text-box: trim-both cap alphabetic;
}

.breadcrumb a:hover {
  color: var(--navy);
}

.breadcrumb [aria-current] {
  color: var(--navy);
}

.subhero__titles {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.subhero__title {
  font-size: var(--fs-h1);
  line-height: 1.0625; /* 68 / 64 */
  font-weight: 600;
  letter-spacing: -0.04em;
}

.subhero__subtitle {
  font-size: var(--fs-h2);
  line-height: 1.0834;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink-56);
}

/* When the next section has a different background (e.g. white on Locations),
   leave grey space under the image instead of letting it touch the edge */
.subhero--spaced {
  padding-bottom: var(--space-96);
}

.subhero__image {
  width: 100%;
  aspect-ratio: 1408 / 616;
  overflow: hidden;
  -webkit-mask: url("../assets/icons/subhero-mask.svg?v=3") 0 0 / 100% 100% no-repeat;
  mask: url("../assets/icons/subhero-mask.svg?v=3") 0 0 / 100% 100% no-repeat;
}

.subhero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--focus-y, 50%);
}

@media (max-width: 600px) {
  .subhero__image {
    aspect-ratio: 4 / 3;
  }
}

/* ==========================================================================
   Programme — timeline
   ========================================================================== */
.timeline__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-72);
  padding-block: var(--space-220) var(--space-160);
}

.timeline {
  width: 100%;
  max-width: calc(1170px + 2 * var(--gutter));
}

.tl-day {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: clamp(20px, 4.1vw, 71px);
}

.tl-day + .tl-day {
  padding-top: var(--space-48);
}

.tl-day__rail {
  position: relative;
}

.tl-day__rail::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--grey-300);
}

.tl-day__rail::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: calc(-1 * var(--space-48));
  width: 2px;
  background: var(--grey-300);
}

.tl-day:last-child .tl-day__rail::after {
  display: none;
}

.tl-day.is-past .tl-day__rail::before,
.tl-day.is-current .tl-day__rail::before {
  background: var(--navy);
}

.tl-day.is-past .tl-day__rail::after {
  background: var(--navy);
}

.tl-day.is-current .tl-day__rail::after {
  background: linear-gradient(var(--navy) 50%, var(--grey-300) 50%);
}

/* Scroll-driven fill (js/main.js adds .is-animated and sets --fill per segment).
   The static is-past / is-current states above remain as the no-JS fallback. */
.timeline.is-animated .tl-day__rail::before {
  background: var(--grey-300);
  box-shadow: inset 0 0 0 0 var(--navy);
  transition: box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline.is-animated .tl-day.is-filled .tl-day__rail::before {
  box-shadow: inset 0 0 0 24px var(--navy);
  transform: scale(1.06);
}

.timeline.is-animated .tl-day.is-settled .tl-day__rail::before {
  transform: none;
}

.timeline.is-animated .tl-day__rail::after {
  background: linear-gradient(to bottom, var(--navy) calc(var(--fill, 0) * 100%), var(--grey-300) 0);
}

.tl-day__content {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: var(--space-48);
  border-bottom: 1px solid var(--grey-300);
}

.tl-day:last-child .tl-day__content {
  padding-bottom: 0;
  border-bottom: 0;
}

.tl-day .agenda__items {
  width: 575px;
}

.tl-day .chip {
  background: var(--white);
}

@media (max-width: 800px) {
  .tl-day__content {
    flex-direction: column;
  }
  .tl-day .agenda__items {
    width: 100%;
  }
}

/* ==========================================================================
   Locations — venues
   ========================================================================== */
.venues__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-96);
  padding-block: var(--space-220) var(--space-160);
}

.venue {
  display: flex;
  align-items: center;
  gap: var(--space-96);
}

.venue--reverse {
  flex-direction: row-reverse;
}

.venue__media {
  position: relative;
  flex: 0 1 813px;
  min-width: 0;
  aspect-ratio: 813 / 500;
  overflow: hidden;
  border-radius: 12px;
}

.venue__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-48);
  flex: 0 1 499px;
}

.venue__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.venue__logo {
  display: block;
  transition: opacity 0.2s ease;
}

.venue__logo:hover {
  opacity: 0.75;
}

.venue__logo img {
  width: 125px;
  height: auto;
}

.venue__text {
  line-height: 1.5;
  color: var(--ink-72);
}

.venue__credit {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-56);
}

.venue__credit a {
  text-decoration: underline;
}

.venue__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons whose icon is not a direction (e.g. envelope): no nudge on hover */
.btn--icon-static:hover img {
  transform: none;
}

/* ==========================================================================
   Video lightbox
   ========================================================================== */
.lightbox {
  width: min(1200px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #000;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.lightbox[open] {
  animation: letter-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox__video {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 120px);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #000;
}

.lightbox__close {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  display: flex;
  padding: 10px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  transition: transform 0.2s ease;
}

.lightbox__close:hover {
  transform: rotate(90deg);
}

/* ==========================================================================
   Discount codes popup (Mercure)
   ========================================================================== */
.codes {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 40px 80px rgba(1, 32, 122, 0.25);
  overflow: auto;
}

.codes::backdrop {
  background: rgba(1, 32, 122, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.codes[open] {
  animation: letter-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.codes__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(28px, 5vw, 48px);
}

.codes__title {
  padding-right: 48px;
  font-weight: 600;
}

.codes__intro {
  color: var(--ink-72);
  line-height: 1.5;
  text-box: none;
}

.codes__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  padding: 28px 0;
  border-radius: 12px;
  background: var(--grey-100);
}

.codes__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  text-align: center;
}

.codes__item + .codes__item {
  border-left: 1px solid var(--grey-300);
}

.codes__label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.56);
}

.codes__value {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  user-select: all; /* one click selects the whole code */
  -webkit-user-select: all;
  cursor: text;
}

.codes__copy {
  padding: 6px 14px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.codes__copy:hover,
.codes__copy.is-copied {
  background: var(--navy);
  color: var(--white);
}

.codes__howto {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 0;
}

.codes__howto figcaption {
  color: var(--ink-72);
  line-height: 1.5;
}

.codes__howto figcaption strong {
  display: block;
  margin-bottom: 6px;
  color: var(--black);
  font-weight: 600;
}

.codes__howto figcaption b {
  color: var(--black);
  font-weight: 600;
}

.codes__howto img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--grey-300);
  border-radius: 8px;
}

.codes__book {
  align-self: center;
}

@media (max-width: 480px) {
  .codes__panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .codes__item + .codes__item {
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid var(--grey-300);
  }
}

/* ==========================================================================
   Letter popup (Hilton Malta welcome letter)
   ========================================================================== */
html:has(dialog[open]) {
  overflow: hidden;
}

.letter {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 40px 80px rgba(1, 32, 122, 0.25);
  overflow: auto;
  overscroll-behavior: contain;
}

.letter::backdrop {
  background: rgba(1, 32, 122, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.letter[open] {
  animation: letter-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes letter-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
}

.letter__sheet {
  position: relative;
}

.letter__close {
  position: sticky;
  top: 16px;
  z-index: 1;
  float: right;
  display: flex;
  margin: 16px 16px -60px 0;
  padding: 10px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.letter__close:hover {
  transform: rotate(90deg);
}

.letter__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1287 / 622;
  object-fit: cover;
}

.letter__body {
  padding: clamp(28px, 5vw, 56px);
}

.letter__body > p + p {
  margin-top: 1.25em;
}

.letter__body > p {
  line-height: 1.6;
  text-box: none;
}

.letter__date {
  margin-bottom: 2em;
  text-align: right;
  font-weight: 600;
}

.letter__body strong {
  font-weight: 600;
}

.letter__sign {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: 24px;
}

.letter__sign img {
  width: 120px;
  height: auto;
  border-radius: 8px;
}

.letter__sign p {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.letter__download {
  margin-top: 32px;
}

.venue__titles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.h4 {
  font-size: var(--fs-h4);
  line-height: 1.125; /* 36 / 32 */
  font-weight: 600;
  letter-spacing: -0.04em;
}

.h5 {
  font-size: var(--fs-h5);
  line-height: 1.1667; /* 28 / 24 */
  font-weight: 400;
  letter-spacing: -0.03em;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list a,
.contact-list p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-list a:hover span {
  color: var(--navy);
}

.contact-list span {
  display: block;
  text-box: trim-both cap alphabetic;
}

.contact-list img {
  width: 18px;
  height: 18px;
  object-fit: none;
}

@media (max-width: 960px) {
  .venue,
  .venue--reverse {
    flex-direction: column;
    align-items: stretch;
  }
  .venue__media,
  .venue__info {
    flex-basis: auto;
  }
}

/* ==========================================================================
   About Malta
   ========================================================================== */
.about-intro__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-96);
  padding-block: var(--space-220) var(--space-160);
}

.about-intro__copy {
  flex: 0 1 575px;
}

.about-intro__copy p + p {
  margin-top: 2.27em;
}

/* Stacked photo deck */
.deck {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.deck__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1408 / 706;
}

.deck__card {
  position: absolute;
  left: 1.12%;
  top: 5.05%;
  width: 97.77%; /* 1376.62 / 1408 */
  height: 89.92%; /* 634.82 / 706 */
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.deck__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--focus-y, 50%);
}

.deck__card[data-pos="0"] { z-index: 5; transform: none; }
.deck__card[data-pos="1"] { z-index: 4; transform: rotate(-2deg); }
.deck__card[data-pos="2"] { z-index: 3; transform: rotate(2deg); }
.deck__card[data-pos="3"] { z-index: 2; transform: rotate(-3deg); }
.deck__card[data-pos="4"] { z-index: 1; transform: rotate(3deg); }

@media (max-width: 700px) {
  .deck__stage {
    aspect-ratio: 4 / 3;
  }
}

.deck__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.deck__nav button {
  display: flex;
}

.deck__nav button img {
  width: 24px;
  height: 24px;
}

.deck__prev img {
  transform: rotate(180deg);
}

/* Discover Malta & Gozo — destination cards */
.destinations-wrap {
  background: var(--grey-100);
}

.destinations__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-72);
  padding-block: var(--space-160);
}

.destinations__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
  max-width: 694px;
  text-align: center;
}

.destinations__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-48);
  width: 100%;
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.dest {
  position: relative;
  overflow: hidden;
  height: 700px;
  border-radius: 12px;
  background: var(--grey-100);
  isolation: isolate;
}

.dest__img,
.dest__shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.dest__img {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dest__img--bottom {
  object-position: bottom;
}

.dest__shade {
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.92));
}

.dest__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-96);
  padding: 245px 32px 32px;
}

.dest__num {
  font-size: 80px;
  line-height: 80px;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--ink-56);
  transition: color 0.4s ease;
}

.dest__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.dest__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.dest__title {
  font-size: var(--fs-h4);
  line-height: 1.125;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color 0.4s ease;
}

.tag {
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--grey-300);
  font-size: 12px;
  line-height: normal;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.4s ease;
}

.tag span {
  display: block;
  text-box: trim-both cap alphabetic;
}

.dest__text {
  opacity: 0.72;
  transition: color 0.4s ease;
}

.icon-btn {
  display: inline-flex;
  padding: 12px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--grey-100);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.icon-btn img {
  width: 18px;
  height: 18px;
}

.icon-btn img + img {
  display: none;
}

.dest .icon-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.dest:hover .dest__img,
.dest:hover .dest__shade,
.dest:focus-within .dest__img,
.dest:focus-within .dest__shade {
  opacity: 1;
}

.dest:hover .dest__num,
.dest:focus-within .dest__num {
  color: rgba(255, 255, 255, 0.72);
}

.dest:hover .dest__title,
.dest:hover .dest__text,
.dest:focus-within .dest__title,
.dest:focus-within .dest__text {
  color: var(--white);
}

.dest:hover .tag,
.dest:focus-within .tag {
  background: var(--white);
}

.dest:hover .icon-btn,
.dest:focus-within .icon-btn {
  background: var(--white);
  border-color: var(--white);
}

.dest:hover .icon-btn img:first-child,
.dest:focus-within .icon-btn img:first-child {
  display: none;
}

.dest:hover .icon-btn img + img,
.dest:focus-within .icon-btn img + img {
  display: block;
}

@media (max-width: 1200px) {
  .dest-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .dest {
    flex: 0 0 275px;
    scroll-snap-align: start;
  }
}

@media (max-width: 600px) {
  .dest {
    flex-basis: 260px;
    height: auto;
  }
  .dest__content {
    gap: 40px;
    padding-top: 32px;
  }
  .dest__num {
    font-size: 56px;
    line-height: 56px;
  }
}

/* Attractions */
.attractions__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-220);
  padding-block: var(--space-160);
}

.attractions {
  display: flex;
  flex-direction: column;
  gap: var(--space-72);
  width: 100%;
}

.attractions__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.attractions__head > * {
  flex: 0 1 575px;
}

.attr-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.attr {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 250px;
  overflow: hidden;
  padding: 24px 32px;
  border-radius: 12px;
  color: var(--white);
  isolation: isolate;
}

.attr img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.attr::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50.15%, rgba(0, 0, 0, 0.92));
}

.attr:hover img {
  transform: scale(1.05);
}

.attr h3 {
  font-size: var(--fs-h6);
  line-height: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: center;
}

.attr-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.attr-more__count {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 212px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 62px;
  line-height: 66px;
  font-weight: 600;
  letter-spacing: -0.04em;
  transition: background-color 0.2s ease;
}

.attr-more:hover .attr-more__count {
  background: #001860;
}

.attr-more__count svg {
  transition: transform 0.3s ease;
}

.attr-more:hover .attr-more__count svg {
  transform: rotate(90deg);
}

.attr-more__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.attr-more__link span {
  display: block;
  text-box: trim-both cap alphabetic;
}

.attr-more__link img {
  width: 18px;
  height: 18px;
}

@media (max-width: 1100px) {
  .attr-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .attractions__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .attractions__head > * {
    flex-basis: auto;
  }
  .attr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .attr {
    height: 200px;
    padding: 16px;
  }
}

/* Know-before-you-go */
.guide {
  display: flex;
  flex-direction: column;
  gap: var(--space-96);
  width: 100%;
  max-width: 932px;
}

.guide__list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.guide__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__inner {
  padding-block: var(--space-220) var(--space-160);
}

.contact__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-96);
  flex: 0 1 456px;
  align-self: stretch;
}

.contact__card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 337px;
}

.contact__card .divider {
  width: 100%;
}

.contact__card dl {
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
}

.contact__lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact__lines a {
  display: block;
  text-box: trim-both cap alphabetic;
}

.contact__lines a:hover {
  color: var(--navy);
}

.socials {
  display: flex;
  gap: 4px;
}

.socials a {
  position: relative;
  display: flex;
  overflow: hidden;
  padding: 12px;
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.socials a:hover {
  transform: translateY(-2px);
}

.socials img {
  position: relative;
  width: 20px;
  height: 20px;
}

.socials .fb { background: #1877f2; }

.contact__address {
  font-style: normal;
  line-height: 24px;
}

.contact__form {
  flex: 0 1 694px;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

@media (max-width: 700px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

/* Title takes its own row until there is room for it beside the names */
.form__row--name .field:first-child {
  grid-column: 1 / -1;
}

@media (min-width: 1280px) {
  .form__row--name {
    grid-template-columns: 150px repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .form__row--name .field:first-child {
    grid-column: auto;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field label,
.field .label {
  font-weight: 600;
}

.field .req {
  color: var(--navy);
}

.input {
  width: 100%;
  height: 56px;
  padding: 0 24px;
  border: 1px solid var(--grey-300);
  border-radius: 8px;
  background: var(--white);
  font-size: 16px;
  line-height: 24px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input::placeholder {
  color: var(--black);
  opacity: 0.4;
}

select.input:has(option[value=""]:checked) {
  color: rgba(0, 0, 0, 0.4);
}

.input:focus {
  border-color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}

.input:user-invalid {
  border-color: #c4161c;
  box-shadow: inset 0 0 0 1px #c4161c;
}

textarea.input {
  height: auto;
  min-height: 154px;
  padding-block: 16px;
  resize: vertical;
}

select.input {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 56px;
  background: var(--white) url("../assets/icons/chevron-navy.svg") right 24px center / 18px no-repeat;
  cursor: pointer;
}

select.input--bullet {
  padding-left: 37px;
  background:
    url("../assets/icons/bullet.svg") left 24px center / 5px no-repeat,
    url("../assets/icons/chevron-navy.svg") right 24px center / 18px no-repeat,
    var(--white);
}

.form__section-title {
  font-size: var(--fs-h4);
  line-height: 1.125;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.form__checks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-72);
  cursor: pointer;
  text-box: none;
}

.check input {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 2px solid var(--grey-300);
  border-radius: 999px;
  background: var(--grey-100) center / 18px no-repeat;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.check input:checked {
  border-color: var(--navy);
  background-color: var(--navy);
  background-image: url("../assets/icons/check.svg");
}

.check a {
  font-weight: 600;
  color: var(--navy);
}

.check a:hover {
  text-decoration: underline;
}

.form__status {
  padding: 16px 20px;
  border-radius: 8px;
  background: var(--white);
  border-left: 4px solid var(--navy);
}

.form__status[hidden] {
  display: none;
}

.form .btn--submit {
  align-self: flex-start;
  min-width: 174px;
  justify-content: space-between;
}

/* Registration page */
.register__inner {
  padding-block: var(--space-96) var(--space-160);
}

.register__wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-96);
  max-width: 932px;
  margin-inline: auto;
}

.register__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.register__form {
  gap: 56px;
}

.register__group {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ==========================================================================
   Registration fees (Malta Programme page)
   ========================================================================== */
.fees__inner {
  padding-block: var(--space-160);
}

.fees {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.fees__table-wrap {
  overflow-x: auto;
}

.fees__table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.fees__table th,
.fees__table td {
  padding: 18px 12px;
  border-bottom: 1px solid var(--grey-300);
  text-align: left;
  vertical-align: bottom;
}

.fees__table thead th {
  font-weight: 600;
  border-bottom: 2px solid var(--black);
}

.fees__table tbody th {
  font-weight: 500;
}

.fees__table td {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.fees__sub {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-56);
}

.fees__includes {
  display: flex;
  flex-direction: column;
  gap: 24px;
  line-height: 1.55;
  color: var(--ink-72);
}

.fees__includes strong {
  color: var(--black);
  font-weight: 600;
}

.fees__cta {
  align-self: flex-start;
}

@media (max-width: 600px) {
  .fees__table {
    table-layout: fixed;
  }
  .fees__table th:first-child {
    width: 38%;
  }
  .fees__table th,
  .fees__table td {
    padding: 12px 6px;
    font-size: 14px;
  }
  .fees__sub {
    font-size: 12px;
  }
}
