/* =========================================================
   APAAACI 2026 - Congress Venue page
   Every rule is scoped to .cv-page so nothing else on the site changes.
   Colours and font match the site's style.css :root variables.
   ========================================================= */

.cv-page {
  --cv-navy: #000D44;       /* site --title-color */
  --cv-blue: #114B9F;       /* site --theme-color3 */
  --cv-red: #D2232A;        /* site --theme-color2 */
  --cv-red-dark: #B01C22;
  --cv-text: #3B4256;
  --cv-muted: #5B6478;
  --cv-smoke: #F5F7FA;      /* site --smoke-color */
  --cv-line: #E3E7EE;
  --cv-radius: 18px;
  --cv-font: 'Poppins', sans-serif;

  font-family: var(--cv-font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--cv-text);
  background: #fff;
  overflow: hidden;
}

.cv-page *,
.cv-page *::before,
.cv-page *::after { box-sizing: border-box; }

.cv-page img { display: block; max-width: 100%; height: auto; }
.cv-page figure { margin: 0; }
.cv-page a { text-decoration: none; transition: color .25s ease; }
.cv-page svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cv-container {
  width: 100%;
  max-width: 1272px;
  margin: 0 auto;
  padding: 0 24px;
}

.cv-section { padding: 100px 0; }

/* ---------- Shared type ---------- */

.cv-page .cv-title {
  font-family: var(--cv-font);
  font-size: clamp(2rem, 1.35rem + 1.8vw, 2.875rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--cv-navy);
  margin: 0 0 24px;
}

.cv-page .cv-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--cv-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cv-red);
  margin: 0 0 22px;
}
.cv-page .cv-eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
}

.cv-rule,
.cv-hero__rule {
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--cv-red);
  margin-bottom: 22px;
}

/* ---------- Buttons ---------- */

.cv-page .cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--cv-font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.cv-page .cv-btn svg { width: 18px; height: 18px; flex: none; }
.cv-page .cv-btn .cv-btn__arrow { width: 16px; height: 16px; transition: transform .25s ease; }
.cv-page .cv-btn:hover .cv-btn__arrow { transform: translate(2px, -2px); }
.cv-page .cv-btn:focus-visible { outline: 3px solid var(--cv-blue); outline-offset: 3px; }

.cv-page .cv-btn--red { background: var(--cv-red); color: #fff; box-shadow: 0 14px 30px -14px rgba(210, 35, 42, .7); }
.cv-page .cv-btn--red:hover { background: var(--cv-red-dark); color: #fff; }

.cv-page .cv-btn--outline { background: transparent; border-color: var(--cv-navy); color: var(--cv-navy); }
.cv-page .cv-btn--outline:hover { background: var(--cv-navy); color: #fff; }

/* ---------- Image hover ---------- */

.cv-zoom { overflow: hidden; }
.cv-zoom img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.cv-zoom:hover img { transform: scale(1.04); }

/* =========================================================
   HERO
   ========================================================= */

.cv-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(420px, 62vh, 560px);
  background: var(--cv-navy);
  color: #fff;
  overflow: hidden;
}

.cv-page .cv-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 68%;   /* keeps the hotel sign fully in view at every width */
  animation: cvHeroZoom 2.4s cubic-bezier(.2, .7, .2, 1) both;
}

/* Shade only behind the title on the left. It fades out towards the bottom,
   so the centre of the photo and the hotel sign stay clear. */
.cv-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 13, 68, .88) 0%, rgba(0, 13, 68, .7) calc(50% - 120px), rgba(0, 13, 68, 0) calc(50% + 220px));
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 66%, transparent 90%);
          mask-image: linear-gradient(180deg, #000 0%, #000 66%, transparent 90%);
}

.cv-hero__inner {
  padding-top: 72px;
  padding-bottom: 72px;
}

.cv-page .cv-hero__title {
  margin: 0;
  font-family: var(--cv-font);
  font-weight: 600;
  color: #fff;
}

/* "Congress Venue" label above the hotel name */
.cv-page .cv-hero__kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: clamp(.875rem, .78rem + .35vw, 1.125rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .94);
}
.cv-page .cv-hero__kicker .cv-hero__rule { flex: none; margin: 0; }

/* Hotel name: the main headline, on two lines */
.cv-page .cv-hero__line {
  display: block;
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.cv-page .cv-hero__kicker,
.cv-page .cv-hero__line { text-shadow: 0 2px 22px rgba(0, 13, 68, .45); }

/* =========================================================
   ADDRESS & TEL BAND (under the hero photo)
   ========================================================= */

.cv-venuebar { background: var(--cv-navy); color: #fff; }

.cv-page .cv-venuebar__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.cv-page .cv-venuebar__list li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 26px 48px;
  font-size: 15px;
  line-height: 1.55;
  color: #fff;
}
.cv-page .cv-venuebar__list li:first-child { padding-left: 0; }
.cv-page .cv-venuebar__list li + li { border-left: 1px solid rgba(255, 255, 255, .16); }

.cv-venuebar__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
}
.cv-page .cv-venuebar__icon svg { width: 19px; height: 19px; }

.cv-venuebar__label {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.cv-page .cv-venuebar__list a { color: #fff; }
.cv-page .cv-venuebar__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   DESCRIPTION
   ========================================================= */

.cv-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px 88px;
  align-items: start;
}

.cv-about__text { padding-top: 44px; }

/* Two large photos side by side */
.cv-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 72px;
}

.cv-gallery__item {
  aspect-ratio: 3 / 2;
  border-radius: var(--cv-radius);
  box-shadow: 0 40px 70px -44px rgba(0, 13, 68, .45);
}

.cv-gallery__item img,
.cv-location__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cv-page .cv-lead {
  font-size: clamp(1.25rem, 1rem + .75vw, 1.625rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -.005em;
  color: var(--cv-navy);
  margin: 0 0 26px;
}

.cv-page .cv-about__text p:not(.cv-lead) { margin: 0 0 18px; color: var(--cv-text); }
.cv-page .cv-about__text p:last-child { margin-bottom: 0; }
.cv-page .cv-about__text strong { font-weight: 600; color: var(--cv-navy); }

/* =========================================================
   CLOSE TO IT ALL
   ========================================================= */

.cv-location { background: var(--cv-smoke); }

.cv-location__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 96px;
  align-items: center;
}

.cv-page .cv-location__text p { margin: 0 0 36px; color: var(--cv-text); }

.cv-location__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--cv-radius);
  box-shadow: 0 40px 70px -40px rgba(0, 13, 68, .45);
}

/* =========================================================
   GETTING HERE
   ========================================================= */

.cv-getting__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.cv-page .cv-getting__head .cv-title { margin: 0; }

.cv-getting__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.cv-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--cv-line);
  border-radius: var(--cv-radius);
  transition: transform .35s ease, box-shadow .35s ease;
}
.cv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px -28px rgba(0, 13, 68, .3);
}

.cv-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: rgba(210, 35, 42, .08);
  color: var(--cv-red);
}
.cv-page .cv-card__icon svg { width: 24px; height: 24px; }

.cv-page .cv-card__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cv-muted);
}

.cv-page .cv-card__title {
  font-family: var(--cv-font);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cv-navy);
  margin: 0 0 22px;
}

.cv-page .cv-facts { margin: 0; padding: 0; }
.cv-page .cv-facts > div {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--cv-line);
}
.cv-page .cv-facts > div:last-child { padding-bottom: 0; }

.cv-page .cv-facts dt {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cv-muted);
}
.cv-page .cv-facts dd {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--cv-navy);
}
.cv-page .cv-facts dd a { color: var(--cv-blue); }
.cv-page .cv-facts dd a:hover { color: var(--cv-red); }

.cv-price { display: block; }
.cv-page .cv-price b { font-weight: 600; }

.cv-page .cv-bullets { list-style: none; margin: 0; padding: 0; }
.cv-page .cv-bullets li {
  position: relative;
  margin: 0;
  padding-left: 18px;
}
.cv-page .cv-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cv-red);
}

/* Featured airport card */

.cv-card--feature {
  background: var(--cv-navy);
  border-color: var(--cv-navy);
  color: rgba(255, 255, 255, .86);
}
.cv-card--feature .cv-card__icon { background: rgba(255, 255, 255, .1); color: #fff; }
.cv-page .cv-card--feature .cv-card__kicker { color: rgba(255, 255, 255, .7); }
.cv-page .cv-card--feature .cv-card__title { color: #fff; font-size: 26px; }

.cv-distance {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 4px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.cv-distance__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.cv-distance__value {
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
}
.cv-page .cv-distance__value small {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .06em;
}

.cv-page .cv-card--feature .cv-facts > div { border-color: rgba(255, 255, 255, .16); }
.cv-page .cv-card--feature .cv-facts dt { color: rgba(255, 255, 255, .7); }
.cv-page .cv-card--feature .cv-facts dd,
.cv-page .cv-card--feature .cv-facts dd a { color: #fff; }
.cv-page .cv-card--feature .cv-facts dd a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   MOTION
   ========================================================= */

@keyframes cvHeroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

/* Scroll reveals. assets/js/congress-venue.js adds .is-in when an item comes into view.
   Items are only hidden while the "cv-motion" class is on <html>, so nothing stays hidden without the script. */
@media (prefers-reduced-motion: no-preference) {

  .cv-motion .cv-page { --cv-ease: cubic-bezier(.16, 1, .3, 1); }

  /* fade: rises, sharpens out of a soft blur */
  .cv-motion .cv-page [data-cv="fade"] {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(6px);
    transition: opacity 1s var(--cv-ease), transform 1.2s var(--cv-ease), filter 1s var(--cv-ease), box-shadow .35s ease;
    transition-delay: var(--d, 0s);
  }
  .cv-motion .cv-page [data-cv="fade"].is-in { opacity: 1; transform: none; filter: blur(0); }

  /* mask: headline slides up from behind a clean edge */
  .cv-motion .cv-page [data-cv="mask"] { overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
  .cv-motion .cv-page [data-cv="mask"] > .cv-mask__in {
    display: block;
    transform: translateY(115%);
    transition: transform 1.3s var(--cv-ease);
    transition-delay: var(--d, 0s);
  }
  .cv-motion .cv-page [data-cv="mask"].is-in > .cv-mask__in { transform: none; }
  .cv-motion .cv-page [data-cv="mask"].is-done { overflow: visible; }

  /* words: paragraph appears word by word */
  .cv-motion .cv-page [data-cv="words"] .cv-w {
    display: inline-block;
    opacity: 0;
    transform: translateY(.45em);
    filter: blur(4px);
    transition: opacity .8s var(--cv-ease), transform 1s var(--cv-ease), filter .8s var(--cv-ease);
    transition-delay: calc(var(--d, 0s) + var(--i, 0) * 22ms);
  }
  .cv-motion .cv-page [data-cv="words"].is-in .cv-w { opacity: 1; transform: none; filter: blur(0); }

  /* rule: the red line draws from the left */
  .cv-motion .cv-page [data-cv="rule"] {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.1s var(--cv-ease);
    transition-delay: var(--d, 0s);
  }
  .cv-motion .cv-page [data-cv="rule"].is-in { transform: none; }

  /* img: photo uncovers upwards and settles from a slow zoom */
  .cv-motion .cv-page [data-cv="img"] {
    clip-path: inset(22% 0 0 0 round var(--cv-radius));
    opacity: 0;
    transition: clip-path 1.5s var(--cv-ease), opacity .9s ease;
    transition-delay: var(--d, 0s);
  }
  .cv-motion .cv-page [data-cv="img"] img { transform: scale(1.16); transition: transform 2s var(--cv-ease); transition-delay: var(--d, 0s); }
  .cv-motion .cv-page [data-cv="img"].is-in { clip-path: inset(0 0 0 0 round var(--cv-radius)); opacity: 1; }
  .cv-motion .cv-page [data-cv="img"].is-in img { transform: none; }

  /* after an item has revealed, hover effects run without the delay */
  .cv-motion .cv-page .is-done,
  .cv-motion .cv-page .is-done img { transition-delay: 0s; }
  .cv-motion .cv-page [data-cv="img"].is-done img { transition: transform 1.2s var(--cv-ease); }
  .cv-motion .cv-page [data-cv="img"].is-done:hover img { transform: scale(1.04); }
  .cv-motion .cv-page .cv-card.is-done { transition: transform .35s ease, box-shadow .35s ease; }
  .cv-motion .cv-page .cv-card.is-done:hover { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .cv-page *,
  .cv-page *::before,
  .cv-page *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199px) {
  .cv-about__grid,
  .cv-location__grid { gap: 64px; }
  .cv-getting__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-card--feature { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
  .cv-section { padding: 70px 0; }
  /* Title moves to the top; the shade fades downwards so the sign at the bottom stays clear */
  .cv-hero { align-items: flex-start; }
  .cv-hero::before {
    background: linear-gradient(180deg, rgba(0, 13, 68, .86) 0%, rgba(0, 13, 68, .55) 42%, rgba(0, 13, 68, 0) 68%);
    -webkit-mask-image: none;
            mask-image: none;
  }
  .cv-hero__inner { padding-top: 64px; padding-bottom: 64px; }
  .cv-about__grid,
  .cv-location__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .cv-about__grid { gap: 0; }
  .cv-about__text { padding-top: 0; }
  .cv-gallery { margin-top: 56px; gap: 16px; }
}

@media (max-width: 767px) {
  .cv-getting__grid { grid-template-columns: minmax(0, 1fr); }
  .cv-card--feature { grid-column: auto; }
  .cv-gallery { grid-template-columns: minmax(0, 1fr); }
  .cv-page .cv-venuebar__list { flex-direction: column; padding: 8px 0; }
  .cv-page .cv-venuebar__list li { padding: 16px 0; }
  .cv-page .cv-venuebar__list li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
}

@media (max-width: 575px) {
  .cv-hero { min-height: 440px; }
  .cv-hero__inner { padding-top: 52px; }
  .cv-page .cv-venuebar__list li { font-size: 14px; }
  .cv-card { padding: 28px 22px; }
  .cv-page .cv-card--feature .cv-card__title { font-size: 22px; }
  .cv-distance__value { font-size: 40px; }
  .cv-page .cv-btn { width: 100%; justify-content: center; }
}
