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

html,
body.fh-institution-front {
  margin: 0;
  padding: 0;
}

body.fh-institution-front {
  background: #f4f6f8;
  -webkit-font-smoothing: antialiased;
}

body.fh-institution-front #wpadminbar {
  position: fixed;
}

.fh-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: #b8923c;
  color: #0b3d3a;
  font-weight: 600;
  text-decoration: none;
}

.fh-skip:focus {
  left: 12px;
  top: 12px;
}

.fh-root a:focus-visible,
.fh-root button:focus-visible {
  outline: 2px solid #b8923c;
  outline-offset: 3px;
}

@keyframes fhFlow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(var(--fh-flow-end, 0px));
  }
}

@keyframes fhPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(184, 146, 60, 0.35);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(184, 146, 60, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fh-root * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 820px) {
  [data-fh="grid-3"],
  [data-fh="grid-mission"],
  [data-fh="grid-foot"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  [data-fh="grid-4"] {
    grid-template-columns: 1fr 1fr !important;
    row-gap: 36px !important;
  }

  [data-fh="flux-line"] {
    display: none !important;
  }

  .fh-hero-art {
    display: none !important;
  }
}

.fh-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 32px 104px;
}

.fh-hero-main {
  position: relative;
  z-index: 2;
  max-width: 54%;
}

.fh-hero-art {
  position: absolute;
  z-index: 1;
  left: 50%;
  right: 0;
  top: 96px;
  bottom: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: translateY(-100px);
}

.fh-hero-art__svg {
  width: min(88%, 360px);
  height: auto;
  display: block;
}

.fh-hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  margin: 64px 0 0;
  border-top: 1px solid rgba(244, 246, 248, 0.14);
  padding-top: 30px;
}

.fh-hero-stats > div {
  flex: 1;
  padding-right: 44px;
  border-right: 1px solid rgba(244, 246, 248, 0.14);
  white-space: nowrap;
}

.fh-hero-stats > div:last-child {
  padding-right: 0;
  border-right: none;
}

.fh-hero-stats > div + div {
  padding-left: 44px;
}

@media (max-width: 560px) {
  [data-fh="nav"] [data-hide] {
    display: none !important;
  }

  [data-fh="wrap"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  [data-fh="h1"] {
    font-size: 40px !important;
  }

  [data-fh="grid-4"] {
    grid-template-columns: 1fr !important;
  }

  [data-fh="hero-stats"] {
    flex-direction: column !important;
    gap: 20px !important;
  }

  [data-fh="hero-stats"] > div {
    border-right: none !important;
    border-left: 2px solid rgba(184, 146, 60, 0.4) !important;
    padding: 0 0 0 16px !important;
  }
}

.fh-news-thumb {
  aspect-ratio: 16 / 10;
  background: #eef1f3;
  border: 1px solid #e6e9ec;
  border-radius: 4px;
  overflow: hidden;
}

.fh-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fh-news-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c2c9cf;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.fh-root details summary::-webkit-details-marker {
  display: none;
}

.fh-root details summary::after {
  content: "+";
  float: right;
  color: #b8923c;
  font-family: "IBM Plex Mono", monospace;
}

.fh-root details[open] summary::after {
  content: "−";
}

/* Newsletter page (TravelTour + Mailster) */
.fh-newsletter-page {
  max-width: 520px;
  margin: 0 auto;
  padding: 24px 0 48px;
  font-family: "Manrope", system-ui, sans-serif;
}

.fh-newsletter-page h2 {
  font-family: "Bodoni Moda", serif;
  font-size: 28px;
  font-weight: 600;
  color: #13181d;
  margin: 0 0 12px;
}

.fh-newsletter-page > p {
  font-size: 16px;
  line-height: 1.65;
  color: #48515a;
  margin: 0 0 28px;
}

.fh-newsletter-page .mailster-form {
  margin-top: 8px;
}

.fh-newsletter-page .mailster-form .input {
  padding: 14px 16px;
  border: 1px solid #e1e5e9;
  border-radius: 4px;
  font-size: 16px;
}

.fh-newsletter-page .mailster-form .submit-button {
  background: #b8923c !important;
  color: #0b3d3a !important;
  border: none;
  padding: 14px 28px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
}

.fh-inner-content h2 {
  font-family: "Bodoni Moda", serif;
  font-size: 24px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: #13181d;
}

.fh-inner-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: #0b3d3a;
}

.fh-inner-content p,
.fh-inner-content li {
  font-size: 16px;
  line-height: 1.7;
  color: #48515a;
}

.fh-inner-content a {
  color: #0b3d3a;
  font-weight: 600;
}

.fh-inner-content blockquote {
  border-left: 3px solid #b8923c;
  margin: 20px 0;
  padding: 8px 0 8px 20px;
  color: #2a3138;
}

.fh-newsletter-page .mailster-form-info.success {
  background-color: #0b3d3a !important;
}
