/* Homepage redesign based on the supplied Lesson Now visual reference. */
.home-redesign {
    --ln-navy: #071a46;
    --ln-navy-deep: #031332;
    --ln-blue: #0878f9;
    --ln-cyan: #19bfc9;
    --ln-orange: #ff8b13;
    --ln-yellow: #ffc600;
    --ln-green: #43b72a;
    --ln-pink: #f8005b;
    --ln-purple: #8f2dff;
    --ln-text: #1c2949;
    --ln-muted: #64708b;
    --ln-border: #e6eaf1;
    --ln-shadow: 0 18px 46px rgba(7, 26, 70, 0.10);
    --ln-soft-shadow: 0 10px 30px rgba(7, 26, 70, 0.08);
    background: #fff;
    color: var(--ln-text);
    overflow-x: clip;
}

.home-redesign .container {
    width: min(100% - 40px, 1320px);
    max-width: 1320px;
    padding-inline: 0;
}

.home-redesign .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.home-redesign h1,
.home-redesign h2,
.home-redesign h3,
.home-redesign h4,
.home-redesign p {
    color: var(--ln-navy);
}

.home-redesign p {
    font-size: 16px;
    line-height: 1.65;
}

.home-redesign a,
.home-redesign button,
.home-redesign input,
.home-redesign select {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-redesign a:focus-visible,
.home-redesign button:focus-visible,
.home-redesign input:focus-visible,
.home-redesign select:focus-visible {
    outline: 3px solid rgba(8, 120, 249, .28);
    outline-offset: 3px;
}

/* Header */
.home-redesign header.header {
    position: relative;
    z-index: 100;
    top: auto;
    border: 0;
    background: rgba(255, 255, 255, .98);
    box-shadow: none;
    backdrop-filter: none;
}

.home-redesign .head-inner {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: center;
    padding: 18px 0 0;
}

.home-redesign .head-inner > a.logo {
    grid-column: 1;
    grid-row: 1;
    display: block;
    width: 250px;
    max-width: 100%;
}

.home-redesign .head-inner > a.logo img {
    display: block;
    width: 100%;
    height: 78px;
    object-fit: contain;
    object-position: left center;
}

.home-redesign .head-inner .top-contact {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 20px;
}

.home-redesign .head-inner .top-contact a.call {
    color: var(--ln-navy);
    font-size: 19px;
    font-weight: 700;
    white-space: nowrap;
}

.home-redesign .head-inner .top-contact a.call span.icon {
    margin: 0 9px 0 0;
}

.home-redesign .head-inner .top-contact a.call span.icon img {
    width: 19px;
    filter: hue-rotate(120deg) saturate(4);
}

.home-redesign .head-inner .top-contact .account-link,
.home-redesign .head-inner .top-contact a.btn.login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border: 1.5px solid var(--ln-blue);
    border-radius: 50%;
    color: var(--ln-blue);
    background: #fff;
    line-height: 1;
    overflow: hidden;
}

.home-redesign .head-inner .top-contact a.btn.login span.icon {
    margin: 0;
    color: var(--ln-blue);
    font-size: 19px;
}

.home-redesign .head-inner .top-contact a.btn.login span.icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.home-redesign .head-inner .top-contact a.btn.login .account-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.home-redesign .head-inner .top-contact .book-lesson-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 41px;
    padding: 0 25px;
    border-radius: 7px;
    background: linear-gradient(135deg, #47bd2d, #27910e);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(52, 163, 27, .2);
}

.home-redesign .head-inner .top-contact .book-lesson-cta:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(52, 163, 27, .3);
}

.home-redesign .head-inner nav.navbar {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    padding: 6px 0 0;
}

.home-redesign .head-inner nav.navbar > ul.navbar-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.home-redesign .head-inner nav.navbar ul.navbar-nav > li {
    flex: 1 1 auto;
    margin: 0;
    text-align: center;
}

.home-redesign .head-inner nav.navbar ul.navbar-nav > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 0 22px;
    color: var(--ln-navy);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
}

.home-redesign .head-inner nav.navbar ul.navbar-nav > li > a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    content: "";
    background: var(--ln-pink);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.home-redesign .head-inner nav.navbar ul.navbar-nav > li:hover > a::after,
.home-redesign .head-inner nav.navbar ul.navbar-nav > li.active > a::after {
    transform: scaleX(1);
}

.home-redesign .head-inner nav.navbar ul.navbar-nav > li:hover > a,
.home-redesign .head-inner nav.navbar ul.navbar-nav > li.active > a {
    color: var(--ln-pink);
}

.home-redesign .head-inner nav.navbar ul li .toggle_menu_m {
    right: 8px;
    top: 25px;
}

.home-redesign .head-inner nav.navbar ul li ul.dropdown-menu {
    top: calc(100% - 1px);
    left: 0;
    min-width: min(1120px, calc(100vw - 40px));
    padding: 28px;
    border: 1px solid #e7ebf2;
    border-radius: 0 0 14px 14px;
    box-shadow: var(--ln-shadow);
}

.home-redesign nav.navbar ul li ul.dropdown-menu .dropdown-submenu-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.home-redesign nav.navbar ul li ul.dropdown-menu .dropdown-submenu-list .submenu-item {
    width: 100%;
    padding-right: 24px;
    border-right: 1px solid var(--ln-border);
    text-align: left;
}

.home-redesign nav.navbar ul li ul.dropdown-menu .dropdown-submenu-list .submenu-item:nth-child(3n) {
    border-right: 0;
}

.home-redesign .head-inner nav.navbar ul li ul.dropdown-menu h4 a,
.home-redesign .head-inner nav.navbar ul li ul.dropdown-menu a {
    margin: 0;
    padding: 7px 0;
    color: var(--ln-navy);
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
}

.home-redesign .head-inner nav.navbar ul li ul.dropdown-menu h4 a {
    color: var(--ln-pink);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.home-redesign .togglebtn {
    display: none;
}

.home-offer-strip {
    position: relative;
    z-index: 90;
    padding: 13px 20px;
    background: linear-gradient(90deg, #ef0063, #f60066 55%, #e80071);
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
}

.home-offer-strip i {
    margin-right: 9px;
}

.home-trust-strip {
    position: relative;
    z-index: 89;
    background: var(--ln-navy-deep);
    color: #fff;
}

.home-trust-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    min-height: 70px;
}

.home-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    padding: 0 18px;
    border-right: 1px solid rgba(255, 255, 255, .25);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}

.home-trust-item:last-child {
    border-right: 0;
}

.home-trust-item i {
    flex: 0 0 auto;
    color: var(--ln-cyan);
    font-size: 24px;
}

.home-trust-item:nth-child(2) i { color: var(--ln-pink); }
.home-trust-item:nth-child(3) i { color: var(--ln-blue); }
.home-trust-item:nth-child(4) i { color: #79d600; }

/* Shared homepage components */
.ln-section {
    position: relative;
    padding: 92px 0;
    /* Keeps a scrolled-to section clear of the fixed site header (see
       initialiseStickyHeaderOffset() in public-mega-menu.js, which keeps
       --ln-header-h in sync with the header's real height). */
    scroll-margin-top: var(--ln-header-h, 144px);
}

@media (max-width: 1199px) {
    .ln-section {
        scroll-margin-top: var(--ln-header-h, 78px);
    }
}

.ln-section-heading {
    margin-bottom: 42px;
}

.ln-section-heading h2,
.ln-coverage-copy h2,
.ln-video-copy h2 {
    margin: 0;
    color: var(--ln-navy);
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.ln-section-heading p {
    max-width: 720px;
    margin: 14px auto 0;
    color: var(--ln-muted);
    font-size: 18px;
}

.ln-section-heading-centered {
    text-align: center;
}

.ln-heading-mark {
    display: block;
    width: 72px;
    height: 5px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ln-blue), var(--ln-cyan));
}

.ln-multicolour-rule {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.ln-multicolour-rule i {
    display: block;
    width: 30px;
    height: 5px;
    border-radius: 999px;
    background: var(--ln-orange);
}

.ln-multicolour-rule i:nth-child(2) { background: var(--ln-blue); }
.ln-multicolour-rule i:nth-child(3) { background: var(--ln-yellow); }
.ln-multicolour-rule i:nth-child(4) { background: var(--ln-green); }
.ln-multicolour-rule i:nth-child(5) { background: var(--ln-pink); }

.ln-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--ln-pink);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ln-card-rule {
    display: block;
    width: 32px;
    height: 3px;
    margin: 14px 0 18px;
    border-radius: 999px;
    background: var(--card-accent, var(--ln-blue));
}

.ln-accent-1 { --card-accent: var(--ln-blue); --card-soft: #eef5ff; }
.ln-accent-2 { --card-accent: var(--ln-orange); --card-soft: #fff5e9; }
.ln-accent-3 { --card-accent: var(--ln-pink); --card-soft: #fff0f6; }
.ln-accent-4 { --card-accent: var(--ln-green); --card-soft: #effaeb; }
.ln-accent-5 { --card-accent: var(--ln-cyan); --card-soft: #eafafb; }
.ln-accent-6 { --card-accent: var(--ln-purple); --card-soft: #f4edff; }

.ln-primary-button,
.ln-outline-button,
.ln-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 600;
}

.ln-primary-button,
.ln-card-button {
    background: var(--card-accent, var(--ln-blue));
    color: #fff;
}

.ln-primary-button:hover,
.ln-card-button:hover {
    color: #fff;
    transform: translateY(-2px);
    filter: brightness(.96);
}

.ln-outline-button {
    border-color: var(--ln-pink);
    color: var(--ln-pink);
    background: #fff;
}

.ln-outline-button:hover {
    color: #fff;
    background: var(--ln-pink);
}

/* Hero */
.ln-hero {
    position: relative;
    min-height: 660px;
    overflow: hidden;
    background:
        radial-gradient(circle at 42% 50%, rgba(255, 255, 255, .45), transparent 29%),
        linear-gradient(118deg, #087fd2 0%, #19a6e5 47%, #edf8ff 47.2%, #ffffff 78%);
}

.ln-hero::after {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 36%;
    height: 74%;
    content: "";
    background: linear-gradient(145deg, #ff9c0b 0 24%, #fff 24.5% 59%, #ec0065 59.5% 100%);
    clip-path: polygon(43% 0, 100% 0, 100% 100%, 0 100%, 65% 36%);
}

.ln-hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    gap: 46px;
    align-items: center;
    min-height: 660px;
    padding: 68px 0;
}

.ln-hero-copy {
    position: relative;
    z-index: 3;
    max-width: 680px;
}

.ln-hero-copy .ln-eyebrow {
    margin-bottom: 10px;
    color: #fff;
}

.ln-hero h1 {
    max-width: 650px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(48px, 5.2vw, 76px);
    font-weight: 800;
    line-height: .99;
    letter-spacing: -.035em;
    text-transform: uppercase;
    text-wrap: balance;
    overflow-wrap: break-word;
}

.ln-hero h1 .ln-hero-line-outline {
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.5px #fff;
}

.ln-hero-description,
.ln-hero-description p {
    max-width: 610px;
    margin-bottom: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.55;
}

.ln-instructor-search {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(150px, .8fr) auto;
    align-items: center;
    width: min(100%, 660px);
    margin-top: 34px;
    padding: 8px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(1, 24, 60, .19);
}

.ln-search-field {
    position: relative;
    display: block;
    margin: 0;
    border-right: 1px solid #dfe4ec;
}

.ln-search-field .ln-search-icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
}

.ln-search-field .ln-search-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.ln-instructor-search input,
.ln-instructor-search select {
    width: 100%;
    height: 52px;
    padding: 0 14px 0 44px;
    border: 0;
    border-radius: 10px;
    outline: 0;
    background-color: #fff;
    color: var(--ln-navy);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
}

.ln-instructor-search select {
    padding-right: 34px;
    background-image: url('../images/down-arrow.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - 14px) center;
    background-size: 12px;
    appearance: none;
}

.ln-instructor-search input:focus-visible,
.ln-instructor-search select:focus-visible {
    outline: 0;
}

.ln-instructor-search input[aria-invalid="true"] {
    box-shadow: none;
}

.ln-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color:var(--ln-navy);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}



.ln-search-error {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    color: var(--ln-pink);
    font-size: 13px;
    font-weight: 600;
}

.ln-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.ln-text-link:hover { color: #fff; gap: 14px; }

.ln-hero-visual {
    position: relative;
    z-index: 3;
    align-self: stretch;
    min-height: 520px;
}

.ln-hero-image-wrap {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 0;
    width: min(100%, 590px);
    height: 475px;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, .88);
    border-radius: 47% 53% 44% 56% / 62% 42% 58% 38%;
    box-shadow: 0 28px 60px rgba(7, 26, 70, .22);
    transform: translateY(-50%);
}

.ln-hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ln-hero-badge,
.ln-map-badge {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    border: 1px solid rgba(7, 26, 70, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .95);
    box-shadow: var(--ln-soft-shadow);
}

.ln-hero-badge {
    right: 28px;
    bottom: 52px;
}

.ln-hero-badge-icon,
.ln-map-badge > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffe9f2;
    color: var(--ln-pink);
    font-size: 20px;
}

.ln-hero-badge strong,
.ln-map-badge strong {
    display: block;
    color: var(--ln-navy);
    font-size: 14px;
    line-height: 1.25;
}

.ln-hero-badge small,
.ln-map-badge small {
    display: block;
    margin-top: 3px;
    color: var(--ln-muted);
    font-size: 12px;
}

/* Benefit cards */
.ln-benefits {
    background: #fff;
}

.ln-benefits .ln-section-heading {
    text-align: center;
}

.ln-benefits .ln-heading-mark {
    margin-inline: auto;
}

.ln-benefit-grid,
.ln-course-option-grid,
.ln-service-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.ln-benefit-card {
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(150px, 1.04fr);
    height: 330px;
    overflow: hidden;
    border: 1px solid var(--ln-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--ln-soft-shadow);
}

.ln-benefit-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 0 0 26px;
}

.ln-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--card-accent);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--card-accent), transparent 74%);
}

.ln-benefit-card h3,
.ln-course-option-card h3,
.ln-service-card h3 {
    margin: 18px 0 0;
    color: var(--ln-navy);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.12;
}

.ln-card-text,
.ln-card-text p,
.ln-benefit-copy p {
    margin: 0;
    color: var(--ln-text);
    font-size: 14px;
    line-height: 1.55;
}

.ln-benefit-copy .ln-card-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.ln-benefit-copy .ln-card-button {
    justify-content: space-between;
    width: calc(100% + 14px);
    margin-top: auto;
    margin-bottom: 10px;
    margin-left: -14px;
    padding-inline: 18px;
    border-radius: 8px 15px 8px 12px;
}

.ln-benefit-image {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 0 0 8px 3px;
    background: var(--card-accent);
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 16% 100%, 0 57%);
}

.ln-benefit-image-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ln-benefit-image-inner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Course option cards */
.ln-course-options {
    padding-top: 40px;
    background: #fff;
}

.ln-course-option-card {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 20px;
    min-height: 300px;
    padding: 30px 26px;
    overflow: hidden;
    border: 1.5px solid var(--card-accent);
    border-radius: 15px;
    background: #fff;
}

.ln-course-decoration {
    position: absolute;
    z-index: 1;
    right: -34px;
    bottom: -38px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 174px;
    height: 174px;
    color: transparent;
    font-size: 142px;
    line-height: 1;
    -webkit-text-stroke: 2px color-mix(in srgb, var(--card-accent), white 62%);
    pointer-events: none;
}

.ln-course-decoration .fa-stopwatch { font-size: 132px; }

.ln-course-option-card > div,
.ln-course-option-icon {
    position: relative;
    z-index: 2;
}

.ln-course-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--card-soft);
    color: var(--card-accent);
    box-shadow: 0 8px 22px rgba(7, 26, 70, .08);
    font-size: 30px;
}

.ln-course-option-icon img {
    width: 36px;
    max-height: 40px;
}

.ln-course-option-card h3 {
    margin-top: 8px;
}

.ln-course-option-card p {
    position: relative;
    z-index: 2;
    display: -webkit-box;
    margin-bottom: 22px;
    overflow: hidden;
    color: var(--ln-text);
    font-size: 15px;
    line-height: 1.55;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.ln-round-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-accent);
    color: #fff;
}

.ln-round-link:hover {
    color: #fff;
    transform: translateX(4px);
}

/* Video */
.ln-video-section {
    background: linear-gradient(180deg, #fff 0, #f6f9ff 100%);
}

.ln-video-card {
    display: grid;
    grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
    align-items: center;
    overflow: hidden;
    border-radius: 24px;
    background: var(--ln-navy);
    box-shadow: var(--ln-shadow);
}

.ln-video-copy {
    padding: 50px;
}

.ln-video-copy .ln-eyebrow { color: #54d6df; }
.ln-video-copy h2,
.ln-video-copy p,
.ln-video-copy > div { color: #fff; }
.ln-video-copy h2 { font-size: clamp(34px, 3.5vw, 48px); }
.ln-video-copy .ln-primary-button { margin-top: 20px; background: var(--ln-pink); }

.ln-video-media {
    min-height: 440px;
}

.ln-video-media video {
    display: block;
    width: 100%;
    height: 440px;
    object-fit: cover;
}

/* Coverage */
.ln-coverage {
    overflow: hidden;
    padding-bottom: 56px;
    background: #fff;
}

.ln-coverage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
    gap: 64px;
    align-items: center;
}

.ln-coverage-copy h2 {
    max-width: 560px;
}

.ln-coverage-content > p {
    max-width: 620px;
    margin: 22px 0 20px;
    color: var(--ln-muted);
    font-size: 17px;
}

.ln-coverage-content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    max-height: 290px;
    margin: 10px 0 28px;
    overflow: auto;
    padding: 0 12px 0 0;
    scrollbar-width: thin;
    scrollbar-color: var(--ln-cyan) #eef3f7;
}

.ln-coverage-content li {
    position: relative;
    padding: 10px 22px 10px 20px;
    border-bottom: 1px solid #edf0f5;
    color: var(--ln-navy);
    font-size: 14px;
    font-weight: 600;
}

.ln-coverage-content li::before {
    position: absolute;
    top: 14px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    content: "";
    background: var(--ln-cyan);
}

.ln-coverage-map {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 560px;
}

.ln-map-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 120, 249, .13), rgba(8, 120, 249, 0) 68%);
}

.ln-coverage-map > img {
    position: relative;
    z-index: 2;
    width: auto;
    max-width: 88%;
    max-height: 520px;
    filter: drop-shadow(0 20px 28px rgba(7, 26, 70, .13));
}

.ln-map-badge {
    bottom: 34px;
    left: 0;
}

/* Reasons */
.ln-reasons {
    padding-top: 56px;
    background: linear-gradient(180deg, #fff 0, #f8faff 100%);
}

.ln-reason-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
}

.ln-reason-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 16px 20px 6px;
    border-right: 1px solid var(--ln-border);
    text-align: center;
}

.ln-reason-card:last-child { border-right: 0; }

.ln-reason-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    border-radius: 44% 56% 48% 52% / 58% 45% 55% 42%;
    background: var(--card-accent);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--card-accent), transparent 76%);
}

.ln-reason-icon img {
    width: 38px;
    max-height: 42px;
}

.ln-reason-card h3 {
    min-height: 48px;
    margin: 16px 0 0;
    color: var(--ln-navy);
    font-size: 17px;
    line-height: 1.25;
}

.ln-reason-card .ln-card-rule {
    margin: 12px auto;
}

.ln-reason-card p,
.ln-reason-card > div {
    color: var(--ln-muted);
    font-size: 13px;
    line-height: 1.5;
}

.ln-reason-card a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--card-accent);
    font-size: 13px;
    font-weight: 700;
}

/* Testimonials */
.ln-testimonials {
    overflow: hidden;
    /* A solid background (rather than a light-to-dark % split) so the
       section never breaks when its height changes — e.g. the review
       panel is collapsed by default and only expands once a learner's
       photo is clicked. The card supplies its own background/shadow. */
    background: #f8faff;
}

.ln-testimonials .ln-section-heading p {
    color: var(--ln-text);
}

.ln-testimonial-portraits {
    display: flex;
    justify-content: center;
    gap: clamp(40px, 10vw, 145px);
    margin: 8px 0 30px;
}

.ln-testimonial-portrait {
    width: clamp(150px, 18vw, 235px);
    aspect-ratio: 1;
    overflow: hidden;
    padding: 0;
    border: 7px solid #fff;
    border-radius: 50%;
    background: none;
    box-shadow: 0 13px 34px rgba(7, 26, 70, .14);
    cursor: pointer;
    transition: box-shadow .2s ease, transform .2s ease;
}

.ln-testimonial-portrait:hover,
.ln-testimonial-portrait:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(7, 26, 70, .22);
}

.ln-testimonial-portrait.is-active {
    box-shadow: 0 0 0 4px var(--ln-pink), 0 16px 38px rgba(7, 26, 70, .22);
}

/* The owl-carousel plugin sets .owl-carousel.owl-loaded{display:block} (two
   classes) once initialised, which otherwise outranks the single [hidden]
   attribute selector and would stop the close button from hiding the panel
   again after the first open. */
[data-testimonial-panel][hidden] {
    display: none !important;
}

.ln-testimonial-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.ln-testimonial-slider {
    width: min(100%, 880px);
    margin: 0 auto;
    /* So scrollIntoView() on open doesn't tuck the card's close button
       under the fixed site header. */
    scroll-margin-top: calc(var(--ln-header-h, 144px) + 16px);
}

@media (max-width: 1199px) {
    .ln-testimonial-slider {
        scroll-margin-top: calc(var(--ln-header-h, 78px) + 16px);
    }
}

.ln-testimonial-card {
    display: grid;
    grid-template-columns: minmax(280px, .92fr) minmax(0, 1.08fr);
    gap: 38px;
    align-items: center;
    min-height: 430px;
    padding: 22px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--ln-shadow);
}

.ln-testimonial-image {
    height: 390px;
    overflow: hidden;
    border-radius: 13px;
}

.ln-testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.ln-testimonial-content {
    padding: 10px 20px 10px 0;
}

.ln-passed-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border: 1px solid #95e5b7;
    border-radius: 999px;
    background: #effcf4;
    color: #16a251;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.ln-testimonial-content h3 {
    margin: 16px 0 2px;
    color: var(--ln-navy);
    font-size: 30px;
}

.ln-testimonial-location {
    display: block;
    color: var(--ln-muted);
    font-size: 17px;
}

.ln-star-rating {
    display: flex;
    gap: 5px;
    margin: 14px 0 20px;
    color: #ffb800;
}

.ln-star-rating .is-empty { color: #e4e7ee; }

.ln-testimonial-content blockquote {
    position: relative;
    margin: 0;
    padding: 24px 0 0 18px;
    border-top: 1px solid var(--ln-border);
    color: var(--ln-text);
    font-size: 17px;
    line-height: 1.65;
}

.ln-testimonial-content blockquote::before {
    position: absolute;
    top: 15px;
    left: -5px;
    content: "\201C";
    color: var(--ln-blue);
    font-family: Georgia, serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
}

.ln-testimonial-slider .owl-nav {
    position: absolute;
    top: 50%;
    right: -70px;
    left: -70px;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.ln-testimonial-slider .owl-nav button.owl-prev,
.ln-testimonial-slider .owl-nav button.owl-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    color: var(--ln-navy);
    box-shadow: var(--ln-soft-shadow);
    pointer-events: auto;
}

.ln-testimonial-slider .owl-dots {
    margin-top: 22px;
}

.ln-testimonial-slider .owl-dots .owl-dot span,
.ln-reason-grid .owl-dots .owl-dot span,
.ln-benefit-grid .owl-dots .owl-dot span,
.ln-course-option-grid .owl-dots .owl-dot span,
.ln-service-grid .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, .45);
}

.ln-testimonial-slider .owl-dots .owl-dot.active span,
.ln-reason-grid .owl-dots .owl-dot.active span,
.ln-benefit-grid .owl-dots .owl-dot.active span,
.ln-course-option-grid .owl-dots .owl-dot.active span,
.ln-service-grid .owl-dots .owl-dot.active span {
    width: 24px;
    background: var(--ln-pink);
}

/* Services */
.ln-services {
    background: #fff;
}

.ln-service-card {
    display: flex;
    flex-direction: column;
    min-height: 560px;
    overflow: hidden;
    border: 1px solid var(--ln-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--ln-soft-shadow);
}

.ln-service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-bottom: 4px solid var(--card-accent);
    border-radius: 16px 16px 46% 14%;
}

.ln-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.ln-service-card:hover .ln-service-image img {
    transform: scale(1.035);
}

.ln-service-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
}

.ln-service-content h3 { margin-top: 0; }

.ln-service-content p,
.ln-service-content > div {
    color: var(--ln-muted);
    font-size: 15px;
    line-height: 1.6;
}

.ln-service-content .ln-card-button {
    margin-top: auto;
}

/* FAQs */
.ln-faqs {
    overflow: hidden;
    background: linear-gradient(180deg, #f8faff, #fff);
}

.ln-faq-shape {
    position: absolute;
    border-radius: 50%;
    opacity: .24;
}

.ln-faq-shape-one {
    top: -80px;
    left: -100px;
    width: 230px;
    height: 230px;
    background: #8bc9ff;
}

.ln-faq-shape-two {
    right: -100px;
    bottom: -85px;
    width: 260px;
    height: 260px;
    background: #ffc8dd;
}

.ln-faq-list {
    position: relative;
    z-index: 2;
    width: min(100%, 1140px);
    margin: 0 auto;
}

.ln-faq-item {
    position: relative;
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(7, 26, 70, .06);
}

.ln-faq-item::before {
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 16px;
    width: 4px;
    border-radius: 999px;
    content: "";
    background: var(--card-accent);
}

.ln-faq-item h3 {
    margin: 0;
}

.ln-faq-item .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-height: 74px;
    padding: 18px 26px 18px 54px;
    border: 0;
    background: transparent;
    color: var(--ln-navy);
    font-family: inherit;
    font-size: 19px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.ln-faq-item .faq-question i {
    flex: 0 0 auto;
    font-size: 14px;
    transition: transform .2s ease;
}

.ln-faq-item .faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.ln-faq-item .faq-answer {
    padding: 0 54px 24px;
    color: var(--ln-muted);
}

.ln-faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* Footer */
.home-redesign footer.footer.ln-footer {
    position: relative;
    overflow: hidden;
    padding-top: 68px;
    border-top: 1px solid #eef1f6;
    background: linear-gradient(180deg, #fbfbfe 0%, #f6f7fb 100%);
}

.ln-footer-shape {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

.ln-footer-shape-one {
    top: -160px;
    right: -140px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle at 35% 35%, rgba(255, 139, 19, .30), rgba(255, 139, 19, 0) 68%);
}

.ln-footer-shape-two {
    right: -80px;
    bottom: 60px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle at 60% 60%, rgba(248, 0, 91, .26), rgba(248, 0, 91, 0) 68%);
}

.ln-footer-top {
    position: relative;
    z-index: 2;
    padding-bottom: 110px;
}

.ln-footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr .7fr .7fr .7fr .9fr;
    gap: 22px;
}

.ln-footer-brand { min-width: 0; }

.ln-footer-logo { display: inline-flex; }
.ln-footer-logo img { width: 208px; max-width: 100%; }

.home-redesign footer.footer.ln-footer .ln-footer-tagline {
    margin: 22px 0 0;
    color: var(--ln-navy);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.home-redesign footer.footer.ln-footer .ln-footer-tagline em {
    color: var(--ln-orange);
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 400;
}

.ln-footer-brand .ln-multicolour-rule {
    justify-content: flex-start;
    margin: 16px 0 0;
}

.home-redesign footer.footer.ln-footer .ln-footer-about {
    max-width: 320px;
    margin: 18px 0 0;
    color: var(--ln-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
}

.ln-footer-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

.ln-footer-trust-icon {
    position: relative;
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: var(--ln-muted);
    font-size: 24px;
}

.ln-footer-trust-icon .fa-check {
    position: absolute;
    top: 52%;
    left: 50%;
    color: #fff;
    font-size: 10px;
    transform: translate(-50%, -60%);
}

.ln-footer-trust-badge strong {
    display: block;
    color: var(--ln-navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.ln-footer-trust-badge small {
    display: block;
    color: var(--ln-muted);
    font-size: 12px;
    font-weight: 400;
}

.ln-footer-col { min-width: 0; }

.ln-footer-col-head {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.ln-footer-col-icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--card-accent, var(--ln-blue));
    border-radius: 50%;
    color: var(--card-accent, var(--ln-blue));
    font-size: 15px;
}

.home-redesign footer.footer.ln-footer .ln-footer-col-head h4 {
    margin: 0;
    color: var(--ln-navy);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-redesign footer.footer.ln-footer .ln-footer-col-head h4::before {
    content: none;
}

.ln-footer-col .ln-card-rule {
    margin: 14px 0 20px;
}

.ln-footer-links ul li {
    margin-bottom: 12px;
}

.home-redesign footer.footer.ln-footer .ln-footer-links ul li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ln-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.ln-footer-links ul li a::before {
    flex: none;
    color: var(--card-accent, var(--ln-blue));
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    content: "\f054";
}

.ln-footer-links ul li a:hover {
    color: var(--card-accent, var(--ln-blue));
}

.home-redesign footer.footer.ln-footer .ln-footer-contact-list p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--ln-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}

.ln-footer-contact-list p:last-child { margin-bottom: 0; }

.ln-footer-contact-list p i {
    flex: none;
    margin-top: 3px;
    color: var(--card-accent, var(--ln-purple));
    font-size: 14px;
}

.ln-footer-contact-list p a { color: var(--ln-text); }
.ln-footer-contact-list p a:hover { color: var(--card-accent, var(--ln-purple)); }

.ln-footer-car {
    position: absolute;
    z-index: 1;
    right: 0;
    top: 235px;
    width: clamp(300px, 27vw, 460px);
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 22px 28px rgba(7, 26, 70, .18));
}

.home-redesign footer.footer.ln-footer .ln-footer-support-list a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--ln-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.ln-footer-support-list a:last-child { margin-bottom: 0; }

.ln-footer-support-list a::before {
    flex: none;
    color: var(--card-accent, var(--ln-orange));
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    content: "\f054";
}

.ln-footer-support-list a:hover { color: var(--card-accent, var(--ln-orange)); }

.ln-footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--ln-border);
    background: rgba(255, 255, 255, .6);
}

.ln-footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 28px;
    padding: 20px 0;
}

.ln-footer-copyright {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ln-muted);
    font-size: 13px;
}

.ln-footer-copyright img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.ln-footer-secure {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ln-navy);
    font-size: 13px;
    font-weight: 700;
}

.ln-footer-secure i {
    color: var(--ln-blue);
    font-size: 24px;
}

.ln-footer-secure small {
    color: var(--ln-muted);
    font-weight: 400;
}

.ln-footer-payments {
    display: flex;
    align-items: center;
    gap: 22px;
}

.ln-footer-payments img {
    width: auto;
    max-width: 56px;
    max-height: 26px;
}

/* pay8 (Visa), Google Pay, Klarna and Apple Pay ship as white-fill SVGs meant
   for a dark surface; recolour them for this light strip. Mastercard already
   carries its own brand colours, so it is left untouched. */
.ln-footer-payments img:nth-child(1),
.ln-footer-payments img:nth-child(3),
.ln-footer-payments img:nth-child(4),
.ln-footer-payments img:nth-child(5) {
    filter: brightness(0) saturate(100%) invert(12%) sepia(24%) saturate(4024%) hue-rotate(194deg) brightness(88%) contrast(104%);
}

.ln-footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ln-footer-social > span {
    color: var(--ln-navy);
    font-size: 13px;
    font-weight: 700;
}

.ln-footer-social ul {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ln-footer-social ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    transition: transform .18s ease;
}

.ln-footer-social ul li a:hover { transform: translateY(-2px); }

.ln-footer-social ul li.is-facebook a { background: #1877f2; }
.ln-footer-social ul li.is-instagram a { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.ln-footer-social ul li.is-twitter a { background: #000; }
.ln-footer-social ul li.is-linkedin a { background: #0a66c2; }

/* Tablet landscape and smaller desktop */
@media (max-width: 1180px) {
    .home-redesign .head-inner {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .home-redesign .head-inner > a.logo { width: 215px; }
    .home-redesign .head-inner > a.logo img { height: 68px; }
    .home-redesign .head-inner nav.navbar ul.navbar-nav > li > a { padding-inline: 14px; }

    .ln-hero-container {
        grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr);
        gap: 26px;
    }

    .ln-hero h1 { font-size: clamp(45px, 5vw, 64px); }
    .ln-hero-image-wrap { height: 420px; }

    .ln-benefit-card {
        grid-template-columns: 1fr;
        height: 540px;
    }

    .ln-benefit-copy {
        min-height: 280px;
        padding-right: 26px;
    }

    .ln-benefit-image {
        min-height: 240px;
        padding: 3px 0 8px;
        clip-path: polygon(0 16%, 55% 0, 100% 14%, 100% 100%, 0 100%);
    }

    .ln-benefit-copy .ln-card-button {
        width: 190px;
        max-width: calc(100% + 14px);
    }

    .ln-reason-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px 0;
    }

    .ln-reason-card:nth-child(3) { border-right: 0; }
    .ln-coverage-grid { gap: 34px; }

    .ln-footer-grid {
        grid-template-columns: 1.2fr .68fr .68fr .68fr .8fr;
        gap: 18px;
    }

    .ln-footer-car { width: clamp(280px, 28vw, 400px); }
}

/* iPad/tablet portrait and mobile navigation */
@media (max-width: 991px) {
    .home-redesign .container {
        width: min(100% - 36px, 920px);
    }

    .home-redesign .head-inner {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        min-height: 84px;
        padding: 10px 0;
    }

    .home-redesign .head-inner > a.logo {
        width: 200px;
    }

    .home-redesign .head-inner > a.logo img { height: 62px; }

    .home-redesign button#menu-toggle {
        position: static;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        margin-left: 14px;
        padding: 0;
        border: 1px solid var(--ln-border);
        border-radius: 10px;
        background: #fff;
        transform: none;
    }

    .home-redesign .togglebtn .icon {
        display: block;
        width: 20px;
        height: 2px;
        margin: 0 auto;
        border-radius: 2px;
        background: var(--ln-navy);
    }

    .home-redesign .head-inner .top-contact {
        margin-left: auto;
        gap: 12px;
    }

    .home-redesign .head-inner .top-contact a.call { display: none; }

    .home-redesign .head-inner .top-contact .book-lesson-cta {
        min-height: 44px;
        padding-inline: 18px;
        font-size: 14px;
    }

    .home-redesign .head-inner nav.navbar {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        width: 100%;
        padding: 0;
        background: #fff;
        box-shadow: 0 18px 35px rgba(7, 26, 70, .14);
    }

    .home-redesign .head-inner nav.navbar > ul.navbar-nav {
        display: block;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .home-redesign .head-inner nav.navbar ul.navbar-nav > li {
        border-bottom: 1px solid var(--ln-border);
        text-align: left;
    }

    .home-redesign .head-inner nav.navbar ul.navbar-nav > li > a {
        justify-content: flex-start;
        width: calc(100% - 52px);
        min-height: 54px;
        padding: 0 20px;
    }

    .home-redesign .head-inner nav.navbar ul.navbar-nav > li > a::after { display: none; }

    .home-redesign .head-inner nav.navbar ul li .toggle_menu_m {
        top: 0;
        right: 0;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 54px;
    }

    .home-redesign .head-inner nav.navbar ul li ul.dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        max-height: none;
        padding: 16px 20px;
        border: 0;
        border-top: 1px solid var(--ln-border);
        border-radius: 0;
        box-shadow: none;
    }

    .home-redesign nav.navbar ul li ul.dropdown-menu .dropdown-submenu-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .home-redesign nav.navbar ul li ul.dropdown-menu .dropdown-submenu-list .submenu-item {
        border-right: 0;
    }

    .home-trust-strip-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-trust-item {
        min-height: 54px;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
    }

    .home-trust-item:nth-child(2) { border-right: 0; }
    .home-trust-item:nth-child(3),
    .home-trust-item:nth-child(4) { border-bottom: 0; }

    .ln-section { padding: 76px 0; }

    .ln-hero,
    .ln-hero-container { min-height: auto; }

    .ln-hero {
        background: linear-gradient(150deg, #087fd2 0%, #19a6e5 63%, #eef8ff 63.3%, #fff 100%);
    }

    .ln-hero::after {
        width: 54%;
        height: 42%;
        opacity: .84;
    }

    .ln-hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 60px 0 80px;
    }

    .ln-hero-copy { max-width: none; }
    .ln-hero h1 { max-width: 720px; font-size: clamp(48px, 8.2vw, 70px); }
    .ln-hero-description,
    .ln-hero-description p { max-width: 720px; }
    .ln-instructor-search { width: min(100%, 720px); }

    .ln-hero-visual {
        min-height: 440px;
    }

    .ln-hero-image-wrap {
        right: 50%;
        width: min(92%, 650px);
        height: 420px;
        transform: translate(50%, -50%);
    }

    .ln-hero-badge {
        right: 8%;
        bottom: 22px;
    }

    .ln-benefit-grid,
    .ln-course-option-grid,
    .ln-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ln-benefit-card:last-child,
    .ln-course-option-card:last-child,
    .ln-service-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 13px);
        justify-self: center;
    }

    .ln-video-card {
        grid-template-columns: 1fr;
    }

    .ln-video-copy { padding: 44px; }
    .ln-video-media,
    .ln-video-media video { min-height: 0; height: 390px; }

    .ln-coverage-grid {
        grid-template-columns: 1fr;
    }

    .ln-coverage-copy h2 { max-width: 700px; }
    .ln-coverage-map { min-height: 500px; }

    .ln-testimonial-slider { width: min(100%, 760px); }
    .ln-testimonial-slider .owl-nav { right: 14px; left: 14px; }

    .ln-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 28px;
    }

    .ln-footer-brand { grid-column: 1 / -1; }

    .ln-footer-car { top: 340px; width: clamp(220px, 28vw, 300px); }

    .ln-footer-bottom-inner { justify-content: center; }
}

@media (max-width: 767px) {
    .home-redesign .container { width: min(100% - 30px, 700px); }

    .home-redesign .head-inner > a.logo { width: 168px; }
    .home-redesign .head-inner > a.logo img { height: 54px; }
    .home-redesign .head-inner .top-contact .book-lesson-cta { display: none; }

    .home-offer-strip {
        padding: 11px 15px;
        font-size: 12px;
        line-height: 1.4;
    }

    .home-trust-item {
        gap: 8px;
        padding-inline: 9px;
        font-size: 10px;
    }

    .home-trust-item i { font-size: 19px; }

    .ln-section { padding: 62px 0; }

    .ln-section-heading h2,
    .ln-coverage-copy h2,
    .ln-video-copy h2 {
        font-size: clamp(31px, 9vw, 43px);
    }

    .ln-section-heading p { font-size: 16px; }

    .ln-hero-container { padding-top: 48px; }
    .ln-hero h1 { font-size: clamp(42px, 12vw, 62px); }
    .ln-hero-description,
    .ln-hero-description p { font-size: 16px; }

    .ln-instructor-search {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 8px;
        border-radius: 16px;
    }

    .ln-search-field {
        border-right: 0;
        border-bottom: 1px solid #e2e6ed;
    }

    .ln-search-submit { margin-top: 8px; }
    .ln-search-error { top: calc(100% + 7px); }

    .ln-hero-visual { min-height: 340px; }
    .ln-hero-image-wrap { height: 330px; border-width: 7px; }
    .ln-hero-badge { right: 0; bottom: 0; padding: 12px; }

    .ln-benefit-grid,
    .ln-course-option-grid,
    .ln-service-grid {
        display: block !important;
    }

    .ln-benefit-grid .owl-stage,
    .ln-course-option-grid .owl-stage,
    .ln-service-grid .owl-stage {
        display: flex;
    }

    .ln-benefit-grid .owl-item,
    .ln-course-option-grid .owl-item,
    .ln-service-grid .owl-item {
        display: flex;
    }

    .ln-benefit-card,
    .ln-course-option-card,
    .ln-service-card,
    .ln-benefit-card:last-child,
    .ln-course-option-card:last-child,
    .ln-service-card:last-child {
        grid-column: auto;
        width: 100%;
    }

    .ln-course-option-card {
        grid-template-columns: 66px minmax(0, 1fr);
        min-height: 260px;
        padding: 24px 20px;
    }

    .ln-course-option-icon { width: 60px; height: 60px; }

    .ln-video-copy { padding: 32px 24px; }
    .ln-video-media,
    .ln-video-media video { height: 270px; }

    .ln-coverage-content ul {
        grid-template-columns: 1fr;
        max-height: 320px;
    }

    .ln-coverage-map { min-height: 410px; }
    .ln-map-glow { width: 400px; height: 400px; }
    .ln-map-badge { left: 50%; bottom: 0; width: max-content; max-width: 95%; transform: translateX(-50%); }

    .ln-reason-grid {
        display: block !important;
    }

    .ln-reason-grid .owl-stage {
        display: flex;
    }

    .ln-reason-grid .owl-item {
        display: flex;
    }

    .ln-reason-card {
        width: 100%;
        min-height: 310px;
        padding: 28px;
        border: 1px solid var(--ln-border);
        border-radius: 16px;
        background: #fff;
        box-shadow: var(--ln-soft-shadow);
    }

    .ln-reason-card h3 { min-height: 0; font-size: 20px; }
    .ln-reason-card p,
    .ln-reason-card > div { font-size: 14px; }
    .ln-reason-grid .owl-dots .owl-dot span,
    .ln-benefit-grid .owl-dots .owl-dot span,
    .ln-course-option-grid .owl-dots .owl-dot span,
    .ln-service-grid .owl-dots .owl-dot span { background: #ccd3df; }

    .ln-testimonial-portraits {
        gap: 14px;
    }

    .ln-testimonial-portrait {
        width: min(29vw, 145px);
        border-width: 4px;
    }

    .ln-testimonial-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 16px;
    }

    .ln-testimonial-image { height: 330px; }
    .ln-testimonial-content { padding: 0 8px 16px; }
    .ln-testimonial-content blockquote { font-size: 15px; }
    .ln-testimonial-slider .owl-nav { display: none; }

    .ln-service-card { min-height: 520px; }

    .ln-faq-item .faq-question {
        min-height: 68px;
        padding: 16px 20px 16px 42px;
        font-size: 16px;
    }

    .ln-faq-item::before { left: 13px; }
    .ln-faq-item .faq-answer { padding: 0 22px 20px 42px; }

    .home-redesign footer.footer.ln-footer { padding-top: 48px; }

    .ln-footer-top { padding-bottom: 0; }

    .ln-footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ln-footer-brand { padding-bottom: 26px; border-bottom: 1px solid var(--ln-border); }

    .ln-footer-col {
        padding: 18px 0;
        border-bottom: 1px solid var(--ln-border);
    }

    .ln-footer-col-head {
        position: relative;
        padding-right: 30px;
        cursor: pointer;
    }

    .ln-footer-col-head::after {
        position: absolute;
        top: 50%;
        right: 4px;
        content: "+";
        color: var(--card-accent, var(--ln-blue));
        font-size: 22px;
        line-height: 1;
        transform: translateY(-50%);
    }

    .ln-footer-col-head.active::after { content: "\2212"; }

    .ln-footer-links { margin-top: 16px; }

    .ln-footer-car { display: none; }

    .ln-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 0;
    }

    .ln-footer-payments { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 480px) {
    .home-redesign .head-inner > a.logo { width: 148px; }
    .home-redesign .head-inner .top-contact a.btn.login { width: 40px; min-width: 40px; height: 40px; }
    .home-redesign button#menu-toggle { width: 40px; height: 40px; margin-left: 8px; }

    .ln-hero h1 { font-size: 40px; }
    .ln-hero-description,
    .ln-hero-description p { font-size: 15px; }
    .ln-hero-visual { min-height: 290px; }
    .ln-hero-image-wrap { height: 280px; }
    .ln-hero-badge small { display: none; }

    .ln-benefit-card { height: 510px; }
    .ln-benefit-copy { min-height: 285px; }
    .ln-benefit-card h3,
    .ln-course-option-card h3,
    .ln-service-card h3 { font-size: 21px; }

    .ln-course-option-card { grid-template-columns: 1fr; }
    .ln-course-option-card p { -webkit-line-clamp: 5; }

    .ln-coverage-map { min-height: 340px; }
    .ln-map-badge { max-width: 100%; }
    .ln-map-badge small { display: none; }

    .ln-testimonial-image { height: 280px; }
    .ln-testimonial-content h3 { font-size: 26px; }
    .ln-service-image { height: 220px; }
    .ln-service-content { padding: 24px; }

    .home-redesign nav.navbar ul li ul.dropdown-menu .dropdown-submenu-list {
        grid-template-columns: 1fr;
    }
}

/* PDF-aligned header, hero, locations and student review refinements */
.global-header-shell,
.global-footer-shell {
    position: relative;
    width: 100%;
}

.global-header-shell { z-index: 1000; }

.home-redesign .head-inner {
    grid-template-columns: 260px minmax(0, 1fr);
    padding-top: 20px;
}

.home-redesign .head-inner > a.logo {
    width: 245px;
}

.home-redesign .head-inner .top-contact a.call {
    display: inline-flex;
    align-items: center;
    padding-right: 22px;
    border-right: 1px solid #d8dde7;
}

.home-redesign .head-inner nav.navbar > ul.navbar-nav {
    justify-content: space-around;
}

.home-redesign .head-inner nav.navbar ul.navbar-nav > li {
    position: relative;
    flex: 1 1 20%;
}

.home-redesign .head-inner nav.navbar ul.navbar-nav > li > a {
    min-height: 58px;
    font-size: 13px;
    text-transform: uppercase;
}

.home-redesign .head-inner nav.navbar ul li .toggle_menu_m {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 58px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ln-navy);
    cursor: pointer;
}

.home-redesign .head-inner nav.navbar ul li .toggle_menu_m i {
    font-size: 11px;
}

.home-offer-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.home-offer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 12px;
}

.home-offer-strip .home-offer-icon i { margin: 0; }

.home-trust-strip-inner {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-trust-item {
    padding-inline: 13px;
    font-size: 12px;
}

.home-trust-item:nth-child(4) i { color: var(--ln-yellow); }
.home-trust-item:nth-child(5) i { color: #79d600; }

.ln-hero {
    min-height: 640px;
    background:
        radial-gradient(circle at 40% 48%, rgba(255, 255, 255, .28), transparent 31%),
        linear-gradient(115deg, #0787d4 0%, #1aa8e5 57%, #eef9ff 72%, #fff 72%);
}

.ln-hero::after {
    width: 35%;
    height: 100%;
    background: linear-gradient(155deg, #ffae0b 0 27%, #fff 27.5% 58%, #ed0064 58.5% 100%);
    clip-path: polygon(42% 0, 100% 0, 100% 100%, 0 100%, 58% 57%, 20% 36%);
}

.ln-hero-container {
    grid-template-columns: minmax(0, .98fr) minmax(480px, 1.02fr);
    min-height: 640px;
    padding: 15px 0 64px;
}

.ln-hero-copy { max-width: 650px; }

.ln-hero h1 {
    max-width: 610px;
    font-size: clamp(52px, 5vw, 74px);
}

.ln-hero-description,
.ln-hero-description p {
    max-width: 600px;
    font-size: 17px;
}

.ln-instructor-search {
    width: min(100%, 650px);
    border-radius: 999px;
}

.ln-search-field .ln-search-icon.ln-search-location-icon {
    left: 12px;
    width: 30px;
    height: 32px;
    overflow: hidden;
}

.ln-search-field .ln-search-icon.ln-search-location-icon > img {
    flex: 0 0 auto;
    width: 82px;
    max-width: none;
    height: 82px;
    object-fit: contain;
}

.ln-postcode-field input { padding-left: 52px; }

.ln-hero-visual { min-height: 510px; }

.ln-hero-image-wrap {
    right: -40px;
    width: min(112%, 720px);
    height: 520px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ln-hero-image-wrap img.ln-hero-car-image {
    object-fit: contain;
    filter: drop-shadow(0 28px 26px rgba(7, 26, 70, .22));
}

.ln-hero-badge {
    right: 4px;
    bottom: 45px;
}

.ln-coverage {
    padding: 86px 0 70px;
    border-bottom: 1px solid var(--ln-border);
}

.ln-coverage-grid {
    grid-template-columns: minmax(270px, .82fr) minmax(390px, 1.18fr) minmax(270px, .82fr);
    gap: 30px;
    align-items: center;
}

.ln-coverage-copy h2 {
    max-width: 390px;
    font-size: clamp(38px, 3.25vw, 52px);
}

.ln-coverage-content > p {
    max-width: 390px;
    margin: 20px 0 28px;
    font-size: 16px !important;
    line-height: 1.55;
}

.ln-coverage-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 375px;
    padding: 20px;
    border: 1px solid var(--ln-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--ln-soft-shadow);
}

.ln-coverage-badge-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #ffe8f1;
    color: var(--ln-pink);
    font-size: 25px;
}

.ln-coverage-badge strong,
.ln-coverage-badge small {
    display: block;
}

.ln-coverage-badge strong {
    color: var(--ln-navy);
    font-size: 15px;
}

.ln-coverage-badge small {
    margin-top: 5px;
    color: var(--ln-muted);
    font-size: 12px;
    line-height: 1.5;
}

.ln-coverage-map {
    min-height: 520px;
}

.ln-coverage-map > img {
    width: min(100%, 520px);
    max-height: 520px;
    object-fit: contain;
}

.ln-location-panel {
    align-self: center;
    display: flex;
    flex-direction: column;
    height: 500px;
    min-height: 0;
    padding: 24px 24px 20px;
    overflow: hidden;
    border: 1px solid var(--ln-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--ln-soft-shadow);
}

.ln-location-panel h3 {
    margin: 0 0 12px;
    color: var(--ln-navy);
    font-size: 20px;
}

.ln-location-panel ul {
    flex: 1;
    min-height: 0;
    margin: 0 0 12px;
    overflow: hidden;
    scrollbar-width: none;
}

.ln-location-panel ul::-webkit-scrollbar { display: none; }

.ln-location-panel li {
    border-bottom: 1px solid var(--ln-border);
}

.ln-location-panel li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    color: var(--ln-navy);
    font-size: 13px;
    font-weight: 600;
}

.ln-location-panel li a > span {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    overflow: hidden;
}

.ln-location-name {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ln-location-panel li a > span i {
    flex: 0 0 auto;
    color: #13a487;
}

.ln-location-panel li a > i {
    color: var(--ln-muted);
    font-size: 11px;
}

.ln-location-panel-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    border: 1.5px solid var(--ln-pink);
    border-radius: 11px;
    color: var(--ln-pink);
    font-size: 14px;
    font-weight: 700;
}

.ln-location-panel-button:hover {
    background: var(--ln-pink);
    color: #fff;
}

.ln-reasons .ln-section-heading h2 {
    max-width: 980px;
    margin-inline: auto;
    font-size: clamp(32px, 3.1vw, 44px);
}

.ln-testimonials {
    padding-top: 84px;
    background: #f8faff;
}

.ln-testimonials .ln-section-heading { margin-bottom: 30px; }

.ln-testimonial-portraits {
    gap: clamp(55px, 8vw, 120px);
    margin: 18px 0 34px;
}

.ln-testimonial-portrait {
    --ln-testimonial-portrait-size: clamp(180px, 18vw, 250px);
    flex: 0 0 var(--ln-testimonial-portrait-size);
    width: var(--ln-testimonial-portrait-size);
    height: var(--ln-testimonial-portrait-size);
    aspect-ratio: 1 / 1;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
}

.ln-testimonial-slider { width: min(100%, 900px); }

.ln-testimonial-card {
    position: relative;
    grid-template-columns: minmax(300px, .95fr) minmax(0, 1.05fr);
    gap: 42px;
    min-height: 448px;
    padding: 24px;
    border-radius: 19px;
}

.ln-testimonial-close {
    position: absolute;
    z-index: 3;
    top: 22px;
    right: 24px;
    padding: 4px;
    border: 0;
    background: none;
    color: #687184;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transition: color .15s ease, transform .15s ease;
}

.ln-testimonial-close:hover,
.ln-testimonial-close:focus-visible {
    color: var(--ln-pink);
    transform: scale(1.1);
}

.ln-testimonial-image { height: 400px; }

.ln-testimonial-content { padding-right: 34px; }

.ln-testimonial-content blockquote::after {
    display: block;
    margin-top: -3px;
    color: var(--ln-blue);
    content: "\201D";
    font-family: Georgia, serif;
    font-size: 52px;
    font-weight: 700;
    line-height: .6;
    text-align: right;
}

.ln-testimonial-slider .owl-nav,
.ln-testimonial-slider .owl-dots {
    display: none;
}

@media (max-width: 1180px) {
    .home-redesign .head-inner { grid-template-columns: 220px minmax(0, 1fr); }
    .home-redesign .head-inner > a.logo { width: 205px; }
    .home-redesign .head-inner nav.navbar ul.navbar-nav > li > a { padding-inline: 10px; font-size: 12px; }
    .home-trust-item { padding-inline: 9px; font-size: 10px; }
    .ln-hero-container { grid-template-columns: minmax(0, 1fr) minmax(410px, 1fr); }
    .ln-hero-image-wrap { right: -36px; height: 470px; }
    .ln-coverage-grid { grid-template-columns: minmax(240px, .8fr) minmax(330px, 1.1fr) minmax(250px, .85fr); gap: 22px; }
    .ln-coverage-copy h2 { font-size: 40px; }
    .ln-location-panel { padding-inline: 18px; }
}

@media (min-width: 992px) and (max-width: 1180px) {
    .ln-course-decoration {
        right: -30px;
        bottom: -32px;
        width: 148px;
        height: 148px;
        font-size: 114px;
    }

    .ln-course-decoration .fa-stopwatch { font-size: 108px; }
}

@media (max-width: 991px) {
    .home-redesign .head-inner { padding-top: 10px; }
    .home-redesign .head-inner .top-contact a.call { display: none; }
    .home-redesign .head-inner nav.navbar ul li .toggle_menu_m {
        top: 0;
        right: 0;
        width: 52px;
        height: 54px;
    }
    .home-trust-strip-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-trust-item,
    .home-trust-item:nth-child(2) { border-right: 1px solid rgba(255, 255, 255, .25); }
    .home-trust-item:nth-child(3),
    .home-trust-item:last-child { border-right: 0; }
    .home-trust-item:nth-child(4),
    .home-trust-item:nth-child(5) { border-bottom: 0; }
    .ln-hero-container { grid-template-columns: 1fr; }
    .ln-hero-image-wrap { right: 50%; width: min(100%, 690px); height: 430px; transform: translate(50%, -50%); }
    .ln-coverage-grid { grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); }
    .ln-coverage-copy h2 { max-width: 440px; }
    .ln-coverage-map { min-height: 470px; }
    .ln-location-panel { grid-column: 1 / -1; height: auto; min-height: 0; }
    .ln-location-panel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 280px; column-gap: 24px; }
    .ln-testimonial-portrait { --ln-testimonial-portrait-size: min(27vw, 205px); }
    .ln-testimonial-card { grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr); gap: 26px; }
}

@media (max-width: 767px) {
    .home-trust-strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-trust-item,
    .home-trust-item:nth-child(3) { border-right: 1px solid rgba(255, 255, 255, .25); border-bottom: 1px solid rgba(255, 255, 255, .18); }
    .home-trust-item:nth-child(even) { border-right: 0; }
    .home-trust-item:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
    .ln-hero { background: linear-gradient(155deg, #0787d4 0%, #1aa8e5 63%, #eef9ff 63.5%, #fff 100%); }
    .ln-hero::after { width: 72%; height: 44%; }
    .ln-hero-image-wrap { height: 330px; }
    .ln-hero-badge { right: 0; }
    .ln-coverage { padding-block: 66px 56px; }
    .ln-coverage-grid { grid-template-columns: 1fr; }
    .ln-coverage-copy h2 { max-width: none; }
    .ln-coverage-badge { max-width: none; }
    .ln-coverage-map { min-height: 390px; }
    .ln-location-panel { grid-column: auto; }
    .ln-location-panel ul { grid-template-columns: 1fr; max-height: 390px; }
    .ln-testimonial-portraits { gap: 12px; }
    .ln-testimonial-card { grid-template-columns: 1fr; gap: 22px; }
    .ln-testimonial-content { padding-right: 8px; }
    .ln-testimonial-close { top: 27px; right: 29px; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
}

@media (max-width: 480px) {
    .home-redesign .head-inner > a.logo { width: 138px; }
    .home-redesign .head-inner .top-contact { gap: 7px; }
    .ln-hero-image-wrap { height: 275px; }
    .ln-benefit-card { height: 530px; }
    .ln-coverage-map { min-height: 330px; }
    .ln-testimonial-portrait { --ln-testimonial-portrait-size: min(29vw, 112px); }
    .ln-testimonial-image { height: 300px; }
}

/* Keep the shared instructor search as a rounded card on small screens. This must
   remain after the later desktop visual overrides above. */
@media (max-width: 767px) {
    .home-redesign .ln-hero-copy {
        width: 100%;
        min-width: 0;
    }

    .home-redesign .ln-instructor-search {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        gap: 0;
        padding: 8px;
        border-radius: 16px;
    }

    .home-redesign .ln-search-field {
        min-width: 0;
        border-right: 0;
        border-bottom: 1px solid #e2e6ed;
    }

    .home-redesign .ln-search-submit {
        width: 100%;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .home-redesign .ln-hero h1 {
        font-size: clamp(34px, 12vw, 42px);
    }

    .home-redesign .ln-hero-description,
    .home-redesign .ln-hero-description p {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* Mobile only: show the full testimonial cards directly as a swipeable
   carousel instead of the desktop/tablet circular-portrait click interaction.
   Must remain after the desktop testimonial overrides above. */
@media (max-width: 767px) {
    .ln-testimonial-portraits { display: none; }

    .ln-testimonial-slider { width: 100%; }

    .ln-testimonial-card { min-height: 0; }

    .ln-testimonial-close { display: none; }

    .ln-testimonial-slider .owl-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 18px;
    }

    /* This slider doesn't carry the owl-theme class (unlike the other mobile
       carousels on this page), so the dot buttons have no intrinsic size. */
    .ln-testimonial-slider .owl-dots .owl-dot {
        display: inline-flex;
        align-items: center;
        height: 8px;
    }

    .ln-testimonial-slider .owl-dots .owl-dot span {
        display: block;
        height: 8px;
        border-radius: 5px;
        background: #ccd3df;
        transition: width .2s ease, background .2s ease;
    }

    .ln-testimonial-slider .owl-dots .owl-dot.active span { background: var(--ln-pink); }
}

@media (prefers-reduced-motion: reduce) {
    .home-redesign *,
    .home-redesign *::before,
    .home-redesign *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
