/* AxFina international – holding homepage + country hotspots */

.lang-dropdown .lang-code {
  display: inline-block;
  min-width: 1.6em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-dropdown__menu a.is-active {
  font-weight: 700;
  color: #5c9ecd !important;
}

.lang-dropdown__menu small {
  opacity: 0.7;
  margin-left: 0.25rem;
}

/* —— Brand logo (international wordmark + country under FINA) —— */
.brand-logo {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}

.brand-logo__mark {
  position: relative;
  display: block;
  width: 138px;
}

.header-area .logo .brand-logo__mark {
  width: 128px;
}

.brand-logo__mark img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-logo__sub {
  position: absolute;
  left: 46%;
  right: 1%;
  top: 68%;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
  line-height: 1;
  color: #ffffff;
  pointer-events: none;
  white-space: nowrap;
}

body.page-holding .brand-logo__sub {
  color: #29abe2;
}

.footer-area .brand-logo__mark {
  width: 150px;
}

.footer-area .brand-logo__sub {
  color: #ffffff;
}

/* —— Holding homepage (European HQ style) —— */
body.page-holding {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  background: transparent;
}

/* Gradient on main; fixed dots on viewport (behind content, covered by dark footer) */
body.page-holding main {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  padding-top: 78px;
  background: linear-gradient(180deg, #ffffff 0%, #eceef1 28%, #c5cad1 72%, #aeb5be 100%);
}

body.page-holding::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ccircle cx='8' cy='14' r='1.9' fill='%23ffffff' fill-opacity='0.55'/%3E%3Ccircle cx='34' cy='6' r='1.35' fill='%23ffffff' fill-opacity='0.28'/%3E%3Ccircle cx='58' cy='18' r='2.15' fill='%23ffffff' fill-opacity='0.42'/%3E%3Ccircle cx='86' cy='10' r='1.2' fill='%23ffffff' fill-opacity='0.22'/%3E%3Ccircle cx='108' cy='22' r='1.7' fill='%23ffffff' fill-opacity='0.38'/%3E%3Ccircle cx='18' cy='40' r='1.5' fill='%23ffffff' fill-opacity='0.3'/%3E%3Ccircle cx='46' cy='48' r='1.95' fill='%23ffffff' fill-opacity='0.48'/%3E%3Ccircle cx='72' cy='36' r='1.25' fill='%23ffffff' fill-opacity='0.25'/%3E%3Ccircle cx='98' cy='44' r='1.8' fill='%23ffffff' fill-opacity='0.4'/%3E%3Ccircle cx='12' cy='68' r='1.65' fill='%23ffffff' fill-opacity='0.35'/%3E%3Ccircle cx='38' cy='76' r='1.2' fill='%23ffffff' fill-opacity='0.2'/%3E%3Ccircle cx='64' cy='66' r='2.1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Ccircle cx='90' cy='78' r='1.4' fill='%23ffffff' fill-opacity='0.32'/%3E%3Ccircle cx='112' cy='62' r='1.55' fill='%23ffffff' fill-opacity='0.36'/%3E%3Ccircle cx='26' cy='96' r='1.9' fill='%23ffffff' fill-opacity='0.44'/%3E%3Ccircle cx='52' cy='104' r='1.25' fill='%23ffffff' fill-opacity='0.24'/%3E%3Ccircle cx='78' cy='92' r='1.7' fill='%23ffffff' fill-opacity='0.4'/%3E%3Ccircle cx='104' cy='108' r='1.5' fill='%23ffffff' fill-opacity='0.3'/%3E%3Ccircle cx='6' cy='112' r='1.1' fill='%23ffffff' fill-opacity='0.18'/%3E%3C/svg%3E");
  background-size: 108px 108px;
  background-repeat: repeat;
  opacity: 0.85;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 22%, rgba(0, 0, 0, 0.85) 58%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 22%, rgba(0, 0, 0, 0.85) 58%, #000 100%);
}

body.page-holding main > * {
  position: relative;
  z-index: 1;
}

body.page-holding .footer-area {
  position: relative;
  z-index: 2;
}

/* keep scroll-up fixed — must not sit in document flow after footer */
body.page-holding .scroll-up {
  position: fixed !important;
  z-index: 99;
}

/* Holding top bar: fixed frosted glass — always blurred, never opaque solid */
body.page-holding .header-holding.header-area,
body.page-holding .header-holding.header-area.menu-fixed {
  top: 0 !important;
  position: fixed !important;
  width: 100%;
  z-index: 99;
  background: rgba(255, 255, 255, 0.38) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.15);
  backdrop-filter: blur(28px) saturate(1.15);
  box-shadow: none !important;
  border-bottom: 1px solid rgba(18, 28, 39, 0.06);
  animation: none !important;
}

body.page-holding .header-holding.header-area::after,
body.page-holding .header-holding.header-area.menu-fixed::after {
  content: none !important;
  display: none !important;
}

.header-holding__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  padding: 12px 0 10px;
}

.header-holding .eu-lang {
  margin: 0;
  max-width: none;
  justify-content: flex-end;
  gap: 8px 10px;
}

.header-holding .eu-lang__label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

@media (max-width: 767px) {
  .header-holding .eu-lang__label {
    display: none;
  }
}

.header-holding .eu-lang__control {
  width: 150px;
}

.header-holding .eu-lang__select {
  padding: 7px 28px 7px 11px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.55);
}

.header-holding .logo {
  width: auto;
  transform: translateY(4px);
}

.header-holding .logo .brand-logo__mark {
  width: 128px;
}

body.page-holding .footer-area {
  flex: 0 0 auto;
  margin-top: auto;
  margin-bottom: 0 !important;
  background: #1a222c !important;
  width: 100%;
}

body.page-holding #preloader,
body.page-holding .preloader {
  background: #ffffff !important;
}

.eu-stage {
  position: relative;
  padding: 72px 0 100px;
  background: transparent;
}

body.page-holding .eu-stage {
  padding-top: 28px;
}

.eu-stage__intro {
  max-width: 640px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 10;
}

.eu-stage__title {
  margin: 0;
  color: #121c27;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.eu-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  max-width: 420px;
  margin: 0 auto 8px;
  position: relative;
  z-index: 10;
}

.eu-lang__label {
  display: inline-block;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a6570;
  white-space: nowrap;
}

.eu-lang__control {
  position: relative;
  flex: 0 0 auto;
  width: 150px;
}

.eu-lang__control::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #121c27;
  border-bottom: 1.5px solid #121c27;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.eu-lang__select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 7px 28px 7px 11px;
  border: 1px solid rgba(18, 28, 39, 0.18);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
  color: #121c27;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(18, 28, 39, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eu-lang__select:hover,
.eu-lang__select:focus {
  outline: none;
  border-color: #29abe2;
  box-shadow: 0 0 0 2px rgba(41, 171, 226, 0.12);
}

.eu-stage__canvas {
  position: relative;
  z-index: 1;
  width: min(620px, 88vw);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.eu-stage__map {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

/* Hotspot: left/top = country center; label above; pulse rings */
.eu-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: block;
  width: 16px;
  height: 16px;
  text-decoration: none;
  color: inherit;
  overflow: visible;
}

.eu-hotspot:hover,
.eu-hotspot:focus-visible {
  z-index: 20;
}

.eu-hotspot::before,
.eu-hotspot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: 0;
  border-radius: 50%;
  border: 2px solid rgba(41, 171, 226, 0.65);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  animation: eu-hotspot-pulse 2.6s ease-out infinite;
  pointer-events: none;
  z-index: 0;
}

.eu-hotspot::after {
  animation-delay: 1.3s;
  border-color: rgba(18, 28, 39, 0.45);
}

.eu-hotspot__dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #121c27;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

.eu-hotspot__label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  top: auto;
  transform: translate(-50%, 6px);
  padding: 5px 11px;
  background: #121c27;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 2;
  border-radius: 2px;
}

.eu-hotspot:hover .eu-hotspot__dot,
.eu-hotspot:focus-visible .eu-hotspot__dot {
  background: #29abe2;
  transform: scale(1.2);
}

.eu-hotspot:hover .eu-hotspot__label,
.eu-hotspot:focus-visible .eu-hotspot__label {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes eu-hotspot-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.75;
  }
  70% {
    opacity: 0.2;
  }
  100% {
    transform: translate(-50%, -50%) scale(3.2);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eu-hotspot::before,
  .eu-hotspot::after {
    animation: none;
  }
}

/* Country directory under map */
.eu-directory {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(18, 28, 39, 0.08);
}

.eu-directory__title {
  margin: 0 0 28px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #121c27;
}

.eu-directory__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 32px;
  max-width: 960px;
  margin: 0 auto;
}

.eu-directory__item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.eu-directory__item:hover .eu-directory__name,
.eu-directory__item:focus-visible .eu-directory__name {
  color: #29abe2;
}

.eu-directory__name {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #121c27;
  transition: color 0.2s ease;
}

.eu-directory__address {
  display: block;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #6a7580;
}

.country-news .news-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(18, 28, 39, 0.08);
  overflow: hidden;
}

.country-news .news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.country-news .news-card__body {
  padding: 18px 20px 22px;
}

.country-news .news-card__body h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.country-news .news-card__body h4 a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 991px) {
  .eu-directory__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .eu-stage {
    padding: 96px 0 72px;
  }

  .eu-directory {
    margin-top: 40px;
    padding-top: 28px;
  }

  .eu-directory__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
    justify-items: center;
    text-align: center;
  }

  .eu-directory__item {
    text-align: center;
    width: 100%;
    max-width: 220px;
  }

  .eu-hotspot {
    width: 14px;
    height: 14px;
  }

  /* Mobile: labels hidden until tap */
  .eu-hotspot__label {
    opacity: 0;
    transform: translate(-50%, 6px);
    font-size: 10px;
    padding: 3px 7px;
    bottom: calc(100% + 8px);
  }

  .eu-hotspot.is-open,
  .eu-hotspot:focus-visible {
    z-index: 20;
  }

  .eu-hotspot.is-open .eu-hotspot__label,
  .eu-hotspot:focus-visible .eu-hotspot__label {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .eu-hotspot.is-open .eu-hotspot__dot,
  .eu-hotspot:focus-visible .eu-hotspot__dot {
    background: #29abe2;
    transform: scale(1.2);
  }

  .eu-hotspot__dot {
    width: 14px;
    height: 14px;
    border-width: 2px;
  }
}

@media (max-width: 480px) {
  .eu-directory__grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}
