@font-face {
  font-family: 'Feryno Serif';
  src: url('fonts/feryno-heading-subset.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* Keep the original Astra/Spectra hero composition and section structure. */
.entry-content .feryno-hero {
  background-position: center center;
  background-size: cover;
  background-attachment: scroll;
}
.entry-content .feryno-hero::before {
  background: linear-gradient(90deg,rgba(4,20,35,.64) 0%,rgba(4,20,35,.28) 53%,rgba(4,20,35,.04) 100%) !important;
  opacity: 1 !important;
}
.feryno-hero .feryno-eyebrow {
  align-self: flex-start;
  color: #b9e2e3;
  font: 500 14px/1.6 'Noto Sans SC','Microsoft YaHei',sans-serif;
  letter-spacing: .16em;
  margin: 0 0 22px;
}
.feryno-hero .uagb-block-2a834b20 {
  max-width: 920px;
  width: 100%;
  align-self: flex-start;
  margin-left: 0;
  margin-right: auto;
}
.feryno-hero .uagb-ifb-title {
  font-family: 'Feryno Serif','Noto Serif SC','STZhongsong','SimSun',serif !important;
  font-size: 64px !important;
  font-weight: 600 !important;
  line-height: 1.36 !important;
  letter-spacing: -.035em;
  text-wrap: balance;
  margin-bottom: 26px !important;
}
.feryno-hero .uagb-ifb-desc {
  max-width: 700px;
  margin-right: 0 !important;
  margin-bottom: 30px !important;
  color: #e1e8ed !important;
  font-family: 'Noto Sans SC','Microsoft YaHei',sans-serif;
  font-size: 16px !important;
  line-height: 1.95 !important;
  letter-spacing: .025em;
}
.feryno-hero .uagb-block-59659afa .uagb-buttons__wrap {
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.feryno-hero .wp-block-button__link {
  min-height: 50px;
  padding: 14px 25px;
  font-family: 'Noto Sans SC','Microsoft YaHei',sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .035em;
  border-radius: 3px;
}
.feryno-hero .uagb-block-eb83126d .wp-block-button__link {
  background: #4faaaa !important;
  border: 1px solid #4faaaa !important;
}
.feryno-hero .uagb-block-eb83126d .wp-block-button__link:hover {
  background: #3f9295 !important;
  border-color: #3f9295 !important;
}
.feryno-hero .uagb-block-f3e2a109 .wp-block-button__link {
  background: rgba(7,27,43,.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.58) !important;
}
.feryno-hero .uagb-block-f3e2a109 .wp-block-button__link:hover {
  background: rgba(255,255,255,.1) !important;
  border-color: #fff !important;
}
.feryno-hero a:focus-visible { outline: 2px solid #b9e2e3; outline-offset: 5px; }
.site-logo-img img[src*='feryno-logo'] { width: 210px; height: auto; }
.ast-theme-transparent-header .site-logo-img img[src*='feryno-logo'] {
  filter: url('feryno-logo-colors.svg#on-dark');
}
#masthead .ast-custom-button { white-space: nowrap; }
/* Clip only horizontal animation travel, preserving vertical card overlap. */
.site-content { overflow-x: clip; }

@media (max-width: 1100px) {
  .feryno-hero .uagb-ifb-title { font-size: 49px !important; }
  .feryno-hero .uagb-ifb-desc { max-width: 610px; font-size: 15px !important; }
  .site-logo-img img[src*='feryno-logo'] { width: 180px; }
}
@media (max-width: 767px) {
  .entry-content .feryno-hero { background-position: 62% center; }
  .entry-content .feryno-hero::before {
    background: linear-gradient(90deg,rgba(4,20,35,.8),rgba(4,20,35,.42)) !important;
  }
  .feryno-hero .feryno-eyebrow { font-size: 11px; letter-spacing: .08em; margin-bottom: 20px; }
  .feryno-hero .uagb-ifb-title { font-size: clamp(22px,6.6vw,43px) !important; line-height: 1.48 !important; letter-spacing: -.035em; margin-bottom: 23px !important; }
  .feryno-hero .uagb-ifb-desc { font-size: 14px !important; line-height: 1.95 !important; margin-bottom: 26px !important; }
  .feryno-hero .uagb-block-59659afa .uagb-buttons__wrap { gap: 12px; }
  .feryno-hero .wp-block-button__link { min-height: 46px; font-size: 13px; padding: 12px 17px; }
  .site-logo-img img[src*='feryno-logo'] { width: 160px; }
  .ast-theme-transparent-header #ast-mobile-header .site-logo-img img[src*='feryno-logo'] { filter: url('feryno-logo-colors.svg#on-dark'); }
}
@media (prefers-reduced-motion: reduce) {
  .feryno-hero [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
