/* =========================================================
   ADI SUCCESS STORY
   Reusable individual success page
   ========================================================= */

.adi-success-story {
  --story-dark: #10252f;
  --story-dark-2: #17343f;
  --story-accent: #d6ad55;
  --story-accent-soft: #f4ead4;
  --story-text: #253239;
  --story-muted: #66757c;
  --story-light: #f6f7f5;
  --story-border: #e2e7e5;
  --story-white: #ffffff;

  color: var(--story-text);
}

/* CONTAINER
   Remove this rule if your existing .ii-container already handles it
   --------------------------------------------------------- */

.adi-success-story .ii-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* HERO
   --------------------------------------------------------- */

.adi-story-hero {
  padding: 80px 0 70px;
  background: linear-gradient(135deg, var(--story-light) 0%, #ffffff 65%);
}

.adi-story-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: 70px;
  align-items: center;
}

.adi-story-hero-content {
  max-width: 690px;
}

.adi-story-hero .ii-kicker,
.adi-story-section .ii-kicker,
.adi-story-result-section .ii-kicker,
.adi-story-cta .ii-kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--story-accent);
}

.adi-story-hero h1 {
  max-width: 760px;
  margin: 0 0 25px;
  font-size: clamp(2.7rem, 5.1vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--story-dark);
}

.adi-story-hero-intro {
  max-width: 650px;
  margin: 0;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  line-height: 1.75;
  color: var(--story-muted);
}

.adi-story-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* BUTTONS
   --------------------------------------------------------- */

.adi-success-story .ii-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.adi-success-story .ii-button:hover {
  transform: translateY(-2px);
}

.adi-success-story .ii-button-primary {
  background: var(--story-dark);
  color: var(--story-white);
}

.adi-success-story .ii-button-primary:hover {
  background: var(--story-dark-2);
}

.adi-success-story .ii-button-secondary {
  border-color: var(--story-border);
  background: var(--story-white);
  color: var(--story-dark);
}

.adi-success-story .ii-button-secondary:hover {
  border-color: var(--story-dark);
}

/* HERO IMAGE
   --------------------------------------------------------- */

.adi-story-hero-image-wrap {
  position: relative;
  max-width: 500px;
  margin-left: auto;
}

.adi-story-hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 25px 60px rgba(16, 37, 47, 0.14);
}

.adi-story-image-badge {
  position: absolute;
  left: -32px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 250px;
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--story-white);
  box-shadow: 0 18px 45px rgba(16, 37, 47, 0.18);
}

.adi-story-image-badge-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--story-accent);
  color: var(--story-dark);
  font-weight: 900;
}

.adi-story-image-badge strong,
.adi-story-image-badge span {
  display: block;
}

.adi-story-image-badge strong {
  color: var(--story-dark);
  font-size: 0.96rem;
}

.adi-story-image-badge div > span {
  margin-top: 3px;
  color: var(--story-muted);
  font-size: 0.78rem;
}

/* RESULT SUMMARY
   --------------------------------------------------------- */

.adi-story-summary {
  background: var(--story-dark);
  color: var(--story-white);
}

.adi-story-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.adi-story-summary-item {
  position: relative;
  padding: 28px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.adi-story-summary-item:last-child {
  border-right: 0;
}

.adi-story-summary-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.68rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.adi-story-summary-item strong {
  display: block;
  font-size: 1.07rem;
}

.adi-story-summary-highlight strong {
  color: var(--story-accent);
}

/* GENERAL SECTIONS
   --------------------------------------------------------- */

.adi-story-section {
  padding: 95px 0;
}

.adi-story-narrow {
  max-width: 820px;
}

.adi-story-section h2,
.adi-story-result-section h2,
.adi-story-cta h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--story-dark);
}

.adi-story-section p {
  margin: 0 0 21px;
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--story-muted);
}

.adi-story-lead {
  font-size: clamp(1.15rem, 1.7vw, 1.32rem) !important;
  line-height: 1.7 !important;
  color: var(--story-text) !important;
}

/* JOURNEY
   --------------------------------------------------------- */

.adi-story-journey-section {
  background: var(--story-light);
}

.adi-story-section-heading {
  max-width: 760px;
  margin-bottom: 60px;
}

.adi-story-section-heading p {
  max-width: 680px;
}

.adi-story-timeline {
  position: relative;
  max-width: 940px;
}

.adi-story-timeline::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 31px;
  width: 1px;
  background: var(--story-border);
}

.adi-story-stage {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 30px;
  padding-bottom: 55px;
}

.adi-story-stage:last-child {
  padding-bottom: 0;
}

.adi-story-stage-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid var(--story-border);
  border-radius: 50%;
  background: var(--story-white);
  color: var(--story-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.adi-story-stage-content {
  padding: 5px 0 0;
}

.adi-story-stage-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--story-accent);
  font-size: 0.67rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.adi-story-stage h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--story-dark);
}

.adi-story-stage p {
  max-width: 690px;
  margin-bottom: 0;
}

.adi-story-stage-complete .adi-story-stage-number {
  border-color: var(--story-accent);
  background: var(--story-accent);
}

/* FEATURE RESULT
   --------------------------------------------------------- */

.adi-story-result-section {
  padding: 90px 0;
  background: var(--story-white);
}

.adi-story-result-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 55px;
  align-items: center;
  padding: 55px 60px;
  border-radius: 10px;
  background: var(--story-dark);
  color: var(--story-white);
}

.adi-story-result-number {
  min-width: 130px;
  text-align: center;
}

.adi-story-result-number strong {
  display: block;
  font-size: clamp(4.5rem, 8vw, 7rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--story-accent);
}

.adi-story-result-number span {
  display: block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.adi-story-result-copy .ii-kicker {
  color: var(--story-accent);
}

.adi-story-result-copy h2 {
  margin-bottom: 14px;
  color: var(--story-white);
}

.adi-story-result-copy p {
  max-width: 570px;
  margin: 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.adi-story-result-status {
  min-width: 150px;
  text-align: center;
}

.adi-story-result-tick {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 50%;
  background: var(--story-accent);
  color: var(--story-dark);
  font-size: 1.4rem;
  font-weight: 900;
}

.adi-story-result-status strong,
.adi-story-result-status > span:last-child {
  display: block;
}

.adi-story-result-status strong {
  font-size: 0.95rem;
}

.adi-story-result-status > span:last-child {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

/* PART 3
   --------------------------------------------------------- */

.adi-story-part3-section {
  background: var(--story-light);
}

.adi-story-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.65fr);
  gap: 90px;
  align-items: center;
}

.adi-story-text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--story-dark);
  font-weight: 800;
  text-decoration: none;
}

.adi-story-text-link:hover {
  text-decoration: underline;
}

.adi-story-part3-card {
  padding: 34px 36px;
  border-radius: 9px;
  background: var(--story-white);
  box-shadow: 0 18px 50px rgba(16, 37, 47, 0.08);
}

.adi-story-card-label {
  display: block;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--story-border);
  color: var(--story-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.adi-story-stat {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--story-border);
}

.adi-story-stat:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.adi-story-stat strong {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--story-dark);
  white-space: nowrap;
  min-width: 0;
}

.adi-story-stat span {
  color: var(--story-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  min-width: 0;
}

@media (max-width: 600px) {
  .adi-story-stat {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .adi-story-stat strong {
    white-space: normal;
  }
}

/* MARCUS
   --------------------------------------------------------- */

.adi-story-marcus-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 50px;
  max-width: 950px;
  margin-inline: auto;
  padding: 55px;
  border: 1px solid var(--story-border);
  border-radius: 10px;
}

.adi-story-marcus-mark {
  display: grid;
  width: 110px;
  height: 110px;
  place-items: center;
  border-radius: 50%;
  background: var(--story-dark);
  color: var(--story-accent);
  font-size: 1.75rem;
  font-weight: 800;
}

.adi-story-marcus-content h2 {
  max-width: 610px;
}

.adi-story-marcus-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 25px;
  margin-top: 28px;
}

.adi-story-marcus-points span {
  color: var(--story-dark);
  font-size: 0.91rem;
  font-weight: 700;
}

/* CTA
   --------------------------------------------------------- */

.adi-story-cta {
  padding: 95px 0;
  background: var(--story-dark);
  text-align: center;
}

.adi-story-cta-inner {
  max-width: 800px;
}

.adi-story-cta h2 {
  color: var(--story-white);
}

.adi-story-cta p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.07rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.adi-story-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 32px;
}

.adi-success-story .ii-button-light {
  background: var(--story-accent);
  color: var(--story-dark);
}

.adi-success-story .ii-button-light:hover {
  background: var(--story-white);
}

.adi-story-phone {
  color: var(--story-white);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.adi-story-phone:hover {
  text-decoration: underline;
}

.adi-story-cta-note {
  display: block;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.83rem;
}

/* BACK LINK
   --------------------------------------------------------- */

.adi-story-back {
  padding: 28px 0;
  border-bottom: 1px solid var(--story-border);
  background: var(--story-white);
}

.adi-story-back-link {
  color: var(--story-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.adi-story-back-link:hover {
  text-decoration: underline;
}

/* RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 950px) {
  .adi-story-hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .adi-story-hero-image-wrap {
    width: min(100%, 560px);
    margin: 0;
  }

  .adi-story-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adi-story-summary-item:nth-child(2) {
    border-right: 0;
  }

  .adi-story-summary-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .adi-story-result-card {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .adi-story-result-number,
  .adi-story-result-status {
    text-align: left;
  }

  .adi-story-result-number strong {
    font-size: 5rem;
  }

  .adi-story-result-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .adi-story-result-tick {
    margin: 0 4px 0 0;
  }

  .adi-story-two-col {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

@media (max-width: 700px) {
  .adi-story-hero {
    padding: 58px 0 50px;
  }

  .adi-success-story .ii-container {
    width: min(100% - 30px, 1180px);
  }

  .adi-story-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.6rem);
  }

  .adi-story-image-badge {
    position: relative;
    left: auto;
    bottom: auto;
    width: calc(100% - 24px);
    margin: -26px auto 0;
  }

  .adi-story-summary-grid {
    grid-template-columns: 1fr;
  }

  .adi-story-summary-item {
    padding: 22px 5px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .adi-story-summary-item:last-child {
    border-bottom: 0;
  }

  .adi-story-section {
    padding: 70px 0;
  }

  .adi-story-stage {
    grid-template-columns: 48px 1fr;
    gap: 20px;
  }

  .adi-story-stage-number {
    width: 48px;
    height: 48px;
  }

  .adi-story-timeline::before {
    left: 23px;
  }

  .adi-story-result-section {
    padding: 65px 0;
  }

  .adi-story-result-card {
    padding: 38px 26px;
  }

  .adi-story-marcus-card {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 35px 25px;
  }

  .adi-story-marcus-mark {
    width: 75px;
    height: 75px;
    font-size: 1.25rem;
  }

  .adi-story-marcus-points {
    grid-template-columns: 1fr;
  }

  .adi-story-cta {
    padding: 70px 0;
  }
}
.adi-story-profile-link {
  position: relative;
  display: inline-block;
  color: var(--story-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--story-accent);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.adi-story-profile-link:hover {
  color: var(--story-accent);
  border-bottom-color: var(--story-dark);
}

.adi-story-profile-link:focus-visible {
  outline: 3px solid var(--story-accent-soft);
  outline-offset: 3px;
  border-radius: 2px;
}
/* =========================================================
   ONLINE ADI PART 3 TRAINING PAGE
========================================================= */

.online-adi-page .inner-hero {
  padding: 110px 0 110px;
  background:
    radial-gradient(circle at 82% 30%, rgba(255, 111, 0, 0.08), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f3f7fb 100%);
}

.online-adi-page .inner-hero-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 80px;
  align-items: center;
  padding-left: 40px;
  padding-right: 40px;
}
.online-adi-page .inner-hero h1 {
  max-width: 850px;
  margin: 12px 0 28px;
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 0.98;
  letter-spacing: -3px;
}

.online-adi-page .inner-hero-lead {
  max-width: 720px;
  font-size: 19px;
  line-height: 1.7;
}

.online-adi-page .adi-story-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}


/* RIGHT-HAND HERO CARD */

.online-adi-page .inner-hero .adi-story-part3-card {
  padding: 34px;
  border: 1px solid rgba(27, 62, 92, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(24, 51, 76, 0.10);
}

.online-adi-page .inner-hero .adi-story-card-label {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.online-adi-page .inner-hero .adi-story-stat {
  display: block;
  padding: 24px 0;
  border-bottom: 1px solid var(--story-border);
}

.online-adi-page .inner-hero .adi-story-stat:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.online-adi-page .inner-hero .adi-story-stat strong {
  display: block;
  margin-bottom: 7px;
  color: var(--story-dark);
  font-size: 2rem;
  line-height: 1.05;
  white-space: normal;
}

.online-adi-page .inner-hero .adi-story-stat span {
  display: block;
  color: var(--story-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}


/* BUTTONS */

.online-adi-page .ii-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 9px;
  font-weight: 800;
  text-decoration: none;
}

.online-adi-page .ii-button-primary {
  background: var(--orange);
  color: #fff;
}

.online-adi-page .ii-button-primary:hover {
  transform: translateY(-2px);
}

.online-adi-page .ii-button-secondary {
  border: 2px solid var(--blue-dark);
  background: transparent;
  color: var(--blue-dark);
}

.online-adi-page .ii-button-secondary:hover {
  background: var(--blue-dark);
  color: #fff;
}


/* CONTENT SECTIONS */

.online-adi-page .adi-story-section {
  padding-top: 85px;
  padding-bottom: 85px;
}

.online-adi-page .adi-story-intro-section {
  background: #ffffff;
}

.online-adi-page .adi-story-narrow {
  max-width: 900px;
}

.online-adi-page .adi-story-narrow h2,
.online-adi-page .adi-story-two-col h2,
.online-adi-page .adi-story-section-heading h2 {
  margin-top: 10px;
  margin-bottom: 24px;
  color: var(--story-dark);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -1.5px;
}


/* TWO-COLUMN CONTENT */

.online-adi-page .adi-story-two-col {
  gap: 70px;
  align-items: center;
}


/* JOURNEY / 4 STEPS */

.online-adi-page .adi-story-journey-section {
  background: #f5f8fb;
}

.online-adi-page .adi-story-stage {
  background: #fff;
  border-radius: 16px;
}


/* COURSE RESULT PANEL */

.online-adi-page .adi-story-result-card {
  border-radius: 20px;
  overflow: hidden;
}


/* FINAL MARCUS PANEL */

.online-adi-page .adi-story-marcus-card {
  border-radius: 20px;
}


/* RESPONSIVE */

@media (max-width: 900px) {
  .online-adi-page .inner-hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .online-adi-page .inner-hero {
    padding: 70px 0 75px;
  }
}
@media (max-width: 600px) {
  .online-adi-page .inner-hero h1 {
    font-size: 46px;
    letter-spacing: -2px;
  }

  .online-adi-page .inner-hero .adi-story-part3-card {
    padding: 26px;
  }

  .online-adi-page .adi-story-hero-actions {
    flex-direction: column;
  }

  .online-adi-page .ii-button {
    width: 100%;
  }
}
/* =========================================================
   ONLINE ADI PAGE - CONTENT WIDTH
========================================================= */

.online-adi-page .adi-story-section > .ii-container,
.online-adi-page .adi-story-result-section > .ii-container,
.online-adi-page .adi-story-marcus-section > .ii-container,
.online-adi-page .adi-story-cta > .ii-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

/* Keep text-led sections comfortably readable */
.online-adi-page .adi-story-narrow {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Two-column sections */
.online-adi-page .adi-story-two-col {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

/* Section headings */
.online-adi-page .adi-story-section-heading {
  max-width: 900px;
}

/* Mobile */
@media (max-width: 700px) {
  .online-adi-page .adi-story-section > .ii-container,
  .online-adi-page .adi-story-result-section > .ii-container,
  .online-adi-page .adi-story-marcus-section > .ii-container,
  .online-adi-page .adi-story-cta > .ii-container {
    padding-left: 22px;
    padding-right: 22px;
  }
}