/* =========================================================================
   PRACTICE LIBRARY — Brand-aligned design system, editorial accents.

   Same chrome as /pricing/, /ielts/, /pte/: white background, primary
   blue (#4890AE) accent, sky-blue (#87CEEB) CTAs, deep navy (#1a2744)
   footer, glassmorphic white navbar, Inter only, gradient-oval hero.

   The editorial accents live INSIDE the brand — Fraunces serif for
   passage drop-caps + worked-example numbers (the only places a serif
   is on screen), bigger section kickers above worked examples, a
   tasteful "publishing" feel on the hub. Every accent is small,
   contained, and earned.

   Owner: this stylesheet only styles the practice-library pages.
   landing-pages.css owns the shared chrome (navbar, hero, footer,
   buttons, sections).
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&display=swap');

/* -----------------------------------------------------------------------
   EDITORIAL ACCENT LAYER (2026-09-20 round 4)
   The brand carries Inter for everything. Fraunces serif appears ONLY
   in three places, all of them earned:
   1. The drop-cap on the FIRST paragraph of each worked example passage.
   2. The numbered worked-example badge ("Example 01"). A serif number
      reads as "issue of a publication", not as decorative.
   3. A small italic kicker label on each worked example.

   Plus a handful of art details that earn their place inside the brand
   (without leaving it): small editorial flourish dividers between the
   hero and the body; a chip-style byline strip on detail pages; bigger
   kicker above the worked-example block; gradient CTA with three stops.
   ----------------------------------------------------------------------- */

/* Drop-cap on the first paragraph of passages (the editorial signature) */
.pl-stimulus-body > p:first-child::first-letter,
.pl-stimulus-body::first-letter {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif !important;
  font-weight: 500 !important;
  font-size: 3.2em !important;
  float: left !important;
  line-height: 0.88 !important;
  margin: 0.04em 0.08em 0 -0.02em !important;
  color: #1a2744 !important;
  font-feature-settings: "ss01";
}

.pl-stimulus-body {
  /* When first-letter is applied to a div with mixed inline text, we wrap
     the text in a p automatically via Django linebreaksbr filter to make
     this work reliably. */
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15.5px;
  line-height: 1.75;
  color: #1F2937;
}

/* Worked-example number is Fraunces (issue-style) */

.pl-example-num {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-size: 15px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.01em;
  color: #4890AE;
}

/* Worked-example serial rule across the top — the editorial
   "rule above the chapter" pattern */

.pl-example::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg,
    #4890AE 0%,
    #87CEEB 50%,
    rgba(135,206,235,0) 100%);
  border-radius: 0 0 16px 16px;
  pointer-events: none;
}

/* "Example N" fancy serial number placed top-left, BEHIND the headline */

.pl-example {
  position: relative;
  overflow: hidden;
}

.pl-example::before {
  content: counter(pl-example);
  counter-increment: pl-example;
  position: absolute;
  top: -32px;
  right: 24px;
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 96px;
  line-height: 1;
  color: rgba(72, 144, 174, 0.08);
  pointer-events: none;
  font-feature-settings: "ss01";
}

.pl-type-body {
  counter-reset: pl-example;
}

.pl-example {
  position: relative;
}

/* Kicker line above the worked example — italic, with hairline rule */

.pl-example-kicker {
  padding-left: 10px;
  border-left: 2px solid #4890AE;
  padding-top: 2px;
  padding-bottom: 2px;
  margin-bottom: 14px;
}

/* Stimulus block: publish with a tighter, more journal-feel */

.pl-stimulus {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FBFD 100%);
  border-left: 4px solid #4890AE;
  padding: 22px 26px 22px 28px;
}

.pl-stimulus-label {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-style: italic;
  font-size: 12.5px;
  font-weight: 500;
  color: #4890AE;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

/* "Practise inside" dark CTA — three-stop gradient with subtle
   inner highlight */

.pl-side-cta {
  background: linear-gradient(140deg, #4890AE 0%, #2a5e83 50%, #1a2744 100%);
  position: relative;
  box-shadow: 0 12px 36px -16px rgba(26, 39, 68, 0.45);
}

.pl-side-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0) 100%);
  border-radius: 16px 16px 0 0;
  pointer-events: none;
}

.pl-cta-band {
  background: linear-gradient(140deg, #4890AE 0%, #2a5e83 50%, #1a2744 100%);
  position: relative;
  box-shadow: 0 24px 60px -28px rgba(26, 39, 68, 0.5);
  overflow: hidden;
}

.pl-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at 20% 20%,
    rgba(135, 206, 235, 0.18) 0%,
    rgba(135, 206, 235, 0) 60%
  );
  pointer-events: none;
}

.pl-cta-band > * {
  position: relative;
  z-index: 1;
}

/* Detail hero trust strip — chip-style that fits the brand */

.pl-type-hero-chips {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.pl-type-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(72, 144, 174, 0.15);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #1a2744;
  backdrop-filter: blur(10px);
}

.pl-type-hero-chip strong {
  color: #4890AE;
  font-weight: 800;
}

/* Worked example — main question prompt styled like a kicker headline */

.pl-question-prompt {
  position: relative;
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.005em;
  line-height: 1.4;
  color: #1a2744;
}

/* Brand-faithful hover on the related cards */

.pl-related-card:hover {
  border-color: #4890AE;
  box-shadow: 0 6px 24px -10px rgba(72, 144, 174, 0.25);
  transform: translateY(-2px);
}

/* "+1 more" link in the related grid */

.pl-related-more {
  grid-column: span 2;
  text-align: center;
  padding: 14px 20px;
  background: #F8FBFD;
  border: 1px dashed #4890AE;
  border-radius: 12px;
  color: #4890AE;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.2s ease;
}

.pl-related-more:hover {
  background: #E8F4FB;
}

/* Brand section ribbon — between hero and body on detail pages */

.pl-section-ribbon {
  background: linear-gradient(90deg, #E8F4FB 0%, #F8FBFD 100%);
  border-top: 1px solid #E3EDF3;
  border-bottom: 1px solid #E3EDF3;
  padding: 14px 32px;
  text-align: center;
}

.pl-section-ribbon-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4890AE;
}

.pl-section-ribbon-inner::before,
.pl-section-ribbon-inner::after {
  content: "";
  width: 40px;
  height: 1px;
  background: #4890AE;
  display: inline-block;
}

/* Sidebar "AT A GLANCE" — give it a small editorial dot */

.pl-quick-facts-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4890AE;
  margin-right: 8px;
  vertical-align: 1px;
}

/* Type card grid: subtle inner highlight on hover */

.pl-type-card {
  position: relative;
  overflow: hidden;
}

.pl-type-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(72, 144, 174, 0.04) 0%,
    rgba(135, 206, 235, 0) 30%);
  opacity: 0;
  transition: opacity 0.22s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}

.pl-type-card:hover::after {
  opacity: 1;
}

/* Why-this-works icon row: tighter, more confident */

.pl-why-icon {
  background: linear-gradient(135deg, #4890AE 0%, #87CEEB 100%);
  color: white;
}

.pl-why-icon svg {
  stroke: white;
}

/* Hub stats strip: small typographic flourish */

.pl-stats {
  position: relative;
  overflow: hidden;
}

.pl-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    800px circle at 50% 0%,
    rgba(135, 206, 235, 0.12) 0%,
    rgba(135, 206, 235, 0) 60%
  );
  pointer-events: none;
}

/* Hub & exam feature card top: subtle inner highlight when hovered */

.pl-feature-card {
  position: relative;
  overflow: hidden;
}

.pl-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(72, 144, 174, 0.05) 0%,
    rgba(255, 255, 255, 0) 35%);
  opacity: 0;
  transition: opacity 0.22s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}

.pl-feature-card:hover::before {
  opacity: 1;
}

/* Worked example explanation - subtle border highlight on hover (the
   "thinking along" accent) */

.pl-explanation {
  position: relative;
}

.pl-explanation::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, #4890AE 0%, #87CEEB 100%);
  border-radius: 0 0 12px 12px;
}

/* Worked example: when rendered with section chain `-- Example N` shown
   at top via counter. Increase z-index of header so background doesn't
   bleed through */

.pl-example-kicker {
  position: relative;
  z-index: 2;
}

.pl-example h3,
.pl-stimulus,
.pl-question,
.pl-explanation {
  position: relative;
  z-index: 1;
}

/* RESPONSIVE — keep new elements tidy on small screens */

@media (max-width: 768px) {
  .pl-example {
    padding: 24px 22px;
  }

  .pl-example::before {
    display: none;
  }

  .pl-section-ribbon-inner {
    font-size: 11px;
    gap: 10px;
  }

  .pl-section-ribbon-inner::before,
  .pl-section-ribbon-inner::after {
    width: 20px;
  }

  .pl-type-hero-chip {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* -----------------------------------------------------------------------
   LAYOUT: container widths matching landing-pages.css
   ----------------------------------------------------------------------- */

.pl-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .pl-container { padding: 0 20px; }
}

/* -----------------------------------------------------------------------
   HEADER NAV current-page indicator (the small bar under the active link)
   ----------------------------------------------------------------------- */

.landing-navbar .is-current {
  color: var(--lib-deep, #1a2744) !important;
  position: relative;
}

.landing-navbar .is-current::after {
  content: "";
  position: absolute;
  inset: auto 0 -19px 0;
  height: 2px;
  background: var(--lib-accent, #4890AE);
}

/* -----------------------------------------------------------------------
   HUB — feature row (the two big exam CTAs below the hero)
   ----------------------------------------------------------------------- */

.pl-feature {
  padding: 96px 0 24px;
}

.pl-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pl-feature-card {
  position: relative;
  background: linear-gradient(135deg, #F8FBFD 0%, #FFFFFF 100%);
  border: 1px solid #E3EDF3;
  border-radius: 16px;
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(.22,1,.36,1), box-shadow 0.22s cubic-bezier(.22,1,.36,1);
}

.pl-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -24px rgba(72, 144, 174, 0.32), 0 1px 0 rgba(26, 24, 20, 0.06);
}

.pl-feature-card[data-exam="ielts"] { border-top: 4px solid #4890AE; }
.pl-feature-card[data-exam="pte"]   { border-top: 4px solid #87CEEB; }

.pl-feature-mark {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #4890AE;
  margin-bottom: 16px;
}

.pl-feature-card h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #111827;
  margin: 0 0 12px;
}

.pl-feature-card p {
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
  margin: 0 0 24px;
  flex: 1;
}

.pl-feature-stats {
  display: flex;
  gap: 24px;
  padding: 16px 0 24px;
  border-top: 1px solid #E8F4FB;
  margin-bottom: 28px;
}

.pl-feature-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pl-feature-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a2744;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pl-feature-stat-label {
  font-size: 11.5px;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.pl-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4890AE;
  font-weight: 700;
  font-size: 14.5px;
}

.pl-feature-cta::after {
  content: "→";
  transition: transform 0.22s cubic-bezier(.22,1,.36,1);
  display: inline-block;
}

.pl-feature-card:hover .pl-feature-cta::after {
  transform: translateX(4px);
}

/* -----------------------------------------------------------------------
   STATS STRIP — brand-aligned counters row
   ----------------------------------------------------------------------- */

.pl-stats {
  background: #1a2744;
  padding: 48px 0;
  margin-top: 96px;
  color: #fff;
}

.pl-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.pl-stat-num {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 8px;
}

.pl-stat-label {
  font-size: 13px;
  color: #87CEEB;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* -----------------------------------------------------------------------
   TRUST STRIP — social proof / brand credibility row
   ----------------------------------------------------------------------- */

.pl-trust {
  padding: 48px 0;
  background: #F8FBFD;
  border-bottom: 1px solid #E3EDF3;
}

.pl-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}

.pl-trust-item {
  text-align: center;
}

.pl-trust-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a2744;
  line-height: 1;
  margin-bottom: 4px;
}

.pl-trust-label {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.4;
}

/* -----------------------------------------------------------------------
   "WHY THIS LIBRARY" 3-card row (instead of editorial essay/drop-cap)
   ----------------------------------------------------------------------- */

.pl-why {
  padding: 80px 0;
  background: #fff;
}

.pl-why-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.pl-why-header h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  margin: 12px 0;
}

.pl-why-header .section-tag {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4890AE;
  margin-bottom: 8px;
}

.pl-why-header p {
  font-size: 16px;
  color: #6B7280;
  margin: 0;
}

.pl-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pl-why-card {
  background: #fff;
  border: 1px solid #E3EDF3;
  border-radius: 16px;
  padding: 32px 28px;
  text-align: left;
  transition: transform 0.22s cubic-bezier(.22,1,.36,1), border-color 0.22s cubic-bezier(.22,1,.36,1), box-shadow 0.22s cubic-bezier(.22,1,.36,1);
}

.pl-why-card:hover {
  transform: translateY(-3px);
  border-color: #4890AE;
  box-shadow: 0 12px 36px -12px rgba(72, 144, 174, 0.2);
}

.pl-why-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #E8F4FB 0%, #F8FBFD 100%);
  color: #4890AE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pl-why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}

.pl-why-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #4B5563;
  margin: 0;
}

/* -----------------------------------------------------------------------
   FAQ — dense style that matches landing-pages.css .faq-section
   ----------------------------------------------------------------------- */

.pl-faq {
  padding: 80px 0;
  background: #F8FBFD;
}

.pl-faq-inner {
  max-width: 720px;
  margin: 0 auto;
}

.pl-faq-header {
  text-align: center;
  margin-bottom: 36px;
}

/* -----------------------------------------------------------------------
   EXAM LIBRARY PAGE — section bands with type grids
   ----------------------------------------------------------------------- */

.pl-exam-section {
  padding: 80px 0 24px;
  scroll-margin-top: 88px;
}

.pl-exam-section + .pl-exam-section {
  border-top: 1px solid #E3EDF3;
}

.pl-exam-section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 32px;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.pl-exam-section-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4890AE;
  justify-content: center;
}

.pl-exam-section-mark::before,
.pl-exam-section-mark::after {
  content: "";
  width: 28px;
  height: 1px;
  background: #4890AE;
}

.pl-exam-section-head h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  margin: 0;
}

.pl-exam-section-head p {
  font-size: 16px;
  color: #6B7280;
  margin: 0;
  line-height: 1.6;
}

/* Type card grid (4 columns on desktop) */

.pl-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pl-type-card {
  background: #fff;
  border: 1px solid #E3EDF3;
  border-radius: 14px;
  padding: 22px 22px 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.22s cubic-bezier(.22,1,.36,1), border-color 0.22s cubic-bezier(.22,1,.36,1), box-shadow 0.22s cubic-bezier(.22,1,.36,1);
  min-height: 140px;
  justify-content: space-between;
}

.pl-type-card:hover {
  transform: translateY(-2px);
  border-color: #4890AE;
  box-shadow: 0 12px 28px -12px rgba(72, 144, 174, 0.18);
}

.pl-type-card-head {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4890AE;
}

.pl-type-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
}

.pl-type-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12.5px;
  color: #6B7280;
}

.pl-type-card-arrow {
  color: #4890AE;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.22s cubic-bezier(.22,1,.36,1);
}

.pl-type-card:hover .pl-type-card-arrow {
  transform: translateX(3px);
}

/* -----------------------------------------------------------------------
   DETAIL (TYPE) PAGE
   ----------------------------------------------------------------------- */

.pl-type-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4890AE;
  background: #E8F4FB;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.pl-type-meta::before {
  content: "";
  width: 18px;
  height: 1px;
  background: #4890AE;
}

.pl-type-meta::after {
  content: "";
  width: 18px;
  height: 1px;
  background: #4890AE;
}

/* Two-column layout: 1fr (article) + 320px (sidebar) */

.pl-type-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  padding: 64px 0 80px;
}

.pl-type-main {
  min-width: 0;
  max-width: 720px;
}

.pl-type-main p {
  font-size: 17px;
  line-height: 1.7;
  color: #1F2937;
  margin: 0 0 16px;
}

/* Quick-facts card (sidebar) */

.pl-type-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
  align-self: start;
}

.pl-quick-facts {
  background: linear-gradient(135deg, #F8FBFD 0%, #FFFFFF 100%);
  border: 1px solid #E3EDF3;
  border-radius: 16px;
  padding: 24px 26px;
}

.pl-quick-facts-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4890AE;
  margin-bottom: 16px;
}

.pl-quick-facts dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
}

.pl-quick-facts dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 2px;
}

.pl-quick-facts dd {
  font-size: 14.5px;
  font-weight: 600;
  color: #111827;
  margin: 0;
  line-height: 1.4;
}

/* Sidebar CTA card */

.pl-side-cta {
  background: linear-gradient(135deg, #4890AE 0%, #1a2744 100%);
  border-radius: 16px;
  padding: 28px 26px;
  color: #fff;
  text-align: center;
}

.pl-side-cta h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.pl-side-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 18px;
  line-height: 1.5;
}

.pl-side-cta .hero-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
}

/* -----------------------------------------------------------------------
   WORKED EXAMPLE — numbered card
   ----------------------------------------------------------------------- */

.pl-example {
  margin: 40px 0;
  background: linear-gradient(135deg, #F8FBFD 0%, #FFFFFF 100%);
  border: 1px solid #E3EDF3;
  border-radius: 16px;
  padding: 32px 32px 32px 36px;
  position: relative;
}

.pl-example::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #4890AE 0%, #87CEEB 100%);
  border-radius: 16px 0 0 16px;
}

.pl-example-kicker {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 12px;
}

.pl-example-num {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4890AE;
}

.pl-example-tag {
  font-size: 12px;
  color: #6B7280;
  font-weight: 500;
}

.pl-example h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

/* Stimulus / passage block */

.pl-stimulus {
  background: #FFFFFF;
  border: 1px solid #E8F4FB;
  border-left: 4px solid #4890AE;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 0 0 24px;
}

.pl-stimulus-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4890AE;
  margin-bottom: 10px;
}

.pl-stimulus-body {
  font-size: 15.5px;
  line-height: 1.7;
  color: #1F2937;
  white-space: pre-line;
}

/* Question options */

.pl-question {
  background: #fff;
  border: 1px solid #E3EDF3;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 0 0 20px;
}

.pl-question-prompt {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px;
  line-height: 1.4;
}

.pl-options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pl-option {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid #E3EDF3;
  background: #fff;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: #1F2937;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pl-option.is-correct {
  border-color: #4890AE;
  background: linear-gradient(90deg, rgba(72, 144, 174, 0.08) 0%, rgba(135, 206, 235, 0) 80%);
}

.pl-option-label {
  font-weight: 800;
  color: #4890AE;
  font-size: 1rem;
  width: 20px;
  flex-shrink: 0;
  text-align: center;
}

.pl-option.is-correct .pl-option-label {
  color: #4890AE;
}

.pl-option-text {
  flex: 1;
}

.pl-option-marker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4890AE;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.22s cubic-bezier(.22,1,.36,1);
}

.pl-option.is-correct .pl-option-marker {
  opacity: 1;
}

/* Explanation block */

.pl-explanation {
  background: linear-gradient(135deg, #E8F4FB 0%, #F8FBFD 100%);
  border: 1px solid #D7E8F2;
  border-radius: 12px;
  padding: 22px 26px;
}

.pl-explanation-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4890AE;
  margin-bottom: 10px;
}

.pl-explanation-body {
  font-size: 15px;
  line-height: 1.7;
  color: #1F2937;
}

/* -----------------------------------------------------------------------
   INLINE STRATEGY + RELATED (post-examples content blocks)
   ----------------------------------------------------------------------- */

.pl-essay-subsection {
  margin: 48px 0 0;
}

.pl-essay-subsection h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.pl-strategy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: pl-strat;
}

.pl-strategy-list li {
  counter-increment: pl-strat;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #E3EDF3;
  font-size: 15.5px;
  line-height: 1.6;
  color: #1F2937;
}

.pl-strategy-list li::before {
  content: counter(pl-strat, decimal-leading-zero);
  font-weight: 800;
  color: #4890AE;
  font-size: 1rem;
}

.pl-strategy-list li:last-child {
  border-bottom: 0;
}

.pl-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.pl-related-card {
  background: #fff;
  border: 1px solid #E3EDF3;
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pl-related-card:hover {
  border-color: #4890AE;
  transform: translateY(-1px);
}

.pl-related-section {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 4px;
}

.pl-related-label {
  font-size: 14.5px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

.pl-related-arrow {
  color: #4890AE;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.pl-related-card:hover .pl-related-arrow {
  transform: translateX(3px);
}

/* Bottom-of-page CTA band (after the strategy + related) */

.pl-cta-band {
  margin: 56px 0 32px;
  padding: 36px;
  background: linear-gradient(135deg, #4890AE 0%, #1a2744 100%);
  border-radius: 16px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.pl-cta-band h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #fff;
  letter-spacing: -0.01em;
}

.pl-cta-band p {
  font-size: 14.5px;
  margin: 0;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  max-width: 56ch;
}

.pl-cta-band .hero-btn.primary {
  background: #fff;
  color: #1a2744;
  box-shadow: 0 4px 20px rgba(255,255,255,0.18);
}

.pl-cta-band .hero-btn.primary:hover {
  background: #F8FBFD;
}

/* -----------------------------------------------------------------------
   RESPONSIVE
   ----------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .pl-feature-grid {
    grid-template-columns: 1fr;
  }

  .pl-why-grid {
    grid-template-columns: 1fr;
  }

  .pl-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pl-type-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pl-type-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pl-type-aside {
    position: static;
  }

  .pl-related-grid {
    grid-template-columns: 1fr;
  }

  .pl-cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pl-feature {
    padding: 64px 0 16px;
  }

  .pl-stats {
    margin-top: 64px;
  }

  .pl-stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pl-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pl-example {
    padding: 24px 22px;
  }

  .pl-exam-section-head {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .pl-type-grid {
    grid-template-columns: 1fr;
  }
}
