/* Homepage (templates/new-home-v4.php) section styles, #courses section onward.
   Moved verbatim from the template's inline <style> blocks, in original order.
   Loaded by a <link> placed just before #courses. */

/* ---- template line 1731 ---- */
        [data-section-nav] [data-nav-link]              { background: transparent; transition: background 180ms ease, color 180ms ease; }
        [data-section-nav] [data-nav-link]:hover,
        [data-section-nav] [data-nav-link].is-active    { background: rgba(167, 225, 255, 0.12); color: #fff; }

/* ---- template line 1761 ---- */
            /* ============================================================
               COURSE SELECTOR — two-tier tab list.
               Tier 1 (Ground Classes / Flight Training): big prominent tiles.
               Tier 2 (Type Rating / Cadet Program Prep): compact rows.
               State via [aria-selected]; JS just flips the attribute.
               ============================================================ */
            .tp-courses-selector { width: 100%; display: flex; flex-direction: column; gap: 12px; }
            .tp-courses-tier1-row,
            .tp-courses-tier2-row { display: grid; gap: 12px; }
            .tp-courses-tier2-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            @media (min-width: 768px) {
              .tp-courses-tier1-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            }
            @media (max-width: 767px) {
              .tp-courses-tier1-row { grid-template-columns: 1fr; }
            }

            /* ---------- Tier 1 tile ---------- */
            .tp-courses-tier1 {
              position: relative;
              display: block;
              width: 100%;
              text-align: left;
              padding: 20px 22px 22px;
              border: 0; border-radius: 20px;
              background: #1C3867;
              color: #fff;
              cursor: pointer;
              overflow: hidden;
              box-shadow: 0 6px 20px rgba(28,56,103,0.18);
              transition:
                transform 200ms cubic-bezier(0.23, 1, 0.32, 1),
                background-color 200ms cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 200ms cubic-bezier(0.23, 1, 0.32, 1);
            }
            .tp-courses-tier1[aria-selected="true"] {
              background: #4583FF;
              box-shadow: 0 10px 28px rgba(69,131,255,0.35);
            }
            @media (hover: hover) {
              .tp-courses-tier1:not([aria-selected="true"]):hover { background: #23457D; transform: translateY(-4px); }
              .tp-courses-tier1[aria-selected="true"]:hover        { transform: translateY(-4px); }
            }
            .tp-courses-tier1:active { transform: scale(0.98); }

            .tp-courses-tier1__badge {
              display: inline-flex; align-items: center; justify-content: center;
              width: 40px; height: 40px; border-radius: 999px;
              background: rgba(255,255,255,0.15);
              color: #fff;
              flex-shrink: 0;
            }
            .tp-courses-tier1__badge svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

            .tp-courses-tier1__name {
              font-size: 28px; font-weight: 600; line-height: 1.1;
              color: #fff;
            }
            @media (max-width: 1023px) { .tp-courses-tier1__name { font-size: 24px; } }

            .tp-courses-tier1__sub {
              font-size: 15px; font-weight: 600; line-height: 1.3;
              color: rgba(255,255,255,0.80);
              margin-top: 6px;
            }
            @media (max-width: 1023px) { .tp-courses-tier1__sub { font-size: 14px; } }

            .tp-courses-tier1__pill {
              display: inline-flex; align-items: center; justify-content: space-between;
              gap: 12px;
              height: 44px;
              padding: 4px 4px 4px 18px;
              margin-top: 18px;
              background: #fff;
              border-radius: 999px;
              transition: padding 200ms cubic-bezier(0.23, 1, 0.32, 1);
            }
            .tp-courses-tier1__pill-label {
              font-size: 13px; font-weight: 600; text-transform: uppercase;
              letter-spacing: 0.05em; color: #1C3867;
              white-space: nowrap;
            }
            .tp-courses-tier1__pill-arrow {
              position: relative; overflow: hidden;
              display: inline-flex; align-items: center; justify-content: center;
              width: 32px; height: 32px; border-radius: 999px;
              background: #4583FF; color: #fff;
              flex-shrink: 0;
            }
            .tp-courses-tier1__pill-arrow svg {
              width: 14px; height: 14px;
              transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
            }
            /* Arrow pass-through hover: existing arrow slides out right, a
               ghost arrow slides in from left. Ghost is a ::after with a
               matching SVG background (data URI) so nothing extra in DOM. */
            .tp-courses-tier1__pill-arrow::after {
              content: '';
              position: absolute; inset: 0;
              background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>");
              background-repeat: no-repeat; background-position: center;
              background-size: 14px 14px;
              transform: translateX(-150%);
              transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
            }
            @media (hover: hover) {
              .tp-courses-tier1:hover .tp-courses-tier1__pill { padding-right: 8px; }
              .tp-courses-tier1:hover .tp-courses-tier1__pill-arrow svg { transform: translateX(150%); }
              .tp-courses-tier1:hover .tp-courses-tier1__pill-arrow::after { transform: translateX(0); }
            }

            /* ---------- Tier 1 mobile slim layout ---------- */
            @media (max-width: 767px) {
              .tp-courses-tier1 { padding: 16px; }
              .tp-courses-tier1__header { display: flex; align-items: center; gap: 12px; }
              .tp-courses-tier1__name  { font-size: 20px; }
              .tp-courses-tier1__sub   { font-size: 13px; line-height: 18px; margin-top: 4px; margin-left: 48px; }
              .tp-courses-tier1__pill  { height: 40px; margin-top: 12px; padding: 4px 4px 4px 14px; }
              .tp-courses-tier1__pill-label { font-size: 12px; }
              .tp-courses-tier1__pill-arrow { width: 28px; height: 28px; }
              .tp-courses-tier1__pill-arrow svg { width: 12px; height: 12px; }
              .tp-courses-tier1__pill-arrow::after { background-size: 12px 12px; }
              .tp-courses-tier1:hover { transform: none; }
              .tp-courses-tier1:hover .tp-courses-tier1__pill { padding-right: 4px; }
            }

            /* ---------- Tier 2 box ---------- */
            .tp-courses-tier2 {
              display: flex; align-items: center; gap: 12px;
              width: 100%; padding: 16px;
              background: #fff !important;
              color: #1C3867 !important;
              border: 1.5px solid rgba(69,131,255,0.45);
              border-radius: 12px;
              box-shadow: 0 2px 10px rgba(28,56,103,0.06);
              cursor: pointer; text-align: left;
              text-shadow: none !important;
              transition:
                transform 200ms cubic-bezier(0.23, 1, 0.32, 1),
                border-color 200ms ease,
                box-shadow 200ms ease;
            }
            .tp-courses-tier2[aria-selected="true"] {
              border-color: #4583FF; background: #DFF2FB !important;
              box-shadow: 0 6px 18px rgba(69,131,255,0.18);
            }
            @media (hover: hover) {
              .tp-courses-tier2:hover,
              .tp-courses-tier2:focus,
              .tp-courses-tier2:focus-visible {
                background: #fff !important;
                color: #1C3867 !important;
                border-color: #4583FF;
                box-shadow: 0 6px 18px rgba(69,131,255,0.14);
                transform: translateY(-2px);
              }
              .tp-courses-tier2[aria-selected="true"]:hover {
                background: #DFF2FB !important;
              }
            }
            .tp-courses-tier2:active { transform: scale(0.98); background: #fff !important; color: #1C3867 !important; }
            .tp-courses-tier2[aria-selected="true"]:active { background: #DFF2FB !important; }

            .tp-courses-tier2__icon {
              display: inline-flex; align-items: center; justify-content: center;
              width: 40px; height: 40px; border-radius: 999px;
              background: #DFF2FB; color: #4583FF;
              flex-shrink: 0;
              transition: background-color 200ms ease, color 200ms ease;
            }
            .tp-courses-tier2:hover .tp-courses-tier2__icon,
            .tp-courses-tier2[aria-selected="true"] .tp-courses-tier2__icon { background: #4583FF; color: #fff; }
            .tp-courses-tier2__icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

            .tp-courses-tier2__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
            .tp-courses-tier2__title { font-size: 17px; font-weight: 600; color: #1C3867 !important; line-height: 1.2; }
            .tp-courses-tier2__sub   { font-size: 13px; color: #707070 !important; line-height: 1.3; }
            .tp-courses-tier2:hover .tp-courses-tier2__title,
            .tp-courses-tier2:focus .tp-courses-tier2__title { color: #1C3867 !important; }
            .tp-courses-tier2:hover .tp-courses-tier2__sub,
            .tp-courses-tier2:focus .tp-courses-tier2__sub   { color: #707070 !important; }

            .tp-courses-tier2__arrow {
              position: relative; overflow: hidden;
              display: inline-flex; align-items: center; justify-content: center;
              width: 28px; height: 28px; border-radius: 999px;
              border: 1px solid rgba(69,131,255,0.40);
              color: #4583FF;
              flex-shrink: 0;
              transition: border-color 200ms ease, color 200ms ease;
            }
            .tp-courses-tier2:hover .tp-courses-tier2__arrow,
            .tp-courses-tier2[aria-selected="true"] .tp-courses-tier2__arrow { border-color: #4583FF; }
            .tp-courses-tier2__arrow svg {
              width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
              transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
            }
            .tp-courses-tier2__arrow::after {
              content: '';
              position: absolute; inset: 0;
              background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234583FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>");
              background-repeat: no-repeat; background-position: center;
              background-size: 12px 12px;
              transform: translateX(-150%);
              transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
            }
            @media (hover: hover) {
              .tp-courses-tier2:hover .tp-courses-tier2__arrow svg { transform: translateX(150%); }
              .tp-courses-tier2:hover .tp-courses-tier2__arrow::after { transform: translateX(0); }
            }

            /* ---------- Tier 2 mobile ---------- */
            @media (max-width: 640px) {
              .tp-courses-tier2 { padding: 10px 12px; gap: 10px; }
              .tp-courses-tier2__icon { width: 32px; height: 32px; }
              .tp-courses-tier2__icon svg { width: 15px; height: 15px; }
              .tp-courses-tier2__title { font-size: 14px; }
              .tp-courses-tier2__sub { display: none; } /* subtext hidden on the smallest screens */
              .tp-courses-tier2:hover { transform: none; }
            }
            @media (max-width: 767px) and (min-width: 641px) {
              .tp-courses-tier2__title { font-size: 16px; }
            }

            /* ---------- Reduced motion ---------- */
            @media (prefers-reduced-motion: reduce) {
              .tp-courses-tier1, .tp-courses-tier2,
              .tp-courses-tier1__pill, .tp-courses-tier1__pill-arrow svg, .tp-courses-tier1__pill-arrow::after,
              .tp-courses-tier2__arrow svg, .tp-courses-tier2__arrow::after {
                transition: none !important;
              }
              .tp-courses-tier1:hover,
              .tp-courses-tier2:hover { transform: none !important; }
            }

/* ---- template line 2149 ---- */
                      /* Scoped so these styles only apply to the ground panel's
                         chip row. SemiBold navy label + 1px blue border + white
                         background. Icon colour via `color` on the parent. */
                      .v4-scope .tp-cls-chips {
                        display: flex; flex-wrap: wrap;
                        gap: 6px;
                        margin: 8px 0 0;
                        padding: 0;
                        list-style: none;
                      }
                      @media (min-width: 640px) {
                        .v4-scope .tp-cls-chips { gap: 8px; margin-top: 10px; }
                      }
                      .v4-scope .tp-cls-chip {
                        display: inline-flex; align-items: center; gap: 6px;
                        padding: 4px 10px;
                        background: #ffffff;
                        border: 1px solid rgba(69,131,255,0.40);
                        border-radius: 999px;
                        color: #1C3867;
                        font-size: 11px; font-weight: 600; line-height: 1;
                        white-space: nowrap;
                      }
                      @media (min-width: 640px) {
                        .v4-scope .tp-cls-chip { padding: 4px 12px; font-size: 13px; }
                      }
                      .v4-scope .tp-cls-chip svg {
                        width: 14px; height: 14px;
                        color: #4583FF;
                        flex-shrink: 0;
                      }

/* ---- template line 2220 ---- */
                      .v4-scope .tp-wa-btn { background-color: #25D366; box-shadow: 0 4px 12px rgba(37,211,102,0.35); }
                      .v4-scope .tp-wa-btn:hover, .v4-scope .tp-wa-btn:focus { background-color: #128C7E; }

/* ---- template line 2256 ---- */
                      .v4-scope .tp-stat-line {
                        display: flex; align-items: baseline; flex-wrap: wrap;
                        column-gap: 8px; row-gap: 2px;
                      }

/* ---- template line 2310 ---- */
                      /* DGCA panel — mobile-only horizontal sliders. ≥640px keeps original grid. */
                      @media (max-width: 639px) {
                        .v4-scope .tp-dgca-papers,
                        .v4-scope .tp-dgca-facts {
                          display: flex;
                          grid-template-columns: none;
                          overflow-x: auto;
                          gap: 8px;
                          margin-left: -28px;
                          margin-right: -28px;
                          padding-left: 28px;
                          padding-right: 28px;
                          scroll-padding-left: 28px;
                          scroll-snap-type: x mandatory;
                          -webkit-overflow-scrolling: touch;
                          scrollbar-width: none;
                        }
                        .v4-scope .tp-dgca-papers::-webkit-scrollbar,
                        .v4-scope .tp-dgca-facts::-webkit-scrollbar { display: none; }
                        .v4-scope .tp-dgca-papers > li,
                        .v4-scope .tp-dgca-facts > div { flex-shrink: 0; scroll-snap-align: start; }

                        /* Papers — pill chips */
                        .v4-scope .tp-dgca-papers > li {
                          display: inline-flex;
                          align-items: center;
                          gap: 6px;
                          padding: 6px 12px;
                          background: #fff;
                          border: 1px solid rgba(28,56,103,0.15);
                          border-radius: 999px;
                          white-space: nowrap;
                        }
                        .v4-scope .tp-dgca-papers > li svg {
                          width: 14px !important; height: 14px !important;
                          margin-top: 0 !important;
                          color: #4583FF;
                        }
                        .v4-scope .tp-dgca-papers > li > span {
                          font-size: 12px !important;
                          font-weight: 500 !important;
                          line-height: 1.2 !important;
                        }

                        /* Fact tiles — narrow so ~2.5 peek */
                        .v4-scope .tp-dgca-facts > div {
                          width: 38%;
                          padding: 10px;
                        }
                        .v4-scope .tp-dgca-facts > div > dt {
                          font-size: 10px !important;
                          line-height: 14px !important;
                        }
                        .v4-scope .tp-dgca-facts > div > dd {
                          font-size: 14px !important;
                          line-height: 18px !important;
                          margin-top: 4px !important;
                        }
                      }

/* ---- template line 2437 ---- */
                        .v4-scope .tp-dgca-cta {
                          position: relative;
                          transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1),
                                      box-shadow 220ms cubic-bezier(0.23, 1, 0.32, 1),
                                      background-color 200ms ease,
                                      border-color 200ms ease;
                          will-change: transform;
                        }
                        .v4-scope .tp-dgca-cta:active { transform: translateY(0); }

                        /* WhatsApp primary — brand green + soft green glow, pulse ripple on load */
                        .v4-scope .tp-dgca-cta--wa {
                          background-color: #25D366;
                          box-shadow: 0 6px 18px rgba(37,211,102,0.35), 0 0 0 0 rgba(37,211,102,0.55);
                          animation: tp-dgca-wa-pulse 2.6s ease-out infinite;
                        }
                        .v4-scope .tp-dgca-cta--wa:hover,
                        .v4-scope .tp-dgca-cta--wa:focus-visible {
                          background-color: #128C7E;
                          transform: translateY(-2px);
                          box-shadow: 0 12px 28px rgba(37,211,102,0.45);
                          animation: none;
                        }
                        @keyframes tp-dgca-wa-pulse {
                          0%   { box-shadow: 0 6px 18px rgba(37,211,102,0.35), 0 0 0 0    rgba(37,211,102,0.55); }
                          70%  { box-shadow: 0 6px 18px rgba(37,211,102,0.35), 0 0 0 14px rgba(37,211,102,0);    }
                          100% { box-shadow: 0 6px 18px rgba(37,211,102,0.35), 0 0 0 0    rgba(37,211,102,0);    }
                        }

                        /* Ghost secondary — accent border, subtle blue glow, arrow slide on hover */
                        .v4-scope .tp-dgca-cta--ghost {
                          border: 1.5px solid #4583FF;
                          box-shadow: 0 2px 10px rgba(69,131,255,0.10);
                        }
                        .v4-scope .tp-dgca-cta--ghost:hover,
                        .v4-scope .tp-dgca-cta--ghost:focus-visible {
                          background-color: #4583FF !important;
                          color: #FFFFFF !important;
                          border-color: #4583FF;
                          transform: translateY(-2px);
                          box-shadow: 0 12px 28px rgba(69,131,255,0.40);
                        }
                        /* Force arrow SVG colour to follow the text on hover so it stays visible on the solid blue fill */
                        .v4-scope .tp-dgca-cta--ghost:hover .tp-dgca-cta__arrow svg,
                        .v4-scope .tp-dgca-cta--ghost:focus-visible .tp-dgca-cta__arrow svg { stroke: #FFFFFF !important; color: #FFFFFF !important; }
                        .v4-scope .tp-dgca-cta__arrow {
                          display: inline-flex;
                          transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1);
                        }
                        .v4-scope .tp-dgca-cta--ghost:hover .tp-dgca-cta__arrow,
                        .v4-scope .tp-dgca-cta--ghost:focus-visible .tp-dgca-cta__arrow {
                          transform: translateX(4px);
                        }

                        @media (prefers-reduced-motion: reduce) {
                          .v4-scope .tp-dgca-cta,
                          .v4-scope .tp-dgca-cta--wa,
                          .v4-scope .tp-dgca-cta__arrow { animation: none !important; transition: background-color 200ms ease, border-color 200ms ease; transform: none !important; }
                        }

/* ---- template line 2507 ---- */
              /* ==================== Flight Training panel — mobile only ====================
                 Country tiles replace the "WHAT THE 200 HOURS INCLUDE" chip
                 row + fact tiles on narrow screens. From 640px up, the
                 original layout is preserved (country row hidden, chips +
                 facts show as before). All country data comes from the
                 shared $tp_v4_countries array. */
              @media (min-width: 640px) {
                .v4-scope .tp-fc { display: none; }
              }
              @media (max-width: 639px) {
                .v4-scope .tp-flight-hide-mobile { display: none !important; }
                /* Smaller description per spec: 13px / 20px grey. */
                .v4-scope .tp-flight-desc { font-size: 13px; line-height: 20px; color: #707070; }

                .v4-scope .tp-fc { margin-top: 16px; }
                .v4-scope .tp-fc-head {
                  display: flex; align-items: baseline; justify-content: space-between;
                }
                .v4-scope .tp-fc-h {
                  margin: 0;
                  font-size: 11px; font-weight: 500;
                  letter-spacing: 0.05em; text-transform: uppercase;
                  color: #F8843F;
                }
                .v4-scope .tp-fc-count {
                  font-size: 11px; font-weight: 500;
                  color: rgba(28, 56, 103, 0.5);
                }
                /* Horizontal scroll row with edge-bleed matching the panel's
                   28px side padding (p-7). Scrollbar hidden; snap enabled. */
                .v4-scope .tp-fc-row {
                  margin: 8px -28px 0;
                  padding: 2px 28px 4px;
                  display: flex;
                  gap: 8px;
                  list-style: none;
                  overflow-x: auto;
                  scroll-snap-type: x mandatory;
                  scroll-padding-left: 28px;
                  -webkit-overflow-scrolling: touch;
                  scrollbar-width: none;
                }
                .v4-scope .tp-fc-row::-webkit-scrollbar { display: none; }
                .v4-scope .tp-fc-tile {
                  flex: 0 0 41%;
                  scroll-snap-align: start;
                  padding: 10px;
                  border-radius: 12px;
                  background: #FFFFFF;
                  border: 1px solid rgba(28, 56, 103, 0.12);
                  min-width: 0;
                }
                /* First tile (India) — tinted so it reads as "primary". */
                .v4-scope .tp-fc-tile.is-primary {
                  background: rgba(223, 242, 251, 0.7);
                  border-color: #4583FF;
                }
                .v4-scope .tp-fc-tile__top {
                  display: flex; align-items: center; gap: 8px;
                  min-width: 0;
                }
                .v4-scope .tp-fc-flag {
                  width: 20px; height: 14px;
                  border-radius: 2px;
                  object-fit: cover;
                  flex-shrink: 0;
                  box-shadow: 0 0 0 1px rgba(28, 56, 103, 0.1);
                }
                .v4-scope .tp-fc-name {
                  margin: 0;
                  font-size: 13px; line-height: 17px; font-weight: 600;
                  color: #1C3867;
                  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
                  min-width: 0;
                }
                .v4-scope .tp-fc-dl { margin: 8px 0 0; }
                .v4-scope .tp-fc-dur {
                  margin: 0;
                  font-size: 11px; line-height: 15px;
                  color: #707070;
                }
                .v4-scope .tp-fc-cost-row {
                  margin-top: 4px;
                  display: flex; align-items: baseline; justify-content: space-between;
                  gap: 6px;
                }
                .v4-scope .tp-fc-cost {
                  margin: 0;
                  font-size: 14px; line-height: 18px; font-weight: 600;
                  color: #1C3867;
                  white-space: nowrap;
                }
                .v4-scope .tp-fc-auth {
                  margin: 0;
                  background: rgba(28, 56, 103, 0.05);
                  border-radius: 999px;
                  padding: 2px 6px;
                  font-size: 9px; font-weight: 600; line-height: 1;
                  text-transform: uppercase;
                  color: rgba(28, 56, 103, 0.7);
                  white-space: nowrap;
                }
                .v4-scope .tp-fc-foot {
                  margin: 8px 0 0;
                  font-size: 11px; line-height: 15px;
                  color: #707070;
                }
              }

/* ---- template line 2678 ---- */
                    /* Mobile slim eligibility card.
                       On mobile, strip the outer eligibility wrapper's border/bg/padding
                       while the intro view is active so the slim card can bleed edge
                       to edge. The .tp-elig-intro class is toggled by showView() in JS
                       (see the Eligibility quiz block further down); :has() is kept as a
                       progressive-enhancement fallback for browsers that already have it.
                       Once the quiz starts, both selectors fail and the normal padded
                       white card returns for the question + outcome views. */
                    /* Strip the outer bordered card chrome whenever the intro
                       view is active — on mobile AND desktop. The intro view
                       (mobile slim .tp-elig-journey OR desktop flight-path
                       .tp-elig-desk) is itself a fully-styled card, so a
                       double frame reads as a box-inside-a-box. The strip
                       is reversed automatically when the user clicks "Start"
                       and the quiz question views need the outer chrome
                       (bordered white card) again. */
                    [data-v4-eligibility].tp-elig-intro,
                    [data-v4-eligibility]:has(> [data-v4-eligibility-view="intro"].flex) {
                      border: 0 !important;
                      background: transparent !important;
                      padding: 0 !important;
                      box-shadow: none !important;
                    }
                    @media (max-width: 639px) {
                      /* Narrow-viewport width-cap neutralisation — the sidebar
                         wrapper applies a max-width:720px on tablets emulating
                         mobile; force full-width so the slim card bleeds edge
                         to edge below sm. */
                      [data-v4-eligibility].tp-elig-intro { max-width: none; width: 100%; align-self: stretch; }
                      [data-v4-eligibility].tp-elig-intro > [data-v4-eligibility-view="intro"] { width: 100%; max-width: none; align-self: stretch; }
                      [data-v4-eligibility].tp-elig-intro .tp-elig-journey { width: 100%; max-width: none; align-self: stretch; }
                    }

                    /* ===== DESKTOP / TABLET flight-path card (≥640px) =====
                       min-height is a safety net — the parent chain
                       (hidden lg:block → data-v4-eligibility → view=intro)
                       sometimes resolves h-full to 0 when the surrounding
                       grid cell's height isn't fully propagated. The card
                       is intentionally tall (navy header + flight-path SVG
                       + CTA footer), so 620px is a sensible floor. */
                    .tp-elig-desk {
                      height: 100%;
                      min-height: 620px;
                      width: 100%;
                      display: flex !important;
                      flex-direction: column;
                      background: #ffffff;
                      border: 1px solid rgba(28,56,103,0.10);
                      border-radius: 16px;
                      box-shadow: 0 8px 28px rgba(28,56,103,0.10);
                      overflow: hidden;
                    }
                    /* Ensure the hidden/visible toggle still works at the
                       breakpoint boundary — the inline <style> block is
                       loaded AFTER Tailwind, so a scoped @media rule here
                       guarantees the mobile card wins below sm and the
                       desktop card wins at sm+ regardless of load order. */
                    @media (max-width: 639px) {
                      .tp-elig-desk { display: none !important; }
                    }
                    .tp-elig-desk__header {
                      background: #1C3867;
                      color: #ffffff;
                      padding: 20px 24px 24px;
                      flex: 0 0 auto;
                    }
                    .tp-elig-desk__topline {
                      display: flex; align-items: center; justify-content: space-between;
                      gap: 12px;
                    }
                    .tp-elig-desk__eyebrow {
                      font-size: 11px; font-weight: 500; line-height: 1;
                      text-transform: uppercase; letter-spacing: 0.08em;
                      color: #A7E1FF;
                    }
                    .tp-elig-desk__pill {
                      display: inline-flex; align-items: center;
                      padding: 4px 10px; border-radius: 999px;
                      background: rgba(255,255,255,0.10);
                      color: rgba(255,255,255,0.85);
                      font-size: 11px; font-weight: 500; line-height: 1;
                      white-space: nowrap;
                    }
                    .tp-elig-desk__title {
                      margin: 12px 0 0;
                      font-size: 26px; font-weight: 600; line-height: 1.1;
                      color: #ffffff;
                    }
                    .tp-elig-desk__sub {
                      margin: 8px 0 0;
                      font-size: 14px; line-height: 20px;
                      color: rgba(255,255,255,0.75);
                    }

                    .tp-elig-desk__visual {
                      flex: 1 1 auto;
                      min-height: 240px;
                      display: flex; align-items: center; justify-content: center;
                      padding: 24px 20px;
                      background: rgba(223,242,251,0.50);
                    }
                    .tp-elig-desk__svg {
                      width: 100%; height: 100%;
                      max-height: 440px;
                      display: block;
                    }

                    .tp-elig-desk__footer {
                      padding: 20px 24px 24px;
                      flex: 0 0 auto;
                      background: #ffffff;
                    }
                    .tp-elig-desk__qstrip {
                      display: flex; align-items: center; gap: 12px;
                      padding: 12px 16px;
                      background: rgba(223,242,251,0.60);
                      border-radius: 12px;
                    }
                    .tp-elig-desk__numbers {
                      display: flex; align-items: center; gap: 6px;
                      list-style: none; padding: 0; margin: 0;
                      flex-shrink: 0;
                    }
                    .tp-elig-desk__numbers li {
                      display: inline-flex; align-items: center; justify-content: center;
                      width: 28px; height: 28px; border-radius: 999px;
                      background: #ffffff;
                      border: 1px solid rgba(69,131,255,0.30);
                      color: #2F60AE;
                      font-size: 12px; font-weight: 500; line-height: 1;
                    }
                    .tp-elig-desk__q-h {
                      margin: 0;
                      font-size: 14px; font-weight: 600; line-height: 18px;
                      color: #1C3867;
                    }
                    .tp-elig-desk__q-sub {
                      margin: 2px 0 0;
                      font-size: 12px; line-height: 16px;
                      color: #707070;
                    }
                    .tp-elig-desk__cta {
                      margin-top: 16px;
                      display: inline-flex; align-items: center; justify-content: center;
                      gap: 10px;
                      width: 100%; height: 52px;
                      background: #4583FF; color: #ffffff;
                      border: 0; border-radius: 999px;
                      cursor: pointer;
                      font-size: 13px; font-weight: 500;
                      text-transform: uppercase; letter-spacing: 0.02em;
                      transition: background-color 150ms ease-out, transform 150ms ease-out;
                    }
                    .tp-elig-desk__cta:hover,
                    .tp-elig-desk__cta:focus-visible {
                      background: #2F60AE;
                      outline: none;
                    }
                    .tp-elig-desk__cta:active {
                      transform: scale(0.98);
                    }
                    .tp-elig-desk__cta svg {
                      width: 20px; height: 20px;
                      flex-shrink: 0;
                    }
                    @media (prefers-reduced-motion: reduce) {
                      .tp-elig-desk__cta { transition: none; }
                      .tp-elig-desk__cta:active { transform: none; }
                    }
                    .tp-elig-journey {
                      display: block;
                      width: 100%;
                      max-width: none;
                      border-radius: 16px;
                      border: 1px solid rgba(28,56,103,0.10);
                      box-shadow: 0 6px 20px rgba(28,56,103,0.10);
                      overflow: hidden;
                      background: #ffffff;
                    }
                    .tp-elig-journey__header {
                      background: #1C3867;
                      padding: 12px 16px;
                      color: #ffffff;
                    }
                    .tp-elig-journey__topline {
                      display: flex; width: 100%;
                      align-items: center; justify-content: space-between; gap: 8px;
                    }
                    .tp-elig-journey__eyebrow {
                      font-size: 9px; font-weight: 500; letter-spacing: 0.08em;
                      color: #A7E1FF; text-transform: uppercase;
                    }
                    .tp-elig-journey__pill {
                      display: inline-flex; align-items: center;
                      padding: 2px 8px; border-radius: 999px;
                      background: rgba(255,255,255,0.10);
                      color: rgba(255,255,255,0.85);
                      font-size: 9px; white-space: nowrap;
                    }
                    .tp-elig-journey__title {
                      margin: 6px 0 0;
                      font-size: 20px; font-weight: 600; line-height: 1.15;
                      color: #ffffff;
                      max-width: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
                    }
                    .tp-elig-journey__sub {
                      margin: 2px 0 0;
                      font-size: 12px; line-height: 16px;
                      color: rgba(255,255,255,0.75);
                      width: 100%;
                    }
                    .tp-elig-journey__route {
                      display: flex; width: 100%;
                      align-items: center; gap: 12px;
                      margin-top: 10px;
                    }
                    .tp-elig-journey__route-label {
                      font-size: 8px; font-weight: 500; letter-spacing: 0.08em;
                      color: rgba(167,225,255,0.90);
                      white-space: nowrap; text-transform: uppercase;
                      flex-shrink: 0;
                    }
                    /* Route rail — two <span> pieces flanking the centred plane dot.
                       Each piece grows (flex: 1) so they fill all space between the
                       START/NEXT STEP labels, pushing the plane dot to the exact centre. */
                    .tp-elig-journey__route-line {
                      flex: 1 1 0;
                      height: 1px;
                      background: rgba(69,131,255,0.70);
                    }
                    .tp-elig-journey__route-dot {
                      display: inline-flex; align-items: center; justify-content: center;
                      width: 24px; height: 24px; border-radius: 999px;
                      background: #4583FF;
                      box-shadow: 0 3px 10px rgba(69,131,255,0.45);
                      flex-shrink: 0;
                    }
                    .tp-elig-journey__body { padding: 12px; }
                    .tp-elig-journey__panel {
                      background: rgba(223,242,251,0.60);
                      border-radius: 12px;
                      padding: 10px 14px;
                      display: flex; width: 100%;
                      align-items: center; gap: 12px;
                    }
                    .tp-elig-journey__numbers {
                      list-style: none; margin: 0; padding: 0;
                      display: flex; align-items: center; gap: 6px;
                      flex-shrink: 0;
                    }
                    .tp-elig-journey__numbers > li {
                      width: 26px; height: 26px; border-radius: 999px;
                      background: #ffffff;
                      border: 1px solid rgba(69,131,255,0.30);
                      color: #2F60AE;
                      font-size: 11px; font-weight: 500;
                      display: inline-flex; align-items: center; justify-content: center;
                    }
                    /* Copy block takes all remaining width to the right of the numbers.
                       min-width:0 so ellipsis-y long text would wrap gracefully instead
                       of pushing the row wider than the panel. */
                    .tp-elig-journey__copy { flex: 1 1 0; min-width: 0; }
                    .tp-elig-journey__copy-h {
                      margin: 0;
                      font-size: 13px; line-height: 17px; font-weight: 600;
                      color: #1C3867;
                    }
                    .tp-elig-journey__copy-sub {
                      margin: 0;
                      font-size: 11px; line-height: 15px;
                      color: #707070;
                    }
                    .tp-elig-journey__cta {
                      margin-top: 10px;
                      display: flex; width: 100%; height: 44px;
                      align-items: center; justify-content: center;
                      gap: 8px;
                      padding: 0 20px; border-radius: 999px; border: 0;
                      background: #4583FF; color: #ffffff; cursor: pointer;
                      font-size: 12px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase;
                      transition: background-color 150ms ease-out, transform 150ms ease-out;
                    }
                    .tp-elig-journey__cta:hover,
                    .tp-elig-journey__cta:focus-visible { background: #2F60AE; }
                    .tp-elig-journey__cta:active { transform: scale(0.98); }
                    @media (prefers-reduced-motion: reduce) {
                      .tp-elig-journey__cta { transition: background-color 150ms ease-out; }
                      .tp-elig-journey__cta:active { transform: none; }
                    }

/* ---- template line 3184 ---- */
          /* Mobile fixes for the ranks section:
             1. H2 sits at 22px so it wraps into 2 lines within the phone
                viewport instead of demanding 5 lines at 28px.
             2. Marquee mask no longer uses -mx-5 (the negative margin was
                creating a scroll container wider than the viewport — the
                page appeared horizontally shifted on Android Chrome). Full
                edge-to-edge look preserved via padding hits inside the mask.
             3. Rank cards shrink to 140px (from 250px) so ~3 fit per view on
                a 375px phone with gaps. Photo + score scale together. */
          /* Enable manual horizontal scroll on ALL viewports. User can swipe/drag
             to browse rankers independently of the auto-marquee. First interaction
             pauses the auto-animation (see <script> below). Scrollbar hidden for
             cleanliness; touch-action: pan-x keeps vertical page scroll intact.
             Scrolling switches on with .is-near (see the marquee script): as a
             scroller from the start, Chrome would load all 50 lazy photos at
             page load. */
          #ranks .marquee-mask.is-near {
            overflow-x: auto;
            overflow-y: hidden;
          }
          #ranks .marquee-mask {
            scrollbar-width: none;
            -ms-overflow-style: none;
            touch-action: pan-x;
            cursor: grab;
          }
          #ranks .marquee-mask::-webkit-scrollbar { display: none; }
          #ranks .marquee-mask:active { cursor: grabbing; }

          @media (max-width: 767px) {
            /* 1. Section-level clip. Marquee track has w-max (thousands of
               px) — without min-width:0 on the flex chain it propagates up
               and shifts the whole section past the viewport. */
            /* hidden first as the fallback, clip last: overflow-x:hidden turns the
               section into a vertical scroller and Chrome then loads every lazy
               photo inside it at page load. clip doesn't. */
            #ranks                       { overflow-x: hidden; overflow-x: clip; }
            #ranks > div                 { min-width: 0; max-width: 100%; }
            #ranks .tp-ranks-title       { font-size: 22px; line-height: 1.15; word-wrap: break-word; }
            #ranks .marquee-mask         { margin-left: 0; margin-right: 0; padding-left: 16px; padding-right: 16px; min-width: 0; max-width: 100%; }
            #ranks .marquee-track        { gap: 10px !important; }

            /* 2. Card + typography scale. Cards shrink to 105px so exactly
               3 cards fit within a 375px phone viewport (3*105 + 2*10 gap
               = 335px = viewport - 40px section padding). */
            #ranks .tp-ranks-card                     { width: 105px !important; }
            #ranks .tp-ranks-card img                 { height: 105px !important; }
            #ranks .tp-ranks-card .tp-ranks-name      { font-size: 12px; }
            #ranks .tp-ranks-card .tp-ranks-subj      { font-size: 10px; }
            #ranks .tp-ranks-card .tp-ranks-name-row  { min-height: 56px; padding: 8px 10px; gap: 4px; }

            /* 3. Score row: stack vertically on mobile so the label and the
               number each get their own line — no more collision at 105px
               card width. Row becomes: [★ Score] on top, [95/100] below.
               Both remain visible; nothing hidden. */
            #ranks .tp-ranks-card .tp-ranks-score-label { display: inline; font-size: 11px; }
            #ranks .tp-ranks-card .tp-ranks-score-row   {
              flex-direction: column;
              align-items: flex-start;
              gap: 2px;
              padding: 8px 10px;
            }
            #ranks .tp-ranks-card .tp-ranks-score-num   { font-size: 16px; align-self: flex-end; }
          }

/* ---- template line 3328 ---- */
          @media (max-width: 639px) {
            [data-tp-elig-mobile-cap] { max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
          }

/* ---- template line 3387 ---- */
              /* Stacked-card deck.
                 All 8 cards present; front card at the bottom shows the full
                 body (top row + stat box + licence line). 7 peek strips of
                 52px stack above, showing only each card's top row (flag +
                 name + arrow). Scale 1 - depth*0.02 for a gentle narrowing
                 behind, pivoting at top-center. Opaque white backgrounds so
                 lower cards never bleed through. */
              .tp-deck { position: relative; width: 100%; height: 524px; }
              .tp-deck-card {
                position: absolute; left: 0; right: 0; width: 100%;
                /* Fixed height so each peek card extends BELOW its 52px visible
                   top row — that extra height is covered by the next card down
                   via z-index, giving the overlap/stair-step look. 160px keeps
                   the front card snug around its header + facts box with just
                   a small breathing gap at the bottom. */
                height: 160px;
                overflow: hidden;
                border-radius: 16px;
                border: 1px solid #4583FF;
                padding: 8px 20px 12px; /* tighter bottom — removed licence line left visible slack */
                /* Blue-wash on every card now (not just India). Layered over
                   solid white so cards behind can't bleed through. */
                background-color: #FFFFFF;
                background-image: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(69,131,255,0.12) 75%);
                box-shadow: 0 -4px 18px rgba(28,56,103,0.08);
                /* Top-centre pivot so each shrinking card narrows symmetrically from
                   BOTH sides — gives the classic "stacked from both sides" look where
                   every deeper card is slightly inset left and right (matches ref). */
                transform-origin: top center;
                /* Apple-style ease-out expo (0.32, 0.72, 0, 1): slow start, quick coast,
                   soft landing. 460ms so the restack reads as one organic motion. */
                transition: transform 460ms cubic-bezier(0.32, 0.72, 0, 1),
                            opacity   460ms cubic-bezier(0.32, 0.72, 0, 1),
                            box-shadow 300ms ease;
                will-change: transform, opacity;
                touch-action: pan-y;
                -webkit-user-select: none; user-select: none;
              }
              /* India card no longer needs its own gradient — every card
                 now gets the sky-wash by default. Keeping the selector as
                 a no-op anchor in case we want to differentiate the India
                 card later (border, badge, etc.). */
              .tp-deck-card--india { /* reserved */ }
              /* Slot positions — front at bottom, peek-1..peek-7 climb above
                 in 52px steps. Scale narrows by 0.02 per depth. */
              .tp-deck-card[data-slot="front"]  { transform: translateY(364px) scale(1);    z-index: 10; cursor: grab; }
              .tp-deck-card[data-slot="front"]:active { cursor: grabbing; }
              .tp-deck-card[data-slot="peek-1"] { transform: translateY(312px) scale(0.98); z-index: 9;  cursor: pointer; }
              .tp-deck-card[data-slot="peek-2"] { transform: translateY(260px) scale(0.96); z-index: 8;  cursor: pointer; }
              .tp-deck-card[data-slot="peek-3"] { transform: translateY(208px) scale(0.94); z-index: 7;  cursor: pointer; }
              .tp-deck-card[data-slot="peek-4"] { transform: translateY(156px) scale(0.92); z-index: 6;  cursor: pointer; }
              .tp-deck-card[data-slot="peek-5"] { transform: translateY(104px) scale(0.90); z-index: 5;  cursor: pointer; }
              .tp-deck-card[data-slot="peek-6"] { transform: translateY(52px)  scale(0.88); z-index: 4;  cursor: pointer; }
              .tp-deck-card[data-slot="peek-7"] { transform: translateY(0)     scale(0.86); z-index: 3;  cursor: pointer; }
              .tp-deck-card[data-slot="hidden"] { transform: translateY(0)     scale(0.84); opacity: 0;  z-index: 0; pointer-events: none; }

              /* Fly-off (tap). Same Apple curve as the restack so the whole gesture
                 reads as one smooth motion — card glides out, peeks glide up to fill
                 the gap. 130% + 10° so the card fully leaves the viewport. */
              .tp-deck-card.is-flying { transition: transform 460ms cubic-bezier(0.32, 0.72, 0, 1), opacity 320ms cubic-bezier(0.4, 0, 0.2, 1); }
              .tp-deck-card.is-flying-right { transform: translate(130%, 364px) rotate(10deg)  scale(1); opacity: 0; }
              .tp-deck-card.is-flying-left  { transform: translate(-130%, 364px) rotate(-10deg) scale(1); opacity: 0; }

              /* Swipe-to-WhatsApp reveal layer (behind the front card). opacity 0 until
                 drag begins; icon eases 0.4→1 opacity + 0.85→1 scale as the drag
                 approaches the threshold, then goes solid WhatsApp-green at threshold. */
              .tp-deck-reveal {
                position: absolute; left: 0; right: 0;
                top: 364px; height: 160px;
                border-radius: 16px;
                background: rgba(37,211,102,0.10);
                border: 1px solid rgba(37,211,102,0.25);
                opacity: 0;
                transition: opacity 180ms ease;
                pointer-events: none;
                z-index: 1;
                display: flex; align-items: center;
                padding: 0 16px;
              }
              .tp-deck-reveal.is-visible { opacity: 1; }
              .tp-deck-reveal__icon {
                display: inline-flex; align-items: center; justify-content: center;
                width: 44px; height: 44px; border-radius: 999px;
                background: rgba(37,211,102,0.60); color: #ffffff;
                opacity: 0.4; transform: scale(0.85);
                transition: opacity 150ms ease, transform 150ms ease, background-color 150ms ease;
              }
              .tp-deck-reveal__icon svg { width: 22px; height: 22px; }
              .tp-deck-reveal--left  .tp-deck-reveal__icon { margin-right: auto; }
              .tp-deck-reveal--right .tp-deck-reveal__icon { margin-left: auto; }
              .tp-deck-reveal.is-threshold .tp-deck-reveal__icon { opacity: 1; transform: scale(1); background: #25D366; }

              /* --- Top row (visible on every card) --- */
              .tp-deck-card__header { display: flex; align-items: center; gap: 12px; }
              .tp-deck-card__flag   { width: 36px; height: 26px; border-radius: 3px; object-fit: cover; flex-shrink: 0; }
              /* Country name + governing body pill stacked. Flex column so the
                 pill sits directly under the name without taking extra row
                 height. min-width:0 so ellipsis works inside the flex row. */
              .tp-deck-card__names { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
              .tp-deck-card__name {
                margin: 0;
                font-size: 20px; font-weight: 500; line-height: 24px;
                color: #1C3867;
                overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
              }
              /* Governing body chip (DGCA / FAA / SACAA / CAANZ / CASA / MCAA / EASA). */
              .tp-deck-card__body {
                align-self: flex-start;
                display: inline-flex; align-items: center;
                padding: 2px 8px; border-radius: 999px;
                background: rgba(69,131,255,0.12);
                color: #4583FF;
                font-size: 10px; font-weight: 600; line-height: 14px;
                letter-spacing: 0.04em; text-transform: uppercase;
                white-space: nowrap;
              }
              .tp-deck-card__arrow {
                display: inline-flex; align-items: center; justify-content: center;
                width: 40px; height: 40px; border-radius: 999px;
                background: #4583FF; color: #ffffff;
                flex-shrink: 0;
                transition: background-color 150ms ease;
              }
              .tp-deck-card__arrow:hover { background: #2F60AE; }
              .tp-deck-card__arrow svg { width: 20px; height: 20px; }

              /* --- Front-card body (hidden visually on peeks but kept in layout
                 via visibility:hidden so cards stay 200px tall for the overlap) --- */
              .tp-deck-card:not([data-slot="front"]) .tp-deck-card__facts { visibility: hidden; }

              .tp-deck-card__facts {
                margin-top: 16px; padding: 12px;
                background: rgba(255,255,255,0.65);
                border: 1px solid rgba(69,131,255,0.15);
                border-radius: 12px;
                display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px;
              }
              .tp-deck-card__fact-label { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(28,56,103,0.55); line-height: 1.2; }
              .tp-deck-card__fact-value { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 500; color: #1C3867; line-height: 1.2; }
              .tp-deck-card__fact-value svg { flex-shrink: 0; color: #4583FF; width: 16px; height: 16px; }

              /* --- Controls --- */
              .tp-deck-ctrl {
                margin-top: 16px;
                display: flex; align-items: center; justify-content: space-between; gap: 12px;
                color: #1C3867;
              }
              .tp-deck-hint   { display: inline-flex; align-items: center; gap: 6px; color: #707070; font-size: 12px; }
              .tp-deck-hint svg { color: #4583FF; width: 14px; height: 14px; }
              .tp-deck-nav    { display: inline-flex; align-items: center; gap: 10px; color: #1C3867; }
              .tp-deck-nav-btn{ background: transparent; border: 0; padding: 4px; color: rgba(28,56,103,0.40); cursor: pointer; transition: color 150ms ease; }
              .tp-deck-nav-btn:hover { color: #4583FF; }
              .tp-deck-nav-btn svg { width: 16px; height: 16px; stroke-width: 1.5; }
              .tp-deck-nav-count { font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; color: #1C3867; }

              @media (prefers-reduced-motion: reduce) {
                .tp-deck-card { transition: none !important; }
                .tp-deck-card.is-flying { opacity: 0; transition: none !important; }
                .tp-deck-card.is-flying-right,
                .tp-deck-card.is-flying-left { transform: translateY(364px) scale(1); }
              }

              /* Desktop grid visibility — custom class + plain-CSS media query
                 because Tailwind's `hidden md:grid` loses the specificity fight
                 inside .v4-scope. */
              .tp-countries-desktop { display: none; }
              @media (min-width: 768px) {
                .tp-countries-desktop { display: block; }
              }

/* ---- template line 3619 ---- */
              .v4-scope .tp-deck-swipe-hint {
                margin-top: 12px;
                display: flex; align-items: center; justify-content: center; gap: 6px;
                color: #707070;
                font-size: 12px; font-weight: 500; line-height: 1;
                letter-spacing: 0.02em;
              }
              .v4-scope .tp-deck-swipe-hint svg {
                width: 14px; height: 14px;
                color: #25D366; /* WhatsApp green */
                flex-shrink: 0;
              }

/* ---- template line 3923 ---- */
          /* Mobile fixes for the CPL graduates marquee — same pattern as #ranks:
             1. Section-level clip so the w-max marquee track doesn't propagate
                its width up the layout and shift the whole page right.
             2. H2 shrinks to 22px so it fits the viewport in 2-3 lines.
             3. Cards shrink from 270px to 140px so ~2.5-3 fit per screen on a
                375px phone, with the detail block below the photo compressed.
             4. Manual scroll on the mask (overflow-x: auto, scrollbar hidden,
                touch-action: pan-x) + grab cursor on desktop; the auto-marquee
                animation pauses the moment the user interacts (see <script>
                further down). */
          /* Selectors use .tp-sec-graduates (not #graduates) so the Flight
             Training panel's clone of this section — IDs stripped to prevent
             duplicate-ID collisions — still receives the full mobile styling. */
          @media (max-width: 767px) {
            .tp-sec-graduates                        { overflow-x: hidden; overflow-x: clip; } /* clip last — see #ranks */
            .tp-sec-graduates > div                  { min-width: 0; max-width: 100%; }
            .tp-sec-graduates h2                     { font-size: 22px; line-height: 1.15; word-wrap: break-word; }
            .tp-sec-graduates > div > div.flex       { padding-left: 4px; padding-right: 4px; }
            .tp-sec-graduates .marquee-mask          { margin-left: 0; margin-right: 0; padding-left: 12px; padding-right: 12px; min-width: 0; max-width: 100%; }
            .tp-sec-graduates .marquee-track         { gap: 10px !important; padding-top: 2px !important; padding-bottom: 2px !important; }

            /* ~3 cards per 375px frame: 3 × 112 card + 2 × 10 gap + 2 × 12 padding = 380px ≈ viewport */
            .tp-sec-graduates .marquee-track > li                        { width: 112px !important; }
            .tp-sec-graduates .marquee-track article                     { padding: 6px !important; }
            .tp-sec-graduates .marquee-track article img.object-cover    { height: 120px !important; border-radius: 10px; }

            /* --- Compact detail block below the photo --- */
            .tp-sec-graduates .marquee-track article > div.mt-3 {
              margin-top: 6px !important;
              padding: 6px 8px !important;
              gap: 4px !important;
              border-radius: 8px;
            }
            .tp-sec-graduates .marquee-track article > div.mt-3 > span:first-child {
              align-items: flex-start !important;
              gap: 6px !important;
            }
            .tp-sec-graduates .marquee-track article .text-\[18px\] {
              font-size: 12px; line-height: 1.2;
            }
            .tp-sec-graduates .marquee-track article span.h-8 {
              width: 24px !important; height: 18px !important;
              border-radius: 3px !important;
            }
            .tp-sec-graduates .marquee-track article > div.mt-3 > span:last-child {
              flex-direction: column !important;
              align-items: flex-start !important;
              gap: 2px !important;
              padding-top: 6px !important;
            }
            .tp-sec-graduates .marquee-track article .text-\[12px\] {
              font-size: 9px; letter-spacing: 0.04em; line-height: 1.2;
            }
            .tp-sec-graduates .marquee-track article .text-\[15px\] {
              font-size: 11px; line-height: 1.2; white-space: normal;
              min-height: 2.4em;
              display: block;
            }
            .tp-sec-graduates .marquee-track > li       { align-self: stretch; display: flex; }
            .tp-sec-graduates .marquee-track article    { height: 100%; width: 100%; }
          }
          .tp-sec-graduates .marquee-mask.is-near {
            overflow-x: auto;
            overflow-y: hidden;
          }
          .tp-sec-graduates .marquee-mask {
            scrollbar-width: none;
            -ms-overflow-style: none;
            touch-action: pan-x;
            cursor: grab;
          }
          .tp-sec-graduates .marquee-mask::-webkit-scrollbar { display: none; }
          .tp-sec-graduates .marquee-mask:active { cursor: grabbing; }

/* ---- template line 4100 ---- */
          /* ===== India vs Abroad comparison table — base styles ===== */
          #pathways .tp-cmp-wrap { display: flex; flex-direction: column; gap: 12px; }

          #pathways .tp-cmp-figure {
            position: relative;
            width: 100%; max-width: 100%;
            background: #ffffff;
            border: 1px solid rgba(69,131,255,0.25);
            border-radius: 24px;
            box-shadow: 0 4px 24px rgba(69,131,255,0.10);
            overflow: hidden;
          }
          #pathways .tp-cmp-scroll {
            width: 100%; max-width: 100%;
            overflow-x: auto;
            scrollbar-width: none;
          }
          #pathways .tp-cmp-scroll::-webkit-scrollbar { display: none; }
          #pathways .tp-cmp-scroll:focus-visible {
            outline: 2px solid rgba(69,131,255,0.4);
            outline-offset: -2px;
          }

          #pathways .tp-cmp-table {
            width: 100%; min-width: 600px;
            border-collapse: collapse;
            text-align: left;
          }
          @media (min-width: 768px) {
            #pathways .tp-cmp-table { min-width: 860px; }
          }

          /* First-column fixed width on mobile — fluid 26% on desktop */
          #pathways .tp-cmp-table th.tp-cmp-c1,
          #pathways .tp-cmp-table td.tp-cmp-c1 {
            width: 112px; min-width: 112px;
          }
          @media (min-width: 768px) {
            #pathways .tp-cmp-table th.tp-cmp-c1,
            #pathways .tp-cmp-table td.tp-cmp-c1 { width: 26%; min-width: 0; }
          }

          /* Head */
          #pathways .tp-cmp-table thead th {
            background: #FBFBFB;
            padding: 20px 16px;
            vertical-align: top;
            border-left: 1px solid rgba(28,56,103,0.10);
          }
          #pathways .tp-cmp-table thead th:first-child { border-left: 0; }
          @media (min-width: 768px) {
            #pathways .tp-cmp-table thead th { padding: 24px 20px; }
          }
          #pathways .tp-cmp-head-eyebrow {
            font-size: 12px; font-weight: 500; line-height: 1;
            text-transform: uppercase; letter-spacing: 0.05em;
            color: #707070;
          }
          #pathways .tp-cmp-head-eyebrow.is-accent { color: #4583FF; }
          #pathways .tp-cmp-head-name {
            display: block; margin-top: 12px;
            font-size: 17px; font-weight: 500; line-height: 1.2;
            color: #1C3867;
          }
          @media (min-width: 768px) { #pathways .tp-cmp-head-name { font-size: 19px; } }
          @media (min-width: 1024px) { #pathways .tp-cmp-head-name { font-size: 21px; } }
          #pathways .tp-cmp-head-summary {
            display: block; margin-top: 8px;
            font-size: 13px; font-weight: 400; line-height: 20px;
            color: #707070;
          }
          @media (min-width: 768px) {
            #pathways .tp-cmp-head-summary { font-size: 14px; line-height: 21px; }
          }

          /* Body */
          #pathways .tp-cmp-table tbody tr { border-top: 1px solid rgba(28,56,103,0.10); }
          #pathways .tp-cmp-table tbody th,
          #pathways .tp-cmp-table tbody td {
            padding: 16px;
            vertical-align: top;
            border-left: 1px solid rgba(28,56,103,0.10);
          }
          #pathways .tp-cmp-table tbody th:first-child,
          #pathways .tp-cmp-table tbody td:first-child { border-left: 0; }
          @media (min-width: 768px) {
            #pathways .tp-cmp-table tbody th,
            #pathways .tp-cmp-table tbody td { padding: 20px; }
          }
          #pathways .tp-cmp-row-label {
            display: block;
            font-size: 11px; font-weight: 500; line-height: 1.3;
            text-transform: uppercase; letter-spacing: 0.05em;
            color: #707070;
          }
          @media (min-width: 768px) {
            #pathways .tp-cmp-row-label { font-size: 12px; }
          }
          #pathways .tp-cmp-value {
            font-size: 15px; font-weight: 500; line-height: 22px;
            color: #1C3867;
          }
          @media (min-width: 768px) {
            #pathways .tp-cmp-value { font-size: 16px; line-height: 24px; }
          }
          #pathways .tp-cmp-cta {
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
            height: 44px; padding: 0 20px;
            border: 1px solid #4583FF; border-radius: 999px;
            font-size: 12px; font-weight: 500;
            text-transform: uppercase; letter-spacing: 0.02em;
            color: #4583FF; white-space: nowrap;
            transition: background-color 200ms ease-out, color 200ms ease-out;
          }
          #pathways .tp-cmp-cta:hover,
          #pathways .tp-cmp-cta:focus-visible { background: #4583FF; color: #ffffff; }
          /* Mobile: the real CTA labels ("Explore training abroad" etc.) are
             ~185px at 12px uppercase, which doesn't fit in the ~212px cell
             content area at the spec'd 600px min table-width with no-wrap.
             Fill the cell, tighten padding/gap, and allow a 2-line wrap so
             the pill stays within its column. Desktop keeps single-line. */
          @media (max-width: 767px) {
            #pathways .tp-cmp-cta {
              width: 100%;
              height: auto; min-height: 44px;
              padding: 10px 12px;
              gap: 6px;
              white-space: normal;
              line-height: 1.2;
              text-align: center;
            }
            #pathways .tp-cmp-cta svg { flex-shrink: 0; }
          }
          @media (min-width: 768px) {
            #pathways .tp-cmp-cta { height: 52px; padding: 0 24px; font-size: 13px; }
          }
          @media (min-width: 1024px) {
            #pathways .tp-cmp-cta { font-size: 14px; }
          }

          /* ===== Mobile-only: sticky first column + soft shadow once scrolled ===== */
          @media (max-width: 767px) {
            #pathways .tp-cmp-table th.tp-cmp-c1,
            #pathways .tp-cmp-table td.tp-cmp-c1 {
              position: sticky; left: 0; z-index: 10;
            }
            #pathways .tp-cmp-table thead th.tp-cmp-c1 { background: #FBFBFB; }
            #pathways .tp-cmp-table tbody th.tp-cmp-c1,
            #pathways .tp-cmp-table tbody td.tp-cmp-c1 { background: #FFFFFF; }
            #pathways .tp-cmp-wrap[data-scrolled] .tp-cmp-table th.tp-cmp-c1,
            #pathways .tp-cmp-wrap[data-scrolled] .tp-cmp-table td.tp-cmp-c1 {
              box-shadow: 4px 0 10px -6px rgba(28,56,103,0.25);
            }
          }

          /* ===== Hint row (above the table) — mobile only, hidden if table fits ===== */
          #pathways .tp-cmp-hint {
            display: flex; align-items: center; justify-content: space-between; gap: 12px;
          }
          @media (min-width: 768px) { #pathways .tp-cmp-hint { display: none; } }
          #pathways .tp-cmp-wrap[data-no-overflow] .tp-cmp-hint,
          #pathways .tp-cmp-wrap[data-no-overflow] .tp-cmp-progress,
          #pathways .tp-cmp-wrap[data-no-overflow] .tp-cmp-fade,
          #pathways .tp-cmp-wrap[data-no-overflow] .tp-cmp-arrow { display: none; }

          /* Segmented switch */
          #pathways .tp-cmp-switch {
            position: relative;
            display: inline-flex; align-items: stretch;
            padding: 4px;
            background: #DFF2FB;
            border-radius: 999px;
            isolation: isolate;
          }
          #pathways .tp-cmp-sw-btn {
            position: relative; z-index: 2;
            flex: 1 1 0; min-width: 0;
            height: 32px; padding: 0 14px;
            font-size: 12px; font-weight: 600;
            color: rgba(28,56,103,0.60);
            white-space: nowrap;
            background: transparent; border: 0; cursor: pointer;
            transition: color 250ms cubic-bezier(0.23, 1, 0.32, 1);
          }
          #pathways .tp-cmp-sw-btn[aria-pressed="true"] { color: #ffffff; }
          #pathways .tp-cmp-sw-pill {
            position: absolute; z-index: 1;
            top: 4px; bottom: 4px; left: 4px;
            width: calc(50% - 4px);
            background: #4583FF; border-radius: 999px;
            transition: transform 250ms cubic-bezier(0.23, 1, 0.32, 1);
          }
          #pathways .tp-cmp-wrap[data-active="end"] .tp-cmp-sw-pill {
            transform: translateX(100%);
          }
          @media (prefers-reduced-motion: reduce) {
            #pathways .tp-cmp-sw-pill, #pathways .tp-cmp-sw-btn { transition: none; }
          }

          /* Swipe hint */
          #pathways .tp-cmp-swipe {
            display: inline-flex; align-items: center; gap: 6px;
            font-size: 11px; font-weight: 500;
            text-transform: uppercase; letter-spacing: 0.06em;
            color: #4583FF;
            transition: opacity 200ms ease-out;
          }
          #pathways .tp-cmp-swipe-icon {
            width: 14px; height: 14px;
            animation: tp-cmp-nudge 1.2s ease-in-out infinite;
          }
          #pathways .tp-cmp-wrap[data-scrolled] .tp-cmp-swipe-icon,
          #pathways .tp-cmp-wrap[data-no-overflow] .tp-cmp-swipe-icon { animation: none; }
          #pathways .tp-cmp-wrap[data-at-end] .tp-cmp-swipe { opacity: 0; }
          @keyframes tp-cmp-nudge {
            0%, 100% { transform: translateX(0); }
            50% { transform: translateX(4px); }
          }
          @media (prefers-reduced-motion: reduce) {
            #pathways .tp-cmp-swipe-icon { animation: none; }
          }

          /* Right-edge fade + arrow — mobile only, inside .tp-cmp-figure */
          #pathways .tp-cmp-fade {
            position: absolute; top: 0; right: 0; bottom: 0;
            width: 48px; pointer-events: none;
            background: linear-gradient(to left, #ffffff, rgba(255,255,255,0));
            transition: opacity 200ms ease-out;
          }
          #pathways .tp-cmp-arrow {
            position: absolute; top: 92px; right: 8px;
            width: 36px; height: 36px;
            display: inline-flex; align-items: center; justify-content: center;
            background: #4583FF; color: #ffffff;
            border: 0; border-radius: 999px;
            box-shadow: 0 4px 12px rgba(69,131,255,0.4);
            cursor: pointer;
            transition: opacity 200ms ease-out, transform 200ms ease-out;
          }
          #pathways .tp-cmp-arrow svg { width: 20px; height: 20px; }
          #pathways .tp-cmp-wrap[data-at-end] .tp-cmp-fade { opacity: 0; }
          #pathways .tp-cmp-wrap[data-at-end] .tp-cmp-arrow {
            opacity: 0; transform: scale(0.9); pointer-events: none;
          }
          @media (min-width: 768px) {
            #pathways .tp-cmp-fade, #pathways .tp-cmp-arrow { display: none; }
          }

          /* ===== Scroll-snap (mobile only) =====
             Manual swipe works freely between India and Abroad columns, but
             releasing anywhere mid-scroll snaps to the nearest column edge
             so there is no in-between resting state. The toggle buttons
             still scrollTo one end or the other (handled in JS). */
          @media (max-width: 767px) {
            #pathways .tp-cmp-scroll {
              scroll-snap-type: x mandatory;
            }
            /* Each data column (col 2 = India, col 3 = Abroad) is a snap
               point aligned to the inner-left edge of the scroll container,
               sitting right next to the sticky "Compare on" first column.
               The sticky column itself isn't a snap target — it's always
               visible. */
            #pathways .tp-cmp-table thead th:nth-child(2),
            #pathways .tp-cmp-table thead th:nth-child(3),
            #pathways .tp-cmp-table tbody td.tp-cmp-value:nth-child(2),
            #pathways .tp-cmp-table tbody td.tp-cmp-value:nth-child(3) {
              scroll-snap-align: start;
              scroll-snap-stop: always;
            }
            /* Inset the snap point by the sticky column's width so the data
               cell lands immediately to the right of "Compare on" instead
               of under it. */
            #pathways .tp-cmp-scroll {
              scroll-padding-left: 112px;
            }
          }

          /* Progress bar — mobile only */
          #pathways .tp-cmp-progress {
            display: flex; align-items: center; gap: 12px;
          }
          @media (min-width: 768px) { #pathways .tp-cmp-progress { display: none; } }
          #pathways .tp-cmp-progress-track {
            position: relative; flex: 1;
            height: 4px; border-radius: 999px;
            background: rgba(69,131,255,0.15);
            overflow: hidden;
          }
          #pathways .tp-cmp-progress-thumb {
            position: absolute; top: 0; left: 0;
            height: 100%; width: 50%;
            background: #4583FF; border-radius: 999px;
            transform: translateX(0);
            will-change: transform;
            transition: transform 100ms ease-out;
          }
          @media (prefers-reduced-motion: reduce) {
            #pathways .tp-cmp-progress-thumb { transition: none; }
          }
          #pathways .tp-cmp-progress-marker {
            font-size: 11px; font-weight: 500;
            font-variant-numeric: tabular-nums;
            color: rgba(28,56,103,0.50);
            white-space: nowrap;
          }
          #pathways .tp-cmp-progress-marker .is-active { color: #4583FF; }

/* ---- template line 4593 ---- */
          /* ---- section + card frame ---- */
          /* overflow-x on the section is a defensive net — any inner element
             that mistakenly exceeds viewport width is clipped here instead of
             triggering body-level horizontal scroll (which would make the whole
             page look "scrolled right" and the section appear clipped on left). */
          .v4-scope .tp-cred-section { padding: 40px 0; overflow-x: hidden; }
          @media (min-width: 1024px) { .v4-scope .tp-cred-section { padding: 56px 0; } }

          .v4-scope .tp-cred-wrap {
            box-sizing: border-box;
            margin: 0 auto;
            max-width: 1110px;
            width: 100%;
            padding: 0 20px;
          }
          @media (min-width: 1024px) { .v4-scope .tp-cred-wrap { padding: 0; } }

          .v4-scope .tp-cred-card {
            position: relative;
            overflow: hidden;
            border-radius: 24px;
            width: 100%;
            box-sizing: border-box;
            background:
              radial-gradient(90% 45% at 0% 0%, rgba(69,131,255,0.35) 0%, rgba(69,131,255,0) 70%),
              #1C3867;
          }

          /* ---- photos (mirrored + green-line clip via scaleX/Y) ---- */
          .v4-scope .tp-cred-photo {
            transform: scaleX(-1) scaleY(1.02);
            transform-origin: top;
          }
          .v4-scope .tp-cred-photo-mob {
            position: absolute; left: 0; top: 0;
            width: 100%; height: 170px;
            object-fit: cover; object-position: 30% 22%;
            -webkit-mask-image: linear-gradient(to bottom, black 35%, transparent 92%);
                    mask-image: linear-gradient(to bottom, black 35%, transparent 92%);
          }
          .v4-scope .tp-cred-tint-mob {
            position: absolute; left: 0; top: 0;
            width: 100%; height: 170px;
            pointer-events: none;
            background: linear-gradient(180deg, rgba(28,56,103,0.05) 0%, rgba(28,56,103,0.35) 60%, rgba(28,56,103,0) 100%);
          }
          .v4-scope .tp-cred-photo-tab,
          .v4-scope .tp-cred-overlay-tab,
          .v4-scope .tp-cred-photo-desk,
          .v4-scope .tp-cred-overlay-desk { display: none; }

          @media (min-width: 640px) {
            .v4-scope .tp-cred-photo-mob,
            .v4-scope .tp-cred-tint-mob { display: none; }
            .v4-scope .tp-cred-photo-tab {
              display: block;
              position: absolute; left: 0; bottom: 0;
              width: 100%; height: 400px;
              object-fit: cover; object-position: 30% 30%;
            }
            .v4-scope .tp-cred-overlay-tab {
              display: block;
              position: absolute; left: 0; bottom: 0;
              width: 100%; height: 400px;
              pointer-events: none;
              background: linear-gradient(180deg,
                rgba(28,56,103,1) 0%,
                rgba(28,56,103,0.55) 22%,
                rgba(39,82,155,0) 48%,
                rgba(39,82,155,0.1) 72%,
                rgba(28,56,103,0.8) 100%);
            }
          }

          @media (min-width: 1024px) {
            .v4-scope .tp-cred-photo-tab,
            .v4-scope .tp-cred-overlay-tab { display: none; }
            .v4-scope .tp-cred-photo-desk {
              display: block;
              position: absolute; inset: 0;
              width: 100%; height: 100%;
              object-fit: cover; object-position: 20% 40%;
            }
            .v4-scope .tp-cred-overlay-desk {
              display: block;
              position: absolute; inset: 0;
              pointer-events: none;
              background:
                linear-gradient(90deg,
                  rgba(28,56,103,0.98) 0%,
                  rgba(28,56,103,0.93) 46%,
                  rgba(39,82,155,0.55) 64%,
                  rgba(39,82,155,0) 84%),
                radial-gradient(55% 70% at 0% 0%, rgba(69,131,255,0.35) 0%, rgba(69,131,255,0) 70%);
            }
          }

          /* ---- content column (constrained left on desktop) ----
             Mobile top padding was 132px — calibrated for the older,
             taller content block. With the leaner stack (eyebrow + ₹1 Cr
             + sub + divider + lede + chip row + CTA) that left a dead
             strip of navy below the photo. 96px keeps content comfortably
             clear of the photo's fade while removing the void. */
          .v4-scope .tp-cred-content {
            position: relative;
            z-index: 10;
            box-sizing: border-box;
            width: 100%;
            padding: 96px 20px 22px;
            min-width: 0;
          }
          @media (min-width: 640px) { .v4-scope .tp-cred-content { padding: 32px; } }
          @media (min-width: 1024px) {
            .v4-scope .tp-cred-content { max-width: 640px; padding: 48px; }
          }

          /* ---- label pill ---- */
          .v4-scope .tp-cred-pill {
            display: inline-flex; align-items: center;
            height: 32px; padding: 0 14px;
            margin: 0;
            background: #F9B403; color: #1C3867;
            border-radius: 9999px;
            font-size: 11px; font-weight: 600;
            letter-spacing: 0.06em; text-transform: uppercase;
            white-space: nowrap;
            box-shadow: 0 4px 14px rgba(249,180,3,0.35);
          }
          @media (min-width: 640px) {
            .v4-scope .tp-cred-pill { height: 36px; padding: 0 16px; font-size: 12px; }
          }

          /* ---- H2 ---- */
          .v4-scope .tp-cred-h2 {
            margin: 12px 0 0;
            font-size: 22px; font-weight: 600; line-height: 1.15;
            color: #FFFFFF;
            overflow-wrap: break-word;
            word-wrap: break-word;
          }
          @media (min-width: 640px) { .v4-scope .tp-cred-h2 { margin-top: 16px; font-size: 32px; } }
          @media (min-width: 1024px) { .v4-scope .tp-cred-h2 { font-size: 38px; } }
          .v4-scope .tp-cred-h2 em { font-style: normal; color: #A7E1FF; }

          /* ---- subline ---- */
          .v4-scope .tp-cred-sub {
            margin: 6px 0 0;
            color: rgba(255,255,255,0.8);
            font-size: 13px; line-height: 19px;
            overflow-wrap: break-word;
            word-wrap: break-word;
          }
          @media (min-width: 640px) {
            .v4-scope .tp-cred-sub { margin-top: 12px; font-size: 16px; line-height: 24px; }
          }
          .v4-scope .tp-cred-sub b { color: #FFFFFF; font-weight: 600; }

          /* ---- rate tiles ---- */
          /* min-width:0 on the grid + each tile prevents the nowrap rate value
             from forcing the column wider than 1/3 of the row. */
          /* ============================================================
             New card interior (2026-10-23 reference)
             ------------------------------------------------------------
             Stat header row  →  divider  →  lede  →  divider  →  perks
             Everything scoped under .v4-scope so it inherits the dark
             card's background. Colour tokens:
               white @ 100% — headlines + ₹1 Cr
               white @ 70%  — subtext / "No collateral required"
               white @ 55%  — lede paragraph
               white @ 15%  — thin dividers
          */

          /* ---- Top stat block (single unified point) ----
             Three lines of a sentence that reads as one benefit:
               (eyebrow)  "Unsecured loan up to"      — white @ 65%
               (hero)     "₹1 Cr"                     — big gold italic
               (sub)      "No collateral required"    — white @ 70%
             No vertical divider, no two-column layout. ₹1 Cr is the
             focal point; the two text lines frame it as context. */
          .v4-scope .tp-cred-stat-block {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin: 0;
          }
          .v4-scope .tp-cred-stat-eyebrow {
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.02em;
            color: rgba(255, 255, 255, 0.72);
            line-height: 1.2;
          }
          .v4-scope .tp-cred-stat-num {
            position: relative;
            font-family: "Helvetica Neue", "MyHelvetica", "Inter Tight", sans-serif;
            font-weight: 900;
            font-style: italic;
            font-size: 48px;
            line-height: 1;
            /* Gold — monetary focal point. Reads as premium / finance brand
               on the navy card. #F9B403 is already in use elsewhere. */
            color: #F9B403;
            letter-spacing: -0.02em;
            display: inline-block;
            margin-top: 2px;
            /* Soft gold halo so the number lifts off the navy. */
            text-shadow: 0 0 24px rgba(249, 180, 3, 0.35);
          }
          .v4-scope .tp-cred-stat-sub {
            font-size: 13px;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.35;
            margin-top: 4px;
          }
          @media (min-width: 640px) {
            .v4-scope .tp-cred-stat-eyebrow { font-size: 14px; }
            .v4-scope .tp-cred-stat-num     { font-size: 58px; }
            .v4-scope .tp-cred-stat-sub     { font-size: 14px; }
          }

          /* ---- Lede paragraph (below the top row) ---- */
          .v4-scope .tp-cred-lede {
            margin: 20px 0 0;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.14);
            font-size: 14px;
            line-height: 1.5;
            color: rgba(255, 255, 255, 0.72);
          }
          /* "Secured & Unsecured" pops in full white so the loan-type offer
             reads at a glance; the rest of the sentence stays muted. */
          .v4-scope .tp-cred-lede b {
            color: #FFFFFF;
            font-weight: 700;
          }
          @media (min-width: 640px) {
            .v4-scope .tp-cred-lede { font-size: 15px; }
          }

          /* ---- Horizontal-scroll perks row ----
             4 pill chips in a single swipeable row. Saves vertical space
             over the old 2×2 grid / 1-col stack. Each chip is a non-
             wrapping pill with a sky-blue ✓. Scrollbar hidden; a thin
             gradient fade on the right edge hints at horizontal overflow. */
          .v4-scope .tp-cred-perks-wrap {
            position: relative;
            margin: 18px 0 0;
            padding: 18px 0 0;
            border-top: 1px solid rgba(255, 255, 255, 0.14);
            /* Right-edge fade mask — only applied when overflow exists
               (JS-free; the mask is harmless even when all chips fit). */
            -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
                    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
          }
          .v4-scope .tp-cred-perks {
            list-style: none;
            margin: 0;
            padding: 0 20px 2px 0;    /* right pad so last chip clears the fade */
            display: flex;
            gap: 8px;
            overflow-x: auto;
            overflow-y: hidden;
            scrollbar-width: none;    /* Firefox */
            -ms-overflow-style: none; /* IE/old Edge */
            scroll-snap-type: x proximity;
            -webkit-overflow-scrolling: touch;
          }
          .v4-scope .tp-cred-perks::-webkit-scrollbar { display: none; }

          .v4-scope .tp-cred-perks li {
            flex: 0 0 auto;
            scroll-snap-align: start;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 14px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 999px;
            font-size: 13px;
            font-weight: 500;
            line-height: 1.2;
            color: rgba(255, 255, 255, 0.92);
            white-space: nowrap;
          }
          @media (min-width: 640px) {
            .v4-scope .tp-cred-perks li { font-size: 14px; padding: 9px 16px; }
          }

          .v4-scope .tp-cred-perks__chk {
            flex-shrink: 0;
            width: 16px; height: 16px;
            display: inline-flex; align-items: center; justify-content: center;
            color: #A7E1FF;
            font-weight: 900;
            font-size: 13px;
            line-height: 1;
          }

          /* ---- Legacy (unused in markup) focal-line styles — kept for easy
                 revert if we ever want the old inline text version back. */
          .v4-scope .tp-cred-focal-line {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            column-gap: 8px;
            row-gap: 4px;
            margin: 12px 0 0;
            font-family: "Inter Tight", system-ui, -apple-system, sans-serif;
            font-weight: 500;
            font-size: 16px;
            line-height: 1.3;
            color: rgba(255, 255, 255, 0.85);
          }
          @media (min-width: 640px) {
            .v4-scope .tp-cred-focal-line { font-size: 18px; margin-top: 16px; }
          }
          /* Each half of the line never wraps internally; the whole line
             wraps between the two halves on narrow phones. */
          .v4-scope .tp-cred-focal-left,
          .v4-scope .tp-cred-focal-right { white-space: nowrap; }

          /* ₹1 Cr — focal number */
          .v4-scope .tp-cred-focal-num {
            position: relative;
            display: inline-block;
            font-family: "Helvetica Neue", "MyHelvetica", "Inter Tight", sans-serif;
            font-weight: 900;
            font-style: italic;
            font-size: 28px;
            line-height: 1;
            color: #FFFFFF;
          }
          @media (min-width: 640px) {
            .v4-scope .tp-cred-focal-num { font-size: 34px; }
          }
          /* Gold highlighter bar behind ₹1 Cr. Full width of its parent,
             6 px tall, sits 2 px below the baseline, 2 px corner radius,
             solid gold #F9B403 @ 90%, no gradient. aria-hidden via empty
             <span> markup. */
          .v4-scope .tp-cred-focal-bar {
            position: absolute;
            left: 0;
            right: 0;
            bottom: -2px;
            height: 6px;
            background-color: rgba(249, 180, 3, 0.9);
            border-radius: 2px;
            pointer-events: none;
          }

          /* Mid-dot separator (aria-hidden) */
          .v4-scope .tp-cred-focal-sep {
            color: rgba(255, 255, 255, 0.5);
            font-weight: 500;
            user-select: none;
          }

          /* "No collateral required" — SemiBold, light-blue, NOT italic.
             Reset <em>'s default italic. */
          .v4-scope .tp-cred-focal-right {
            font-style: normal;
            font-weight: 600;
            color: #A7E1FF;
          }

          /* ---- Inline tagline inside the dark card ----
             Replaces the Secured/Unsecured pills + inner highlight band.
             Clean one-liner that credits the lender ecosystem without
             naming any specific bank. */
          .v4-scope .tp-cred-tagline {
            margin: 14px 0 0;
            color: #FFFFFF;
            font-size: 15px;
            line-height: 1.45;
          }
          .v4-scope .tp-cred-tagline b { color: #A7E1FF; font-weight: 700; }
          @media (min-width: 640px) {
            .v4-scope .tp-cred-tagline { font-size: 16px; }
          }

          /* ---- Legacy inner pills + highlight (now unused in markup) ----
             Kept so a quick revert doesn't need the CSS re-written. */
          .v4-scope .tp-cred-types {
            display: flex; flex-wrap: wrap;
            gap: 8px; margin: 16px 0 0;
            padding: 0; list-style: none;
          }
          .v4-scope .tp-cred-type {
            background: rgba(255,255,255,0.1);
            color: #A7E1FF;
            padding: 8px 16px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            border: 1px solid rgba(167,225,255,0.25);
          }
          @media (min-width: 640px) {
            .v4-scope .tp-cred-type { font-size: 13px; padding: 9px 18px; }
          }

          .v4-scope .tp-cred-highlight {
            display: flex; align-items: center; gap: 10px;
            margin: 14px 0 0;
            padding: 14px 16px;
            background: linear-gradient(90deg, rgba(167,225,255,0.18) 0%, rgba(69,131,255,0.14) 100%);
            border: 1px solid rgba(167,225,255,0.35);
            border-radius: 14px;
            color: #FFFFFF;
            font-size: 14px;
            font-weight: 600;
            line-height: 1.35;
          }
          .v4-scope .tp-cred-highlight b { color: #A7E1FF; font-weight: 800; }
          .v4-scope .tp-cred-highlight__sparkle {
            flex-shrink: 0;
            width: 28px; height: 28px;
            display: inline-flex; align-items: center; justify-content: center;
            border-radius: 999px;
            background: #A7E1FF;
            color: #1C3867;
            font-size: 14px; font-weight: 900;
          }
          @media (min-width: 640px) {
            .v4-scope .tp-cred-highlight { font-size: 15px; padding: 16px 18px; }
          }

          /* Legacy rates styles (not currently rendered) — kept for easy
             rollback if we need to show rates again. */
          .v4-scope .tp-cred-rates {
            display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 8px; margin: 16px 0 0;
            min-width: 0;
          }
          @media (min-width: 640px) { .v4-scope .tp-cred-rates { gap: 12px; margin-top: 20px; } }
          .v4-scope .tp-cred-rate {
            overflow: hidden;
            min-width: 0;
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.2);
            background: rgba(255,255,255,0.1);
            text-align: center;
            -webkit-backdrop-filter: blur(8px);
                    backdrop-filter: blur(8px);
          }
          .v4-scope .tp-cred-rate dt {
            background: rgba(255,255,255,0.1);
            padding: 6px 4px;
            margin: 0;
            font-size: 10px; font-weight: 600;
            letter-spacing: 0.04em; text-transform: uppercase;
            color: #A7E1FF;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
          }
          @media (min-width: 640px) { .v4-scope .tp-cred-rate dt { font-size: 11px; } }
          .v4-scope .tp-cred-rate dd { padding: 8px 4px; margin: 0; }
          .v4-scope .tp-cred-rate-val {
            display: block;
            font-size: 16px; font-weight: 900; font-style: italic;
            line-height: 1; color: #FFFFFF; white-space: nowrap;
          }
          @media (min-width: 400px) { .v4-scope .tp-cred-rate-val { font-size: 18px; } }
          @media (min-width: 640px) { .v4-scope .tp-cred-rate-val { font-size: 28px; } }
          .v4-scope .tp-cred-rate-note {
            display: block; margin-top: 4px;
            font-size: 10px; line-height: 13px;
            color: rgba(255,255,255,0.7);
          }
          @media (min-width: 640px) { .v4-scope .tp-cred-rate-note { font-size: 12px; } }

          /* ---- mobile swipe row (<640px) ---- */
          /* min-width:0 keeps the swipe row from forcing its parent wider.
             The swipe row has its own internal overflow-x: auto so cards scroll
             inside it, never outside. */
          .v4-scope .tp-cred-mob { margin-top: 20px; min-width: 0; max-width: 100%; }
          @media (min-width: 640px) { .v4-scope .tp-cred-mob { display: none; } }
          .v4-scope .tp-cred-mob-head {
            display: flex; align-items: center; justify-content: space-between;
          }
          .v4-scope .tp-cred-mob-head h3 {
            margin: 0;
            font-size: 11px; font-weight: 600;
            letter-spacing: 0.06em; text-transform: uppercase;
            color: #A7E1FF;
          }
          .v4-scope .tp-cred-mob-hint {
            display: inline-flex; align-items: center; gap: 4px;
            font-size: 10px; font-weight: 500; text-transform: uppercase;
            color: rgba(255,255,255,0.6);
          }
          .v4-scope .tp-cred-mob-hint svg { width: 14px; height: 14px; }
          .v4-scope .tp-cred-swipe {
            display: flex; gap: 8px;
            overflow-x: auto;
            margin: 10px -20px 0;
            padding: 0 20px;
            scroll-padding-left: 20px;
            scroll-padding-right: 20px;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
          }
          .v4-scope .tp-cred-swipe::-webkit-scrollbar { display: none; }
          .v4-scope .tp-cred-swipe > div {
            flex-shrink: 0;
            width: 150px;
            padding: 12px;
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.2);
            background: rgba(255,255,255,0.1);
            scroll-snap-align: start;
            -webkit-backdrop-filter: blur(8px);
                    backdrop-filter: blur(8px);
          }
          .v4-scope .tp-cred-swipe-ic {
            display: inline-flex; align-items: center; justify-content: center;
            width: 28px; height: 28px;
            border-radius: 9999px;
            background: #FFFFFF; color: #4583FF;
          }
          .v4-scope .tp-cred-swipe-ic svg { width: 14px; height: 14px; }
          .v4-scope .tp-cred-swipe dt {
            margin: 8px 0 0;
            font-size: 13px; font-weight: 600; line-height: 17px;
            color: #FFFFFF;
          }
          .v4-scope .tp-cred-swipe dd {
            margin: 4px 0 0;
            font-size: 11px; line-height: 15px;
            color: rgba(255,255,255,0.7);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
          }

          /* ---- tablet/desktop feature boxes (≥640px) ---- */
          .v4-scope .tp-cred-boxes { display: none; }
          @media (min-width: 640px) { .v4-scope .tp-cred-boxes { display: block; } }
          .v4-scope .tp-cred-box {
            position: relative;
            margin-top: 28px;
            border-radius: 16px;
            border: 1px solid rgba(255,255,255,0.2);
            background: rgba(255,255,255,0.05);
            padding: 36px 20px 16px;
            -webkit-backdrop-filter: blur(8px);
                    backdrop-filter: blur(8px);
          }
          .v4-scope .tp-cred-box-title {
            position: absolute;
            top: -14px; left: 20px;
            display: inline-flex; align-items: center;
            margin: 0;
            padding: 4px 16px;
            border-radius: 9999px;
            border: 1px solid rgba(255,255,255,0.25);
            background: #1C3867;
            font-size: 13px; font-weight: 600; line-height: 1.5;
            color: #FFFFFF; white-space: nowrap;
          }
          .v4-scope .tp-cred-box dl {
            display: grid; gap: 12px; margin: 0;
          }
          .v4-scope .tp-cred-box--new dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
          .v4-scope .tp-cred-box--adv dl {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            row-gap: 14px;
          }
          .v4-scope .tp-cred-feat {
            display: flex; align-items: flex-start; gap: 10px;
          }
          .v4-scope .tp-cred-feat-ic {
            flex-shrink: 0;
            display: inline-flex; align-items: center; justify-content: center;
            width: 36px; height: 36px;
            border-radius: 9999px;
            background: #FFFFFF; color: #4583FF;
          }
          .v4-scope .tp-cred-feat-ic svg { width: 16px; height: 16px; }
          .v4-scope .tp-cred-feat dt {
            font-size: 14px; font-weight: 600; line-height: 19px;
            color: #FFFFFF; margin: 0;
          }
          .v4-scope .tp-cred-feat dd {
            margin: 0;
            font-size: 12px; line-height: 17px;
            color: rgba(255,255,255,0.7);
          }

          /* tablet-only spacer so the pilot shows between boxes and CTA */
          .v4-scope .tp-cred-spacer { display: none; }
          @media (min-width: 640px) and (max-width: 1023px) {
            .v4-scope .tp-cred-spacer { display: block; height: 220px; }
          }

          /* ---- CTA ---- */
          .v4-scope .tp-cred-cta-wrap { margin-top: 20px; }
          @media (min-width: 1024px) { .v4-scope .tp-cred-cta-wrap { margin-top: 28px; } }
          .v4-scope .tp-cred-cta {
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
            width: 100%; height: 44px;
            padding: 0 24px;
            border-radius: 9999px;
            background-color: #4583FF; color: #FFFFFF;
            font-size: 12px; font-weight: 500;
            letter-spacing: 0.02em; text-transform: uppercase;
            white-space: nowrap;
            box-shadow: 0 6px 18px rgba(69,131,255,0.45);
            transition: background-color 150ms ease-out, transform 150ms ease-out;
            text-decoration: none;
          }
          @media (min-width: 640px) {
            .v4-scope .tp-cred-cta {
              width: auto; height: 52px;
              padding: 0 32px;
              font-size: 13px;
            }
          }
          .v4-scope .tp-cred-cta:hover,
          .v4-scope .tp-cred-cta:focus-visible { background-color: #2F60AE; }
          .v4-scope .tp-cred-cta:active { transform: scale(0.98); }
          .v4-scope .tp-cred-cta svg { width: 16px; height: 16px; }
          @media (min-width: 640px) {
            .v4-scope .tp-cred-cta svg { width: 20px; height: 20px; }
          }

          @media (prefers-reduced-motion: reduce) {
            .v4-scope .tp-cred-cta { transition: none; }
            .v4-scope .tp-cred-cta:active { transform: none; }
          }

/* ---- template line 5332 ---- */
          /* ===== Fees & funding — mobile compact layout (<640px) ===== */
          #fees .tp-fees-shell { gap: 20px; }
          @media (min-width: 640px) { #fees .tp-fees-shell { gap: 28px; } }

          /* Mobile pill — tighter than the desktop sky-border pill */
          @media (max-width: 639px) {
            #fees .tp-fees-pill {
              height: 32px; padding: 0 12px;
              font-size: 11px; line-height: 1;
              font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
              color: #1C3867;
              background: transparent;
              border: 1px solid #A7E1FF; border-radius: 999px;
              display: inline-flex; align-items: center;
            }
            #fees .tp-fees-h2 { font-size: 24px; line-height: 1.1; margin-top: 12px; }
            #fees .tp-fees-intro { font-size: 13px; line-height: 20px; color: #707070; }
          }

          /* Panel: mobile tightens padding + radius */
          #fees .tp-fees-panel {
            width: 100%;
            border: 2px solid #4583FF;
            border-radius: 24px;
            padding: 32px;
            display: flex; flex-direction: column;
            box-sizing: border-box;
          }
          @media (max-width: 639px) {
            #fees .tp-fees-panel { border-radius: 16px; padding: 16px; gap: 16px; }
          }
          @media (min-width: 1024px) { #fees .tp-fees-panel { padding: 48px; } }

          /* Headline block */
          #fees .tp-fees-headline-label {
            font-size: 11px; font-weight: 500; line-height: 1;
            text-transform: uppercase; letter-spacing: 0.05em;
            color: #707070;
          }
          #fees .tp-fees-headline-figure {
            white-space: nowrap;
            font-family: 'Helvetica Neue', 'Inter Tight', system-ui, sans-serif;
            font-weight: 600;
            color: #1C3867;
          }
          #fees .tp-fees-headline-sub { color: #707070; }
          @media (max-width: 639px) {
            #fees .tp-fees-headline { text-align: center; }
            #fees .tp-fees-headline-label { font-size: 10px; letter-spacing: 0.06em; }
            #fees .tp-fees-headline-figure { font-size: 34px; line-height: 1; margin-top: 6px; }
            #fees .tp-fees-headline-sub { font-size: 12px; line-height: 17px; margin-top: 6px; }
          }

          /* ===== Mobile cost list (<640px) ===== */
          @media (max-width: 639px) {
            #fees .tp-fees-list {
              background: #ffffff;
              border: 1px solid rgba(28,56,103,0.10);
              border-radius: 12px;
              padding: 0 14px;
              display: block;
            }
            #fees .tp-fees-row {
              display: flex; align-items: center; justify-content: space-between; gap: 12px;
              padding: 10px 0;
              border-top: 1px solid rgba(28,56,103,0.10);
              border-radius: 0;
            }
            #fees .tp-fees-row:first-child { border-top: 0; }
            #fees .tp-fees-dt {
              margin: 0;
              font-size: 12px; line-height: 16px;
              color: rgba(28,56,103,0.80);
              display: inline-flex; align-items: center; gap: 6px;
              flex: 1 1 auto; min-width: 0;
            }
            #fees .tp-fees-dd {
              margin: 0;
              font-size: 14px; font-weight: 600; line-height: 1;
              color: #1C3867;
              white-space: nowrap; flex-shrink: 0;
            }
            #fees .tp-fees-tag {
              display: inline-flex; align-items: center;
              padding: 2px 6px; border-radius: 999px;
              background: #DFF2FB;
              color: #4583FF;
              font-size: 9px; font-weight: 600;
              text-transform: uppercase; letter-spacing: 0.04em;
              line-height: 1;
              white-space: nowrap;
            }
          }

          /* ===== Tablet + Desktop cost tiles (≥640px) — original tile look ===== */
          @media (min-width: 640px) {
            #fees .tp-fees-list {
              display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
            }
            #fees .tp-fees-row {
              display: flex; flex-direction: column;
              height: 100%;
              background: #ffffff;
              border: 1px solid rgba(28,56,103,0.15);
              border-radius: 16px;
              padding: 20px;
            }
            #fees .tp-fees-dt {
              margin: 0;
              font-size: 13px; line-height: 18px;
              color: #707070;
            }
            /* Desktop: the tag renders as natural inline text with parens so
               the tile label reads "Conversion (if flown abroad)". */
            #fees .tp-fees-tag {
              display: inline;
              margin-left: 4px;
              padding: 0; background: transparent;
              color: inherit;
              font-size: inherit; font-weight: inherit; line-height: inherit;
              text-transform: none; letter-spacing: inherit;
              white-space: normal;
            }
            #fees .tp-fees-tag::before { content: '('; }
            #fees .tp-fees-tag::after  { content: ')'; }
            #fees .tp-fees-dd {
              margin: 0; margin-top: auto;
              padding-top: 20px;
              font-size: 19px; font-weight: 500; line-height: 1;
              color: #1C3867; white-space: nowrap;
            }
          }
          @media (min-width: 1024px) {
            #fees .tp-fees-list { grid-template-columns: repeat(4, 1fr); }
          }

          /* Panel grid: stacked mobile; headline-left + list-right from 1024px */
          #fees .tp-fees-panel-grid {
            display: grid; grid-template-columns: 1fr;
            gap: 24px;
          }
          @media (min-width: 640px) { #fees .tp-fees-panel-grid { gap: 32px; } }
          @media (min-width: 1024px) {
            #fees .tp-fees-panel-grid {
              grid-template-columns: minmax(0, 270px) minmax(0, 1fr);
              align-items: center; gap: 56px;
            }
            #fees .tp-fees-headline { text-align: left; }
          }

          /* CTA row */
          #fees .tp-fees-cta {
            display: inline-flex; align-items: center; justify-content: center; gap: 10px;
            background: #4583FF; color: #ffffff;
            border-radius: 999px;
            text-transform: uppercase; letter-spacing: 0.02em; font-weight: 500;
            white-space: nowrap;
            transition: background-color 200ms ease-out;
            box-sizing: border-box;
          }
          #fees .tp-fees-cta:hover,
          #fees .tp-fees-cta:focus-visible { background: #2F60AE; }
          #fees .tp-fees-cta svg { flex-shrink: 0; }

          @media (max-width: 639px) {
            #fees .tp-fees-cta-wrap {
              display: flex; flex-direction: column; align-items: center; gap: 8px;
              margin-top: 16px;
            }
            #fees .tp-fees-cta {
              width: 100%; height: 44px; font-size: 12px; padding: 0 16px;
            }
            #fees .tp-fees-cta-note {
              font-size: 11px; line-height: 16px; color: #707070;
              text-align: center;
            }
          }
          @media (min-width: 640px) {
            #fees .tp-fees-cta-wrap {
              display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px;
              margin-top: 24px;
            }
            #fees .tp-fees-cta { height: 56px; padding: 0 28px; font-size: 13px; }
            #fees .tp-fees-cta-note { font-size: 13px; line-height: 19px; color: #707070; }
          }
          @media (prefers-reduced-motion: reduce) {
            #fees .tp-fees-cta { transition: none; }
          }

          /* Footnote */
          #fees .tp-fees-footnote {
            font-size: 11px; line-height: 16px; color: #707070;
          }
          @media (min-width: 640px) {
            #fees .tp-fees-footnote { font-size: 13px; line-height: 19px; }
          }

/* ---- template line 5602 ---- */
          /* DESKTOP + TABLET (≥768px): static 3-card grid, no carousel motion,
             no controls. Cards render in DOM order (IndiGo / Air India /
             AirAsia) at equal width — portrait rectangles with a tall photo,
             logo, and title stacked. */
          .tp-partners-carousel {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 24px;
            align-items: stretch;
          }
          .tp-partners-card {
            position: static;
            width: 100%;
            height: auto;
            transform: none;
            opacity: 1;
            pointer-events: auto;
            cursor: default;
            border-radius: 24px;
            padding: 12px;
          }
          /* Desktop-only sizing for the card's internal elements — bigger
             photo, larger logo + title so the card reads as a marketing tile
             rather than the compact mobile carousel card. */
          .tp-partners-card__photo { height: 300px; border-radius: 16px; }
          .tp-partners-card__logo  { height: 30px; margin-top: 24px; }
          .tp-partners-card__title { font-size: 20px; margin-top: 16px; padding-bottom: 16px; max-width: 240px; }
          .tp-partners-controls-row { display: none; }

          /* MOBILE (<768px): centre-focus carousel. Active card centred,
             prev / next cards sit at 85% scale / 75% opacity to the sides.
             Auto-advance is JS-driven, paused on hover/focus, disabled by
             prefers-reduced-motion. */
          @media (max-width: 767px) {
            .tp-partners-carousel {
              display: block;
              position: relative;
              height: 380px;
              perspective: 1000px;
            }
            .tp-partners-card {
              position: absolute;
              left: 50%;
              top: 50%;
              width: 260px;
              height: 340px;
              border-radius: 12px;
              padding: 12px;
              transform: translate(-50%, -50%) scale(0);
              opacity: 0;
              pointer-events: none;
              transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1),
                          opacity   300ms cubic-bezier(0.23, 1, 0.32, 1);
            }
            /* Mobile card internals: compact sizing that fits inside the
               260×340 carousel card. */
            .tp-partners-card__photo { height: 230px; border-radius: 8px; }
            .tp-partners-card__logo  { height: 24px; margin-top: 12px; }
            .tp-partners-card__title { font-size: 17px; margin-top: 12px; padding-bottom: 0; max-width: 220px; }
            .tp-partners-card[data-state="active"] {
              transform: translate(-50%, -50%) scale(1);
              opacity: 1;
              pointer-events: auto;
              z-index: 3;
              cursor: default;
            }
            .tp-partners-card[data-state="prev"] {
              transform: translate(calc(-50% - 220px), -50%) scale(0.85);
              opacity: 0.75;
              pointer-events: auto;
              z-index: 1;
              cursor: pointer;
            }
            .tp-partners-card[data-state="next"] {
              transform: translate(calc(-50% + 220px), -50%) scale(0.85);
              opacity: 0.75;
              pointer-events: auto;
              z-index: 1;
              cursor: pointer;
            }
            .tp-partners-controls-row { display: flex; }
            .tp-partners-dot {
              width: 8px; height: 8px;
              border-radius: 999px;
              background: rgba(69,131,255,0.30);
              transition: width 200ms ease, background-color 200ms ease;
              border: 0; padding: 0; cursor: pointer;
            }
            .tp-partners-dot[aria-selected="true"] {
              width: 28px;
              background: #4583FF;
            }
            .tp-partners-arrow {
              display: inline-flex; align-items: center; justify-content: center;
              width: 32px; height: 32px;
              background: transparent; border: 0; padding: 0; cursor: pointer;
              color: rgba(28,56,103,0.35);
              transition: color 150ms ease;
            }
            .tp-partners-arrow:hover { color: #4583FF; }
            .tp-partners-arrow svg { width: 16px; height: 16px; stroke-width: 1.5; }
          }
          @media (max-width: 480px) {
            .tp-partners-carousel { overflow: hidden; height: 360px; }
            .tp-partners-card { width: 240px; height: 320px; }
            .tp-partners-card[data-state="prev"] { transform: translate(calc(-50% - 200px), -50%) scale(0.8); opacity: 0.55; }
            .tp-partners-card[data-state="next"] { transform: translate(calc(-50% + 200px), -50%) scale(0.8); opacity: 0.55; }
          }
          @media (prefers-reduced-motion: reduce) {
            .tp-partners-card { transition: none; }
          }

/* ---- template line 5831 ---- */
            /* Compact overlap-stack: each block clips with top-rounded corners
               and tucks UP under the one above by 16px. z-index increases down
               the stack (set inline per block) so the lower colour sits on top
               in the curved notch, blending the two shades together. */
            .tp-why-stack {
              display: flex; flex-direction: column;
              border-radius: 22px;
              overflow: hidden;
              box-shadow: 0 12px 32px rgba(28,56,103,0.14);
              margin: 0;
            }
            .tp-why-block {
              position: relative;
              padding: 12px 16px 28px;
              border-top-left-radius: 22px;
              border-top-right-radius: 22px;
              /* Faint top highlight on every block */
              box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
              color: #ffffff;
            }
            .tp-why-block + .tp-why-block {
              /* Every block after the first overlaps the previous by 16px and
                 gets the soft upward shadow so the tuck looks shaded. 28px top
                 padding - 16px overlap = 12px of visible top padding, matching
                 the first block. */
              margin-top: -16px;
              padding-top: 28px;
              box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 -4px 14px rgba(28,56,103,0.12);
            }
            .tp-why-block:last-child { padding-bottom: 16px; }

            .tp-why-block dt {
              display: flex; align-items: center; gap: 10px;
              font-size: 16px; font-weight: 600; line-height: 20px;
              color: #ffffff;
              margin: 0;
            }
            .tp-why-block dt svg {
              width: 16px; height: 16px;
              color: #A7E1FF;
              flex-shrink: 0;
            }
            .tp-why-block dd {
              margin: 2px 0 0;
              font-size: 13px; line-height: 19px;
              color: rgba(255,255,255,0.85);
            }

            @media (min-width: 768px) {
              .tp-why-block             { padding: 12px 20px 28px; }
              .tp-why-block + .tp-why-block { padding-top: 28px; }
              .tp-why-block:last-child  { padding-bottom: 16px; }
            }
            @media (min-width: 1024px) {
              .tp-why-block {
                padding: 12px 24px 28px;
                display: grid; grid-template-columns: 300px 1fr; gap: 24px;
                align-items: center;
              }
              .tp-why-block + .tp-why-block { padding-top: 28px; }
              .tp-why-block:last-child  { padding-bottom: 16px; }
              .tp-why-block dt { font-size: 18px; line-height: 24px; }
              .tp-why-block dd { margin-top: 0; font-size: 14px; line-height: 21px; }
            }

/* ---- template line 5964 ---- */
          /* Typography scoped to #testimonials — Name (primary) → Category
             (secondary) → Quote (italic body). Fixed line-heights so the
             baselines line up across cards even when quote lengths differ. */
          #testimonials .tp-v4-testi-name     { font-size: 18px; font-weight: 600; line-height: 1.2;  color: #1C3867; }
          #testimonials .tp-v4-testi-category { font-size: 13px; font-weight: 500; line-height: 1.35; color: #4583ff; letter-spacing: 0.01em; }
          #testimonials .tp-v4-testi-quote    { font-size: 15px; font-weight: 400; line-height: 1.5;  color: rgba(28,56,103,0.78); font-style: italic; }

/* ---- template line 6028 ---- */
          /* Scoped: only when the body carries this class (set by JS on
             modal open) do we hide the site-wide sticky contact bar and
             prevent the sticky sub-nav from competing with the dialog. */
          body.tp-video-open .tp-sticky-bar,
          body.tp-video-open [data-section-nav] { display: none !important; }

          /* Close button on the video frame. White circle, dark X, strong
             shadow. Sized well above the 44px tap minimum so it's an
             obvious control, not a decoration. */
          .tp-v4-video-close {
            position: absolute;
            top: 10px; right: 10px;
            z-index: 20;
            display: grid; place-items: center;
            height: 44px; width: 44px;
            border: 0; cursor: pointer;
            border-radius: 999px;
            background: #ffffff;
            color: #1C3867;
            box-shadow: 0 6px 18px rgba(0,0,0,0.45), 0 0 0 2px rgba(0,0,0,0.08);
            transition: transform 150ms ease-out, background-color 150ms ease-out;
          }
          .tp-v4-video-close:hover,
          .tp-v4-video-close:focus-visible {
            background: #f1f5f9;
            transform: scale(1.05);
            outline: none;
          }
          .tp-v4-video-close svg { width: 22px; height: 22px; }

/* ---- template line 6231 ---- */
            /* Desktop (≥1024px) ONLY: convert Trustindex slider → 3-column
               grid that fills the full shell width. Mobile + tablet keep the
               plugin's default render. */
            @media (min-width: 1024px) {
              /* Trustindex pins widths on multiple wrappers. Force the whole
                 chain to 100% so the native 3-col grid fills the shell. */
              #reviews .ti-widget,
              #reviews .ti-widget-container,
              #reviews .ti-widget-container[class*="ti-col-"],
              #reviews .ti-fade-container,
              #reviews .ti-reviews-container,
              #reviews .ti-reviews-container-wrapper {
                width: 100% !important;
                max-width: 100% !important;
                margin-left: 0 !important;
                margin-right: 0 !important;
              }
              #reviews .ti-reviews-container-wrapper {
                display: grid !important;
                grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
                gap: 24px !important;
                overflow: visible !important;
                transform: none !important;
              }
              /* Each card: unwind slider positioning so it sits in its grid
                 cell and stretches to the full column width. */
              #reviews .ti-review-item,
              #reviews .ti-review-item > *,
              #reviews .ti-review-item > * > * {
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
                box-sizing: border-box !important;
              }
              #reviews .ti-review-item {
                position: static !important;
                opacity: 1 !important;
                visibility: visible !important;
                display: block !important;
                transform: none !important;
                left: auto !important;
                top: auto !important;
                margin: 0 !important;
              }
              /* Only first 3 — keep the section compact. */
              #reviews .ti-review-item:nth-of-type(n+4) { display: none !important; }
              /* Hide slider chrome — prev/next arrows + dot indicator. */
              #reviews .ti-controls,
              #reviews .ti-controls-line {
                display: none !important;
              }
            }

/* ---- template line 6293 ---- */
          /* Panel: viewport-gap lives on the outer wrapper's PADDING, not on
             the panel's margin — explicit margin on the panel was being lost
             when the panel's parent chain (v4-scope, section) applied width:
             100% in flex/grid contexts, producing an edge-to-edge panel on
             mobile. Padding on the outer is bulletproof against that. */
          #parents .tp-parents-outer {
            width: 100%;
            max-width: 100vw;
            padding: 0 20px;
            box-sizing: border-box !important;
          }
          #parents .tp-parents-panel {
            width: 100%;
            max-width: 100%;
            margin: 0;
            background: #FBFBFB;
            border: 1px solid rgba(28,56,103,0.20);
            border-radius: 16px;
            padding: 20px;               /* tighter top/bottom so the CTA sits closer to the cards */
            display: flex; flex-direction: column; gap: 14px;
            overflow: hidden;
            box-sizing: border-box !important;
          }
          @media (min-width: 640px) {
            #parents .tp-parents-outer { padding: 0 24px; }
            #parents .tp-parents-panel { padding: 28px; gap: 24px; }
          }
          @media (min-width: 1024px) {
            #parents .tp-parents-outer { padding: 0; }
            #parents .tp-parents-panel { margin: 0 auto; max-width: 1110px; padding: 40px; gap: 32px; }
          }

          /* Header */
          #parents .tp-parents-head { display: flex; flex-direction: column; gap: 10px; }
          @media (min-width: 640px) { #parents .tp-parents-head { gap: 16px; } }

          /* Card */
          #parents .tp-parents-card {
            background: #FFFFFF;
            border: 1px solid rgba(28,56,103,0.15);
            border-radius: 12px;
            padding: 14px;
            display: flex; flex-direction: column;
            height: 100%;
          }
          @media (min-width: 640px) { #parents .tp-parents-card { padding: 20px; } }

          #parents .tp-parents-card__top { display: flex; align-items: center; gap: 10px; }
          #parents .tp-parents-card__icon {
            display: inline-flex; align-items: center; justify-content: center;
            width: 32px; height: 32px; border-radius: 999px;
            background: #DFF2FB; color: #1C3867;
            flex-shrink: 0;
          }
          #parents .tp-parents-card__icon svg { width: 16px; height: 16px; }
          @media (min-width: 640px) {
            #parents .tp-parents-card__icon { width: 40px; height: 40px; }
            #parents .tp-parents-card__icon svg { width: 20px; height: 20px; }
          }
          #parents .tp-parents-card__title {
            margin: 0;
            font-size: 15px; line-height: 19px; font-weight: 600; color: #1C3867;
          }
          #parents .tp-parents-card__num { color: #4583FF; }
          @media (min-width: 640px) {
            #parents .tp-parents-card__title { font-size: 18px; line-height: 23px; }
          }

          #parents .tp-parents-card__sum {
            margin: 8px 0 0;
            font-size: 12px; line-height: 17px;
            color: rgba(28,56,103,0.80);
          }
          @media (min-width: 640px) {
            #parents .tp-parents-card__sum { margin-top: 12px; font-size: 14px; line-height: 20px; }
          }

          #parents .tp-parents-card__list {
            list-style: none; padding: 8px 0 0; margin: 8px 0 0;
            border-top: 1px solid rgba(28,56,103,0.10);
            display: flex; flex-direction: column; gap: 6px;
          }
          @media (min-width: 640px) {
            #parents .tp-parents-card__list { padding-top: 12px; margin-top: 12px; gap: 8px; }
          }
          #parents .tp-parents-card__list li {
            display: flex; align-items: flex-start; gap: 8px;
            font-size: 12px; line-height: 17px; color: #707070;
          }
          @media (min-width: 640px) {
            #parents .tp-parents-card__list li { font-size: 14px; line-height: 21px; }
          }
          #parents .tp-parents-card__list li::before {
            content: ''; flex-shrink: 0;
            width: 4px; height: 4px; border-radius: 999px;
            background: #4583FF;
            margin-top: 7px;
          }

          /* Mobile — swipeable slider.
             Row gets -20px margin + 20px padding so the first card snaps aligned
             with the heading text, and the next card peeks right up to the panel
             border where the panel's overflow:hidden clips it. Cards never touch
             the viewport edge because the outer wrapper has px-5 and the panel
             has px-5. */
          #parents .tp-parents-row {
            display: grid; grid-template-columns: 1fr; gap: 16px;
          }
          @media (max-width: 639px) {
            #parents .tp-parents-row {
              display: flex;
              align-items: stretch;      /* explicit — all cards match the tallest in view */
              overflow-x: auto;
              scroll-snap-type: x mandatory;
              gap: 12px;
              margin-left: -20px;
              margin-right: -20px;
              padding-left: 20px;
              padding-right: 20px;
              scroll-padding-left: 20px;
              scrollbar-width: none;
            }
            #parents .tp-parents-row::-webkit-scrollbar { display: none; }
            #parents .tp-parents-row > * {
              flex: 0 0 calc(100% - 44px);
              scroll-snap-align: start;
              display: flex;             /* make the li itself a flex container so the article inside stretches */
            }
            #parents .tp-parents-card { height: auto !important; }  /* let flex-stretch set the height */
          }
          /* Desktop — 3-column grid */
          @media (min-width: 1024px) {
            #parents .tp-parents-row { grid-template-columns: repeat(3, 1fr); }
          }

          /* Mobile pagination dots — mirrors the React ParentTrustCard
             indicator; width/colour animates on active to match the pill. */
          #parents .tp-parents-dots {
            display: flex; align-items: center; justify-content: center; gap: 6px;
            margin-top: 12px;
          }
          #parents .tp-parents-dot {
            height: 6px; width: 6px; border-radius: 999px;
            background: rgba(69,131,255,0.25);
            border: 0; padding: 0; cursor: pointer;
            transition: width 200ms ease-out, background-color 200ms ease-out;
          }
          #parents .tp-parents-dot.is-active { width: 16px; background: #4583FF; }
          @media (min-width: 640px) { #parents .tp-parents-dots { display: none; } }
          @media (prefers-reduced-motion: reduce) {
            #parents .tp-parents-dot { transition: none; }
          }

          /* CTA — box-sizing: border-box so width:100% + padding stays within
             the panel's content area and never overflows the right edge. */
          #parents .tp-parents-cta {
            box-sizing: border-box;
            display: flex; align-items: center; justify-content: center;
            gap: 8px;
            background: #4583FF; color: #FFFFFF;
            border-radius: 999px;
            text-transform: uppercase; letter-spacing: 0.02em; font-weight: 500;
            white-space: nowrap;
            transition: background-color 200ms ease-out;
          }
          #parents .tp-parents-cta:hover,
          #parents .tp-parents-cta:focus-visible { background: #2F60AE; }
          #parents .tp-parents-cta svg { flex-shrink: 0; }
          /* Mobile: full width of the panel's content area (panel has 20px
             padding each side so the CTA respects a 20px gap on both sides). */
          #parents .tp-parents-cta { width: 100%; height: 44px; font-size: 12px; padding: 0 16px; }
          /* Tablet+: auto width, left-aligned, taller */
          @media (min-width: 640px) {
            #parents .tp-parents-cta { width: auto; align-self: flex-start; height: 48px; padding: 0 24px; font-size: 13px; }
          }

          @media (prefers-reduced-motion: reduce) {
            #parents .tp-parents-cta { transition: none !important; }
          }

/* ---- template line 6620 ---- */
          /* -------- Mobile carousel (<640px) --------
             Centred stage with a 5-slot virtual window (step-2..step+2) so a
             side card is always visible on BOTH sides even with only 2
             programmes. JS sets a CSS variable --tpc-offset per slot; the
             slot CSS uses that to pick its transform/opacity. */
          #cadet-programmes .tpc-stage {
            position: relative;
            width: 62vw; max-width: 250px;
            height: 284px;
            margin: 0 auto;
          }
          #cadet-programmes .tpc-overflow {
            overflow: hidden;
            padding: 10px 0 20px; /* vertical breathing for shadow */
          }
          #cadet-programmes .tpc-slot {
            position: absolute; inset: 0;
            display: flex;
            transform-origin: center center;
            transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1),
                        opacity   300ms cubic-bezier(0.23, 1, 0.32, 1);
            will-change: transform, opacity;
          }
          #cadet-programmes .tpc-slot[data-offset="0"]  { transform: translateX(0)       scale(1);   opacity: 1;    z-index: 3; }
          #cadet-programmes .tpc-slot[data-offset="-1"] { transform: translateX(-104%)   scale(0.9); opacity: 0.75; z-index: 2; }
          #cadet-programmes .tpc-slot[data-offset="1"]  { transform: translateX(104%)    scale(0.9); opacity: 0.75; z-index: 2; }
          #cadet-programmes .tpc-slot[data-offset="-2"] { transform: translateX(-208%)   scale(0.9); opacity: 0;    z-index: 1; pointer-events: none; }
          #cadet-programmes .tpc-slot[data-offset="2"]  { transform: translateX(208%)    scale(0.9); opacity: 0;    z-index: 1; pointer-events: none; }

          /* --- Card --- */
          #cadet-programmes .tpc-card {
            display: flex; flex-direction: column;
            width: 100%; height: 100%;
            background: #ffffff;
            border: 1px solid rgba(28,56,103,0.15);
            border-radius: 12px;
            padding: 8px;
            box-shadow: 0 6px 20px rgba(28,56,103,0.10);
            box-sizing: border-box;
          }
          #cadet-programmes .tpc-card__img {
            width: 100%; height: 118px;
            border-radius: 8px;
            object-fit: cover;
          }
          #cadet-programmes .tpc-card__logo {
            display: block; height: 18px; width: auto;
            margin: 12px auto 0;
            object-fit: contain;
          }
          #cadet-programmes .tpc-card__title {
            margin: 8px 0 0;
            font-size: 14px; line-height: 18px; font-weight: 600;
            color: #1C3867; text-align: center;
          }
          #cadet-programmes .tpc-card__desc {
            margin: 4px 0 0;
            font-size: 11px; line-height: 16px; color: #707070; text-align: center;
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
            overflow: hidden;
          }
          #cadet-programmes .tpc-card__cta {
            display: flex; align-items: center; justify-content: center; gap: 6px;
            width: 100%; height: 36px;
            margin-top: auto;
            border-radius: 8px;
            background: #4583FF; color: #ffffff;
            font-size: 12px; font-weight: 500;
            transition: background-color 200ms ease-out;
            box-sizing: border-box;
          }
          #cadet-programmes .tpc-card__cta:hover,
          #cadet-programmes .tpc-card__cta:focus-visible { background: #2F60AE; }

          /* --- Controls (chevrons + dots) --- */
          #cadet-programmes .tpc-ctrl {
            display: flex; align-items: center; justify-content: center; gap: 10px;
            margin-top: 20px;
          }
          #cadet-programmes .tpc-chev {
            display: inline-flex; align-items: center; justify-content: center;
            width: 28px; height: 28px;
            background: transparent; border: 0; cursor: pointer;
            color: rgba(28,56,103,0.35);
            transition: color 150ms ease;
          }
          #cadet-programmes .tpc-chev:hover,
          #cadet-programmes .tpc-chev:focus-visible { color: #4583FF; }
          #cadet-programmes .tpc-chev svg { width: 16px; height: 16px; stroke-width: 1.5; }
          #cadet-programmes .tpc-dots { display: inline-flex; align-items: center; gap: 6px; }
          #cadet-programmes .tpc-dot {
            width: 8px; height: 8px; border-radius: 999px;
            background: rgba(69,131,255,0.30);
            border: 0; padding: 0; cursor: pointer;
            transition: width 200ms ease-out, background-color 200ms ease-out;
          }
          #cadet-programmes .tpc-dot.is-active { width: 28px; background: #4583FF; }

          @media (prefers-reduced-motion: reduce) {
            #cadet-programmes .tpc-slot,
            #cadet-programmes .tpc-dot,
            #cadet-programmes .tpc-chev,
            #cadet-programmes .tpc-card__cta { transition: none !important; }
          }

          /* --- Mobile shows carousel, ≥sm shows grid --- */
          #cadet-programmes .tpc-mobile  { display: block; }
          #cadet-programmes .tpc-desktop { display: none; }
          @media (min-width: 640px) {
            #cadet-programmes .tpc-mobile  { display: none; }
            #cadet-programmes .tpc-desktop { display: grid; }
          }

/* ---- template line 6931 ---- */
          /* ---------- Mobile stepper (<640px) ---------- */
          #cadet-prep .tp-sp-rail {
            position: relative;
            list-style: none; margin: 0;
            padding: 0 16px;
            display: flex; align-items: center; justify-content: space-between;
            width: 100%; max-width: 420px;
          }
          /* Rail baseline + progress — run from the first circle centre to the last */
          #cadet-prep .tp-sp-rail__line,
          #cadet-prep .tp-sp-rail__fill {
            position: absolute;
            left: calc(16px + 16px);          /* padding + half-circle */
            right: calc(16px + 16px);
            top: 50%;
            transform: translateY(-50%);
            height: 1px; background: rgba(69,131,255,0.25);
            pointer-events: none;
          }
          #cadet-prep .tp-sp-rail__fill {
            background: #4583FF; height: 2px;
            right: auto;
            width: 0;
            transition: width 300ms cubic-bezier(0.23, 1, 0.32, 1);
          }
          #cadet-prep .tp-sp-dot {
            position: relative; z-index: 2;
            display: inline-flex; align-items: center; justify-content: center;
            width: 32px; height: 32px; border-radius: 999px;
            background: #ffffff;
            border: 1px solid rgba(69,131,255,0.30);
            color: rgba(28,56,103,0.50);
            font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
            cursor: pointer; padding: 0;
            transition: background-color 200ms ease-out, border-color 200ms ease-out, color 200ms ease-out;
          }
          #cadet-prep .tp-sp-dot.is-completed {
            background: #DFF2FB; border-color: #4583FF; color: #4583FF;
          }
          #cadet-prep .tp-sp-dot.is-active {
            background: #4583FF; border-color: #4583FF; color: #ffffff;
          }

          /* Card frame + swipe area */
          #cadet-prep .tp-sp-card-frame {
            position: relative;
            width: 100%;
            overflow: hidden;
            min-height: 124px;
          }
          #cadet-prep .tp-sp-card {
            position: relative;
            background: #ffffff; border-radius: 12px;
            border: 1px solid rgba(69,131,255,0.40);
            padding: 16px;
            box-shadow: 0 6px 20px rgba(28,56,103,0.08);
            min-height: 124px; box-sizing: border-box;
            touch-action: pan-y;
            transition: transform 240ms cubic-bezier(0.23, 1, 0.32, 1),
                        opacity 240ms cubic-bezier(0.23, 1, 0.32, 1);
            will-change: transform, opacity;
          }
          #cadet-prep .tp-sp-card.is-leaving-left   { transform: translateX(-40px); opacity: 0; }
          #cadet-prep .tp-sp-card.is-leaving-right  { transform: translateX(40px);  opacity: 0; }
          #cadet-prep .tp-sp-card.is-entering-left  { transform: translateX(-40px); opacity: 0; }
          #cadet-prep .tp-sp-card.is-entering-right { transform: translateX(40px);  opacity: 0; }
          #cadet-prep .tp-sp-card__eyebrow {
            font-size: 10px; font-weight: 500; letter-spacing: 0.1em;
            color: #4583FF; text-transform: uppercase;
          }
          #cadet-prep .tp-sp-card__title {
            margin: 4px 0 0;
            font-size: 17px; line-height: 22px; font-weight: 600; color: #1C3867;
          }
          #cadet-prep .tp-sp-card__desc {
            margin: 6px 0 0;
            font-size: 13px; line-height: 19px; color: #707070;
          }

          /* Controls below card */
          #cadet-prep .tp-sp-ctrl {
            display: flex; align-items: center; justify-content: space-between; gap: 12px;
            margin-top: 12px;
            width: 100%;
          }
          #cadet-prep .tp-sp-hint {
            font-size: 11px; color: #707070;
          }
          #cadet-prep .tp-sp-nav { display: inline-flex; align-items: center; gap: 10px; }
          #cadet-prep .tp-sp-chev {
            display: inline-flex; align-items: center; justify-content: center;
            width: 28px; height: 28px;
            background: transparent; border: 0; padding: 0; cursor: pointer;
            color: rgba(28,56,103,0.40);
            transition: color 150ms ease, opacity 150ms ease;
          }
          #cadet-prep .tp-sp-chev:hover:not([disabled]),
          #cadet-prep .tp-sp-chev:focus-visible:not([disabled]) { color: #4583FF; }
          #cadet-prep .tp-sp-chev[disabled] { opacity: 0.3; cursor: default; }
          #cadet-prep .tp-sp-chev svg { width: 16px; height: 16px; stroke-width: 1.5; }
          #cadet-prep .tp-sp-count {
            font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums;
          }
          #cadet-prep .tp-sp-count__cur { color: #4583FF; }
          #cadet-prep .tp-sp-count__tot { color: rgba(28,56,103,0.40); }

          /* ---------- Mobile-only / desktop-only toggles ---------- */
          #cadet-prep .tp-sp-mobile  { display: flex; flex-direction: column; width: 100%; align-items: center; gap: 16px; }
          #cadet-prep .tp-sp-desktop { display: none; }
          @media (min-width: 640px) {
            #cadet-prep .tp-sp-mobile  { display: none; }
            #cadet-prep .tp-sp-desktop { display: block; width: 100%; }
          }

          /* Desktop/tablet keeps the ORIGINAL wash-accent-card grid design;
             no new CSS required. Only the content shrinks from 6→4 cards. */

          /* Footer note */
          #cadet-prep .tp-sp-note {
            text-align: center;
            font-size: 12px; line-height: 17px; color: #707070;
            margin-top: 0;
          }
          @media (min-width: 640px) { #cadet-prep .tp-sp-note { font-size: 13px; } }

          /* CTA */
          #cadet-prep .tp-sp-cta {
            display: inline-flex; align-items: center; justify-content: center; gap: 10px;
            background: #4583FF; color: #ffffff;
            border-radius: 999px;
            text-transform: uppercase; letter-spacing: 0.02em; font-weight: 500;
            white-space: nowrap;
            transition: background-color 200ms ease-out;
            box-sizing: border-box;
          }
          #cadet-prep .tp-sp-cta:hover,
          #cadet-prep .tp-sp-cta:focus-visible { background: #2F60AE; }
          #cadet-prep .tp-sp-cta svg { flex-shrink: 0; }
          #cadet-prep .tp-sp-cta { width: 100%; height: 44px; font-size: 12px; padding: 0 20px; }
          #cadet-prep .tp-sp-cta svg { width: 16px; height: 16px; }
          @media (min-width: 640px) {
            #cadet-prep .tp-sp-cta { width: auto; height: 56px; padding: 0 32px; font-size: 14px; }
            #cadet-prep .tp-sp-cta svg { width: 20px; height: 20px; }
          }

          @media (prefers-reduced-motion: reduce) {
            #cadet-prep .tp-sp-rail__fill { transition: none !important; }
            #cadet-prep .tp-sp-card { transition: opacity 200ms ease-out !important; }
            #cadet-prep .tp-sp-card.is-leaving-left,
            #cadet-prep .tp-sp-card.is-leaving-right,
            #cadet-prep .tp-sp-card.is-entering-left,
            #cadet-prep .tp-sp-card.is-entering-right { transform: none !important; }
          }

/* ---- template line 7280 ---- */
          /* Mobile vs desktop toggle — only the design wrapper swaps */
          #type-rating .tp-tr-mobile  { display: block; }
          #type-rating .tp-tr-desktop { display: none; }
          @media (min-width: 640px) {
            #type-rating .tp-tr-mobile  { display: none; }
            #type-rating .tp-tr-desktop { display: block; }
          }

          /* ---------- Mobile panel ---------- */
          #type-rating .tp-tr-panel {
            border: 1px solid rgba(28,56,103,0.15);
            border-radius: 16px;
            padding: 24px 16px;
            overflow: hidden;
          }
          #type-rating .tp-tr-header { text-align: center; }
          #type-rating .tp-tr-header h2 {
            margin: 0;
            font-size: 24px; line-height: 1.1; font-weight: 600; color: #1C3867;
          }
          #type-rating .tp-tr-header p {
            margin: 10px 0 0;
            font-size: 13px; line-height: 20px; color: #707070;
          }

          /* --- Segmented toggle --- */
          #type-rating .tp-tr-toggle {
            position: relative;
            margin: 20px 0 0;
            display: grid; grid-template-columns: 1fr 1fr;
            background: #DFF2FB;
            border-radius: 999px;
            padding: 4px;
          }
          #type-rating .tp-tr-toggle__pill {
            position: absolute;
            top: 4px; bottom: 4px;
            left: 4px;
            width: calc(50% - 4px);
            border-radius: 999px;
            background: #4583FF;
            box-shadow: 0 3px 10px rgba(69,131,255,0.35);
            /* translate3d forces its own compositor layer so the slide never
               repaints the pill — just transforms it. will-change hints the
               browser to pre-promote it to a layer, eliminating first-tap jank. */
            transform: translate3d(0, 0, 0);
            will-change: transform;
            transition: transform 300ms cubic-bezier(0.32, 0.72, 0, 1);
            pointer-events: none;
          }
          #type-rating .tp-tr-toggle__pill.is-right { transform: translate3d(100%, 0, 0); }
          #type-rating .tp-tr-tab {
            position: relative; z-index: 1;
            background: transparent; border: 0; padding: 0;
            height: 36px;
            font-size: 13px; font-weight: 600;
            color: rgba(28,56,103,0.60);
            cursor: pointer;
            white-space: nowrap;
            transition: color 200ms ease-out;
          }
          #type-rating .tp-tr-tab[aria-selected="true"] { color: #ffffff; }

          /* --- Card frame + swipe --- */
          #type-rating .tp-tr-frame {
            position: relative;
            overflow: hidden;
            margin-top: 12px;
          }
          #type-rating .tp-tr-card {
            background: #ffffff;
            border: 1px solid rgba(28,56,103,0.10);
            border-radius: 16px;
            padding: 16px;
            box-shadow: 0 6px 20px rgba(28,56,103,0.08);
            touch-action: pan-y;
            transition: transform 240ms cubic-bezier(0.23, 1, 0.32, 1),
                        opacity 240ms cubic-bezier(0.23, 1, 0.32, 1);
            will-change: transform, opacity;
          }
          #type-rating .tp-tr-card.is-leaving-left   { transform: translateX(-40px); opacity: 0; }
          #type-rating .tp-tr-card.is-leaving-right  { transform: translateX(40px);  opacity: 0; }
          #type-rating .tp-tr-card.is-entering-left  { transform: translateX(-40px); opacity: 0; }
          #type-rating .tp-tr-card.is-entering-right { transform: translateX(40px);  opacity: 0; }

          #type-rating .tp-tr-card__logo  { display: block; width: 96px; height: auto; object-fit: contain; }
          #type-rating .tp-tr-card__sky   { display: block; width: 100%; height: 150px; margin-top: 12px; object-fit: contain; }
          #type-rating .tp-tr-card__title {
            margin: 12px 0 0;
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            font-weight: 900; font-style: italic; text-transform: uppercase;
            font-size: 19px; line-height: 1.1; color: #1C3867;
          }
          #type-rating .tp-tr-card__loc {
            margin: 6px 0 0;
            font-size: 12px; line-height: 18px;
            display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
          }
          #type-rating .tp-tr-card__loc > .label { color: #4583FF; font-weight: 500; }
          #type-rating .tp-tr-card__loc > .sep   { display: inline-block; width: 1px; height: 9px; background: rgba(28,56,103,0.20); }
          #type-rating .tp-tr-card__loc > .loc   { color: #707070; }
          #type-rating .tp-tr-card__cta {
            display: flex; align-items: center; justify-content: center; gap: 8px;
            margin-top: 16px;
            width: 100%; height: 44px;
            border-radius: 999px;
            background: #4583FF; color: #ffffff;
            font-size: 13px; font-weight: 500; white-space: nowrap;
            transition: background-color 200ms ease-out;
            box-sizing: border-box;
          }
          #type-rating .tp-tr-card__cta:hover,
          #type-rating .tp-tr-card__cta:focus-visible { background: #2F60AE; }
          #type-rating .tp-tr-card__cta svg { width: 16px; height: 16px; flex-shrink: 0; }

          /* --- Mobile benefits strip (compact) --- */
          #type-rating .tp-tr-benefits-mob {
            margin-top: 16px;
            background: rgba(223,242,251,0.70);
            border-radius: 16px;
            padding: 16px;
            display: flex; flex-direction: column; gap: 12px;
          }
          #type-rating .tp-tr-benefits-mob__head {
            display: flex; align-items: flex-start; gap: 12px;
          }
          #type-rating .tp-tr-benefits-mob__badge {
            display: inline-flex; align-items: center; justify-content: center;
            width: 40px; height: 40px; border-radius: 8px;
            background: #1C3867; color: #ffffff; flex-shrink: 0;
          }
          #type-rating .tp-tr-benefits-mob__badge svg { width: 20px; height: 20px; }
          #type-rating .tp-tr-benefits-mob__h1 { font-size: 16px; line-height: 20px; font-weight: 600; color: #1C3867; margin: 0; }
          #type-rating .tp-tr-benefits-mob__h2 { font-size: 12px; line-height: 17px; color: #707070; margin: 0; }
          #type-rating .tp-tr-benefits-mob__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
          #type-rating .tp-tr-benefits-mob__list li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 18px; color: #1C3867; }
          #type-rating .tp-tr-benefits-mob__list svg { width: 14px; height: 14px; color: #4583FF; flex-shrink: 0; margin-top: 2px; }

          @media (prefers-reduced-motion: reduce) {
            #type-rating .tp-tr-toggle__pill { transition: none !important; }
            #type-rating .tp-tr-card { transition: opacity 200ms ease-out !important; }
            #type-rating .tp-tr-card.is-leaving-left,
            #type-rating .tp-tr-card.is-leaving-right,
            #type-rating .tp-tr-card.is-entering-left,
            #type-rating .tp-tr-card.is-entering-right { transform: none !important; }
          }

/* ---- template line 7672 ---- */
          /* ===== 200-hour flying breakup ===== */
          #flying-hours .tp-fh-shell { display: flex; flex-direction: column; gap: 20px; }
          @media (min-width: 640px) { #flying-hours .tp-fh-shell { gap: 24px; } }

          /* Panel */
          #flying-hours .tp-fh-panel {
            background: #ffffff;
            border: 1px solid rgba(28,56,103,0.15);
            border-radius: 16px;
            overflow: hidden;
            display: flex; flex-direction: column;
          }

          /* ----- Total block (mobile + tablet default: horizontal bar on top) ----- */
          #flying-hours .tp-fh-total {
            background: #1C3867;
            display: flex; align-items: center; justify-content: space-between;
            gap: 16px;
            padding: 14px 16px;
            box-sizing: border-box;
          }
          @media (min-width: 640px) {
            #flying-hours .tp-fh-total { padding: 16px 24px; }
          }
          #flying-hours .tp-fh-total-top {
            display: inline-flex; align-items: center; gap: 12px;
            min-width: 0;
          }
          #flying-hours .tp-fh-total-icon { width: 20px; height: 20px; color: #A7E1FF; flex-shrink: 0; }
          #flying-hours .tp-fh-total-label {
            font-size: 11px; font-weight: 500; line-height: 1;
            text-transform: uppercase; letter-spacing: 0.08em;
            color: #A7E1FF;
            white-space: nowrap;
          }
          #flying-hours .tp-fh-total-value {
            margin: 0;
            display: inline-flex; align-items: baseline; gap: 6px;
            flex-shrink: 0;
          }
          #flying-hours .tp-fh-total-num {
            font-family: 'Helvetica Neue', 'Inter Tight', system-ui, sans-serif;
            font-weight: 900; font-style: italic;
            font-size: 34px; line-height: 1;
            color: #ffffff;
          }
          #flying-hours .tp-fh-total-unit {
            font-size: 13px; font-weight: 500;
            color: rgba(255,255,255,0.70);
          }

          /* ----- Minimums list — stacked rows on mobile + tablet ----- */
          #flying-hours .tp-fh-list {
            margin: 0; padding: 0;
            display: flex; flex-direction: column;
          }
          #flying-hours .tp-fh-row {
            display: flex; align-items: center; gap: 12px;
            padding: 10px 16px;
            border-top: 1px solid rgba(28,56,103,0.10);
            box-sizing: border-box;
          }
          #flying-hours .tp-fh-row:first-child { border-top: 0; }
          @media (min-width: 640px) {
            #flying-hours .tp-fh-row { padding: 12px 24px; }
          }
          #flying-hours .tp-fh-icon {
            display: inline-flex; align-items: center; justify-content: center;
            width: 32px; height: 32px; flex-shrink: 0;
            background: #DFF2FB; color: #4583FF;
            border-radius: 999px;
          }
          #flying-hours .tp-fh-icon svg { width: 16px; height: 16px; }
          #flying-hours .tp-fh-text {
            flex: 1 1 auto; min-width: 0;
          }
          #flying-hours .tp-fh-title {
            margin: 0;
            font-size: 13px; font-weight: 600; line-height: 17px;
            color: #1C3867;
          }
          #flying-hours .tp-fh-detail {
            margin: 2px 0 0;
            font-size: 11px; line-height: 15px;
            color: #707070;
          }
          #flying-hours .tp-fh-hours {
            margin: 0;
            flex-shrink: 0;
            display: inline-flex; align-items: baseline; gap: 4px;
          }
          #flying-hours .tp-fh-num {
            font-family: 'Helvetica Neue', 'Inter Tight', system-ui, sans-serif;
            font-weight: 900; font-style: italic;
            font-size: 22px; line-height: 1;
            color: #4583FF;
          }
          #flying-hours .tp-fh-unit {
            font-size: 11px; font-weight: 500;
            color: rgba(28,56,103,0.50);
          }

          /* ===== Desktop (≥1024px) — horizontal strip ===== */
          @media (min-width: 1024px) {
            #flying-hours .tp-fh-panel { flex-direction: row; }
            #flying-hours .tp-fh-total {
              width: 220px; min-width: 220px; flex-shrink: 0;
              flex-direction: column; align-items: flex-start; justify-content: center;
              gap: 8px;
              padding: 24px;
            }
            #flying-hours .tp-fh-total-value { gap: 6px; }
            #flying-hours .tp-fh-total-num { font-size: 56px; }
            #flying-hours .tp-fh-list {
              flex: 1 1 auto; flex-direction: row;
              display: grid; grid-template-columns: repeat(5, 1fr);
            }
            #flying-hours .tp-fh-row {
              flex-direction: column; align-items: flex-start; gap: 12px;
              padding: 24px 20px;
              border-top: 0;
              border-left: 1px solid rgba(28,56,103,0.10);
            }
            #flying-hours .tp-fh-row:first-child { border-left: 0; }
            /* Desktop order: icon → hours → title → detail */
            #flying-hours .tp-fh-row .tp-fh-icon { order: 1; }
            #flying-hours .tp-fh-row .tp-fh-hours { order: 2; margin: 0; }
            #flying-hours .tp-fh-row .tp-fh-text { order: 3; flex: 0 0 auto; width: 100%; }
            #flying-hours .tp-fh-num { font-size: 32px; }
            #flying-hours .tp-fh-title { font-size: 14px; line-height: 19px; }
            #flying-hours .tp-fh-detail { font-size: 12px; line-height: 17px; margin-top: 6px; }
          }

          /* ===== Legal basis ===== */
          #flying-hours .tp-fh-legal {
            display: flex; flex-direction: column; gap: 10px;
          }
          #flying-hours .tp-fh-legal-label {
            font-size: 10px; font-weight: 500;
            text-transform: uppercase; letter-spacing: 0.08em;
            color: #707070;
            padding: 0 0;
          }
          @media (min-width: 640px) {
            #flying-hours .tp-fh-legal { flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap; }
            #flying-hours .tp-fh-legal-label { font-size: 11px; }
          }

          /* Mobile: horizontally scrolling chip row, edge-to-edge */
          #flying-hours .tp-fh-chips {
            display: flex; align-items: center; gap: 8px;
            overflow-x: auto;
            margin-left: -20px; margin-right: -20px;
            padding: 0 20px;
            scrollbar-width: none;
          }
          #flying-hours .tp-fh-chips::-webkit-scrollbar { display: none; }
          @media (min-width: 640px) {
            #flying-hours .tp-fh-chips {
              overflow: visible;
              flex-wrap: wrap;
              margin-left: 0; margin-right: 0;
              padding: 0;
              gap: 8px;
            }
          }

          #flying-hours .tp-fh-chip {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 4px 12px;
            background: #ffffff;
            border: 1px solid rgba(28,56,103,0.15);
            border-radius: 999px;
            font-size: 11px; font-weight: 500;
            color: #1C3867;
            white-space: nowrap;
            flex-shrink: 0;
          }
          @media (min-width: 640px) {
            #flying-hours .tp-fh-chip { font-size: 12px; }
          }
          #flying-hours .tp-fh-chip svg {
            width: 14px; height: 14px;
            color: #4583FF;
            flex-shrink: 0;
          }

/* ---- template line 8071 ---- */
          /* ===== Blog marquee strip (scoped #blog) =====
             Driven by JS incrementing scrollLeft (not CSS transform) so
             manual swipe and auto-scroll share the same scroll position
             without fighting. Cards are doubled in the DOM so when the
             scroll crosses the half-way point we subtract half the track
             width — seamless loop with zero visual jump. */
          /* min-width:0 everywhere up the chain so the track's
             width:max-content can't propagate intrinsic sizing back up
             and blow out the parent (which was pushing the H2 off-
             viewport to the left). Explicit width:100% + max-width:100%
             constrain the scroll container to the visible shell. The
             shell itself keeps max-w-shell so it lines up with the other
             sections. */
          #blog .tp-blog-shell { min-width: 0; }
          /* Side-pad the marquee WRAPPER (not the track) so the scrollable
             area is always inset from the viewport edges. The track's own
             left-padding would only show at scrollLeft=0 — once auto-scroll
             kicks in, cards would bleed to the viewport edges on both sides
             (which read as "section touches end to end" on mobile). Padding
             on the wrapper is always visible because the scroll clip
             happens inside it. */
          #blog .tp-blog-marquee {
            position: relative;
            width: 100%;
            max-width: 100%;
            min-width: 0;
            padding: 0 20px;
          }
          @media (min-width: 640px) { #blog .tp-blog-marquee { padding: 0 24px; } }
          @media (min-width: 1024px) { #blog .tp-blog-marquee { padding: 0; } }
          #blog .tp-blog-scroll {
            width: 100%;
            max-width: 100%;
            min-width: 0;
            overflow-x: auto;
            overflow-y: hidden;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
            scroll-snap-type: x proximity;
          }
          #blog .tp-blog-scroll::-webkit-scrollbar { display: none; }
          #blog .tp-blog-track {
            display: flex;
            align-items: stretch;   /* equal card heights across the row */
            width: max-content;
            gap: 12px;
            padding: 4px 0;        /* horizontal padding moved to .tp-blog-marquee above */
          }
          @media (min-width: 640px)  { #blog .tp-blog-track { gap: 16px; } }

          /* Card — slim so ~1.5–2 fit at 390px mobile viewport.
             height:100% + align-self:stretch so each card fills the row
             height set by align-items:stretch on the track — guarantees
             even card heights even if excerpt lengths differ. */
          #blog .tp-blog-card {
            flex-shrink: 0;
            width: 220px;
            height: 100%;
            align-self: stretch;
            scroll-snap-align: start;
            display: flex; flex-direction: column;
            background: #ffffff;
            border: 1px solid rgba(28,56,103,0.12);
            border-radius: 14px;
            overflow: hidden;
            text-decoration: none;
            transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out;
          }
          /* The <li> wrapper also needs to stretch so align-self on the
             anchor inside has a definite height to stretch to. */
          #blog .tp-blog-track > li {
            display: flex;
            align-self: stretch;
          }
          @media (min-width: 640px)  { #blog .tp-blog-card { width: 260px; } }
          @media (min-width: 1024px) { #blog .tp-blog-card { width: 300px; } }
          #blog .tp-blog-card:hover,
          #blog .tp-blog-card:focus-visible {
            transform: translateY(-3px);
            box-shadow: 0 10px 24px rgba(28,56,103,0.12);
            border-color: rgba(69,131,255,0.40);
            outline: none;
          }
          #blog .tp-blog-card__media {
            aspect-ratio: 16 / 10;
            background: #EEF2F8;
            overflow: hidden;
          }
          #blog .tp-blog-card__media img {
            width: 100%; height: 100%;
            object-fit: cover; display: block;
            transition: transform 300ms ease-out;
          }
          #blog .tp-blog-card:hover .tp-blog-card__media img { transform: scale(1.04); }
          #blog .tp-blog-card__media--placeholder {
            display: flex; align-items: center; justify-content: center;
            color: rgba(28,56,103,0.35);
            font-size: 36px; font-weight: 800;
          }
          #blog .tp-blog-card__body {
            display: flex; flex-direction: column; gap: 8px;
            padding: 14px 14px 16px;
            flex: 1 1 auto;
          }
          #blog .tp-blog-card__tag {
            align-self: flex-start;
            display: inline-flex; align-items: center;
            padding: 3px 8px; border-radius: 999px;
            background: rgba(69,131,255,0.12);
            color: #4583FF;
            font-size: 10px; font-weight: 600; line-height: 14px;
            letter-spacing: 0.04em; text-transform: uppercase;
          }
          #blog .tp-blog-card__title {
            margin: 0;
            font-size: 14px; font-weight: 600; line-height: 19px;
            color: #1C3867;
            display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
            overflow: hidden;
          }
          @media (min-width: 1024px) { #blog .tp-blog-card__title { font-size: 15px; line-height: 20px; } }
          #blog .tp-blog-card__excerpt {
            margin: 0;
            font-size: 12px; line-height: 17px;
            color: rgba(28,56,103,0.70);
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
            overflow: hidden;
          }
          #blog .tp-blog-card__cta {
            margin-top: auto;
            padding-top: 4px;
            display: inline-flex; align-items: center; gap: 4px;
            font-size: 12px; font-weight: 600;
            color: #4583FF;
          }
          #blog .tp-blog-card__cta svg { width: 12px; height: 12px; }
          #blog .tp-blog-card:hover .tp-blog-card__cta { color: #2F60AE; }
          @media (prefers-reduced-motion: reduce) {
            #blog .tp-blog-card,
            #blog .tp-blog-card__media img { transition: none !important; transform: none !important; }
          }


/* ---- Rendering: skip off-screen sections ----
   The page is ~6,000 elements, and every tap that changes something made the
   browser re-style and re-lay-out all of it (INP). content-visibility:auto
   lets it skip sections that are well off screen; they render as they near
   the viewport, so nothing looks different. contain-intrinsic-size reserves
   space until a section has rendered once, then remembers its real height.
   Not applied to #testimonials (holds a position:fixed video modal, which
   the containment would trap), #pathways (sticky table column), or
   #eligibility-mobile and #why-us (card shadows spill past the section edge
   and would be clipped). */
#courses-content-desktop, #courses-content-mobile, #ranks,
#countries, #graduates, #education-loan, #fees, #partner-airlines,
#reviews, #parents, #cadet-programmes, #cadet-prep, #type-rating, #salary,
#flying-hours, #locations, #blog, #faq {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}
