/* =========================================================
   Front Page (home)
   File: assets/css/30-pages/front.css

   Policy:
   - 見た目は変えない（現状スクショのまま）
   - 重複/未使用/衝突だけ削除・統合
   - 100vw要素の横スクロール原因を潰す（余白ズレ対策）
========================================================= */

/* =========================
   Tokens
========================= */
:root {
  --nfu-bg: #f4f6ff;
  --nfu-panel: #ffffff;
  --nfu-text: #0b102a;
  --nfu-muted: rgba(11, 16, 42, 0.72);

  --nfu-primary: #1b2988; /* Team blue */
  --nfu-accent: #f2b705; /* Accent yellow（※今回は基本使わない） */
  --nfu-nav-active: #9bb8ff;

  --nfu-border: #d7dbf0;

  --nfu-shadow: 0 12px 28px rgba(11, 16, 42, 0.08);
  --nfu-shadow-strong: 0 18px 40px rgba(11, 16, 42, 0.18);

  /* home only */
  --nfu-home-bg: #0b102a;

  /* header overlay spacing (hero padding-top uses this) */
  --nfu-header-space: 84px;

  /* hero glass */
  --nfu-hero-glass-bg: rgba(244, 246, 255, 0.1);
  --nfu-hero-glass-border: rgba(255, 255, 255, 0.14);
  --nfu-hero-glass-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

/* =========================
   Home base
========================= */
body.home {
  background: var(--nfu-home-bg);
  color: #fff;
  overflow-x: hidden; /* 100vw系の横スクロール（= “謎の余白” の元）を封じる */
}

/* ブロックテーマ側の背景を透過させて body の濃紺を見せる */
body.home .wp-site-blocks {
  background: transparent;
}

/* front wrapper */
.nfu-front {
  display: grid;
  gap: 100px;
}

/* =========================
   Hero (full-bleed)
========================= */
.nfu-front__hero {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw); /* フルブリードを安定させる */
  overflow: hidden;

  padding: calc(var(--nfu-header-space) + 54px) 0 28px;
  min-height: clamp(340px, 56vh, 520px);
}

.nfu-front__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 16, 42, 0.55) 0%,
    rgba(11, 16, 42, 0.22) 38%,
    rgba(11, 16, 42, 0.1) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.nfu-front__hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(
    180deg,
    rgba(11, 16, 42, 0) 0%,
    rgba(11, 16, 42, 0.4) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.nfu-front__hero--hasbg {
  background-image:
    linear-gradient(
      90deg,
      rgba(11, 16, 42, 0.66),
      rgba(11, 16, 42, 0.18) 60%,
      rgba(11, 16, 42, 0.08)
    ),
    var(--nfu-hero-bg);
  background-size: cover;
  background-position: center;
  min-height: clamp(380px, 72vh, 720px);
}

/* =========================
   Hero inner (glass badge)
========================= */
.nfu-front__heroInner {
  position: absolute;
  right: clamp(14px, 6vw, 72px);
  bottom: clamp(18px, 6vh, 64px);
  z-index: 1;

  max-width: 680px;
  width: fit-content;

  padding: 22px;
  border-radius: 14px;

  background: var(--nfu-hero-glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--nfu-hero-glass-border);
  box-shadow: var(--nfu-hero-glass-shadow);

  color: rgba(244, 246, 255, 0.96);
}

.nfu-front__heroKicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 246, 255, 0.75);
  margin: 0 0 10px;
}

.nfu-front__title {
  margin: 0;
  font-size: clamp(26px, 3vw, 44px);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

/* =========================
   Front About (under hero)
========================= */
.nfu-front__about {
  max-width: var(--nfu-container);
  margin: 0 auto;
  padding: 0 24px;
}

.nfu-front__aboutInner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
}

.nfu-front__aboutKicker {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #005fff;
  margin: 0 0 12px;
}

.nfu-front__aboutTitle {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: rgba(244, 246, 255, 0.96);
}

.nfu-front__aboutOverline {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(244, 246, 255, 0.75);
  margin: 2px 0 16px;
}

.nfu-front__aboutBody {
  color: rgba(244, 246, 255, 0.9);
  font-size: 15px;
  line-height: 1.9;
}

.nfu-front__aboutBody p {
  margin: 0 0 14px;
}

/* responsive */
@media (max-width: 860px) {
  .nfu-front__aboutInner {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Sections layout helpers
========================= */
body.home #nfu-front-news,
body.home #nfu-front-member {
  max-width: var(--nfu-container);
  margin: 0 auto;
}

.nfu-panel {
  background: rgba(255, 255, 255, 0.98);
  color: var(--nfu-text);
  border: none;
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--nfu-shadow-strong);
}

.nfu-sectionhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.nfu-sectionhead__title {
  margin: 0;
  padding-left: 12px;
  position: relative;
}

.nfu-sectionhead__title::before {
  content: "";
  position: absolute;
  left: 0;
  width: 4px;
  height: 1.1em;
  border-radius: 2px;
}

.nfu-sectionhead__more {
  font-weight: 900;
  text-decoration: none;
  color: var(--nfu-primary);
}

.nfu-sectionhead__more:hover {
  text-decoration: underline;
}

/* =========================
   Front News (TOPICS-like cards)
========================= */
body.home #nfu-front-news .nfu-panel {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

body.home #nfu-front-news .nfu-sectionhead__title {
  color: rgba(244, 246, 255, 0.96);
}

body.home #nfu-front-news .nfu-sectionhead__title::before {
  background: #005fff;
}

body.home #nfu-front-news .nfu-sectionhead__more {
  color: rgba(244, 246, 255, 0.92);
  text-decoration: none;
  padding: 10px;
  border-radius: 10px;
}
body.home #nfu-front-news .nfu-sectionhead__more:hover {
  background: #005fff;
}

/* News list: 4 -> 2 -> 1 columns */
body.home #nfu-front-news .nfu-newslist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}

@media (max-width: 1024px) {
  body.home #nfu-front-news .nfu-newslist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.home #nfu-front-news .nfu-newslist {
    grid-template-columns: 1fr;
  }
}

body.home #nfu-front-news .nfu-newslist__item a {
  display: grid;
  grid-template-rows: auto 1fr;
  text-decoration: none;
  background: rgba(11, 16, 42, 0.26);
  color: white;
}

body.home #nfu-front-news .nfu-newslist__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}

body.home #nfu-front-news .nfu-newslist__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home #nfu-front-news .nfu-newslist__body {
  padding: 10px 12px;
  background: rgba(11, 16, 42, 0.86);
}

body.home #nfu-front-news .nfu-newslist__meta {
  font-size: 11px;
  font-weight: 800;
  color: white;
}

body.home #nfu-front-news .nfu-newslist__title {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  color: rgba(244, 246, 255, 0.95);

  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.home #nfu-front-news .nfu-newslist__item a:hover {
  filter: brightness(1.3);
  color: #005fff;
  text-decoration: #005fff;
}

/* =========================
   Front Match (screenshot-like)
========================= */

body.home #nfu-front-match .nfu-front-match {
  max-width: var(--nfu-container);
  margin: 0 auto;
  background: #0b102a;
  box-shadow: var(--nfu-shadow-lg);
}

body.home #nfu-front-match .nfu-front-match__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

body.home #nfu-front-match .nfu-front-match__title {
  color: rgba(244, 246, 255, 0.96);
}

.nfu-front-match__title {
  margin: 0;
  padding-left: 12px;
  position: relative;
}

body.home #nfu-front-match .nfu-front-match__title::before {
  background: #005fff;
}

.nfu-front-match__title::before {
  content: "";
  position: absolute;
  left: 0;
  width: 4px;
  height: 1.1em;
  border-radius: 2px;
}

body.home #nfu-front-match .nfu-front-match__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  body.home #nfu-front-match .nfu-front-match__grid {
    grid-template-columns: 1fr;
  }
}

/* White cards */
body.home #nfu-front-match .nfu-matchcard {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  color: var(--nfu-text);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(215, 219, 240, 1);

  display: flex; /* ← 高さ揃えの土台 */
  flex-direction: column; /* ← ラベル→中身→余白 の順で安定 */
}

body.home #nfu-front-match .nfu-matchcard__label {
  font-weight: 1000;
  letter-spacing: 0.06em;
  font-size: 34px;
  line-height: 1;
  color: #005fff;
  margin-bottom: 6px;
}

body.home #nfu-front-match .nfu-matchcard__labeljp {
  font-weight: 900;
  color: rgba(11, 16, 42, 0.72);
  margin-bottom: 12px;
}

/* CTA bottom */
body.home #nfu-front-match .nfu-front-match__cta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  text-decoration: none;
  color: rgba(244, 246, 255, 0.92);
  font-weight: 900;

  padding: 14px 14px 14px 16px;
  border-radius: 14px;
  background: #0b102a;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

body.home #nfu-front-match .nfu-front-match__cta:hover {
  background: #005fff;
  border-color: #005fff;
  transform: translateY(-1px);
  text-decoration: none;
}

body.home #nfu-front-match .nfu-front-match__ctaIcon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: rgba(244, 246, 255, 0.94);
  color: var(--nfu-primary);
  font-weight: 1000;
}

/* Inside shortcodes typography */
body.home #nfu-front-match a {
  color: var(--nfu-primary);
  font-weight: 900;
  text-decoration: none;
}
body.home #nfu-front-match a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.home #nfu-front-match .nfu-matchmini {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

body.home #nfu-front-match .nfu-matchmini__item {
  padding-top: 12px;
  border-top: 1px solid var(--nfu-border);
}
body.home #nfu-front-match .nfu-matchmini__item:first-child {
  padding-top: 0;
  border-top: 0;
}

body.home #nfu-front-match .nfu-matchmini__meta {
  font-size: 12px;
  font-weight: 900;
  color: rgba(11, 16, 42, 0.62);
}

body.home #nfu-front-match .nfu-matchmini__title {
  font-weight: 1000;
  line-height: 1.35;
}

body.home #nfu-front-match .nfu-matchmini__sub {
  font-size: 13px;
  color: rgba(11, 16, 42, 0.72);
}

body.home #nfu-front-match .nfu-matchrecent {
  display: grid;
  gap: 8px;
}

body.home #nfu-front-match .nfu-matchrecent__meta {
  font-size: 12px;
  font-weight: 900;
  color: rgba(11, 16, 42, 0.62);
}

body.home #nfu-front-match .nfu-matchrecent__title {
  font-weight: 1000;
}

body.home #nfu-front-match .nfu-matchrecent__score {
  font-weight: 1000;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: rgba(11, 16, 42, 0.92);
}

/* =========================
   CTA blocks (Instagram / Contact)
========================= */
.nfu-front__cta {
  max-width: var(--nfu-container);
  margin: 0 auto;
  border-radius: 18px;
  padding: 24px;
}

.nfu-front__cta--dark {
  color: #f4f6ff;
  background: linear-gradient(135deg, #0b102a, #1b2988);
  box-shadow: var(--nfu-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nfu-cta__head {
  font-weight: 900;
  font-size: 18px;
  margin: 0 0 8px;
}

.nfu-cta__text {
  opacity: 0.9;
  margin: 0 0 14px;
}

/* Buttons */
.nfu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid transparent;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.nfu-btn--primary {
  background: var(--nfu-primary);
  color: #fff;
  box-shadow: var(--nfu-shadow-brand);
}

.nfu-btn--primary:hover {
  background: var(--nfu-primary);
  border-color: var(--nfu-primary);
  transform: translateY(-1px);
}

/* =========================
   Breakpoints
========================= */
@media (max-width: 1024px) {
  .nfu-front__hero {
    min-height: 520px;
  }

  .nfu-front__heroInner {
    right: 24px;
    bottom: 24px;
    max-width: 560px;
    padding: 18px;
  }

  .nfu-front__title {
    font-size: clamp(24px, 3.2vw, 36px);
  }
}

@media (max-width: 768px) {
  :root {
    --nfu-header-space: 74px;
    --nfu-gutter: 0px;
  }

  body.home #nfu-front-news,
  body.home #nfu-front-member {
    padding: 0 var(--nfu-gutter);
  }

  .nfu-front__cta {
    margin: 0 var(--nfu-gutter);
  }

  .nfu-front__heroInner {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 640px) {
  .nfu-front__hero {
    min-height: 420px;
    padding: calc(var(--nfu-header-space) + 44px) 0 22px;
  }

  .nfu-front__heroInner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
    padding: 16px 14px;
    border-radius: 12px;
  }

  .nfu-front__title {
    font-size: 26px;
    line-height: 1.15;
  }

  body.home #nfu-front-match .nfu-front-match__head {
    display: block;
  }
}

/* =========================
   Team teaser (replaces Member grid on front)
   - B（チーム紹介ティザー）をベース
   - Aの“強い導線”を1枚混ぜる（MEMBERカード）
========================= */
body.home #nfu-front-member .nfu-panel--transparent {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

body.home #nfu-front-member .nfu-teamteaser {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 768px) {
  body.home #nfu-front-member .nfu-teamteaser {
    grid-template-columns: 1fr;
  }
}

body.home #nfu-front-member .nfu-teamteaser__card {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: clamp(240px, 28vw, 320px);
  border-radius: 16px;
  text-decoration: none;
  color: rgba(244, 246, 255, 0.98);

  background: linear-gradient(
    135deg,
    rgba(11, 16, 42, 0.95),
    rgba(27, 41, 136, 0.55)
  );
  box-shadow: var(--nfu-shadow-lg);
}

body.home #nfu-front-member .nfu-teamteaser__card--hasbg {
  background-image:
    linear-gradient(
      90deg,
      rgba(11, 16, 42, 0.72),
      rgba(11, 16, 42, 0.22) 62%,
      rgba(11, 16, 42, 0.12)
    ),
    var(--nfu-teaser-bg);
  background-size: cover;
  background-position: center;
}

body.home #nfu-front-member .nfu-teamteaser__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    1200px 420px at 14% 32%,
    rgba(0, 95, 255, 0.22),
    rgba(0, 0, 0, 0) 55%
  );
  pointer-events: none;
}

body.home #nfu-front-member .nfu-teamteaser__content {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 10px;
}

body.home #nfu-front-member .nfu-teamteaser__en {
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 1000;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

body.home #nfu-front-member .nfu-teamteaser__jp {
  font-size: 18px;
  font-weight: 900;
  opacity: 0.92;
}

body.home #nfu-front-member .nfu-teamteaser__desc {
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
}

body.home #nfu-front-member .nfu-teamteaser__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;

  font-weight: 900;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(244, 246, 255, 0.22);
  background: rgba(11, 16, 42, 0.35);
}

body.home #nfu-front-member .nfu-teamteaser__more:hover {
  background: #005fff;
}

body.home #nfu-front-member .nfu-teamteaser__arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(244, 246, 255, 0.92);
  color: rgba(11, 16, 42, 0.92);
  font-weight: 1000;
}

body.home #nfu-front-member .nfu-teamteaser__card:hover {
  filter: brightness(1.3);
}

@media (max-width: 640px) {
  body.home #nfu-front-member .nfu-teamteaser__content {
    padding: 20px;
  }
  body.home #nfu-front-member .nfu-teamteaser__desc {
    max-width: none;
  }
}

/* ==== FIX: TEAM/MEMBERカードが極細になる問題（幅潰れ対策） ==== */
body.home #nfu-front-member,
body.home #nfu-front-member .nfu-panel--transparent,
body.home #nfu-front-member .nfu-teamteaser {
  width: 100%;
  max-width: 100%;
}

body.home #nfu-front-member .nfu-teamteaser__card {
  width: 100%;
  min-width: 0; /* グリッド内の潰れ防止 */
}

/* =========================
   Front: Instagram gallery
========================= */
body.home #nfu-front-instagram.nfu-front__insta {
  max-width: var(--nfu-container);
  margin: 0 auto;
  padding: 56px var(--nfu-gutter);
  text-align: center;
}

body.home #nfu-front-instagram .nfu-insta__head {
  display: grid;
  justify-items: center;
  gap: 14px;
}

body.home #nfu-front-instagram .nfu-insta__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 246, 255, 0.96);
}

body.home #nfu-front-instagram .nfu-insta__follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 12px;

  color: rgba(244, 246, 255, 0.92);
  text-decoration: none;
  font-weight: 900;
  background: rgba(11, 16, 42, 0.35);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

body.home #nfu-front-instagram .nfu-insta__follow:hover {
  background: rgba(0, 95, 255, 0.95);
  border-color: rgba(0, 95, 255, 0.95);
  transform: translateY(-1px);
  color: #fff;
}

/* grid */
body.home #nfu-front-instagram .nfu-insta__grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

/* 画像タイル */
body.home #nfu-front-instagram .nfu-insta__item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;

  border-radius: 0; /* TIGERSっぽく角立て */
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(244, 246, 255, 0.14);
}

body.home #nfu-front-instagram .nfu-insta__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

body.home #nfu-front-instagram .nfu-insta__item:hover .nfu-insta__img {
  transform: scale(1.03);
  filter: brightness(1.06);
}

/* 右上の「インスタっぽい」角マーク（ただの雰囲気） */
body.home #nfu-front-instagram .nfu-insta__corner {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(11, 16, 42, 0.55);
  border: 1px solid rgba(244, 246, 255, 0.35);
  pointer-events: none;
}

/* 下のCTA */
body.home #nfu-front-instagram .nfu-insta__cta {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

/* empty */
body.home #nfu-front-instagram .nfu-insta__empty {
  margin: 22px 0 0;
  color: rgba(244, 246, 255, 0.78);
  font-weight: 800;
}

/* responsive */
@media (max-width: 1024px) {
  body.home #nfu-front-instagram .nfu-insta__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.home #nfu-front-instagram.nfu-front__insta {
    padding: 44px var(--nfu-gutter);
  }

  body.home #nfu-front-instagram .nfu-insta__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 640px) {
  body.home #nfu-front-instagram .nfu-insta__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* =========================
   Front: Contact (Chubu-like)
========================= */
body.home #nfu-front-contact.nfu-front__contact {
  max-width: var(--nfu-container);
}

body.home #nfu-front-contact .nfu-contact {
  border-radius: 18px;
  padding: clamp(22px, 3vw, 36px);
  background: linear-gradient(
    135deg,
    rgba(11, 16, 42, 0.72),
    rgba(27, 41, 136, 0.55)
  );
  box-shadow: var(--nfu-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

body.home #nfu-front-contact .nfu-contact__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 246, 255, 0.96);
}

body.home #nfu-front-contact .nfu-contact__icons {
  margin-top: 18px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

body.home #nfu-front-contact .nfu-contact__icon {
  text-decoration: none;
  color: rgba(244, 246, 255, 0.92);
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 96px;
}

body.home #nfu-front-contact .nfu-contact__glyph {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(244, 246, 255, 0.1);
  border: 1px solid rgba(244, 246, 255, 0.18);
}

body.home #nfu-front-contact .nfu-contact__icon:hover .nfu-contact__glyph {
  background: rgba(0, 95, 255, 0.85);
  border-color: rgba(0, 95, 255, 0.85);
}

body.home #nfu-front-contact .nfu-contact__label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  opacity: 0.92;
}

body.home #nfu-front-contact .nfu-contact__rule {
  height: 1px;
  margin: 22px auto 18px;
  background: rgba(244, 246, 255, 0.14);
}

body.home #nfu-front-contact .nfu-contact__grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}

body.home #nfu-front-contact .nfu-contact__box {
  border-radius: 14px;
  padding: 16px 16px 14px;
  background: rgba(11, 16, 42, 0.35);
  border: 1px solid rgba(244, 246, 255, 0.1);
  display: grid;
}

body.home #nfu-front-contact .nfu-contact__boxTitle {
  font-weight: 1000;
  color: rgba(244, 246, 255, 0.96);
  margin-bottom: 8px;
}

body.home #nfu-front-contact .nfu-contact__boxText {
  margin: 10px 0 12px;
  color: rgba(244, 246, 255, 0.82);
  line-height: 1.7;
  font-weight: 800;
  font-size: 13px;
}

body.home #nfu-front-contact .nfu-contact__kv {
  font-weight: 1000;
  color: rgba(244, 246, 255, 0.96);
  margin-bottom: 6px;
}

body.home #nfu-front-contact .nfu-contact__sub {
  color: rgba(244, 246, 255, 0.82);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 10px;
}

body.home #nfu-front-contact .nfu-contact__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 1000;
  color: rgba(244, 246, 255, 0.92);

  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(11, 16, 42, 0.35);
  border: 1px solid rgba(244, 246, 255, 0.16);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

body.home #nfu-front-contact .nfu-contact__cta:hover {
  background: rgba(0, 95, 255, 0.95);
  border-color: rgba(0, 95, 255, 0.95);
  transform: translateY(-1px);
  color: #fff;
}

/* responsive */
@media (max-width: 1024px) {
  body.home #nfu-front-contact .nfu-contact__grid {
    grid-template-columns: 1fr;
  }
}
