/* PREVIEW ONLY. Does not replace the live homepage. */
:root {
  --hp-gold: #c98a00;
  --hp-gold-light: #f2c45b;
  --hp-navy: #123a6d;
  --hp-navy-deep: #0b2748;
  --hp-ink: #111111;
  --hp-white: #ffffff;
}

html, body.hp-preview {
  margin: 0;
  background: var(--hp-white);
  color: var(--hp-ink);
  font-family: "Source Sans 3", Arial, sans-serif;
  overflow-x: hidden;
}

.hp-note {
  margin: 0;
  padding: 8px 20px;
  background: #fff8e6;
  border-bottom: 1px solid rgba(201, 138, 0, .35);
  color: #5a3d00;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
}

.hp-canvas {
  width: 1920px;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  aspect-ratio: 16 / 9;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  min-height: 0;
}

.hp-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 36px 6px;
  background: #fff;
}

.hp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.hp-brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
}

.hp-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hp-brand-name {
  color: var(--hp-navy);
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  font-size: 18px;
}

.hp-brand-tag {
  color: var(--hp-navy);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.2;
}

.hp-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px 14px;
}

.hp-nav > a {
  color: var(--hp-navy);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hp-nav > a[aria-current="page"],
.hp-nav > a:hover {
  color: var(--hp-gold);
}

.hp-preview .lang-btn {
  color: var(--hp-navy);
  font-weight: 800;
}

.hp-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
  background: linear-gradient(135deg, #f2c45b, #c98a00);
  color: #1a1204;
}

.hp-legal {
  margin: 0;
  padding: 0 36px 4px;
  color: #6a6a6a;
  font-size: 11px;
}

.hp-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  padding: 4px 36px 10px;
  min-height: 0;
}

.hp-hero-copy {
  min-width: 0;
}

.hp-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: .9;
}

.hp-hero h1 .hp-name,
.hp-hero h1 .hp-line-navy,
.hp-hero h1 .hp-line-gold {
  display: block;
  background: none;
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.hp-hero h1 .hp-name {
  color: var(--hp-navy);
  font-size: clamp(64px, 6.4vw, 92px);
}

.hp-hero h1 .hp-line-navy {
  color: var(--hp-navy);
  font-size: clamp(22px, 2.2vw, 32px);
  margin-top: 8px;
}

.hp-hero h1 .hp-line-gold {
  color: var(--hp-gold);
  font-size: clamp(22px, 2.2vw, 32px);
  margin-top: 2px;
}

.hp-langs {
  margin: 14px 0 0;
  color: var(--hp-navy);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.45;
}

.hp-audience {
  margin: 10px 0 0;
  color: #2a2a2a;
  font-size: 15px;
  line-height: 1.5;
  max-width: 34rem;
}

.hp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
}

.hp-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hp-btn-gold {
  background: linear-gradient(135deg, #f2c45b, #c98a00);
  color: #1a1204;
}

.hp-btn-navy {
  background: var(--hp-navy);
  color: #fff;
}

.hp-hero-visual {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-hero-visual img {
  display: block;
  width: auto;
  max-width: min(100%, 1280px);
  max-height: 430px;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(18, 58, 109, .16);
  filter: none;
  opacity: 1;
}

.hp-band {
  display: grid;
  grid-template-columns: 1.35fr repeat(5, minmax(0, 1fr));
  gap: 4px 14px;
  align-items: center;
  margin: 0 36px 8px;
  padding: 8px 16px;
  background: #f6f4ef;
  border-radius: 18px;
}

.hp-program {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.hp-eu-stars {
  width: 40px;
  height: 40px;
}

.hp-band h2,
.hp-band h3 {
  margin: 0 0 2px;
}

.hp-program h2 {
  color: var(--hp-navy);
  font-size: 13px;
  letter-spacing: .03em;
  line-height: 1.25;
}

.hp-program p,
.hp-band article p {
  margin: 0;
  color: #333;
  font-size: 12px;
  line-height: 1.25;
}

.hp-band article h3 {
  color: var(--hp-gold);
  letter-spacing: .08em;
  font-size: 12px;
}

.hp-band article svg {
  width: 20px;
  height: 20px;
  fill: var(--hp-gold);
  margin-bottom: 1px;
  display: block;
}

.hp-foot {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #071e3a;
  color: #fff;
  padding: 16px 36px 10px;
}

.hp-foot-map {
  position: absolute;
  right: -40px;
  top: 8px;
  width: 320px;
  height: 180px;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 40%, rgba(242, 196, 91, .22) 2px, transparent 3px),
    radial-gradient(circle at 48% 28%, rgba(242, 196, 91, .2) 2px, transparent 3px),
    radial-gradient(circle at 62% 52%, rgba(242, 196, 91, .18) 2px, transparent 3px),
    radial-gradient(circle at 74% 36%, rgba(242, 196, 91, .16) 2px, transparent 3px),
    radial-gradient(circle at 40% 68%, rgba(242, 196, 91, .12) 80px, transparent 81px);
  opacity: .7;
}

.hp-foot-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr .9fr 1.7fr .95fr;
  gap: 16px 22px;
  align-items: start;
}

.hp-foot h3 {
  margin: 0 0 8px;
  color: var(--hp-gold-light);
  letter-spacing: .08em;
  font-size: 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
}

.hp-foot a,
.hp-foot p {
  color: #fff;
  text-decoration: none;
  line-height: 1.4;
  font-size: 13px;
  margin: 0 0 3px;
}

.hp-foot a:hover {
  color: var(--hp-gold-light);
}

.hp-foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--hp-gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: .12em;
  font-size: 22px;
}

.hp-shield {
  width: 34px;
  height: 40px;
  flex: 0 0 auto;
}

.hp-social {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 10px;
}

.hp-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--hp-gold-light);
  border: 1px solid rgba(242, 196, 91, .45);
  flex: 0 0 auto;
}

.hp-social svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.hp-social a.is-unset {
  opacity: .55;
  cursor: default;
}

.hp-course {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 0 0 8px;
  color: #fff;
}

.hp-course svg {
  width: 20px;
  height: 20px;
  fill: var(--hp-gold-light);
  margin-top: 2px;
}

.hp-course strong {
  display: block;
  color: var(--hp-gold-light);
  font-size: 12px;
  letter-spacing: .06em;
  line-height: 1.2;
  margin-bottom: 2px;
}

.hp-course span {
  font-size: 12px;
  line-height: 1.35;
}

.hp-support {
  color: var(--hp-gold-light);
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 11px;
  margin-right: 4px;
}

.hp-top {
  position: absolute;
  right: 28px;
  top: auto;
  bottom: 52px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(242, 196, 91, .45);
  border-radius: 999px;
  color: var(--hp-gold-light);
  background: transparent;
}

.hp-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hp-preview .lang-menu.hidden,
.hp-preview .modal.hidden,
.hp-preview .hegja-lang-host {
  display: none !important;
}

.hp-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-top: 8px;
  padding-top: 8px;
  padding-right: 56px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
}

.hp-copy p {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  max-width: none;
}

.hp-copy strong {
  color: var(--hp-gold-light);
  white-space: nowrap;
}

@media (min-width: 1101px) {
  html,
  body.hp-preview {
    height: 100%;
    overflow: hidden;
  }

  body.hp-preview {
    display: flex;
    flex-direction: column;
    height: 100vh;
  }

  .hp-note {
    flex: 0 0 auto;
    padding: 3px 20px;
    font-size: 12px;
  }

  .hp-canvas {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
  }

  .hp-bar {
    padding: 4px 36px 2px;
  }

  .hp-brand {
    gap: 8px;
  }

  .hp-brand img {
    width: 34px;
    height: 34px;
  }

  .hp-brand-name {
    font-size: 16px;
  }

  .hp-nav {
    gap: 2px 12px;
  }

  .hp-nav > a {
    padding: 4px 2px;
    font-size: 12px;
  }

  .hp-auth {
    min-height: 32px;
    padding: 6px 14px;
  }

  .hp-legal {
    padding: 0 36px 2px;
    font-size: 11px;
  }

  .hp-hero {
    gap: 16px;
    padding: 0 28px 4px;
    align-items: stretch;
  }

  .hp-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hp-hero h1 .hp-name {
    font-size: clamp(52px, 5.2vw, 78px);
  }

  .hp-hero h1 .hp-line-navy,
  .hp-hero h1 .hp-line-gold {
    font-size: clamp(20px, 1.9vw, 28px);
    margin-top: 4px;
  }

  .hp-langs {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.35;
  }

  .hp-audience {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.4;
  }

  .hp-actions {
    gap: 10px;
    margin-top: 8px;
  }

  .hp-btn {
    min-width: 188px;
    min-height: 40px;
    padding: 8px 18px;
    font-size: 12px;
  }

  .hp-hero-visual {
    min-height: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .hp-hero-visual img {
    width: auto;
    height: auto;
    max-width: min(100%, 1280px);
    max-height: min(100%, 366px);
    object-fit: contain;
    object-position: right center;
    border-radius: 18px;
  }

  .hp-band {
    gap: 2px 12px;
    margin: 0 36px 4px;
    padding: 4px 14px;
  }

  .hp-program {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
  }

  .hp-eu-stars {
    width: 34px;
    height: 34px;
  }

  .hp-band article svg {
    width: 18px;
    height: 18px;
  }

  .hp-foot {
    padding: 8px 36px 6px;
  }

  .hp-foot-grid {
    gap: 8px 18px;
  }

  .hp-foot h3 {
    margin: 0 0 4px;
  }

  .hp-foot a,
  .hp-foot p {
    line-height: 1.3;
    margin: 0 0 2px;
    font-size: 12px;
  }

  .hp-foot-brand {
    margin-bottom: 4px;
    font-size: 20px;
  }

  .hp-shield {
    width: 30px;
    height: 36px;
  }

  .hp-social {
    margin-top: 6px;
    gap: 5px;
  }

  .hp-social a {
    width: 26px;
    height: 26px;
  }

  .hp-course {
    margin: 0 0 4px;
    gap: 6px;
  }

  .hp-course svg {
    width: 18px;
    height: 18px;
  }

  .hp-top {
    width: 36px;
    height: 36px;
    bottom: 36px;
  }

  .hp-copy {
    margin-top: 4px;
    padding-top: 6px;
  }
}

@media (max-width: 1100px) {
  .hp-canvas {
    width: 100%;
    aspect-ratio: auto;
    display: block;
    overflow-x: hidden;
  }
  .hp-bar,
  .hp-nav {
    flex-wrap: wrap;
  }
  .hp-hero,
  .hp-band,
  .hp-foot-grid {
    grid-template-columns: 1fr;
  }
  .hp-hero-visual img {
    max-height: none;
  }
  .hp-bar,
  .hp-legal,
  .hp-hero,
  .hp-band {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hp-band {
    margin: 0 16px 12px;
  }
  .hp-foot {
    width: 100%;
    margin: 0;
    padding: 20px 16px 16px;
  }
  .hp-copy {
    grid-template-columns: 1fr;
    padding-right: 0;
  }
  .hp-copy p {
    max-width: 100%;
  }
  .hp-top {
    position: static;
    margin-top: 8px;
  }
  .hp-btn {
    width: 100%;
  }
  .hp-social {
    flex-wrap: wrap;
  }
}
