/* Journey Detail Page Template */
.page-template-template-journey-detail .sfc-site-header {
  z-index: 40;
}

.sfc-journey-detail-page {
  overflow: hidden;
  background: var(--sfc-white);
}

.sfc-journey-hero {
  position: relative;
  overflow: hidden;
  color: var(--sfc-white);
  background: var(--sfc-blue-dark);
}

.sfc-journey-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(430px, 46vw, 650px);
}

.sfc-journey-hero__content-wrap {
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(82px, 7.6vw, 138px) clamp(30px, 6vw, 120px) clamp(90px, 8vw, 150px);
  background:
    linear-gradient(90deg, var(--sfc-journey-hero-overlay, rgba(7, 22, 34, .72)), rgba(7, 22, 34, .72)),
    var(--sfc-blue-dark);
}

.sfc-journey-hero__content {
  max-width: 680px;
}

.sfc-journey-hero h1 {
  max-width: 660px;
  margin-bottom: 18px;
  color: var(--sfc-white);
  font-size: clamp(2.2rem, 3.25vw, 4.35rem);
  letter-spacing: -.04em;
  text-shadow: 0 10px 26px rgba(0,0,0,.28);
}

.sfc-journey-hero__subtitle {
  margin-bottom: 16px;
  color: var(--sfc-white);
  font-size: clamp(1.1rem, 1.35vw, 1.45rem);
  font-weight: 900;
  line-height: 1.35;
}

.sfc-journey-hero__text {
  max-width: 650px;
  color: var(--sfc-white);
  font-weight: 800;
  line-height: 1.38;
}
.sfc-journey-hero__text p { margin: 0 0 12px; }

.sfc-journey-hero__media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.sfc-journey-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7,22,34,.22), rgba(7,22,34,.04));
  pointer-events: none;
}
.sfc-journey-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sfc-journey-brush {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  height: clamp(38px, 5vw, 72px);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 100%;
  pointer-events: none;
}
.sfc-journey-brush--white {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 84' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 58c69 8 123-10 196-8 87 3 124 22 211 15 84-7 132-25 216-20 88 6 136 31 224 26 82-5 128-29 211-22 84 7 131 29 216 25 70-3 108-18 166-18v28H0V58Z'/%3E%3Cpath fill='%23ffffff' d='M0 72c82-3 163-11 245-12 76-1 151 5 227 2 95-4 189-20 283-19 92 1 184 20 276 18 93-2 185-23 278-21 45 1 88 9 131 16v28H0V72Z' opacity='.9'/%3E%3C/svg%3E");
}
.sfc-journey-brush--blue {
  bottom: -2px;
  height: clamp(42px, 5.5vw, 82px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 88' preserveAspectRatio='none'%3E%3Cpath fill='%232097d4' d='M0 60c78-8 151-18 230-16 88 2 174 22 262 19 87-3 169-28 256-25 78 3 153 27 231 27 76 0 148-20 224-22 81-2 159 17 237 24v21H0V60Z'/%3E%3Cpath fill='%232097d4' d='M0 76c115-7 227 2 340-2 124-4 244-27 368-25 114 2 225 25 339 22 134-4 257-35 393-13v30H0V76Z' opacity='.88'/%3E%3C/svg%3E");
}

.sfc-journey-intro {
  padding: clamp(58px, 7vw, 118px) 0 clamp(68px, 7.2vw, 124px);
  text-align: center;
}
.sfc-journey-intro__inner { max-width: 980px; }
.sfc-journey-intro__icon {
  display: inline-grid;
  place-items: center;
  width: clamp(96px, 8.5vw, 148px);
  height: clamp(96px, 8.5vw, 148px);
  margin: 0 auto clamp(26px, 3vw, 42px);
  color: var(--sfc-white);
  background: linear-gradient(135deg, #f66a58, var(--sfc-red));
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(242,56,42,.23);
}
.sfc-journey-intro__icon svg,
.sfc-journey-intro__icon img { width: 58%; height: 58%; object-fit: contain; }
.sfc-journey-intro h2 {
  margin-bottom: 16px;
  color: var(--sfc-blue-dark);
  font-size: clamp(2rem, 3.15vw, 3.45rem);
}
.sfc-journey-intro__text {
  max-width: 920px;
  margin: 0 auto 28px;
  color: var(--sfc-blue-dark);
  font-weight: 500;
  line-height: 1.5;
}
.sfc-journey-intro__text p { margin-bottom: 12px; }
.sfc-journey-intro .sfc-btn { min-width: 230px; }

.sfc-journey-challenges {
  position: relative;
  padding: clamp(76px, 7.5vw, 126px) 0 clamp(104px, 9vw, 158px);
}
.sfc-journey-challenges__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(300px, .85fr);
  gap: clamp(38px, 4.5vw, 76px);
  align-items: start;
}
.sfc-journey-challenges h2 {
  margin-bottom: 26px;
  color: var(--sfc-white);
  font-size: clamp(2rem, 3vw, 3.35rem);
}
.sfc-journey-challenge-card {
  display: grid;
  gap: clamp(22px, 2.4vw, 34px);
  padding: clamp(26px, 3vw, 44px);
  color: var(--sfc-blue-dark);
  background: var(--sfc-white);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}
.sfc-journey-challenge-card--challenge {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sfc-journey-mini-item {
  display: grid;
  grid-template-columns: clamp(66px, 6vw, 104px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
}
.sfc-journey-mini-item__icon {
  display: grid;
  place-items: center;
  width: clamp(66px, 6vw, 104px);
  height: clamp(66px, 6vw, 104px);
  color: var(--sfc-white);
  border-radius: 50%;
}
.sfc-journey-mini-item__icon--red { background: linear-gradient(135deg, #f66a58, var(--sfc-red)); }
.sfc-journey-mini-item__icon--blue { background: var(--sfc-blue); }
.sfc-journey-mini-item__icon svg,
.sfc-journey-mini-item__icon img { width: 56%; height: 56%; object-fit: contain; }
.sfc-journey-mini-item h3 {
  margin: 0 0 5px;
  color: var(--sfc-blue-dark);
  font-size: clamp(1rem, 1.15vw, 1.35rem);
  line-height: 1.08;
}
.sfc-journey-mini-item p {
  margin: 0;
  color: var(--sfc-blue-dark);
  font-size: clamp(.88rem, .92vw, 1rem);
  font-weight: 500;
  line-height: 1.28;
}

.sfc-journey-cards {
  padding: clamp(78px, 8vw, 135px) 0 clamp(88px, 9vw, 150px);
}
.sfc-journey-section-head {
  max-width: 1050px;
  margin-bottom: clamp(34px, 4vw, 56px);
  color: var(--sfc-white);
}
.sfc-journey-section-head h2 {
  margin-bottom: 16px;
  color: var(--sfc-white);
  font-size: clamp(2rem, 3vw, 3.35rem);
}
.sfc-journey-section-head p {
  margin: 0 0 20px;
  color: var(--sfc-white);
  font-weight: 900;
}
.sfc-journey-section-head .sfc-section-rule {
  display: block;
  width: 72px;
  height: 2px;
  background: rgba(255,255,255,.85);
}
.sfc-journey-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 46px);
}
.sfc-journey-info-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(24px, 3vw, 46px);
  min-height: clamp(250px, 20vw, 360px);
  padding: clamp(22px, 2.5vw, 36px);
  color: var(--sfc-blue-dark);
  background: var(--sfc-white);
  border: 0;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 16px 42px rgba(7,22,34,.1);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sfc-journey-info-card:hover,
.sfc-journey-info-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(7,22,34,.18);
  outline: none;
}
.sfc-journey-info-card__icon {
  display: grid;
  place-items: center;
  width: clamp(90px, 8vw, 142px);
  height: clamp(90px, 8vw, 142px);
  color: var(--sfc-red);
}
.sfc-journey-info-card__icon svg,
.sfc-journey-info-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.sfc-journey-info-card h3 {
  max-width: 220px;
  margin: 0;
  color: var(--sfc-blue-dark);
  font-size: clamp(.98rem, 1.05vw, 1.22rem);
  line-height: 1.14;
}

.sfc-condition-drawer {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
}
.sfc-condition-drawer.is-open { opacity: 1; pointer-events: auto; visibility: visible; }
.sfc-condition-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 33, .78);
  border: 0;
  cursor: pointer;
}
.sfc-condition-drawer__panel {
  position: relative;
  width: min(560px, 100%);
  max-width: 100%;
  height: 100%;
  overflow-y: auto;
  background: var(--sfc-white);
  box-shadow: -28px 0 70px rgba(0,0,0,.2);
  transform: translateX(100%);
  transition: transform .28s ease;
}
.sfc-condition-drawer.is-open .sfc-condition-drawer__panel { transform: translateX(0); }
.sfc-condition-drawer__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: var(--sfc-white);
  background: var(--sfc-red);
  border: 0;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.sfc-condition-detail__image { aspect-ratio: 2.65 / 1; overflow: hidden; background: var(--sfc-sky); }
.sfc-condition-detail__image img { width: 100%; height: 100%; object-fit: cover; }
.sfc-condition-detail__content { padding: clamp(24px, 3vw, 36px); }
.sfc-condition-detail h3 {
  margin: 0 0 18px;
  color: var(--sfc-blue-dark);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.12;
  letter-spacing: -.03em;
}
.sfc-condition-detail__text { color: var(--sfc-black); font-size: 1rem; line-height: 1.58; }
.sfc-condition-detail__text p { margin: 0 0 1rem; }
.sfc-condition-detail__content .sfc-btn { margin-top: 14px; }
body.sfc-condition-drawer-open { overflow: hidden; }

.sfc-journey-cta {
  padding: clamp(74px, 8vw, 132px) 0 clamp(76px, 8vw, 132px);
}
.sfc-journey-cta__card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(42px, 5vw, 76px);
  color: var(--sfc-white);
  background: var(--sfc-blue);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 22px 60px rgba(7,22,34,.18);
}
.sfc-journey-cta__logo {
  width: clamp(82px, 8vw, 126px);
  margin: 0 auto 28px;
}
.sfc-journey-cta__card h2 {
  max-width: 660px;
  margin-inline: auto;
  color: var(--sfc-white);
  font-size: clamp(2rem, 3.1vw, 3.45rem);
}
.sfc-journey-cta__text {
  max-width: 700px;
  margin: 0 auto 34px;
  color: var(--sfc-white);
  font-weight: 800;
  line-height: 1.5;
}
.sfc-journey-cta__text p { margin-bottom: 12px; }
.sfc-journey-cta__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 620px;
  margin: 0 auto 26px;
}
.sfc-journey-cta__actions .sfc-btn { width: 100%; box-shadow: none; }
.sfc-journey-cta__card small { display: block; color: var(--sfc-white); font-weight: 800; }

@media (max-width: 1180px) {
  .sfc-journey-challenges__grid { grid-template-columns: 1fr; }
  .sfc-journey-cards__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .sfc-journey-hero__grid { grid-template-columns: 1fr; }
  .sfc-journey-hero__content-wrap { padding-inline: 28px; }
  .sfc-journey-hero__media { min-height: 360px; order: -1; }
  .sfc-journey-hero__media::before { background: rgba(7,22,34,.12); }
  .sfc-journey-challenge-card--challenge { grid-template-columns: 1fr; }
  .sfc-journey-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .sfc-journey-hero h1 { font-size: clamp(2rem, 11vw, 2.9rem); }
  .sfc-journey-hero__media { min-height: 300px; }
  .sfc-journey-intro .sfc-btn { width: 100%; min-width: 0; }
  .sfc-journey-mini-item { grid-template-columns: 72px 1fr; }
  .sfc-journey-mini-item__icon { width: 72px; height: 72px; }
  .sfc-journey-cards__grid { grid-template-columns: 1fr; }
  .sfc-journey-info-card { min-height: 230px; }
  .sfc-condition-drawer__panel { width: 100%; }
  .sfc-journey-cta__actions { grid-template-columns: 1fr; }
  .sfc-journey-cta__card { padding-inline: 22px; }
}

@media (max-width: 460px) {
  .sfc-journey-challenge-card { padding: 22px; }
  .sfc-journey-mini-item { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .sfc-journey-info-card h3 { max-width: none; }
}
