:root {
  --arv-navy: #062d52;
  --arv-navy-dark: #001d39;
  --arv-blue: #0a4b86;
  --arv-teal: #14b9dc;
  --arv-orange: #f15a16;
  --arv-background: #f5f7f9;
  --arv-border: #dce5eb;
  --arv-text: #17324f;
  --arv-muted: #677b8d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.arv-inner-page {
  margin: 0;
  background: var(--arv-background);
  color: var(--arv-text);
  font-family: Arial, Helvetica, sans-serif;
}

.arv-inner-page a {
  text-decoration: none;
}

.arv-inner-page img {
  display: block;
  max-width: 100%;
}

.arv-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.arv-header {
  background: var(--arv-navy-dark);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.arv-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.arv-logo img {
  width: 245px;
  height: auto;
}

.arv-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.arv-nav a {
  padding: 31px 0 18px;
  color: #fff;
  border-bottom: 3px solid transparent;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.arv-nav a:hover,
.arv-nav a.active {
  color: var(--arv-teal);
  border-bottom-color: var(--arv-teal);
}

/* Banner 4 */
.congress-hero {
  min-height: 285px;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: #031f3d;
  background-image:
    linear-gradient(
      90deg,
      rgba(1, 25, 50, .98) 0%,
      rgba(1, 29, 57, .91) 43%,
      rgba(1, 29, 57, .14) 78%
    ),
url("assets/banner-aids-2026.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}

.congress-hero2 {
  min-height: 285px;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: #031f3d;
  background-image:
    linear-gradient(
      90deg,
      rgba(1, 25, 50, .98) 0%,
      rgba(1, 29, 57, .91) 43%,
      rgba(1, 29, 57, .14) 78%
    ),
url("assets/banner-bk.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}

.congress-hero3 {
  min-height: 285px;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: #031f3d;
  background-image:
    linear-gradient(
      90deg,
      rgba(1, 25, 50, .98) 0%,
      rgba(1, 29, 57, .91) 43%,
      rgba(1, 29, 57, .14) 78%
    ),
url("assets/banner-study-2026.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}

.congress-hero4 {
  min-height: 285px;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: #031f3d;
  background-image:
    linear-gradient(
      90deg,
      rgba(1, 25, 50, .98) 0%,
      rgba(1, 29, 57, .91) 43%,
      rgba(1, 29, 57, .14) 78%
    ),
url("assets/banner-News-2026.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}

.congress-hero__content {
  padding-top: 38px;
  padding-bottom: 38px;
}

.congress-hero__label {
  margin: 0 0 8px;
  color: var(--arv-teal);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
}

.congress-hero h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 52px;
  line-height: 1.05;
}

.congress-hero__details {
  margin: 0 0 25px;
  color: #dce7f0;
  font-size: 19px;
}

.congress-hero__details span {
  margin: 0 8px;
  color: var(--arv-teal);
}

.congress-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.congress-hero__back span {
  color: var(--arv-orange);
  font-size: 22px;
}

.congress-hero__back:hover {
  color: var(--arv-teal);
}

/* Main page */
.arv-main {
  padding: 38px 0 60px;
}

.arv-intro {
  margin-bottom: 28px;
  text-align: center;
}

.arv-intro h2 {
  margin: 0 0 6px;
  color: var(--arv-blue);
  font-size: 29px;
  line-height: 1.2;
}

.arv-intro p {
  margin: 0;
  color: var(--arv-blue);
  font-size: 18px;
}

/* Replay cards */
.arv-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.arv-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--arv-border);
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(5, 45, 82, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.arv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(5, 45, 82, .14);
}

.arv-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  background: #dbe7ee;
  aspect-ratio: 16 / 9;
}

.arv-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.arv-card:hover .arv-card__image img {
  transform: scale(1.025);
}

.arv-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: rgba(6, 45, 82, .88);
  color: #fff;
  box-shadow: 0 8px 25px rgba(0,0,0,.23);
  font-size: 21px;
  padding-left: 3px;
}

.arv-card__body {
  padding: 19px 20px 20px;
}

.arv-card__body h3 {
  min-height: 46px;
  margin: 0 0 11px;
  color: var(--arv-navy);
  font-size: 20px;
  line-height: 1.2;
}

.arv-card__meta {
  margin: 0 0 15px;
  color: var(--arv-muted);
  font-size: 14px;
}

.arv-card__meta::before {
  content: "◷";
  margin-right: 7px;
  color: var(--arv-teal);
  font-size: 17px;
}

.arv-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--arv-orange);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Slide kit block */
.arv-download {
  margin-top: 30px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background: #eef7fb;
  border: 1px solid #dcecf3;
  border-radius: 14px;
}

.arv-download__label {
  color: var(--arv-teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.arv-download h2 {
  margin: 6px 0 7px;
  color: var(--arv-navy);
  font-size: 24px;
}

.arv-download p {
  margin: 0;
  color: var(--arv-muted);
}

.arv-download__button {
  flex: 0 0 auto;
  min-width: 235px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--arv-orange);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(241, 90, 22, .22);
}

.arv-download__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 50%;
  font-size: 21px;
}

.arv-download__button-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.arv-download__button small {
  font-weight: 400;
  opacity: .82;
}

/* Footer */
.arv-footer {
  background: var(--arv-navy-dark);
  color: #fff;
}

.arv-footer__inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
  gap: 24px;
  font-size: 13px;
}

.arv-footer__center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  text-align: center;
}

.arv-footer a {
  color: #fff;
}

.arv-footer a:hover {
  text-decoration: underline;
}

.arv-footer__logo {
  width: 73px;
  height: 30px;
}

.arv-footer__analytics {
  min-height: 1px;
}

/* Responsive */
@media (max-width: 900px) {
  .arv-header__inner {
    padding-top: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .arv-nav {
    width: 100%;
    overflow-x: auto;
    gap: 20px;
  }

  .arv-nav a {
    padding: 10px 0 14px;
    white-space: nowrap;
  }

  .arv-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .arv-footer__inner {
    grid-template-columns: 1fr;
    padding: 24px 0;
    justify-items: center;
  }
}

@media (max-width: 680px) {
  .arv-container {
    width: min(100% - 24px, 1180px);
  }

  .congress-hero {
    min-height: 315px;
    background-position: 67% center;
  }

  .congress-hero h1 {
    font-size: 39px;
  }

  .congress-hero__details {
    max-width: 320px;
    font-size: 16px;
    line-height: 1.5;
  }

  .arv-intro h2 {
    font-size: 24px;
  }

  .arv-video-grid {
    grid-template-columns: 1fr;
  }

  .arv-download {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .arv-download__button {
    width: 100%;
  }

  .arv-footer__separator {
    display: none;
  }

  .arv-footer__center {
    flex-direction: column;
  }
}
