/* Free IELTS lead journey */

.ielts-free-page {
  background: var(--paper);
}

.ielts-free-page section {
  padding: var(--space-section-spacious) 0;
}

.ielts-free-page h1 em,
.ielts-free-page h2 em {
  color: var(--gold);
  font-style: italic;
}

.ielts-free-subnav {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--blue-deep);
}

.ielts-free-subnav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ielts-free-subnav .wrap::-webkit-scrollbar {
  display: none;
}

.ielts-free-subnav a {
  flex: 0 0 auto;
  padding: 13px 0 12px;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.ielts-free-subnav a:hover,
.ielts-free-subnav a:focus-visible {
  border-bottom-color: var(--gold);
  color: white;
}

.ielts-free-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(249, 181, 0, 0.16), transparent 26%),
    linear-gradient(135deg, #082941, #0c4569);
}

.ielts-free-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.76fr);
  align-items: center;
  gap: 72px;
}

.ielts-free-hero h1 {
  max-width: 760px;
  margin-top: 18px;
  color: white;
  font-size: clamp(50px, 5.8vw, 76px);
  line-height: 0.98;
}

.ielts-free-hero-lede {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.68;
}

.ielts-free-hero-choice {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  margin-top: 29px;
  border: 1px solid var(--gold);
  background: var(--gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.ielts-free-hero-choice a {
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 16px 22px;
  color: var(--blue-ink);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ielts-free-hero-choice a + a {
  border-left: 1px solid rgba(8, 41, 65, 0.34);
}

.ielts-free-hero-choice a:hover,
.ielts-free-hero-choice a:focus-visible {
  background: white;
  color: var(--blue-deep);
}

.ielts-free-hero-choice a:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid white;
  outline-offset: 3px;
}

.ielts-free-hero-choice strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.ielts-free-hero-choice span {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  opacity: 0.78;
}

.ielts-free-separation-note {
  max-width: 650px;
  margin-top: 24px;
  padding-left: 15px;
  border-left: 3px solid var(--gold);
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.55;
}

.ielts-free-hero-visual {
  position: relative;
  min-height: 475px;
}

.ielts-free-hero-visual > img {
  width: 100%;
  min-height: 475px;
  object-fit: cover;
  filter: saturate(0.86);
}

.ielts-free-hero-card {
  position: absolute;
  right: -24px;
  bottom: 28px;
  display: grid;
  gap: 5px;
  min-width: 270px;
  padding: 24px;
  border-left: 5px solid var(--gold);
  background: var(--paper);
  box-shadow: 13px 14px 0 rgba(249, 181, 0, 0.18);
}

.ielts-free-hero-card span,
.ielts-free-card-label,
.ielts-free-skill-intro > span {
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ielts-free-hero-card strong {
  color: var(--blue-ink);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.08;
}

.ielts-free-hero-card small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}

.ielts-free-journey {
  background: var(--sand);
  scroll-margin-top: 60px;
}

.ielts-free-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: 64px;
}

.ielts-free-section-head h2 {
  max-width: 800px;
  margin-top: 14px;
  color: var(--blue-ink);
  font-size: clamp(39px, 4.6vw, 58px);
  line-height: 1;
}

.ielts-free-section-head > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.ielts-free-journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-top: 39px;
  list-style: none;
}

.ielts-free-journey-grid li {
  min-height: 245px;
  padding: 25px 22px;
  border-top: 4px solid var(--gold);
  background: var(--paper);
}

.ielts-free-journey-grid li > span {
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.ielts-free-journey-grid h3 {
  margin-top: 34px;
  color: var(--blue-ink);
  font-size: 26px;
  line-height: 1.1;
}

.ielts-free-journey-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.ielts-free-practice {
  scroll-margin-top: 60px;
}

.ielts-free-skill-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.ielts-free-skill-picker a {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 22px;
  border-right: 1px solid var(--line);
  color: var(--blue-ink);
  text-decoration: none;
}

.ielts-free-skill-picker a:last-child {
  border-right: 0;
}

.ielts-free-skill-picker a:hover,
.ielts-free-skill-picker a:focus-visible {
  background: var(--gold);
}

.ielts-free-skill-picker strong {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
}

.ielts-free-skill-picker span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.ielts-free-skill-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 60px;
}

.ielts-free-skill-intro h3 {
  margin-top: 12px;
  color: var(--blue-ink);
  font-size: 34px;
  line-height: 1.05;
}

.ielts-free-skill-intro p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.ielts-free-practice-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.55fr) auto;
  align-items: center;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--mist);
}

.ielts-free-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.ielts-free-card-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ielts-free-card-grid .ielts-free-practice-card {
  grid-template-columns: 1fr;
  align-content: start;
  align-items: start;
  gap: 17px;
  min-height: 390px;
  padding: 25px 22px;
}

.ielts-free-card-grid .ielts-free-practice-card .btn {
  align-self: end;
  justify-self: start;
  margin-top: auto;
}

.ielts-free-practice-card h4 {
  margin-top: 8px;
  color: var(--blue-ink);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.08;
}

.ielts-free-card-topic {
  margin-top: 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.ielts-free-card-copy {
  color: var(--blue-ink);
  font-size: 13px;
  line-height: 1.55;
}

.ielts-free-list-label {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-ink);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ielts-free-practice-card ul {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.ielts-free-complete-mock {
  background: var(--blue-deep);
  scroll-margin-top: 60px;
}

.ielts-free-complete-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.56fr);
  align-items: center;
  gap: 70px;
}

.ielts-free-complete-mock h2 {
  max-width: 780px;
  margin-top: 14px;
  color: white;
  font-size: clamp(37px, 4.5vw, 55px);
  line-height: 1.02;
}

.ielts-free-complete-mock h2 + p {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.68;
}

.ielts-free-complete-card {
  display: grid;
  gap: 14px;
  padding: 29px;
  border-left: 5px solid var(--gold);
  background: var(--paper);
  box-shadow: 13px 14px 0 rgba(249, 181, 0, 0.16);
}

.ielts-free-complete-card > span {
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ielts-free-complete-card > strong {
  color: var(--blue-ink);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.08;
}

.ielts-free-complete-card ul {
  display: grid;
  gap: 6px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.48;
}

.ielts-free-complete-card .btn {
  justify-self: start;
  margin-top: 5px;
}

@media (max-width: 1040px) {
  .ielts-free-hero-grid,
  .ielts-free-section-head,
  .ielts-free-skill-block,
  .ielts-free-complete-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ielts-free-hero-visual {
    min-height: 390px;
  }

  .ielts-free-hero-visual > img {
    max-height: 500px;
    min-height: 390px;
  }

  .ielts-free-journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ielts-free-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ielts-free-skill-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ielts-free-skill-picker a:nth-child(2) {
    border-right: 0;
  }

  .ielts-free-skill-picker a:nth-child(4) {
    border-right: 0;
  }

  .ielts-free-skill-picker a:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .ielts-free-skill-picker a:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .ielts-free-page section {
    padding: var(--space-section-compact) 0;
  }

  .ielts-free-subnav .wrap {
    gap: 22px;
  }

  .ielts-free-skill-picker {
    grid-template-columns: 1fr;
  }

  .ielts-free-skill-picker a,
  .ielts-free-skill-picker a:nth-child(2) {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ielts-free-skill-picker a:last-child {
    grid-column: auto;
    border-bottom: 0;
  }

  .ielts-free-hero h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .ielts-free-hero-lede {
    font-size: 15px;
  }

  .ielts-free-hero-choice {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .ielts-free-hero-choice a + a {
    border-top: 1px solid rgba(8, 41, 65, 0.34);
    border-left: 0;
  }

  .ielts-free-hero-visual,
  .ielts-free-hero-visual > img {
    min-height: 310px;
  }

  .ielts-free-hero-card {
    right: 13px;
    bottom: 13px;
    min-width: 240px;
    padding: 19px;
  }

  .ielts-free-journey-grid,
  .ielts-free-practice-card,
  .ielts-free-card-grid {
    grid-template-columns: 1fr;
  }

  .ielts-free-journey-grid li {
    min-height: 0;
  }

  .ielts-free-practice-card .btn {
    justify-self: start;
  }

  .ielts-free-card-grid .ielts-free-practice-card {
    min-height: 0;
  }

  .ielts-free-complete-card {
    padding: 23px 20px;
    box-shadow: 9px 10px 0 rgba(249, 181, 0, 0.16);
  }
}
