body.jfco-localized {
  font-family: "Inter", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #333;
}

body.jfco-localized[dir="rtl"] {
  font-family: "Noto Sans Arabic", "Inter", Arial, sans-serif;
  text-align: right;
}

body.jfco-localized.jfco-lang-ja {
  font-family: "Noto Sans JP", "Inter", Arial, sans-serif;
}

.jfco-localized .header-nav-bar,
.jfco-localized .bg-primary {
  background-color: #248bcb !important;
}

.jfco-language-switcher .dropdown-menu {
  min-width: 13rem;
}

.jfco-language-switcher .dropdown-menu a {
  color: #333 !important;
  white-space: nowrap;
}

.jfco-language-switcher i {
  margin-inline-end: 0.35rem;
}

body[dir="rtl"] .jfco-language-switcher i {
  margin-inline-end: 0;
  margin-inline-start: 0.35rem;
}

.jfco-l10n-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(110deg, rgba(12, 24, 38, 0.92), rgba(12, 24, 38, 0.62)), url("/img/slides/jfco-hero.jpg") center center / cover no-repeat;
}

.jfco-l10n-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.jfco-l10n-hero p,
.jfco-l10n-hero .jfco-eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.jfco-eyebrow {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

body[dir="rtl"] .jfco-eyebrow {
  letter-spacing: 0;
}

.jfco-section {
  padding: 70px 0;
}

.jfco-section-muted {
  background: #f7f9fb;
}

.jfco-section-title {
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  font-weight: 800;
  color: #222;
  letter-spacing: 0;
}

.jfco-accent-line {
  display: block;
  width: 56px;
  height: 3px;
  background: #248bcb;
  border-radius: 3px;
  margin: 12px 0 24px;
}

body[dir="rtl"] .jfco-accent-line {
  margin-right: 0;
  margin-left: auto;
}

.jfco-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e7ebef;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 12px 34px rgba(15, 31, 50, 0.06);
}

.jfco-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #222;
}

.jfco-card p,
.jfco-card li {
  color: #555;
  line-height: 1.75;
}

.jfco-stat {
  border-left: 4px solid #248bcb;
  padding-left: 20px;
}

body[dir="rtl"] .jfco-stat {
  border-left: 0;
  border-right: 4px solid #248bcb;
  padding-left: 0;
  padding-right: 20px;
}

.jfco-stat strong {
  display: block;
  font-size: 2rem;
  color: #222;
}

.jfco-logo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.jfco-logo-pair .jfco-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.jfco-logo-pair img {
  max-width: 220px;
  max-height: 70px;
  object-fit: contain;
  margin-bottom: 24px;
}

.jfco-guide article {
  max-width: 900px;
  margin: 0 auto;
}

.jfco-guide article h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-top: 36px;
}

.jfco-guide article p,
.jfco-guide article li {
  line-height: 1.85;
  color: #4f5964;
}

#footer {
  background-color: #f9f9f9 !important;
}

#footer,
#footer p,
#footer a,
#footer li,
#footer span,
#footer h3,
#footer h4,
#footer h5 {
  color: #333 !important;
}

#footer a:hover,
#footer .text-color-primary {
  color: #248bcb !important;
}

#footer .footer-copyright {
  background-color: #efefef !important;
}

@media (max-width: 767px) {
  .jfco-l10n-hero {
    min-height: 420px;
  }

  .jfco-logo-pair {
    grid-template-columns: 1fr;
  }

  .jfco-section {
    padding: 48px 0;
  }
}
