/* Feilaifeiquvisa typography refresh: clean sans-serif headings, compact manifesto */
:root {
  --sans: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --serif: var(--sans);
  --english: var(--sans);
}

body {
  font-family: var(--sans);
  font-size: 15px;
}

h1,
h2,
h3 {
  font-family: var(--sans);
}

.main-nav a {
  font-size: 16px;
  font-weight: 600;
}

.country-card-flag,
.directory-card-head > span,
.featured-country-link > span {
  overflow: hidden;
}

.country-card-flag img,
.directory-card-head > span img,
.featured-country-link > span img,
.country-related a > span:first-child img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 2px;
  object-fit: contain;
  background: #fff;
}

.country-card-flag img {
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(12, 34, 37, 0.12);
}

.country-kicker #countryPageFlag {
  display: inline-flex;
  width: 26px;
  height: 19px;
  overflow: hidden;
  border-radius: 4px;
}

.country-kicker #countryPageFlag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-brief-head #countryBriefFlag {
  display: block;
  width: 54px;
  height: 38px;
  flex: 0 0 54px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.24);
}

.country-brief-head #countryBriefFlag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-related a > span:first-child {
  display: inline-flex;
  width: 25px;
  height: 18px;
  flex: 0 0 25px;
  overflow: hidden;
  border-radius: 3px;
}

.section {
  padding: 96px 0;
}

.section-heading-row {
  gap: 54px;
  margin-bottom: 44px;
}

.process-rail {
  margin-bottom: 32px;
}

.contact-grid {
  gap: 80px;
}

.page-section {
  padding: 84px 0;
}

.page-section-head {
  margin-bottom: 38px;
}

.country-main {
  padding: 46px 0 68px;
}

.country-content {
  gap: 16px;
}

.country-section {
  padding: 26px;
}

.directory-grid {
  gap: 12px;
}

.hero-ripples {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-ripple {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.25);
  animation: hero-ripple-out 1.35s cubic-bezier(0.18, 0.66, 0.3, 1) forwards;
  mix-blend-mode: screen;
}

.hero-ripple::after {
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: inherit;
  content: "";
}

.hero-ripple.is-strong {
  border-color: rgba(223, 192, 139, 0.75);
  box-shadow: 0 0 0 10px rgba(223, 192, 139, 0.08);
  animation-duration: 1.55s;
}

@keyframes hero-ripple-out {
  0% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(0.25);
  }
  58% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(7.4);
  }
}

.brand-copy strong,
.section-heading h2,
.hero h1,
.schengen-number,
.schengen-intro h2,
.contact-copy h2,
.country-card-copy > span,
.country-directory-hero h1,
.country-seo-hero h1,
.page-hero h1,
.page-section-head h2,
.split-copy h2,
.country-section h2,
.cta-band h2 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.manifesto {
  padding: 74px 0;
}

.manifesto-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 56px;
  align-items: start;
}

.manifesto-grid .section-heading h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.18;
}

.manifesto-copy {
  padding-left: 27px;
}

.manifesto-copy p {
  margin-bottom: 13px;
  font-size: 13px;
  line-height: 1.9;
}

.manifesto-rules {
  margin-top: 19px;
}

.manifesto-rules span {
  padding: 11px 10px 11px 0;
}

@media (max-width: 980px) {
  .main-nav a {
    font-size: 17px;
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .manifesto-copy {
    padding-left: 0;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 66px 0;
  }

  .page-section {
    padding: 64px 0;
  }

  .manifesto {
    padding: 50px 0;
  }
}

@media (max-width: 1180px) and (min-width: 981px) {
  .main-nav a {
    font-size: 14px;
  }
}
