/* styles/frontend.css */
/**
 * Letstudy Pages, public page styles.
 *
 * Every rule is scoped under .lsp and uses class selectors, so theme element rules
 * (h1, p, a, ul) never win and nothing here leaks into the rest of the site.
 * Colours come from the --lsp-* custom properties set on the .lsp root.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Theme integration: only on our pages, through body classes added by page.php. */
body.lsp-page #region-main,
body.lsp-page #page.drawers .main-inner {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
body.lsp-width-full #page.drawers .main-inner,
body.lsp-width-full #region-main {
    padding-left: 0;
    padding-right: 0;
}
body.lsp-width-full,
body.lsp-width-full #page {
    overflow-x: hidden;
    overflow-x: clip;
}
body.lsp-hideheader #page-header {
    display: none;
}

/* Root and reset. */
.lsp {
    --lsp-text: #12151b;
    --lsp-muted: #545c6a;
    --lsp-border: #e1e4e9;
    --lsp-surface: #ffffff;
    --lsp-surface-2: #f0f2f5;
    --lsp-dark: #0e1116;
    color: var(--lsp-text);
    background: var(--lsp-page-bg);
    font-size: 1rem;
    line-height: 1.55;
    text-align: left;
}
.lsp *,
.lsp *::before,
.lsp *::after {
    box-sizing: border-box;
}
.lsp :where(h1, h2, h3, h4, p, ul, ol, li, figure, blockquote) {
    margin: 0;
    padding: 0;
}
.lsp :where(ul, ol) {
    list-style: none;
}
/* A word longer than its column (a long Greek word in a large heading) breaks instead of running out of it. */
.lsp :where(h1, h2, h3, h4, p, li, dt, dd, blockquote, figcaption, label) {
    overflow-wrap: break-word;
}
.lsp :where(blockquote, figure, dl, dd) {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-style: normal;
}
.lsp :where(dd)::before,
.lsp :where(dd)::after {
    content: none;
}
/* Themes put borders and backgrounds on every table cell; sections draw their own. */
.lsp :where(table) {
    border-collapse: collapse;
    width: auto;
    margin: 0;
    background: none;
}
.lsp :where(th, td) {
    border: 0;
    padding: 0;
    background: none;
}
.lsp .lsp-prose table {
    width: 100%;
    margin: 1em 0;
}
.lsp .lsp-prose th,
.lsp .lsp-prose td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--lsp-border);
    text-align: left;
}
.lsp :where(img) {
    display: block;
    max-width: 100%;
    height: auto;
}
.lsp a {
    color: inherit;
    text-decoration: none;
}
.lsp a:hover {
    color: inherit;
}
.lsp a:focus-visible,
.lsp button:focus-visible,
.lsp input:focus-visible {
    outline: 3px solid var(--lsp-accent);
    outline-offset: 2px;
}
.lsp-icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.lsp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Layout. */
.lsp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}
.lsp-container--narrow {
    max-width: 800px;
}
.lsp-section {
    position: relative;
    padding-top: 96px;
    padding-bottom: 96px;
}
.lsp-space-compact {
    padding-top: 56px;
    padding-bottom: 56px;
}
.lsp-space-spacious {
    padding-top: 136px;
    padding-bottom: 136px;
}
.lsp--full {
    background: transparent;
}
.lsp--full .lsp-section {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.lsp--contained {
    background: transparent;
    padding: 16px 0;
}
.lsp--contained .lsp-section {
    border-radius: var(--lsp-r-lg);
    overflow: hidden;
    margin-bottom: 16px;
}

/* Section tones. */
.lsp-tone-default {
    background: var(--lsp-page-bg);
}
.lsp-tone-soft {
    background: var(--lsp-accent-soft);
    --lsp-accent-ink: var(--lsp-soft-ink);
}
.lsp-tone-accent {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    --lsp-text: var(--lsp-on-accent);
    --lsp-muted: var(--lsp-on-accent);
    --lsp-accent-ink: var(--lsp-on-accent);
    --lsp-border: rgba(255, 255, 255, .25);
    --lsp-heading: currentColor;
}
/* The dark colours come from the palette (tokens::build()) when it sets a dark colour. */
.lsp-tone-dark {
    background: var(--lsp-dark);
    color: var(--lsp-dark-text, #f3f5f8);
    --lsp-text: var(--lsp-dark-text, #f3f5f8);
    --lsp-muted: var(--lsp-dark-muted, #a9b0bc);
    --lsp-border: var(--lsp-dark-border, #2a303c);
    --lsp-surface: var(--lsp-dark-surface, #161a22);
    --lsp-surface-2: var(--lsp-dark-surface-2, #1d222c);
    --lsp-card-bg: var(--lsp-dark-surface, #161a22);
    --lsp-card-border: var(--lsp-dark-border, #2a303c);
    --lsp-card-shadow: none;
    --lsp-accent-ink: var(--lsp-accent-light);
    --lsp-accent-soft: var(--lsp-dark-surface-2, #1d222c);
    --lsp-soft-ink: var(--lsp-accent-light);
    --lsp-heading: currentColor;
}

/* Shared typography. */
.lsp-heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
    margin-bottom: 40px;
}
.lsp-eyebrow {
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--lsp-accent-ink);
}
.lsp-title {
    font-family: var(--lsp-heading-font);
    font-weight: var(--lsp-heading-weight);
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -.015em;
    color: inherit;
    text-wrap: balance;
}
/* Heading colour of the palette, on the light tones only; coloured boxes keep their own text colour. */
.lsp :is(.lsp-tone-default, .lsp-tone-soft) .lsp-title {
    color: var(--lsp-heading, inherit);
}
.lsp :is(.lsp-cta__box, .lsp-countdown__box, .lsp-appdownload__band, .lsp-form__aside) {
    --lsp-heading: currentColor;
}
.lsp-subtitle {
    font-size: 1.125rem;
    color: var(--lsp-muted);
    max-width: 40em;
}
.lsp-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
    margin-bottom: 32px;
}
.lsp-head .lsp-heading {
    margin-bottom: 0;
}
.lsp-head--center {
    justify-content: center;
    text-align: center;
}
.lsp-head--center .lsp-heading {
    align-items: center;
}
.lsp-chip {
    align-self: flex-start;
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    font-size: .8125rem;
    font-weight: 600;
}
.lsp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-weight: 600;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-link:hover {
    color: var(--lsp-accent-ink);
    text-decoration: underline;
}
.lsp-empty {
    padding: 64px 0;
    color: var(--lsp-muted);
    text-align: center;
}

/* Buttons. */
.lsp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.lsp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 24px;
    border-radius: var(--lsp-r-btn);
    border: 1.5px solid transparent;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-wrap: balance;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.lsp .lsp-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}
.lsp .lsp-btn--primary,
.lsp .lsp-btn--primary:hover {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-btn--secondary,
.lsp .lsp-btn--secondary:hover {
    background: transparent;
    color: inherit;
    border-color: currentColor;
}
.lsp .lsp-tone-accent .lsp-btn--primary,
.lsp .lsp-tone-accent .lsp-btn--primary:hover {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}

/* Hero, shared. */
.lsp-hero__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 56px;
}
.lsp-hero__content {
    flex: 1 1 460px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.lsp-hero__title {
    font-family: var(--lsp-heading-font);
    font-weight: var(--lsp-heading-weight);
    font-size: clamp(2.4rem, 5.2vw, 4rem);
    line-height: 1.05;
    letter-spacing: -.02em;
    color: inherit;
    text-wrap: balance;
}
.lsp .lsp-hero--split.lsp-tone-default .lsp-hero__title {
    color: var(--lsp-hero-heading, inherit);
}
.lsp-hero__subtitle {
    font-size: 1.2rem;
    color: var(--lsp-muted);
    max-width: 34em;
}
.lsp-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--lsp-accent-ink);
    font-size: .875rem;
    font-weight: 600;
}
.lsp-badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lsp-accent);
}
/* On the accent and dark tones the badge takes their own readable pair of colours. */
.lsp .lsp-tone-accent .lsp-badge {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-tone-accent .lsp-badge__dot {
    background: currentColor;
}
.lsp .lsp-tone-dark .lsp-badge {
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
}
.lsp-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 580px;
    padding: 7px 7px 7px 16px;
    background: #ffffff;
    color: #12151b;
    border: 1px solid #e1e4e9;
    border-radius: var(--lsp-r-lg);
    box-shadow: 0 14px 36px -14px rgba(18, 21, 27, .22);
}
.lsp-search__icon {
    color: #545c6a;
}
.lsp .lsp-search__input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: #12151b;
    font: inherit;
    box-shadow: none;
}
.lsp .lsp-search__input:focus {
    outline: none;
}
.lsp-search:focus-within {
    outline: 3px solid var(--lsp-accent);
    outline-offset: 2px;
}

/* Hero: split. */
.lsp-hero--split {
    background: var(--lsp-hero-bg);
    color: var(--lsp-hero-text);
    --lsp-muted: var(--lsp-hero-muted);
}
.lsp-hero--split.lsp-tone-soft {
    background: var(--lsp-accent-soft);
}
.lsp-hero--split.lsp-tone-accent {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    --lsp-muted: var(--lsp-on-accent);
}
.lsp-hero--split.lsp-tone-dark {
    background: var(--lsp-dark);
    color: var(--lsp-dark-text, #f3f5f8);
    --lsp-muted: var(--lsp-dark-muted, #a9b0bc);
}
.lsp-hero__visual {
    flex: 1 1 400px;
    min-width: 0;
    position: relative;
}
.lsp-hero__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--lsp-r-lg);
    box-shadow: 0 40px 80px -36px rgba(18, 21, 27, .45);
}
.lsp-float {
    position: relative;
    min-height: 400px;
}
.lsp-float__shape {
    position: absolute;
    right: 4%;
    top: 4%;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, transparent 0 46%, color-mix(in srgb, var(--lsp-accent) 22%, transparent) 46.5% 52%, transparent 52.5%),
        radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--lsp-accent) 18%, transparent) 0 34%, transparent 34.5%);
}
.lsp-float__cards {
    position: relative;
    min-height: 400px;
}
.lsp-float__card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 82%;
    padding: 16px 22px 16px 16px;
    background: #ffffff;
    color: #12151b;
    border-radius: var(--lsp-r-lg);
    box-shadow: 0 24px 48px -20px rgba(18, 21, 27, .3);
}
.lsp-float__card--1 {
    top: 6%;
    right: 0;
}
.lsp-float__card--2 {
    top: 40%;
    left: 0;
}
.lsp-float__card--3 {
    bottom: 4%;
    right: 10%;
}
.lsp-float__icon {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    display: grid;
    place-items: center;
}
.lsp-float__text,
.lsp-glass__text,
.lsp-numbered__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lsp-float__text span {
    font-size: .875rem;
    color: #545c6a;
}

/* Hero: aurora. */
.lsp-hero--aurora {
    overflow: hidden;
    background: #07090d;
    color: #f5f7fa;
    text-align: center;
    --lsp-muted: #a1a8b5;
    --lsp-accent-ink: var(--lsp-accent-light);
}
.lsp-hero--aurora::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
    pointer-events: none;
}
.lsp-hero--aurora::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -260px;
    width: 1100px;
    height: 720px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, var(--lsp-accent-glow), transparent);
    pointer-events: none;
}
.lsp-hero--aurora .lsp-hero__inner {
    position: relative;
    z-index: 1;
    flex-direction: column;
    gap: 28px;
}
.lsp-hero--aurora .lsp-hero__title {
    max-width: 14em;
    font-size: clamp(2.6rem, 6.4vw, 5.25rem);
    line-height: 1;
    letter-spacing: -.035em;
}
.lsp-hero--aurora .lsp-hero__subtitle {
    max-width: 38em;
}
.lsp-hero--aurora .lsp-badge {
    align-self: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #d6dae1;
}
.lsp-hero--aurora .lsp-badge__dot {
    background: var(--lsp-accent-light);
    box-shadow: 0 0 12px var(--lsp-accent-light);
}
.lsp-hero--aurora .lsp-actions,
.lsp-hero--aurora .lsp-search {
    justify-content: center;
    align-self: center;
}
.lsp-hero--aurora .lsp-search {
    width: 100%;
}
.lsp .lsp-hero--aurora .lsp-btn--primary {
    box-shadow: 0 10px 40px -8px var(--lsp-accent-glow);
}
.lsp .lsp-hero--aurora .lsp-btn--secondary {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .03);
}
.lsp-glass {
    width: 100%;
    max-width: 1040px;
    margin-top: 28px;
    padding: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 120px -40px var(--lsp-accent-glow);
    text-align: left;
}
.lsp-glass__card {
    flex: 1 1 260px;
    min-width: 0;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 18px;
    background: #0e1118;
    border: 1px solid rgba(255, 255, 255, .07);
}
.lsp-glass__icon {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--lsp-accent-light);
    color: var(--lsp-accent-light);
    display: grid;
    place-items: center;
}
.lsp-glass__text span {
    font-size: .875rem;
    color: #a1a8b5;
}

/* Hero: editorial. */
.lsp-hero--editorial {
    overflow: hidden;
    min-height: min(88vh, 860px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--lsp-accent-deep);
    color: #ffffff;
    --lsp-muted: #e3e6e1;
}
.lsp-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lsp-hero__bg--blur {
    background:
        radial-gradient(circle at 82% 22%, rgba(243, 230, 207, .55), transparent 32%),
        radial-gradient(circle at 68% 70%, color-mix(in srgb, var(--lsp-accent) 70%, #b98b5e), transparent 40%),
        radial-gradient(circle at 92% 82%, color-mix(in srgb, var(--lsp-accent) 80%, #ffffff), transparent 30%),
        var(--lsp-accent-deep);
    filter: blur(8px);
    transform: scale(1.05);
}
.lsp-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(8, 10, 9, .85), transparent 45%),
        linear-gradient(90deg, rgba(8, 10, 9, .82) 0%, rgba(8, 10, 9, .5) 50%, rgba(8, 10, 9, .05) 100%);
}
.lsp-hero--editorial .lsp-hero__inner {
    position: relative;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
.lsp-hero--editorial .lsp-hero__content {
    flex: none;
    max-width: 860px;
    gap: 26px;
}
.lsp-overline {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .14em;
}
.lsp-overline::before {
    content: "";
    width: 40px;
    height: 1px;
    background: currentColor;
}
.lsp-hero--editorial .lsp-hero__title {
    font-family: "Noto Serif", Georgia, Cambria, "Times New Roman", serif;
    font-weight: 500;
    font-size: clamp(2.8rem, 6.8vw, 6rem);
    line-height: 1;
    letter-spacing: -.02em;
}
.lsp .lsp-hero--editorial .lsp-btn--primary,
.lsp .lsp-hero--editorial .lsp-btn--primary:hover {
    background: #ffffff;
    color: #111311;
    border-radius: 2px;
}
.lsp .lsp-hero--editorial .lsp-btn--secondary {
    border-radius: 2px;
}
.lsp-numbered {
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .25);
    display: flex;
    flex-wrap: wrap;
    gap: 24px 48px;
}
.lsp-numbered__item {
    flex: 1 1 240px;
    display: flex;
    gap: 16px;
}
.lsp-numbered__number {
    font-family: "Noto Serif", Georgia, serif;
    font-size: 1.375rem;
    color: var(--lsp-accent-light);
    color: color-mix(in srgb, var(--lsp-accent-light) 55%, #ffffff);
}
.lsp-numbered__text span {
    font-size: .9375rem;
    color: #d3d7d2;
}

/* Course covers: generated patterns when the course has no image. */
.lsp-cover {
    position: relative;
    overflow: hidden;
    background-color: var(--lsp-accent-soft);
}
.lsp-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lsp-cover--0 {
    background:
        radial-gradient(circle at 82% 10%, color-mix(in srgb, var(--lsp-accent) 38%, transparent) 0 22%, transparent 22.5%),
        radial-gradient(circle at 82% 10%, transparent 0 34%, color-mix(in srgb, var(--lsp-accent) 28%, transparent) 34.5% 40%, transparent 40.5%),
        var(--lsp-accent-soft);
}
.lsp-cover--1 {
    background:
        radial-gradient(circle at 18% 100%, rgba(255, 255, 255, .22) 0 26%, transparent 26.5%),
        radial-gradient(circle at 18% 100%, transparent 0 38%, rgba(255, 255, 255, .18) 38.5% 44%, transparent 44.5%),
        var(--lsp-accent);
}
.lsp-cover--2 {
    background:
        radial-gradient(circle at 88% 95%, color-mix(in srgb, var(--lsp-accent-soft) 32%, transparent) 0 28%, transparent 28.5%),
        radial-gradient(circle at 88% 95%, transparent 0 40%, color-mix(in srgb, var(--lsp-accent-soft) 26%, transparent) 40.5% 46%, transparent 46.5%),
        var(--lsp-secondary, var(--lsp-accent-deep));
}
.lsp-cover--3 {
    background:
        radial-gradient(circle at 50% -10%, color-mix(in srgb, var(--lsp-accent) 42%, transparent) 0 24%, transparent 24.5%),
        radial-gradient(circle at 50% -10%, transparent 0 36%, color-mix(in srgb, var(--lsp-accent) 30%, transparent) 36.5% 42%, transparent 42.5%),
        var(--lsp-surface-2);
}

/* Course cards. */
.lsp-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 20px;
    margin: 0 -4px;
    scrollbar-width: thin;
}
.lsp-row > .lsp-course {
    flex: 0 0 288px;
    scroll-snap-align: start;
}
.lsp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 24px;
}
.lsp-course {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--lsp-card-bg);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-card-border);
    border-radius: var(--lsp-r);
    box-shadow: var(--lsp-card-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.lsp-tone-soft .lsp-course,
.lsp-tone-accent .lsp-course,
.lsp-tone-soft .lsp-mini,
.lsp-tone-accent .lsp-mini {
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-border: #e1e4e9;
    --lsp-accent-ink: var(--lsp-soft-ink);
    background: #ffffff;
    color: #12151b;
}
.lsp-course:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px -24px rgba(18, 21, 27, .35);
}
.lsp-course__media {
    aspect-ratio: 16 / 9;
}
.lsp-course__body {
    flex: 1;
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lsp-course__title {
    font-family: var(--lsp-heading-font);
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.3;
    color: inherit;
}
.lsp-course__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}
.lsp-course__summary {
    font-size: .9375rem;
    color: var(--lsp-muted);
}
.lsp-course__meta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .875rem;
    color: var(--lsp-muted);
}
.lsp-more {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

/* Courses: featured. */
.lsp-featured {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: stretch;
}
.lsp-course--featured {
    flex: 1.25 1 520px;
    min-width: 0;
    border-radius: var(--lsp-r-lg);
}
.lsp-course--featured .lsp-course__media {
    aspect-ratio: 16 / 8;
}
.lsp-course--featured .lsp-course__body {
    padding: 28px;
    gap: 14px;
}
.lsp-course--featured .lsp-course__title {
    font-size: clamp(1.5rem, 2.4vw, 1.875rem);
    line-height: 1.15;
}
.lsp-course__cta {
    align-self: flex-start;
    margin-top: auto;
}
.lsp-pill {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: #12151b;
    font-size: .8125rem;
    font-weight: 700;
}
.lsp-pill .lsp-icon {
    width: 14px;
    height: 14px;
    fill: var(--lsp-accent);
    stroke: none;
}
.lsp-featured__list {
    flex: 1 1 360px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lsp-mini {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: var(--lsp-r);
    border: 1px solid var(--lsp-card-border);
    background: var(--lsp-card-bg);
    box-shadow: var(--lsp-card-shadow);
}
.lsp-mini__media {
    flex: none;
    width: 104px;
    aspect-ratio: 4 / 3;
    border-radius: var(--lsp-r-sm);
}
.lsp-mini__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lsp-mini__category {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--lsp-accent-ink);
}
.lsp-mini__title {
    font-family: var(--lsp-heading-font);
    font-weight: 700;
    font-size: 1.0625rem;
    line-height: 1.3;
}
.lsp-mini__title::after {
    content: "";
    position: absolute;
    inset: 0;
}
.lsp-mini__arrow {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--lsp-border);
    display: grid;
    place-items: center;
}

/* Features: bento. */
.lsp-bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.lsp-tile {
    position: relative;
    overflow: hidden;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--lsp-card-bg);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-card-border);
    border-radius: var(--lsp-r-lg);
    box-shadow: var(--lsp-card-shadow);
}
.lsp-tile__icon {
    width: 46px;
    height: 46px;
    border-radius: var(--lsp-r-sm);
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    display: grid;
    place-items: center;
}
.lsp-tile__title {
    font-family: var(--lsp-heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    color: inherit;
}
.lsp-tile__text {
    color: var(--lsp-muted);
}
.lsp-tile--lead {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 380px;
    padding: 40px;
    justify-content: flex-end;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    border-color: transparent;
    --lsp-muted: var(--lsp-on-accent);
}
/* No half empty rows, whatever the number of tiles: the lead tile runs alone across the grid, beside one
   tile or three tiles (it then grows a row taller), and a last tile left alone with one free cell takes it. */
.lsp-bento > .lsp-tile--lead:last-child {
    grid-column: 1 / -1;
}
.lsp-bento > .lsp-tile:nth-child(2):last-child {
    grid-row: span 2;
}
.lsp-bento:has(> .lsp-tile:nth-child(3n+4):last-child) > .lsp-tile--lead {
    grid-row: span 3;
}
.lsp-bento > .lsp-tile:nth-child(3n+5):last-child {
    grid-column: span 2;
}
/* The icon stays in the flow at the top and the free space goes under it, so a long text grows the tile instead of
   running under the icon. */
.lsp-tile--lead .lsp-tile__icon {
    position: relative;
    flex: none;
    width: 56px;
    height: 56px;
    margin-bottom: auto;
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp-tile--lead .lsp-tile__icon + .lsp-tile__title {
    margin-top: 18px;
}
.lsp-tile--lead .lsp-tile__title {
    position: relative;
    max-width: 18em;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
}
.lsp-tile--lead .lsp-tile__text {
    position: relative;
    max-width: 30em;
    font-size: 1.0625rem;
}
.lsp-tile__art {
    position: absolute;
    right: -80px;
    top: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 0 48%, rgba(255, 255, 255, .16) 48.5% 50%, transparent 50.5% 66%, rgba(255, 255, 255, .16) 66.5% 68%, transparent 68.5%),
        radial-gradient(circle, rgba(255, 255, 255, .1) 0 30%, transparent 30.5%);
}

/* Features: numbered cards. */
.lsp-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 20px;
}
.lsp-tile__number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    display: grid;
    place-items: center;
    font-family: var(--lsp-heading-font);
    font-weight: 700;
    font-size: 1.125rem;
}
/* On the accent tone the lead tile would melt into the section: it takes the deep shade of the accent. On the
   soft tone it keeps the accent, only the other tiles turn white. */
.lsp-tone-accent .lsp-tile--lead {
    background: var(--lsp-accent-deep);
    color: #ffffff;
    --lsp-muted: #e3ebea;
}
.lsp-tone-soft .lsp-tile:not(.lsp-tile--lead),
.lsp-tone-accent .lsp-tile:not(.lsp-tile--lead) {
    background: #ffffff;
    color: #12151b;
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
}

/* Call to action. */
.lsp-cta__box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 64px 48px;
    border-radius: var(--lsp-r-lg);
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp-cta__text {
    flex: 1 1 420px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lsp-cta__subtitle {
    font-size: 1.125rem;
}
.lsp .lsp-cta__box .lsp-btn--primary,
.lsp .lsp-cta__box .lsp-btn--primary:hover {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp-tone-accent .lsp-cta__box {
    background: var(--lsp-dark);
    color: #f3f5f8;
}
.lsp-cta__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}
.lsp-cta__title {
    max-width: 16em;
    font-family: var(--lsp-heading-font);
    font-weight: var(--lsp-heading-weight);
    font-size: clamp(2.2rem, 4.6vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -.025em;
    color: inherit;
    text-wrap: balance;
}
.lsp-cta__center .lsp-actions {
    justify-content: center;
    margin-top: 8px;
}

/* Text. */
.lsp-text__columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 48px;
    align-items: start;
}
.lsp-text__columns .lsp-heading {
    margin-bottom: 0;
}
.lsp-prose {
    font-size: 1.0625rem;
    line-height: 1.7;
}
.lsp-prose > * + * {
    margin-top: 1em;
}
.lsp-prose h2,
.lsp-prose h3 {
    margin-top: 1.6em;
    font-family: var(--lsp-heading-font);
    font-weight: var(--lsp-heading-weight);
    line-height: 1.2;
}
.lsp-prose h2 {
    font-size: 1.75rem;
}
.lsp-prose h3 {
    font-size: 1.375rem;
}
.lsp-prose ul {
    list-style: disc;
    padding-left: 1.4em;
}
.lsp-prose ol {
    list-style: decimal;
    padding-left: 1.4em;
}
.lsp-prose li + li {
    margin-top: .35em;
}
.lsp-prose a {
    color: var(--lsp-accent-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.lsp-prose img {
    border-radius: var(--lsp-r);
}
.lsp-prose blockquote {
    padding-left: 20px;
    border-left: 3px solid var(--lsp-accent);
    font-size: 1.25rem;
}

/* Edit link for managers. */
.lsp .lsp-toolbar {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1030;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: #12151b;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45);
}
.lsp .lsp-toolbar:hover {
    color: #ffffff;
    text-decoration: none;
}

/* Small screens. */
@media (max-width: 900px) {
    .lsp-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lsp-bento > .lsp-tile:nth-child(2):last-child {
        grid-row: auto;
    }
    .lsp-bento:has(> .lsp-tile:nth-child(3n+4):last-child) > .lsp-tile--lead {
        grid-row: span 2;
    }
    .lsp-bento > .lsp-tile:nth-child(3n+5):last-child {
        grid-column: auto;
    }
    .lsp-bento > .lsp-tile:nth-child(2n):last-child {
        grid-column: 1 / -1;
    }
    .lsp-text__columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}
@media (max-width: 640px) {
    .lsp-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }
    .lsp-space-spacious {
        padding-top: 88px;
        padding-bottom: 88px;
    }
    .lsp-bento {
        grid-template-columns: minmax(0, 1fr);
    }
    .lsp-bento > .lsp-tile:last-child,
    .lsp-bento:has(> .lsp-tile:nth-child(3n+4):last-child) > .lsp-tile--lead {
        grid-column: auto;
        grid-row: auto;
    }
    .lsp-tile--lead {
        grid-column: auto;
        grid-row: auto;
        min-height: 320px;
        padding: 28px;
    }
    .lsp-cta__box {
        padding: 40px 24px;
    }
    .lsp-float,
    .lsp-float__cards {
        min-height: 0;
    }
    .lsp-float__shape {
        display: none;
    }
    .lsp-float__cards {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .lsp-float__card {
        position: static;
        max-width: none;
    }
    .lsp-search {
        flex-wrap: wrap;
    }
    .lsp-search .lsp-btn {
        width: 100%;
    }
}
/* Reduced motion: no movement, no looping effects; only the short fades defined further down remain. */
@media (prefers-reduced-motion: reduce) {
    .lsp *,
    .lsp *::before,
    .lsp *::after {
        transition-property: opacity, background-color, color, border-color !important;
    }
    .lsp .lsp-float__card,
    .lsp .lsp-float__shape,
    .lsp .lsp-hero--aurora::after,
    .lsp .lsp-hero__bg,
    .lsp .lsp-tile__art {
        animation: none !important;
    }
}

/* Live course search. */
.lsp-search__results {
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    max-height: 420px;
    overflow-y: auto;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #ffffff;
    color: #12151b;
    border: 1px solid #e1e4e9;
    border-radius: var(--lsp-r-lg);
    box-shadow: 0 24px 60px -20px rgba(18, 21, 27, .35);
    text-align: left;
    animation: lsp-pop .16s ease-out;
}
.lsp-search__results[hidden] {
    display: none;
}
.lsp-search__option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: calc(var(--lsp-r-lg) - 8px);
    cursor: pointer;
}
.lsp-search__option:hover,
.lsp-search__option[aria-selected="true"] {
    background: var(--lsp-accent-soft);
}
.lsp-search__thumb {
    flex: none;
    width: 56px;
    height: 40px;
    border-radius: 8px;
}
.lsp-search__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.lsp-search__name {
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lsp-search__name mark {
    padding: 0;
    background: color-mix(in srgb, var(--lsp-accent) 22%, transparent);
    color: inherit;
    border-radius: 3px;
}
.lsp-search__category {
    font-size: .8125rem;
    color: #545c6a;
}
.lsp-search__option.lsp-search__all {
    justify-content: center;
    margin-top: 4px;
    border-top: 1px solid #eef0f3;
    border-radius: 0 0 calc(var(--lsp-r-lg) - 8px) calc(var(--lsp-r-lg) - 8px);
    font-weight: 600;
    color: var(--lsp-accent-ink);
}
.lsp-search__empty {
    padding: 14px 10px;
    color: #545c6a;
}
.lsp-search__spinner {
    display: none;
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #e1e4e9;
    border-top-color: var(--lsp-accent);
    animation: lsp-spin .7s linear infinite;
}
.lsp-search.is-loading .lsp-search__spinner {
    display: block;
}
.lsp-hero--aurora .lsp-search__results,
.lsp-hero--editorial .lsp-search__results {
    color: #12151b;
}
.lsp-hero--aurora .lsp-hero__inner {
    overflow: visible;
}

/* Course row navigation. */
.lsp-head__side {
    display: flex;
    align-items: center;
    gap: 16px;
}
.lsp-rownav {
    display: none;
    gap: 8px;
}
.lsp-row-ready .lsp-rownav {
    display: flex;
}
.lsp .lsp-rownav__btn {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--lsp-border);
    background: var(--lsp-surface);
    color: var(--lsp-text);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background-color .15s ease, transform .15s ease, opacity .15s ease;
}
.lsp .lsp-rownav__btn:hover:not(:disabled) {
    background: var(--lsp-accent);
    border-color: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-rownav__btn:disabled {
    opacity: .35;
    cursor: default;
}
.lsp-row {
    scroll-behavior: smooth;
}

/* Motion. Only when the page script added .lsp-anim, so nothing stays hidden without JavaScript. */
@keyframes lsp-rise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes lsp-pop {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes lsp-spin {
    to {
        transform: rotate(360deg);
    }
}
@keyframes lsp-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
@keyframes lsp-drift {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateX(-46%) scale(1.08);
        opacity: .8;
    }
}
@keyframes lsp-kenburns {
    from {
        transform: scale(1.04);
    }
    to {
        transform: scale(1.14);
    }
}
@keyframes lsp-spin-slow {
    to {
        transform: rotate(360deg);
    }
}
.lsp-anim .lsp-reveal {
    opacity: 0;
    transform: translateY(28px);
}
.lsp-anim .lsp-reveal.is-visible {
    animation: lsp-rise .7s cubic-bezier(.2, .7, .2, 1) var(--lsp-delay, 0ms) both;
}
.lsp-anim .lsp-float__card--1 {
    animation: lsp-float 6s ease-in-out infinite;
}
.lsp-anim .lsp-float__card--2 {
    animation: lsp-float 7s ease-in-out -2s infinite;
}
.lsp-anim .lsp-float__card--3 {
    animation: lsp-float 6.5s ease-in-out -4s infinite;
}
.lsp-anim .lsp-float__shape {
    animation: lsp-spin-slow 60s linear infinite;
}
.lsp-anim .lsp-hero--aurora::after {
    animation: lsp-drift 12s ease-in-out infinite;
}
.lsp-anim .lsp-hero--editorial .lsp-hero__bg {
    animation: lsp-kenburns 24s ease-out both alternate infinite;
}
.lsp-anim .lsp-tile--lead .lsp-tile__art {
    animation: lsp-spin-slow 90s linear infinite;
}

/* Hover details. */
.lsp-course__media img {
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.lsp-course:hover .lsp-course__media img {
    transform: scale(1.06);
}
.lsp-btn .lsp-icon,
.lsp-link .lsp-icon,
.lsp-mini__arrow .lsp-icon {
    transition: transform .2s ease;
}
.lsp-btn:hover .lsp-icon,
.lsp-link:hover .lsp-icon,
.lsp-mini:hover .lsp-mini__arrow .lsp-icon {
    transform: translateX(3px);
}
.lsp .lsp-btn--primary:hover {
    box-shadow: 0 10px 24px -10px var(--lsp-accent-glow);
}
.lsp-tile {
    transition: transform .25s ease, box-shadow .25s ease;
}
.lsp-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -24px rgba(18, 21, 27, .3);
}
.lsp-mini {
    transition: transform .2s ease, box-shadow .2s ease;
}
.lsp-mini:hover {
    transform: translateX(4px);
}

@media print {
    .lsp-anim .lsp-reveal {
        opacity: 1;
        transform: none;
    }
}
@keyframes lsp-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.lsp-anim-reduced .lsp-reveal {
    transform: none;
}
.lsp-anim-reduced .lsp-reveal.is-visible {
    animation-name: lsp-fade;
    animation-duration: .5s;
}

/* The reveal animation gives every hero child its own stacking context; keep the search and its results above the next ones. */
.lsp .lsp-search {
    z-index: 20;
}
.lsp-anim .lsp-search.lsp-reveal.is-visible {
    z-index: 20;
}

/* Hero headline: words rise one after the other. The heading itself is not faded as a block. */
.lsp-anim .lsp-hero__title.lsp-reveal,
.lsp-anim .lsp-hero__title.lsp-reveal.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
}
.lsp-anim .lsp-hero__title.lsp-reveal .lsp-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(.45em);
    filter: blur(6px);
}
.lsp-anim .lsp-hero__title.is-visible .lsp-word {
    animation: lsp-word .8s cubic-bezier(.2, .7, .2, 1) calc(var(--lsp-w, 0) * 70ms + 80ms) both;
}
.lsp-anim-reduced .lsp-hero__title.lsp-reveal .lsp-word {
    transform: none;
    filter: none;
}
.lsp-anim-reduced .lsp-hero__title.is-visible .lsp-word {
    animation-name: lsp-fade;
}
@keyframes lsp-word {
    from {
        opacity: 0;
        transform: translateY(.45em);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* Pointer depth: hero cards drift against the pointer, cards tilt towards it. */
.lsp-float__card--1 {
    translate: calc(var(--lsp-px, 0) * -26px) calc(var(--lsp-py, 0) * -18px);
}
.lsp-float__card--2 {
    translate: calc(var(--lsp-px, 0) * 34px) calc(var(--lsp-py, 0) * 24px);
}
.lsp-float__card--3 {
    translate: calc(var(--lsp-px, 0) * -18px) calc(var(--lsp-py, 0) * 30px);
}
.lsp-float__shape {
    translate: calc(var(--lsp-px, 0) * 14px) calc(var(--lsp-py, 0) * 10px);
}
.lsp-hero__image {
    translate: calc(var(--lsp-px, 0) * -12px) calc(var(--lsp-py, 0) * -8px);
    transition: translate .3s ease-out;
}
.lsp-float__card,
.lsp-float__shape {
    transition: translate .3s ease-out;
}
.lsp-anim .lsp-course,
.lsp-anim .lsp-tile {
    transform-style: preserve-3d;
}
.lsp-anim .lsp-course:not(.lsp-reveal):hover,
.lsp-anim .lsp-tile:not(.lsp-reveal):hover {
    transform: perspective(900px) rotateX(var(--lsp-rx, 0deg)) rotateY(var(--lsp-ry, 0deg)) translateY(-6px);
    transition: transform .12s ease-out, box-shadow .2s ease;
}

/* Primary buttons: a light sweep on hover. */
.lsp .lsp-btn--primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.lsp .lsp-btn--primary::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .6s ease;
}
.lsp .lsp-btn--primary:hover::after {
    transform: translateX(120%);
}

/* Eyebrows draw a short accent line as they appear. */
.lsp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.lsp-anim .lsp-heading .lsp-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: width .6s cubic-bezier(.2, .7, .2, 1) .2s;
}
.lsp-anim .lsp-heading.lsp-reveal:not(.is-visible) .lsp-eyebrow::before {
    width: 0;
}
.lsp-head--center .lsp-eyebrow {
    justify-content: center;
}

/* Own header and footer: the embedded layout, without theme chrome. */
body.lsp-ownchrome #page,
body.lsp-ownchrome #page-content,
body.lsp-ownchrome #region-main-box,
body.lsp-ownchrome #region-main {
    margin: 0;
    padding: 0;
    max-width: none;
    border: 0;
    background: transparent;
}
body.lsp-ownchrome {
    overflow-x: hidden;
    overflow-x: clip;
}

/* Brand. */
.lsp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-family: var(--lsp-heading-font);
    font-weight: 700;
    font-size: 1.125rem;
    color: inherit;
}
.lsp .lsp-brand:hover {
    text-decoration: none;
}
.lsp-brand__logo {
    max-height: 40px;
    width: auto;
}
/* In a header the brand never runs into the buttons: a long site name ends with an ellipsis (the full name is the
   text of the link). */
.lsp .lsp-header .lsp-brand {
    min-width: 0;
    max-width: 100%;
}
.lsp .lsp-header .lsp-brand__mark,
.lsp .lsp-header .lsp-brand__logo {
    flex: none;
}
.lsp .lsp-header .lsp-brand__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lsp-brand__mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    font-weight: 800;
}

/* Header. */
.lsp .lsp-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 0;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid rgba(18, 21, 27, .08);
    transition: box-shadow .2s ease, background-color .2s ease;
}
.lsp .lsp-header.is-scrolled {
    box-shadow: 0 10px 30px -18px rgba(18, 21, 27, .35);
}
.lsp .lsp-header.lsp-tone-dark {
    background: rgba(14, 17, 22, .88);
    border-bottom-color: rgba(255, 255, 255, .08);
}
.lsp .lsp-header.lsp-tone-accent {
    background: var(--lsp-accent);
}
.lsp .lsp-header.lsp-tone-soft {
    background: var(--lsp-accent-soft);
}
.lsp-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 72px;
}
/* The links stay on one line. With the script, links that do not fit fold into the menu button (fitHeader() in
   frontend.js); without it (gallery thumbnails) the line scrolls sideways under a fade at its end, instead of
   wrapping under the brand. The padding, taken back by the margin, keeps the focus rings inside the scroller. */
.lsp-nav {
    flex: 1;
    min-width: 0;
    margin: -6px;
    padding: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}
.lsp-nav::-webkit-scrollbar {
    display: none;
}
.lsp-nav__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
}
.lsp-nav__list > li {
    flex: none;
}
.lsp-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    font-weight: 500;
    white-space: nowrap;
    color: inherit;
    transition: background-color .15s ease;
}
/* The fade only shows while the links overflow: a scroll timeline is inactive when there is nothing to scroll, and
   it goes away at the end of the line. */
@property --lsp-nav-fade {
    syntax: "<length>";
    inherits: false;
    initial-value: 0px;
}
@keyframes lsp-nav-fade {
    from {
        --lsp-nav-fade: 56px;
    }
    90% {
        --lsp-nav-fade: 56px;
    }
    to {
        --lsp-nav-fade: 0px;
    }
}
@supports (animation-timeline: scroll()) {
    .lsp .lsp-nav {
        -webkit-mask-image: linear-gradient(to right, #000000 calc(100% - var(--lsp-nav-fade)), transparent);
        mask-image: linear-gradient(to right, #000000 calc(100% - var(--lsp-nav-fade)), transparent);
        animation: lsp-nav-fade linear both;
        animation-timeline: scroll(self inline);
    }
    [dir="rtl"] .lsp .lsp-nav {
        -webkit-mask-image: linear-gradient(to left, #000000 calc(100% - var(--lsp-nav-fade)), transparent);
        mask-image: linear-gradient(to left, #000000 calc(100% - var(--lsp-nav-fade)), transparent);
    }
}
/* Tighter links, so more of them fit before they fold: on medium screens, and wherever the script finds that the
   links fit only this way. */
@media (max-width: 1200px) {
    .lsp-header__inner {
        gap: 16px;
    }
    .lsp-nav__link {
        padding: 0 10px;
    }
}
.lsp .lsp-header--tight .lsp-header__inner {
    column-gap: 16px;
}
.lsp .lsp-header--tight .lsp-nav__link {
    padding: 0 10px;
}
.lsp .lsp-nav__link:hover {
    text-decoration: none;
    background: color-mix(in srgb, currentColor 8%, transparent);
}
.lsp-header__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lsp .lsp-header .lsp-btn {
    min-height: 42px;
    padding: 0 18px;
    font-size: .9375rem;
}
.lsp .lsp-header .lsp-btn--secondary {
    border-color: color-mix(in srgb, currentColor 25%, transparent);
}

/* Dropdowns (language, user, mobile menu) built on details/summary. */
.lsp-dropdown {
    position: relative;
}
.lsp-dropdown > summary {
    list-style: none;
    cursor: pointer;
}
.lsp-dropdown > summary::-webkit-details-marker {
    display: none;
}
.lsp-dropdown__toggle,
.lsp-burger__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .9375rem;
    transition: background-color .15s ease;
}
.lsp-dropdown__toggle:hover,
.lsp-burger__toggle:hover,
.lsp-dropdown[open] > summary {
    background: color-mix(in srgb, currentColor 8%, transparent);
}
.lsp-dropdown__menu {
    position: absolute;
    z-index: 50;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    padding: 8px;
    background: #ffffff;
    color: #12151b;
    border: 1px solid #e6e8ec;
    border-radius: 14px;
    box-shadow: 0 24px 60px -20px rgba(18, 21, 27, .35);
    animation: lsp-pop .16s ease-out;
}
.lsp-dropdown__menu--end {
    left: auto;
    right: 0;
}
.lsp-dropdown__menu a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 9px;
    color: #12151b;
    font-weight: 500;
}
.lsp .lsp-dropdown__menu a:hover,
.lsp .lsp-dropdown__menu a[aria-current="true"] {
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    text-decoration: none;
}
.lsp-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.lsp-burger {
    display: none;
}
/* Links that do not fit beside the buttons move into the menu button (see fitHeader() in frontend.js). */
.lsp .lsp-header--folded .lsp-nav {
    display: none;
}
.lsp .lsp-header--folded .lsp-burger {
    display: block;
}
.lsp .lsp-header--folded .lsp-header__actions {
    margin-left: auto;
}
@media (min-width: 901px) {
    .lsp .lsp-header--folded .lsp-burger__cta {
        display: none;
    }
}

/* Header variants. */
.lsp .lsp-header--overlay {
    position: fixed;
    left: 0;
    right: 0;
    margin: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: transparent;
}
/* The transparent header takes the colours of the section under it: dark text over a light first section, white
   text over a dark one (the dark heroes, the dark and accent tones, a dark custom background). */
.lsp .lsp-header--overlay.lsp-tone-default.is-scrolled {
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    border-bottom-color: rgba(18, 21, 27, .08);
}
.lsp .lsp-header--overlay.lsp-tone-default:has(+ :is(.lsp-hero--aurora, .lsp-hero--editorial, .lsp-hero--video,
        .lsp-tone-dark, .lsp-tone-accent)) {
    color: #ffffff;
}
.lsp .lsp-header--overlay.lsp-tone-default:has(+ :is(.lsp-hero--aurora, .lsp-hero--editorial, .lsp-hero--video,
        .lsp-tone-dark, .lsp-tone-accent)).is-scrolled {
    background: rgba(14, 17, 22, .82);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    border-bottom-color: transparent;
}
.lsp .lsp-header--overlay + .lsp-section {
    padding-top: calc(72px + 96px);
}
/* Only the default tone uses the hero colours: the dark and accent tones keep their light text. */
.lsp .lsp-header--overlay + .lsp-hero--split.lsp-tone-default,
.lsp .lsp-header--overlay + .lsp-hero--split.lsp-tone-default .lsp-btn--secondary {
    color: var(--lsp-hero-text);
}
.lsp .lsp-header--overlay + .lsp-section:not(.lsp-hero--aurora):not(.lsp-hero--editorial) {
    padding-top: calc(72px + 72px);
}
.lsp-header--centered .lsp-header__inner {
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 12px;
    padding-bottom: 8px;
    gap: 8px 24px;
}
.lsp-header--centered .lsp-brand {
    order: 1;
    flex: 1 1 100%;
    justify-content: center;
    font-size: 1.375rem;
}
.lsp-header--centered .lsp-nav {
    order: 2;
    flex: 0 1 auto;
}
.lsp-header--centered .lsp-header__actions {
    order: 3;
    margin-left: 0;
}
.lsp .lsp-header--centered {
    position: relative;
}

/* Footer. */
.lsp .lsp-footer {
    padding: 72px 0 28px;
    border-top: 1px solid var(--lsp-border);
}
.lsp .lsp-footer.lsp-tone-dark {
    border-top-color: transparent;
}
.lsp-footer a {
    color: inherit;
}
.lsp .lsp-footer a:hover {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.lsp-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(160px, 1fr));
    gap: 40px;
    padding-bottom: 48px;
}
.lsp-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 360px;
}
.lsp-footer__about {
    color: var(--lsp-muted);
}
.lsp-footer__title {
    margin-bottom: 14px;
    font-family: var(--lsp-heading-font);
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: inherit;
}
.lsp-footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lsp-footer__col a {
    color: var(--lsp-muted);
}
.lsp-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding-top: 24px;
    border-top: 1px solid var(--lsp-border);
    font-size: .875rem;
    color: var(--lsp-muted);
}
.lsp-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}
/* Legal links wrap between them, never inside one ("Terms of | use"); one longer than the whole line ends with an
   ellipsis, its full text staying the text of the link. */
.lsp .lsp-footer__legal > li {
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
}
.lsp .lsp-footer__legal > li > a {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}
.lsp-footer__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
}
.lsp-footer__row .lsp-footer__legal {
    flex: 1;
    justify-content: center;
}
.lsp-footer__row .lsp-footer__copyright {
    font-size: .875rem;
    color: var(--lsp-muted);
}
.lsp .lsp-footer--simple {
    padding: 28px 0;
}
.lsp-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lsp .lsp-social__link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--lsp-border);
    color: inherit;
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.lsp .lsp-social__link:hover {
    background: var(--lsp-accent);
    border-color: var(--lsp-accent);
    color: var(--lsp-on-accent);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .lsp-header .lsp-nav,
    .lsp-header .lsp-header__cta,
    .lsp-usermenu__name {
        display: none;
    }
    .lsp-burger {
        display: block;
    }
    .lsp-header--centered .lsp-brand {
        flex: 0 1 auto;
    }
    .lsp-header--centered .lsp-header__inner {
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    .lsp-header--centered .lsp-header__actions {
        margin-left: auto;
    }
    .lsp-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lsp-footer__brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 520px) {
    .lsp-header .lsp-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .lsp-header__inner {
        gap: 8px;
        min-height: 64px;
    }
    .lsp-header__actions {
        gap: 2px;
    }
    .lsp .lsp-header .lsp-header__login {
        display: none;
    }
    .lsp-header .lsp-brand {
        min-width: 0;
        font-size: 1rem;
    }
    .lsp-header .lsp-brand__name {
        max-width: 44vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .lsp-header .lsp-dropdown__toggle,
    .lsp-header .lsp-burger__toggle {
        padding: 0 9px;
    }
    .lsp-footer__top {
        grid-template-columns: minmax(0, 1fr);
    }
}
.lsp-burger__login {
    display: none;
}
@media (max-width: 520px) {
    .lsp-burger__login {
        display: list-item;
    }
}

/* The brand mark stays visible on accent coloured headers and footers. */
.lsp-tone-accent .lsp-brand__mark {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}

/* sections/announcements.css */
/**
 * Letstudy Pages, announcements section.
 *
 * Scoped under .lsp-announcements, classes prefixed lsp-news. Colours come from the --lsp-* design
 * tokens; cards turn white with dark text on the soft and accent tones, like the course cards.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp-announcements {
    --lsp-news-bg: var(--lsp-page-bg);
    --lsp-news-tile: var(--lsp-accent-soft);
    --lsp-news-tile-ink: var(--lsp-soft-ink);
}
.lsp-announcements.lsp-tone-soft {
    --lsp-news-bg: var(--lsp-accent-soft);
    --lsp-news-tile: #ffffff;
}
.lsp-announcements.lsp-tone-accent {
    --lsp-news-bg: var(--lsp-accent);
    --lsp-news-tile: var(--lsp-on-accent);
    --lsp-news-tile-ink: var(--lsp-btn-ink);
}
.lsp-announcements.lsp-tone-dark {
    --lsp-news-bg: var(--lsp-dark);
}

/* Cards, shared by every layout. */
.lsp-announcements .lsp-news__card,
.lsp-announcements .lsp-news__lead,
.lsp-announcements .lsp-news__mini {
    position: relative;
    background: var(--lsp-card-bg);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-card-border);
    box-shadow: var(--lsp-card-shadow);
    background-clip: padding-box;
    transition: transform .2s ease, box-shadow .2s ease;
}
.lsp-announcements.lsp-tone-soft .lsp-news__card,
.lsp-announcements.lsp-tone-soft .lsp-news__lead,
.lsp-announcements.lsp-tone-soft .lsp-news__mini,
.lsp-announcements.lsp-tone-accent .lsp-news__card,
.lsp-announcements.lsp-tone-accent .lsp-news__lead,
.lsp-announcements.lsp-tone-accent .lsp-news__mini {
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-border: #e1e4e9;
    --lsp-surface: #ffffff;
    --lsp-accent-ink: var(--lsp-soft-ink);
    --lsp-news-tile: var(--lsp-accent-soft);
    --lsp-news-tile-ink: var(--lsp-soft-ink);
    background: #ffffff;
    color: #12151b;
}
.lsp-announcements .lsp-news__card:focus-within,
.lsp-announcements .lsp-news__lead:focus-within,
.lsp-announcements .lsp-news__mini:focus-within,
.lsp-announcements .lsp-news__entry:focus-within {
    outline: 3px solid var(--lsp-accent);
    outline-offset: 2px;
}
.lsp-announcements.lsp-tone-accent .lsp-news__entry:focus-within {
    outline-color: var(--lsp-on-accent);
}
.lsp-announcements .lsp-news__title a::after,
.lsp-announcements .lsp-news__leadtitle a::after,
.lsp-announcements .lsp-news__minititle::after {
    content: "";
    position: absolute;
    inset: 0;
}
.lsp-announcements .lsp-news__title a:focus-visible,
.lsp-announcements .lsp-news__leadtitle a:focus-visible,
.lsp-announcements .lsp-news__minititle:focus-visible {
    outline: none;
}
.lsp-announcements .lsp-news__meta {
    min-height: 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    font-size: .8125rem;
    color: var(--lsp-muted);
}
.lsp-announcements .lsp-news__meta .lsp-chip {
    align-self: auto;
}
.lsp-announcements .lsp-news__pin {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px 3px 8px;
    border-radius: 999px;
    background: var(--lsp-text);
    color: var(--lsp-surface);
    font-size: .8125rem;
    font-weight: 600;
}
.lsp-announcements.lsp-tone-accent .lsp-news__entry .lsp-news__pin {
    color: var(--lsp-btn-ink);
}
.lsp-announcements .lsp-news__pin .lsp-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}
.lsp-announcements .lsp-news__title {
    font-family: var(--lsp-heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: inherit;
    text-wrap: pretty;
}
.lsp-announcements .lsp-news__excerpt {
    color: var(--lsp-muted);
    font-size: .9375rem;
}
.lsp-announcements .lsp-news__mark {
    position: absolute;
    left: 24px;
    bottom: 22px;
    width: 52px;
    height: 52px;
    border-radius: var(--lsp-r-sm);
    display: grid;
    place-items: center;
    background: #ffffff;
    color: var(--lsp-soft-ink);
    box-shadow: 0 10px 24px -12px rgba(18, 21, 27, .4);
}
.lsp-announcements .lsp-news__mark .lsp-icon {
    width: 26px;
    height: 26px;
}
.lsp-announcements .lsp-cover--1 .lsp-news__mark,
.lsp-announcements .lsp-cover--2 .lsp-news__mark {
    background: color-mix(in srgb, #ffffff 18%, transparent);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, #ffffff 30%, transparent);
}
.lsp-announcements .lsp-cover--1 .lsp-news__mark {
    color: var(--lsp-on-accent);
}
.lsp-announcements .lsp-news__media img,
.lsp-announcements .lsp-news__leadmedia img {
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.lsp-announcements .lsp-news__card:hover img,
.lsp-announcements .lsp-news__lead:hover img {
    transform: scale(1.05);
}
.lsp-announcements .lsp-news__go {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--lsp-border);
    display: grid;
    place-items: center;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.lsp-announcements .lsp-news__go .lsp-icon {
    width: 18px;
    height: 18px;
    transition: transform .2s ease;
}
.lsp-announcements .lsp-news__entry:hover .lsp-news__go,
.lsp-announcements .lsp-news__mini:hover .lsp-news__go {
    background: var(--lsp-accent);
    border-color: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp-announcements.lsp-tone-accent .lsp-news__entry:hover .lsp-news__go {
    background: var(--lsp-on-accent);
    border-color: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp-announcements .lsp-news__entry:hover .lsp-news__go .lsp-icon,
.lsp-announcements .lsp-news__mini:hover .lsp-news__go .lsp-icon {
    transform: translateX(2px);
}
.lsp-announcements .lsp-news__date {
    position: relative;
    z-index: 1;
    flex: none;
    width: 64px;
    height: 68px;
    border-radius: var(--lsp-r);
    background: var(--lsp-news-tile);
    color: var(--lsp-news-tile-ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.05;
}
.lsp-announcements .lsp-news__day {
    font-family: var(--lsp-heading-font);
    font-weight: 800;
    font-size: 1.5rem;
    font-variant-numeric: tabular-nums;
}
.lsp-announcements .lsp-news__month {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
}

/* Cards. */
.lsp-announcements .lsp-news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 24px;
}
.lsp-announcements .lsp-news__card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--lsp-r-lg);
}
.lsp-announcements .lsp-news__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px -24px rgba(18, 21, 27, .35);
}
.lsp-announcements .lsp-news__media {
    height: 148px;
}
.lsp-announcements .lsp-news__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 24px 20px;
}
.lsp-announcements .lsp-news__foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--lsp-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: .875rem;
}
.lsp-announcements .lsp-news__byline {
    min-width: 0;
    color: var(--lsp-muted);
}
/* Author above the reading time, so a long name keeps the width of the card instead of a few letters. */
.lsp-announcements .lsp-news__foot .lsp-news__byline {
    display: flex;
    flex-direction: column;
    gap: 2px;
    white-space: nowrap;
    line-height: 1.35;
}
.lsp-announcements .lsp-news__foot .lsp-news__byline > [aria-hidden="true"] {
    display: none;
}
.lsp-announcements .lsp-news__bylinename,
.lsp-announcements .lsp-news__bylinetime {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lsp-announcements .lsp-news__bylinename {
    font-weight: 600;
    color: var(--lsp-text);
}
.lsp-announcements .lsp-news__more {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--lsp-accent-ink);
}
.lsp-announcements .lsp-news__more .lsp-icon {
    width: 16px;
    height: 16px;
    transition: transform .2s ease;
}
.lsp-announcements .lsp-news__card:hover .lsp-news__more .lsp-icon {
    transform: translateX(3px);
}

/* Timeline beside the heading. */
.lsp-announcements .lsp-news__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr);
    gap: 56px;
    align-items: start;
}
.lsp-announcements .lsp-news__intro {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.lsp-announcements .lsp-news__intro .lsp-heading {
    margin-bottom: 0;
}
.lsp-announcements .lsp-news__timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lsp-announcements .lsp-news__timeline::before {
    content: "";
    position: absolute;
    left: 31px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    border-radius: 2px;
    background: color-mix(in srgb, var(--lsp-accent) 24%, transparent);
}
.lsp-announcements.lsp-tone-accent .lsp-news__timeline::before {
    background: color-mix(in srgb, var(--lsp-on-accent) 35%, transparent);
}
.lsp-announcements.lsp-tone-dark .lsp-news__timeline::before {
    background: var(--lsp-border);
}
.lsp-announcements .lsp-news__entry {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 16px 0;
    border-radius: var(--lsp-r);
}
.lsp-announcements .lsp-news__entry .lsp-news__date {
    box-shadow: 0 0 0 6px var(--lsp-news-bg);
}
.lsp-announcements .lsp-news__entry:first-child .lsp-news__date {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp-announcements.lsp-tone-accent .lsp-news__entry:first-child .lsp-news__date {
    background: var(--lsp-dark);
    color: #ffffff;
}
.lsp-announcements .lsp-news__entrybody {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 4px;
}
.lsp-announcements .lsp-news__entry .lsp-news__title a::after {
    inset: -4px -8px;
    border-radius: var(--lsp-r);
}
.lsp-announcements .lsp-news__entry .lsp-news__title a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.lsp-announcements .lsp-news__entry .lsp-news__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.lsp-announcements .lsp-news__entry .lsp-news__byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin-top: 4px;
    font-size: .8125rem;
}
.lsp-announcements .lsp-news__entry .lsp-news__byline .lsp-chip {
    align-self: auto;
}
.lsp-announcements .lsp-news__entry .lsp-news__go {
    align-self: center;
}

/* Featured and list. */
.lsp-announcements .lsp-news__featured {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: stretch;
}
.lsp-announcements .lsp-news__lead {
    flex: 1.35 1 560px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--lsp-r-lg);
}
.lsp-announcements .lsp-news__lead:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 56px -28px rgba(18, 21, 27, .38);
}
.lsp-announcements .lsp-news__leadmedia {
    aspect-ratio: 16 / 7;
}
.lsp-announcements .lsp-news__mark--large {
    left: 36px;
    bottom: auto;
    top: 36px;
    width: 72px;
    height: 72px;
    border-radius: var(--lsp-r);
}
.lsp-announcements .lsp-news__mark--large .lsp-icon {
    width: 34px;
    height: 34px;
}
.lsp-announcements .lsp-news__leadbody {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 32px 36px 32px;
}
.lsp-announcements .lsp-news__leadtitle {
    font-family: var(--lsp-heading-font);
    font-weight: var(--lsp-heading-weight);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.18;
    letter-spacing: -.01em;
    color: inherit;
    text-wrap: pretty;
}
.lsp-announcements .lsp-news__leadexcerpt {
    font-size: 1.0625rem;
    color: var(--lsp-muted);
}
.lsp-announcements .lsp-news__leadfoot {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.lsp-announcements .lsp-news__author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .875rem;
}
.lsp-announcements .lsp-news__avatar {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    font-size: .8125rem;
    font-weight: 700;
}
.lsp-announcements .lsp-news__authortext {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    color: var(--lsp-muted);
}
.lsp-announcements .lsp-news__authorname {
    font-weight: 600;
    color: var(--lsp-text);
}
.lsp-announcements .lsp-news__cta {
    min-height: 46px;
    padding: 0 22px;
}
.lsp .lsp-announcements.lsp-tone-accent .lsp-news__lead .lsp-btn--primary {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp-announcements .lsp-news__side {
    flex: 1 1 340px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lsp-announcements .lsp-news__mini {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px 14px 14px;
    border-radius: var(--lsp-r);
}
.lsp-announcements .lsp-news__mini:hover {
    transform: translateX(4px);
}
.lsp-announcements .lsp-news__mini .lsp-news__date {
    width: 56px;
    height: 60px;
}
.lsp-announcements .lsp-news__mini .lsp-news__day {
    font-size: 1.3125rem;
}
.lsp-announcements .lsp-news__minibody {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lsp-announcements .lsp-news__minitag {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--lsp-accent-ink);
}
.lsp-announcements .lsp-news__minititle {
    font-family: var(--lsp-heading-font);
    font-weight: 700;
    font-size: 1.0625rem;
    line-height: 1.3;
}
.lsp-announcements .lsp-news__miniexcerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: .875rem;
    color: var(--lsp-muted);
}
.lsp-announcements .lsp-news__featured--stacked .lsp-news__lead {
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: wrap;
}
.lsp-announcements .lsp-news__featured--stacked .lsp-news__leadmedia {
    flex: 1 1 420px;
    aspect-ratio: auto;
    min-height: 320px;
}
.lsp-announcements .lsp-news__featured--stacked .lsp-news__leadbody {
    flex: 1.15 1 440px;
    padding: 40px 44px;
}
.lsp-announcements .lsp-news__featured--stacked .lsp-news__side {
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 20px;
}
.lsp-announcements .lsp-news__featured--stacked .lsp-news__mini {
    align-items: flex-start;
    padding: 20px 20px 20px 18px;
}
.lsp-announcements .lsp-news__featured--stacked .lsp-news__mini .lsp-news__go {
    align-self: center;
}

/* Small screens. */
@media (max-width: 900px) {
    .lsp-announcements .lsp-news__split {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
    .lsp-announcements .lsp-news__intro {
        position: static;
    }
}
@media (max-width: 640px) {
    .lsp-announcements .lsp-news__leadbody {
        padding: 24px 22px;
    }
    .lsp-announcements .lsp-news__leadmedia {
        aspect-ratio: 16 / 9;
    }
    .lsp-announcements .lsp-news__featured--stacked .lsp-news__leadmedia {
        min-height: 200px;
    }
    .lsp-announcements .lsp-news__featured--stacked .lsp-news__leadbody {
        padding: 24px 22px;
    }
    .lsp-announcements .lsp-news__mini .lsp-news__go {
        display: none;
    }
    .lsp-announcements .lsp-news__mark--large {
        left: 22px;
        top: 22px;
        width: 60px;
        height: 60px;
    }
    .lsp-announcements .lsp-news__entry {
        gap: 16px;
    }
    .lsp-announcements .lsp-news__entry .lsp-news__go {
        display: none;
    }
    .lsp-announcements .lsp-news__date {
        width: 56px;
        height: 60px;
    }
    .lsp-announcements .lsp-news__timeline::before {
        left: 27px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lsp-announcements .lsp-news__card:hover,
    .lsp-announcements .lsp-news__lead:hover,
    .lsp-announcements .lsp-news__mini:hover,
    .lsp-announcements .lsp-news__card:hover img,
    .lsp-announcements .lsp-news__lead:hover img,
    .lsp-announcements .lsp-news__go .lsp-icon,
    .lsp-announcements .lsp-news__more .lsp-icon {
        transform: none !important;
    }
}

/* sections/appdownload.css */
/**
 * Letstudy Pages, app download section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-appdownload. The phone is drawn in
 * CSS (frame, island, side keys and a small app screen in the accent colour), so it follows the design
 * tokens and needs no image. Store buttons are generic dark badges; the QR code is an inline SVG shown
 * on large screens only.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp .lsp-appdownload {
    --lsp-appdownload-phone: 270px;
}

/* Split: text beside the phone. */
.lsp .lsp-appdownload__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 56px 72px;
}
.lsp .lsp-appdownload__content {
    position: relative;
    z-index: 1;
    flex: 1 1 440px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.lsp .lsp-appdownload__heading {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 0;
}
.lsp .lsp-appdownload__points {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.lsp .lsp-appdownload__point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.0625rem;
    line-height: 1.5;
}
.lsp .lsp-appdownload__check {
    flex: none;
    width: 28px;
    height: 28px;
    margin-top: -1px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-appdownload__check .lsp-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.6;
}
.lsp .lsp-tone-accent .lsp-appdownload__check {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-appdownload__get {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 28px;
    margin-top: 4px;
}

/* Store buttons. */
.lsp .lsp-appdownload__stores {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.lsp .lsp-appdownload--split .lsp-appdownload__stores {
    flex-direction: column;
}
.lsp .lsp-appdownload__storeitem {
    margin: 0;
    padding: 0;
}
.lsp .lsp-appdownload .lsp-appdownload__store {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 188px;
    min-height: 56px;
    padding: 8px 20px 8px 16px;
    border-radius: 14px;
    background: #0b0d12;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 10px 24px -14px rgba(11, 13, 18, .6);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.lsp .lsp-appdownload .lsp-appdownload__store:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -16px rgba(11, 13, 18, .7);
}
.lsp .lsp-tone-dark .lsp-appdownload__store {
    border-color: rgba(255, 255, 255, .3);
}
.lsp .lsp-appdownload__storeicon {
    flex: none;
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.lsp .lsp-appdownload__store--android .lsp-appdownload__storeicon {
    fill: currentColor;
    stroke-width: 1.4;
}
.lsp .lsp-appdownload__storetext {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: start;
}
.lsp .lsp-appdownload__storeprefix {
    font-size: .75rem;
    opacity: .85;
}
.lsp .lsp-appdownload__storename {
    font-family: var(--lsp-heading-font);
    font-size: 1.1875rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

/* QR code. */
.lsp .lsp-appdownload__qr {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 290px;
    padding: 10px 16px 10px 10px;
    border-radius: var(--lsp-r-lg);
    background: #ffffff;
    color: #12151b;
    border: 1px solid #e1e4e9;
    box-shadow: 0 1px 2px rgba(18, 21, 27, .05), 0 14px 32px -20px rgba(18, 21, 27, .3);
}
.lsp .lsp-appdownload__code {
    flex: none;
    width: 104px;
    height: 104px;
    border-radius: calc(var(--lsp-r-sm) / 2);
    background: #ffffff;
    fill: #0b0d12;
}
.lsp .lsp-appdownload__scan {
    margin: 0;
    font-size: .875rem;
    line-height: 1.45;
    color: #545c6a;
}

/* Visual: glow, phone and a notification card. */
.lsp .lsp-appdownload__visual {
    position: relative;
    flex: 1 1 360px;
    min-width: 0;
    display: flex;
    justify-content: center;
    padding: 24px 0;
}
.lsp .lsp-appdownload__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(500px, 100%);
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle, transparent 0 56%, color-mix(in srgb, var(--lsp-accent) 18%, transparent) 56.5% 57.5%, transparent 58% 74%, color-mix(in srgb, var(--lsp-accent) 12%, transparent) 74.5% 75.5%, transparent 76%),
        radial-gradient(circle, color-mix(in srgb, var(--lsp-accent) 22%, transparent) 0 40%, transparent 70%);
}
.lsp .lsp-tone-accent .lsp-appdownload__glow {
    background:
        radial-gradient(circle, transparent 0 56%, rgba(255, 255, 255, .22) 56.5% 57.5%, transparent 58% 74%, rgba(255, 255, 255, .14) 74.5% 75.5%, transparent 76%),
        radial-gradient(circle, rgba(255, 255, 255, .2) 0 40%, transparent 70%);
}
.lsp .lsp-appdownload__toast {
    position: absolute;
    z-index: 2;
    bottom: 17%;
    left: max(0px, calc(50% - var(--lsp-appdownload-phone) / 2 - 96px));
    display: flex;
    align-items: center;
    gap: 12px;
    width: 210px;
    padding: 14px 16px;
    border-radius: var(--lsp-r-lg);
    background: #ffffff;
    box-shadow: 0 24px 48px -20px rgba(18, 21, 27, .35);
}
.lsp .lsp-appdownload__toasticon {
    flex: none;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}

/* The phone. */
.lsp .lsp-appdownload__phone {
    position: relative;
    z-index: 1;
    flex: none;
    width: var(--lsp-appdownload-phone);
    aspect-ratio: 9 / 19;
    padding: 11px;
    border-radius: 46px;
    background: linear-gradient(150deg, #3a404d 0%, #161a22 40%, #0b0d12 100%);
    box-shadow:
        inset 0 0 0 1.5px rgba(255, 255, 255, .14),
        inset 0 0 0 5px #0b0d12,
        0 50px 90px -40px rgba(18, 21, 27, .6),
        0 24px 40px -28px rgba(18, 21, 27, .5);
}
.lsp .lsp-appdownload__key {
    position: absolute;
    width: 4px;
    border-radius: 2px;
    background: #2a303c;
}
.lsp .lsp-appdownload__key--power {
    top: 25%;
    right: -3px;
    height: 70px;
}
.lsp .lsp-appdownload__key--volume {
    top: 19%;
    left: -3px;
    height: 46px;
    box-shadow: 0 60px 0 #2a303c;
}
.lsp .lsp-appdownload__island {
    position: absolute;
    top: 22px;
    left: 50%;
    width: 30%;
    height: 24px;
    border-radius: 999px;
    background: #0b0d12;
    transform: translateX(-50%);
}
.lsp .lsp-appdownload__screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 36px;
    background: #f3f5f8;
}
.lsp .lsp-appdownload__shot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* The drawn app screen. */
.lsp .lsp-appdownload__ui {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 14px 0;
    color: #12151b;
    font-size: 12px;
    line-height: 1.2;
}
.lsp .lsp-appdownload__statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 12px 0;
    min-height: 22px;
    font-weight: 700;
    font-size: 11px;
}
.lsp .lsp-appdownload__levels {
    display: flex;
    align-items: flex-end;
    gap: 2px;
}
.lsp .lsp-appdownload__levels span {
    width: 3px;
    height: 5px;
    border-radius: 1px;
    background: #12151b;
}
.lsp .lsp-appdownload__levels span:nth-child(2) {
    height: 7px;
}
.lsp .lsp-appdownload__levels span:nth-child(3) {
    height: 9px;
}
.lsp .lsp-appdownload__appbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}
.lsp .lsp-appdownload__logo {
    flex: none;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    font-family: var(--lsp-heading-font);
    font-weight: 800;
    font-size: 14px;
}
.lsp .lsp-appdownload__site {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--lsp-heading-font);
    font-weight: 700;
    font-size: 14px;
}
.lsp .lsp-appdownload__bell {
    width: 18px;
    height: 18px;
    color: #545c6a;
}
.lsp .lsp-appdownload__hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 14px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--lsp-accent) 0%, var(--lsp-accent-deep) 100%);
}
.lsp .lsp-appdownload__hero::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 16px solid rgba(255, 255, 255, .12);
}
.lsp .lsp-appdownload__bar {
    display: block;
    height: 7px;
    border-radius: 4px;
    background: #c9ced6;
}
.lsp .lsp-appdownload__bar--soft {
    background: #e1e4e9;
}
.lsp .lsp-appdownload__bar--light {
    background: rgba(255, 255, 255, .55);
}
.lsp .lsp-appdownload__bar--title {
    height: 11px;
    width: 82%;
    background: rgba(255, 255, 255, .92);
}
.lsp .lsp-appdownload__bar--w40 {
    width: 40%;
}
.lsp .lsp-appdownload__bar--w50 {
    width: 50%;
}
.lsp .lsp-appdownload__bar--w60 {
    width: 60%;
}
.lsp .lsp-appdownload__bar--w70 {
    width: 70%;
}
.lsp .lsp-appdownload__bar--w80 {
    width: 80%;
}
.lsp .lsp-appdownload__progress {
    display: block;
    height: 6px;
    margin-top: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .28);
}
.lsp .lsp-appdownload__progress span {
    display: block;
    width: 68%;
    height: 100%;
    border-radius: inherit;
    background: #ffffff;
}
.lsp .lsp-appdownload__label {
    padding: 4px 2px 0;
}
.lsp .lsp-appdownload__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(18, 21, 27, .06);
}
.lsp .lsp-appdownload__tile {
    flex: none;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
}
.lsp .lsp-appdownload__tile .lsp-icon {
    width: 17px;
    height: 17px;
}
.lsp .lsp-appdownload__tile--2 {
    background: #e7f6ec;
    color: #1b6b3a;
}
.lsp .lsp-appdownload__tile--3 {
    background: #fdf1df;
    color: #8a5300;
}
.lsp .lsp-appdownload__lines {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lsp .lsp-appdownload__ring {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: conic-gradient(var(--lsp-accent) var(--lsp-appdownload-ring, 0%), #e1e4e9 0);
    -webkit-mask: radial-gradient(circle, transparent 0 7px, #000 7.5px);
    mask: radial-gradient(circle, transparent 0 7px, #000 7.5px);
}
.lsp .lsp-appdownload__ring--30 {
    --lsp-appdownload-ring: 30%;
}
.lsp .lsp-appdownload__ring--68 {
    --lsp-appdownload-ring: 68%;
}
.lsp .lsp-appdownload__ring--100 {
    --lsp-appdownload-ring: 100%;
}
.lsp .lsp-appdownload__tabbar {
    margin-top: auto;
    margin-left: -14px;
    margin-right: -14px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 14px 18px 24px;
    background: #ffffff;
    border-top: 1px solid #e9ecf0;
}
.lsp .lsp-appdownload__tabbar span {
    width: 20px;
    height: 20px;
    border-radius: 7px;
    background: #d5d9df;
}
.lsp .lsp-appdownload__tabbar span.is-on {
    background: var(--lsp-accent);
}

/* Band: a coloured box with the top of the phone rising from its lower edge. */
.lsp .lsp-appdownload__band {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0 48px;
    padding: 0 56px;
    border-radius: var(--lsp-r-lg);
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    --lsp-text: var(--lsp-on-accent);
    --lsp-muted: var(--lsp-on-accent);
    --lsp-accent-ink: var(--lsp-on-accent);
    --lsp-appdownload-phone: 250px;
}
.lsp .lsp-tone-accent .lsp-appdownload__band {
    background: var(--lsp-dark);
    color: #f3f5f8;
    --lsp-text: #f3f5f8;
    --lsp-muted: #c4cad4;
    --lsp-accent-ink: var(--lsp-accent-light);
}
.lsp .lsp-tone-dark .lsp-appdownload__band {
    background: linear-gradient(135deg, var(--lsp-accent) 0%, var(--lsp-accent-deep) 100%);
}
.lsp .lsp-appdownload__rings {
    position: absolute;
    z-index: -1;
    right: -140px;
    bottom: -220px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 0 38%, rgba(255, 255, 255, .1) 38.5% 39.5%, transparent 40% 58%, rgba(255, 255, 255, .08) 58.5% 59.5%, transparent 60% 78%, rgba(255, 255, 255, .06) 78.5% 79.5%, transparent 80%),
        radial-gradient(circle, rgba(255, 255, 255, .14) 0 30%, transparent 62%);
}
.lsp .lsp-appdownload__band .lsp-appdownload__content {
    flex: 1 1 420px;
    gap: 24px;
    padding: 64px 0;
}
.lsp .lsp-appdownload__band .lsp-eyebrow {
    color: inherit;
    opacity: .9;
}
.lsp .lsp-appdownload__band .lsp-subtitle {
    color: inherit;
    opacity: .92;
}
.lsp .lsp-appdownload__points--inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 22px;
}
.lsp .lsp-appdownload__points--inline .lsp-appdownload__point {
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
}
.lsp .lsp-appdownload__band .lsp-appdownload__check {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, .2);
    color: inherit;
}
.lsp .lsp-appdownload__band .lsp-appdownload__check .lsp-icon {
    width: 14px;
    height: 14px;
}
.lsp .lsp-appdownload__band .lsp-appdownload__qr {
    border-color: transparent;
}
.lsp .lsp-appdownload__band .lsp-appdownload__code {
    width: 88px;
    height: 88px;
}
.lsp .lsp-appdownload__band .lsp-appdownload__visual {
    flex: 0 1 340px;
    align-self: flex-end;
    min-height: 360px;
    padding: 48px 0 0;
    overflow: hidden;
}
.lsp .lsp-appdownload__band .lsp-appdownload__phone {
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%) rotate(-4deg);
    transform-origin: 50% 0;
}

/* Small screens. */
@media (max-width: 900px) {
    .lsp .lsp-appdownload__band {
        padding: 0 32px;
    }
    .lsp .lsp-appdownload__band .lsp-appdownload__content {
        padding: 48px 0 8px;
    }
    .lsp .lsp-appdownload__band .lsp-appdownload__visual {
        flex-basis: 100%;
        min-height: 300px;
        padding-top: 32px;
    }
    .lsp .lsp-appdownload__band .lsp-appdownload__phone {
        top: 32px;
    }
}
@media (max-width: 760px) {
    /* A code to scan makes little sense on the phone that would scan it. */
    .lsp .lsp-appdownload__qr {
        display: none;
    }
}
@media (max-width: 520px) {
    .lsp .lsp-appdownload {
        --lsp-appdownload-phone: 236px;
    }
    .lsp .lsp-appdownload__inner {
        gap: 40px;
    }
    .lsp .lsp-appdownload__stores {
        flex-direction: column;
    }
    .lsp .lsp-appdownload__storeitem {
        display: flex;
    }
    .lsp .lsp-appdownload .lsp-appdownload__store {
        flex: 1;
    }
    .lsp .lsp-appdownload__toast {
        left: 0;
        bottom: 12%;
        width: 172px;
        padding: 12px;
    }
    .lsp .lsp-appdownload__band {
        padding: 0 22px;
        --lsp-appdownload-phone: 220px;
    }
    .lsp .lsp-appdownload__band .lsp-appdownload__visual {
        min-height: 250px;
    }
    .lsp .lsp-appdownload__rings {
        right: -280px;
        bottom: -300px;
    }
}

/* Motion: the notification card floats gently. */
.lsp-anim .lsp-appdownload__toast {
    animation: lsp-appdownload-float 6s ease-in-out infinite;
}
@keyframes lsp-appdownload-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .lsp-anim .lsp-appdownload__toast {
        animation: none;
    }
    .lsp .lsp-appdownload .lsp-appdownload__store,
    .lsp .lsp-appdownload .lsp-appdownload__store:hover {
        transition: none;
        transform: none;
    }
}
.lsp-anim-reduced .lsp-appdownload__toast {
    animation: none;
}

/* sections/awards.css */
/**
 * Letstudy Pages, awards section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-awards. The badges variant draws round
 * emblems: a seal with the image or icon of the award, framed by a laurel wreath (SVG drawn on the server) and
 * a ribbon with the year. The strip variant shows small seals with their text in one band.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp .lsp-awards {
    --lsp-awards-laurel: var(--lsp-accent);
    --lsp-awards-seal: var(--lsp-card-bg);
    --lsp-awards-ring: color-mix(in srgb, var(--lsp-accent) 30%, transparent);
    --lsp-awards-ink: var(--lsp-accent-ink);
}
.lsp .lsp-awards.lsp-tone-soft {
    --lsp-awards-seal: #ffffff;
    --lsp-awards-ink: var(--lsp-soft-ink);
}
.lsp .lsp-awards.lsp-tone-accent {
    --lsp-awards-laurel: var(--lsp-on-accent);
    --lsp-awards-seal: #ffffff;
    --lsp-awards-ring: color-mix(in srgb, var(--lsp-on-accent) 45%, transparent);
    --lsp-awards-ink: var(--lsp-accent-ink);
}
.lsp .lsp-awards.lsp-tone-dark {
    --lsp-awards-laurel: var(--lsp-accent-light);
    --lsp-awards-seal: #161a22;
    --lsp-awards-ring: color-mix(in srgb, var(--lsp-accent-light) 35%, transparent);
    --lsp-awards-ink: var(--lsp-accent-light);
}

/* Shared: lists, seals and links. */
.lsp .lsp-awards__grid,
.lsp .lsp-awards__strip {
    margin: 0;
    padding: 0;
    list-style: none;
}
.lsp .lsp-awards__seal {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--lsp-awards-seal);
    color: var(--lsp-awards-ink);
    box-shadow:
        inset 0 0 0 2px var(--lsp-awards-ring),
        inset 0 0 0 7px var(--lsp-awards-seal),
        inset 0 0 0 8px var(--lsp-awards-ring),
        0 18px 36px -20px rgba(18, 21, 27, .4);
}
.lsp .lsp-awards__image {
    width: 70%;
    height: 70%;
    object-fit: contain;
}
.lsp .lsp-awards__icon {
    width: 40%;
    height: 40%;
    stroke-width: 1.6;
}
.lsp .lsp-awards__link {
    color: inherit;
    text-decoration: none;
}
.lsp .lsp-awards .lsp-awards__link:hover {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* The whole item answers to a click on the link, which stays the only focusable element. */
.lsp .lsp-awards__item--link {
    position: relative;
}
.lsp .lsp-awards__item--link .lsp-awards__link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: var(--lsp-r-lg);
}
.lsp .lsp-awards__item--link .lsp-awards__link:focus-visible {
    outline: none;
}
.lsp .lsp-awards__item--link .lsp-awards__link:focus-visible::after {
    outline: 3px solid var(--lsp-accent);
    outline-offset: 4px;
}
.lsp .lsp-tone-accent .lsp-awards__item--link .lsp-awards__link:focus-visible::after {
    outline-color: var(--lsp-on-accent);
}

/* Badges: emblems in centred rows. */
.lsp .lsp-awards__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px 32px;
}
.lsp .lsp-awards__item {
    flex: 0 1 230px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.lsp .lsp-awards__emblem {
    position: relative;
    width: 168px;
    height: 168px;
    margin-bottom: 14px;
    display: grid;
    place-items: center;
    transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-awards__item:hover .lsp-awards__emblem {
    transform: translateY(-4px) rotate(-2deg);
}
.lsp .lsp-awards__laurel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.lsp .lsp-awards__stem {
    fill: none;
    stroke: var(--lsp-awards-laurel);
    stroke-width: 1.4;
    stroke-linecap: round;
    opacity: .7;
}
.lsp .lsp-awards__leaves {
    fill: var(--lsp-awards-laurel);
    opacity: .85;
}
.lsp .lsp-awards__emblem .lsp-awards__seal {
    width: 104px;
    height: 104px;
}
.lsp .lsp-awards__ribbon {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    min-width: 64px;
    padding: 3px 14px;
    border-radius: 6px;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    font-family: var(--lsp-heading-font);
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .04em;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 8px 18px -10px rgba(18, 21, 27, .5);
}
.lsp .lsp-awards__ribbon::before,
.lsp .lsp-awards__ribbon::after {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -5px;
    width: 12px;
    height: 14px;
    background: var(--lsp-accent-deep);
}
.lsp .lsp-awards__ribbon::before {
    left: -6px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
}
.lsp .lsp-awards__ribbon::after {
    right: -6px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
}
.lsp .lsp-tone-accent .lsp-awards__ribbon {
    background: var(--lsp-dark);
    color: #ffffff;
}
.lsp .lsp-tone-accent .lsp-awards__ribbon::before,
.lsp .lsp-tone-accent .lsp-awards__ribbon::after {
    background: #000000;
}
.lsp .lsp-tone-dark .lsp-awards__ribbon {
    color: var(--lsp-on-accent);
}
.lsp .lsp-awards__title {
    margin: 0;
    font-family: var(--lsp-heading-font);
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.3;
    color: inherit;
    text-wrap: balance;
}
.lsp .lsp-awards__issuer {
    margin: 0;
    font-size: .9375rem;
    line-height: 1.45;
    color: var(--lsp-muted);
}

/* Strip: a band with the heading at the start and small seals. */
.lsp .lsp-awards__band {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px 44px 32px;
    border-radius: var(--lsp-r-lg);
    background: var(--lsp-card-bg);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-card-border);
    box-shadow: var(--lsp-card-shadow);
}
.lsp .lsp-tone-soft .lsp-awards__band,
.lsp .lsp-tone-accent .lsp-awards__band {
    background: #ffffff;
    color: #12151b;
    border-color: transparent;
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-border: #e1e4e9;
    --lsp-accent-ink: var(--lsp-soft-ink);
    --lsp-awards-seal: var(--lsp-accent-soft);
    --lsp-awards-ink: var(--lsp-soft-ink);
    --lsp-awards-ring: color-mix(in srgb, var(--lsp-accent) 30%, transparent);
    box-shadow: 0 1px 2px rgba(18, 21, 27, .05), 0 24px 56px -30px rgba(18, 21, 27, .35);
}
.lsp .lsp-awards--strip.lsp-tone-default .lsp-awards__band {
    --lsp-awards-seal: var(--lsp-accent-soft);
    --lsp-awards-ink: var(--lsp-soft-ink);
}
.lsp .lsp-awards__intro .lsp-heading {
    margin-bottom: 0;
    gap: 10px;
}
.lsp .lsp-awards__intro .lsp-title {
    font-size: clamp(1.5rem, 2.4vw, 1.875rem);
}
.lsp .lsp-awards__intro .lsp-subtitle {
    font-size: 1rem;
}
.lsp .lsp-awards__strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    margin: 0 -20px;
    gap: 0;
    /* Clips the divider of the first item of each row, which sits just outside the list. */
    overflow: hidden;
}
.lsp .lsp-awards__chip {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
}
/* Dividers between neighbours, on the start edge of every item; the list clips those of the first column. */
.lsp .lsp-awards__chip::before {
    content: "";
    position: absolute;
    top: 18%;
    bottom: 18%;
    inset-inline-start: -1px;
    width: 1px;
    background: var(--lsp-border);
}
.lsp .lsp-awards__seal--small {
    flex: none;
    width: 60px;
    height: 60px;
    box-shadow: inset 0 0 0 1.5px var(--lsp-awards-ring), inset 0 0 0 5px var(--lsp-awards-seal), inset 0 0 0 6px var(--lsp-awards-ring);
}
.lsp .lsp-awards__seal--small .lsp-awards__icon {
    width: 26px;
    height: 26px;
}
.lsp .lsp-awards__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lsp .lsp-awards__chiptitle {
    font-weight: 700;
    line-height: 1.3;
}
.lsp .lsp-awards__meta {
    font-size: .875rem;
    line-height: 1.4;
    color: var(--lsp-muted);
}
.lsp .lsp-awards__chip.lsp-awards__item--link .lsp-awards__link::after {
    border-radius: var(--lsp-r);
}
.lsp .lsp-awards__chip.lsp-awards__item--link .lsp-awards__link:focus-visible::after {
    outline-offset: -3px;
}

/* Small screens. */
@media (max-width: 900px) {
    .lsp .lsp-awards__band {
        padding: 32px 28px 24px;
    }
}
@media (max-width: 520px) {
    .lsp .lsp-awards__grid {
        gap: 36px 16px;
    }
    .lsp .lsp-awards__item {
        flex-basis: calc(50% - 8px);
    }
    .lsp .lsp-awards__emblem {
        width: 132px;
        height: 132px;
    }
    .lsp .lsp-awards__emblem .lsp-awards__seal {
        width: 82px;
        height: 82px;
    }
    .lsp .lsp-awards__title {
        font-size: 1rem;
    }
    .lsp .lsp-awards__issuer {
        font-size: .875rem;
    }
    .lsp .lsp-awards__band {
        padding: 24px 18px;
    }
    .lsp .lsp-awards__strip {
        margin: 0;
    }
    .lsp .lsp-awards__chip {
        padding: 14px 4px;
    }
    .lsp .lsp-awards__chip::before {
        top: 0;
        bottom: auto;
        left: 6px;
        right: 6px;
        width: auto;
        height: 1px;
    }
    .lsp .lsp-awards__chip:first-child::before {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-awards__emblem,
    .lsp .lsp-awards__item:hover .lsp-awards__emblem {
        transition: none;
        transform: none;
    }
}
.lsp-anim-reduced .lsp-awards__item:hover .lsp-awards__emblem {
    transform: none;
}

/* sections/badges.css */
/**
 * Letstudy Pages, badges section.
 *
 * Scoped under .lsp-badges, classes prefixed lsp-badges. Badge images sit on a soft round medal that
 * takes one of four colours in turn; earned badges get a check and a ring in the accent colour.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Medal. */
.lsp .lsp-badges .lsp-badges__medal {
    position: relative;
    flex: none;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle, transparent 0 58%, color-mix(in srgb, var(--lsp-accent) 22%, transparent) 58.5% 60%, transparent 60.5%),
        var(--lsp-accent-soft);
    transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-badges .lsp-badges__medal--1 {
    background:
        radial-gradient(circle, transparent 0 58%, color-mix(in srgb, var(--lsp-accent) 30%, transparent) 58.5% 60%, transparent 60.5%),
        color-mix(in srgb, var(--lsp-accent) 18%, #ffffff);
}
.lsp .lsp-badges .lsp-badges__medal--2 {
    background:
        radial-gradient(circle, transparent 0 58%, rgba(18, 21, 27, .12) 58.5% 60%, transparent 60.5%),
        #f0f2f5;
}
.lsp .lsp-badges .lsp-badges__medal--3 {
    background:
        radial-gradient(circle, transparent 0 58%, color-mix(in srgb, var(--lsp-accent-deep) 30%, transparent) 58.5% 60%, transparent 60.5%),
        color-mix(in srgb, var(--lsp-accent-deep) 14%, #ffffff);
}
.lsp .lsp-badges.lsp-tone-dark .lsp-badges__medal {
    background:
        radial-gradient(circle, transparent 0 58%, color-mix(in srgb, var(--lsp-accent) 40%, transparent) 58.5% 60%, transparent 60.5%),
        #1d222c;
}
.lsp .lsp-badges .lsp-badges__img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(18, 21, 27, .18));
}
.lsp .lsp-badges .lsp-badges__item--earned .lsp-badges__medal {
    box-shadow: 0 0 0 3px var(--lsp-accent);
}
.lsp .lsp-badges.lsp-tone-accent .lsp-badges__item--earned .lsp-badges__medal {
    box-shadow: 0 0 0 3px var(--lsp-on-accent);
}
.lsp .lsp-badges .lsp-badges__check {
    position: absolute;
    right: 2px;
    top: 2px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 3px solid var(--lsp-badges-ring, var(--lsp-card-bg));
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-badges .lsp-badges__check .lsp-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.6;
}
.lsp .lsp-badges .lsp-badges__name {
    max-width: 100%;
    font-family: var(--lsp-heading-font);
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: break-word;
}
.lsp .lsp-badges .lsp-badges__earned {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    font-size: .75rem;
    font-weight: 700;
}
.lsp .lsp-badges .lsp-badges__summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: -12px 0 28px;
    color: var(--lsp-accent-ink);
    font-weight: 600;
    text-align: center;
}

/* Grid of cards. */
.lsp .lsp-badges .lsp-badges__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 20px;
}
.lsp .lsp-badges .lsp-badges__grid .lsp-badges__item {
    display: flex;
    min-width: 0;
}
.lsp .lsp-badges .lsp-badges__card {
    --lsp-badges-ring: var(--lsp-card-bg);
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px 22px 26px;
    border-radius: var(--lsp-r-lg);
    border: 1px solid var(--lsp-card-border);
    background: var(--lsp-card-bg);
    box-shadow: var(--lsp-card-shadow);
    color: var(--lsp-text);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}
.lsp .lsp-badges.lsp-tone-soft .lsp-badges__card,
.lsp .lsp-badges.lsp-tone-accent .lsp-badges__card {
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-badges-ring: #ffffff;
    border-color: transparent;
    background: #ffffff;
    color: #12151b;
}
.lsp .lsp-badges .lsp-badges__card:hover {
    color: var(--lsp-text);
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -26px rgba(18, 21, 27, .35);
}
.lsp .lsp-badges .lsp-badges__card:hover .lsp-badges__medal {
    transform: rotate(-6deg) scale(1.04);
}
.lsp .lsp-badges .lsp-badges__card .lsp-badges__medal {
    margin-bottom: 8px;
}
.lsp .lsp-badges .lsp-badges__card .lsp-badges__name {
    font-size: 1.125rem;
}
.lsp .lsp-badges .lsp-badges__text {
    color: var(--lsp-muted);
    font-size: .9375rem;
    line-height: 1.45;
}
.lsp .lsp-badges .lsp-badges__card .lsp-badges__earned {
    margin-top: auto;
}

/* Strip. It centres while it fits and scrolls sideways when it does not. */
.lsp .lsp-badges .lsp-badges__strip {
    display: flex;
    gap: 12px;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 6px 4px 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}
.lsp .lsp-badges .lsp-badges__strip .lsp-badges__item {
    flex: none;
    width: 156px;
    scroll-snap-align: start;
}
.lsp .lsp-badges .lsp-badges__chip {
    --lsp-badges-ring: var(--lsp-page-bg);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 8px 12px;
    border-radius: var(--lsp-r);
    color: inherit;
    text-align: center;
}
.lsp .lsp-badges.lsp-tone-soft .lsp-badges__chip {
    --lsp-badges-ring: var(--lsp-accent-soft);
}
.lsp .lsp-badges.lsp-tone-accent .lsp-badges__chip {
    --lsp-badges-ring: var(--lsp-accent);
}
.lsp .lsp-badges.lsp-tone-dark .lsp-badges__chip {
    --lsp-badges-ring: var(--lsp-dark);
}
.lsp .lsp-badges .lsp-badges__chip:hover {
    color: inherit;
    text-decoration: none;
}
.lsp .lsp-badges .lsp-badges__chip:hover .lsp-badges__medal {
    transform: translateY(-4px) rotate(-6deg);
}
.lsp .lsp-badges .lsp-badges__chip .lsp-badges__medal {
    width: 112px;
    height: 112px;
    margin-bottom: 4px;
}
.lsp .lsp-badges .lsp-badges__chip .lsp-badges__img {
    width: 72px;
    height: 72px;
}
.lsp .lsp-badges .lsp-badges__chip .lsp-badges__name {
    font-size: .9375rem;
}
.lsp .lsp-badges.lsp-tone-accent .lsp-badges__earned {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}

/* Small screens. */
@media (max-width: 640px) {
    .lsp .lsp-badges .lsp-badges__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .lsp .lsp-badges .lsp-badges__card {
        padding: 20px 8px 18px;
    }
    .lsp .lsp-badges .lsp-badges__medal {
        width: 96px;
        height: 96px;
    }
    .lsp .lsp-badges .lsp-badges__img {
        width: 64px;
        height: 64px;
    }
    .lsp .lsp-badges .lsp-badges__card .lsp-badges__name {
        font-size: .9375rem;
        letter-spacing: -.01em;
    }
    .lsp .lsp-badges .lsp-badges__text {
        font-size: .875rem;
    }
    .lsp .lsp-badges .lsp-badges__strip .lsp-badges__item {
        width: 128px;
    }
    .lsp .lsp-badges .lsp-badges__chip .lsp-badges__medal {
        width: 96px;
        height: 96px;
    }
    .lsp .lsp-badges .lsp-badges__chip .lsp-badges__img {
        width: 60px;
        height: 60px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-badges .lsp-badges__card:hover,
    .lsp .lsp-badges .lsp-badges__card:hover .lsp-badges__medal,
    .lsp .lsp-badges .lsp-badges__chip:hover .lsp-badges__medal {
        transform: none !important;
    }
}

/* sections/builder.css */
/**
 * Letstudy Pages, free section (builder).
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-builder. Rows are grids whose column widths
 * come from the layout; columns are flex columns of blocks. Every colour is a design token, so blocks follow the
 * section tone. Columns stack below 760px, four columns become two below 1000px.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp .lsp-builder {
    --lsp-builder-rowgap: clamp(48px, 6vw, 88px);
    --lsp-builder-flow: 20px;
    /* Translucent tints, so soft fills stay visible on any surface: the section, a panel, a card. */
    --lsp-builder-tint: color-mix(in srgb, var(--lsp-accent) 13%, transparent);
    --lsp-builder-tint-ink: var(--lsp-soft-ink);
    --lsp-builder-wash: color-mix(in srgb, var(--lsp-accent) 9%, transparent);
    --lsp-builder-panel: var(--lsp-builder-wash);
    --lsp-builder-solid: var(--lsp-accent);
    --lsp-builder-solid-ink: var(--lsp-on-accent);
}
.lsp .lsp-builder.lsp-tone-soft {
    --lsp-builder-panel: var(--lsp-surface);
}
.lsp .lsp-builder.lsp-tone-accent {
    --lsp-builder-tint: rgba(255, 255, 255, .07);
    --lsp-builder-tint-ink: var(--lsp-on-accent);
    --lsp-builder-wash: rgba(255, 255, 255, .06);
    --lsp-builder-solid: var(--lsp-on-accent);
    --lsp-builder-solid-ink: var(--lsp-btn-ink);
}
.lsp .lsp-builder.lsp-tone-dark {
    --lsp-builder-tint: color-mix(in srgb, var(--lsp-accent) 26%, transparent);
    --lsp-builder-tint-ink: var(--lsp-accent-light);
    --lsp-builder-wash: var(--lsp-surface-2);
}

/* Rows and columns. */
.lsp .lsp-builder__rows {
    display: flex;
    flex-direction: column;
    gap: var(--lsp-builder-rowgap);
}
.lsp .lsp-builder__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: var(--lsp-builder-gap);
    row-gap: var(--lsp-builder-gap);
    align-items: stretch;
}
.lsp .lsp-builder__row--gap-s {
    --lsp-builder-gap: 20px;
}
.lsp .lsp-builder__row--gap-m {
    --lsp-builder-gap: clamp(24px, 3.4vw, 40px);
}
.lsp .lsp-builder__row--gap-l {
    --lsp-builder-gap: clamp(32px, 6vw, 80px);
}
.lsp .lsp-builder__row--1-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.lsp .lsp-builder__row--2-1 {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
.lsp .lsp-builder__row--1-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}
.lsp .lsp-builder__row--1-1-1 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lsp .lsp-builder__row--1-1-1-1 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.lsp .lsp-builder__row--center {
    align-items: center;
}
.lsp .lsp-builder__row--bottom {
    align-items: end;
}
.lsp .lsp-builder__col {
    display: flex;
    flex-direction: column;
    gap: var(--lsp-builder-flow);
    min-width: 0;
    /* Headings and figures scale with the width of their column (cqi), with a viewport based fallback. */
    container-type: inline-size;
}
.lsp .lsp-builder__col:empty {
    display: block;
}
.lsp .lsp-builder__col--panel {
    padding: clamp(24px, 4vw, 48px);
    border-radius: var(--lsp-r-lg);
    background: var(--lsp-builder-panel);
    --lsp-accent-ink: var(--lsp-builder-tint-ink);
}
.lsp .lsp-builder:is(.lsp-tone-default, .lsp-tone-soft) .lsp-builder__col--panel {
    --lsp-accent-ink: color-mix(in srgb, var(--lsp-builder-tint-ink) 88%, #000000);
}
.lsp .lsp-builder.lsp-tone-accent .lsp-builder__col--panel {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.lsp .lsp-builder__col--panel:empty {
    min-height: 160px;
}

/* Card variant: the rows inside one rounded card. */
.lsp .lsp-builder__box {
    padding: clamp(28px, 5.5vw, 72px);
    border-radius: calc(var(--lsp-r-lg) + 8px);
    background: var(--lsp-card-bg);
    border: 1px solid var(--lsp-card-border);
    box-shadow: var(--lsp-card-shadow), 0 30px 60px -48px rgba(18, 21, 27, .45);
    color: var(--lsp-text);
}
.lsp .lsp-tone-soft .lsp-builder__box,
.lsp .lsp-builder.lsp-tone-soft .lsp-builder__box {
    background: var(--lsp-surface);
}
.lsp .lsp-builder.lsp-tone-accent .lsp-builder__box {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .3);
    box-shadow: none;
    color: inherit;
}

/* Spacing between blocks: headings sit close to what follows, buttons a little apart. */
.lsp .lsp-builder__block {
    min-width: 0;
    margin: 0;
}
.lsp .lsp-builder__block--heading + .lsp-builder__block--text,
.lsp .lsp-builder__block--heading + .lsp-builder__block--list {
    margin-top: -6px;
}
.lsp .lsp-builder__block--buttons {
    margin-top: 8px;
}
.lsp .lsp-builder__block--heading + .lsp-builder__block--buttons {
    margin-top: 4px;
}
.lsp .lsp-builder__block--icon + .lsp-builder__block--heading {
    margin-top: -2px;
}

/* Alignment and colour roles. */
.lsp .lsp-builder--left {
    text-align: start;
}
.lsp .lsp-builder--center {
    text-align: center;
}
.lsp .lsp-builder--right {
    text-align: end;
}
.lsp .lsp-builder--c-muted {
    color: var(--lsp-muted);
}
.lsp .lsp-builder--c-accent {
    color: var(--lsp-accent-ink);
}
.lsp .lsp-builder--c-on-accent {
    color: var(--lsp-on-accent);
}
.lsp .lsp-builder.lsp-tone-dark .lsp-builder--c-accent {
    color: var(--lsp-accent-light);
}

/* Heading. */
.lsp .lsp-builder__block--heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lsp .lsp-builder__block--heading.lsp-builder--center {
    align-items: center;
}
.lsp .lsp-builder__block--heading.lsp-builder--right {
    align-items: flex-end;
}
.lsp .lsp-builder__eyebrow {
    margin: 0;
}
.lsp .lsp-builder__heading {
    margin: 0;
    padding: 0;
    max-width: 24em;
    font-family: var(--lsp-heading-font);
    font-weight: var(--lsp-heading-weight);
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    font-size: clamp(1.75rem, 1rem + 4cqi, 2.75rem);
    line-height: 1.1;
    letter-spacing: -.015em;
    color: inherit;
    text-wrap: balance;
    overflow-wrap: break-word;
}
.lsp .lsp-builder__heading--s {
    font-size: 1.25rem;
    line-height: 1.3;
    letter-spacing: 0;
}
.lsp .lsp-builder__heading--m {
    font-size: clamp(1.4rem, 2.2vw, 1.875rem);
    font-size: clamp(1.3rem, .85rem + 2.2cqi, 1.875rem);
    line-height: 1.2;
    letter-spacing: -.01em;
}
.lsp .lsp-builder__heading--xl {
    max-width: 18em;
    font-size: clamp(2.4rem, 5.6vw, 4.5rem);
    font-size: clamp(2.1rem, .9rem + 6.4cqi, 4.5rem);
    line-height: 1.02;
    letter-spacing: -.03em;
}

/* Text. */
.lsp .lsp-builder__prose {
    font-size: 1.0625rem;
    line-height: 1.7;
    overflow-wrap: break-word;
}
.lsp .lsp-builder__prose--s {
    font-size: .9375rem;
    line-height: 1.65;
}
.lsp .lsp-builder__prose--l {
    font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
    line-height: 1.6;
}
.lsp .lsp-builder__prose.lsp-builder--center {
    margin-inline: auto;
    max-width: 44em;
}
.lsp .lsp-builder__prose.lsp-builder--right {
    margin-inline-start: auto;
    max-width: 44em;
}
.lsp .lsp-builder__prose > * + * {
    margin-top: 1em;
}
.lsp .lsp-builder__prose :where(h2, h3, h4) {
    margin-top: 1.4em;
    font-family: var(--lsp-heading-font);
    font-weight: var(--lsp-heading-weight);
    line-height: 1.2;
    color: var(--lsp-text);
}
.lsp .lsp-builder__prose :where(h2) {
    font-size: 1.6em;
}
.lsp .lsp-builder__prose :where(h3) {
    font-size: 1.3em;
}
.lsp .lsp-builder__prose :where(h4) {
    font-size: 1.1em;
}
.lsp .lsp-builder__prose :where(ul) {
    list-style: disc;
    padding-inline-start: 1.4em;
}
.lsp .lsp-builder__prose :where(ol) {
    list-style: decimal;
    padding-inline-start: 1.4em;
}
.lsp .lsp-builder__prose :where(li + li) {
    margin-top: .35em;
}
.lsp .lsp-builder__prose a {
    color: var(--lsp-accent-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.lsp .lsp-builder__prose :where(strong, b) {
    font-weight: 700;
    color: var(--lsp-text);
}
.lsp .lsp-builder__prose img {
    border-radius: var(--lsp-r);
}

/* Image. */
.lsp .lsp-builder__image {
    position: relative;
    overflow: hidden;
    border-radius: var(--lsp-r);
    background: var(--lsp-accent-soft);
}
.lsp .lsp-builder__image img {
    display: block;
    width: 100%;
    height: auto;
}
.lsp .lsp-builder__image--1-1,
.lsp .lsp-builder__image--4-3,
.lsp .lsp-builder__image--16-9 {
    aspect-ratio: 4 / 3;
}
.lsp .lsp-builder__image--1-1 {
    aspect-ratio: 1 / 1;
}
.lsp .lsp-builder__image--16-9 {
    aspect-ratio: 16 / 9;
}
.lsp .lsp-builder__image:not(.lsp-builder__image--auto) img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
}
.lsp .lsp-builder__image--auto {
    background: transparent;
}
.lsp .lsp-builder__image--r-none {
    border-radius: 0;
}
.lsp .lsp-builder__image--r-s {
    border-radius: var(--lsp-r-sm);
}
.lsp .lsp-builder__image--r-l {
    border-radius: var(--lsp-r-lg);
}
.lsp .lsp-builder__image--r-full {
    border-radius: 999px;
}
.lsp .lsp-builder__image--1-1.lsp-builder__image--r-full {
    border-radius: 50%;
}
.lsp .lsp-builder__image--empty {
    background:
        radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--lsp-accent) 26%, transparent) 0 14%, transparent 14.5%),
        radial-gradient(circle at 82% 18%, transparent 0 22%, color-mix(in srgb, var(--lsp-accent) 14%, transparent) 22.5% 23.5%, transparent 24%),
        radial-gradient(circle at 10% 100%, color-mix(in srgb, var(--lsp-accent) 22%, transparent) 0 34%, transparent 34.5%),
        linear-gradient(140deg, var(--lsp-accent-soft), color-mix(in srgb, var(--lsp-accent) 20%, var(--lsp-accent-soft)));
}
.lsp .lsp-builder.lsp-tone-soft .lsp-builder__image--empty {
    background-color: var(--lsp-surface);
}
.lsp .lsp-builder.lsp-tone-accent .lsp-builder__image--empty,
.lsp .lsp-builder.lsp-tone-dark .lsp-builder__image--empty {
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .2) 0 14%, transparent 14.5%),
        radial-gradient(circle at 10% 100%, rgba(255, 255, 255, .12) 0 34%, transparent 34.5%),
        linear-gradient(140deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
}
.lsp .lsp-builder__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--lsp-soft-ink);
    opacity: .55;
}
.lsp .lsp-builder.lsp-tone-accent .lsp-builder__placeholder,
.lsp .lsp-builder.lsp-tone-dark .lsp-builder__placeholder {
    color: var(--lsp-text);
}
.lsp .lsp-builder__placeholder .lsp-icon {
    width: clamp(32px, 14%, 56px);
    height: auto;
    aspect-ratio: 1;
    stroke-width: 1.4;
}

/* Buttons and text links on one line. */
.lsp .lsp-builder__block--buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}
.lsp .lsp-builder__block--buttons.lsp-builder--center {
    justify-content: center;
}
.lsp .lsp-builder__block--buttons.lsp-builder--right {
    justify-content: flex-end;
}
.lsp .lsp-builder__textlink .lsp-icon {
    transition: transform .2s ease;
}
.lsp .lsp-builder__textlink:hover .lsp-icon {
    transform: translateX(3px);
}

/* Icon. */
.lsp .lsp-builder__block--icon {
    display: flex;
}
.lsp .lsp-builder__block--icon.lsp-builder--center {
    justify-content: center;
}
.lsp .lsp-builder__block--icon.lsp-builder--right {
    justify-content: flex-end;
}
.lsp .lsp-builder__icon {
    --lsp-builder-icon: 56px;
    display: inline-grid;
    place-items: center;
    width: var(--lsp-builder-icon);
    height: var(--lsp-builder-icon);
    border-radius: var(--lsp-r-sm);
    background: var(--lsp-builder-tint);
    color: var(--lsp-builder-tint-ink);
}
.lsp .lsp-builder__icon .lsp-icon {
    width: 46%;
    height: 46%;
}
.lsp .lsp-builder__icon--s {
    --lsp-builder-icon: 40px;
}
.lsp .lsp-builder__icon--l {
    --lsp-builder-icon: 76px;
    border-radius: var(--lsp-r);
}
.lsp .lsp-builder__icon--solid {
    background: var(--lsp-builder-solid);
    color: var(--lsp-builder-solid-ink);
    box-shadow: 0 14px 28px -16px var(--lsp-accent-glow);
}

/* List. */
.lsp .lsp-builder__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.lsp .lsp-builder__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    line-height: 1.5;
}
.lsp .lsp-builder__itemtext {
    min-width: 0;
    overflow-wrap: break-word;
}
.lsp .lsp-builder__marker {
    flex: none;
    display: grid;
    place-items: center;
}
.lsp .lsp-builder__list--check .lsp-builder__marker {
    width: 24px;
    height: 24px;
    margin-top: -1px;
    border-radius: 50%;
    background: var(--lsp-builder-tint);
    color: var(--lsp-builder-tint-ink);
}
.lsp .lsp-builder__list--check .lsp-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.6;
}
.lsp .lsp-builder__list--dot .lsp-builder__marker {
    width: 8px;
    height: 8px;
    margin: .55em 4px 0;
    border-radius: 50%;
    background: var(--lsp-builder-solid);
}
.lsp .lsp-builder__list--number .lsp-builder__marker {
    width: 28px;
    height: 28px;
    margin-top: -2px;
    border-radius: 50%;
    background: var(--lsp-builder-solid);
    color: var(--lsp-builder-solid-ink);
    font-size: .8125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Video: a poster and a play link until the visitor presses play. */
.lsp .lsp-builder__video {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--lsp-r-lg);
    background: var(--lsp-dark);
    box-shadow: 0 30px 60px -36px rgba(18, 21, 27, .5);
    container-type: inline-size;
}
.lsp .lsp-builder__video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 10, 12, .62), rgba(8, 10, 12, .06) 60%);
    pointer-events: none;
}
.lsp .lsp-builder__poster,
.lsp .lsp-builder__file {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-builder__poster--drawn {
    background:
        radial-gradient(circle at 80% 16%, color-mix(in srgb, var(--lsp-accent-light) 40%, transparent), transparent 38%),
        radial-gradient(circle at 12% 96%, color-mix(in srgb, var(--lsp-accent) 75%, transparent), transparent 52%),
        linear-gradient(135deg, var(--lsp-accent-deep), var(--lsp-dark));
}
.lsp .lsp-builder__video:hover .lsp-builder__poster {
    transform: scale(1.03);
}
.lsp .lsp-builder__play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #ffffff;
}
.lsp .lsp-builder__play:hover,
.lsp .lsp-builder__play:focus {
    color: #ffffff;
    text-decoration: none;
}
.lsp .lsp-builder__play:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: -8px;
    border-radius: var(--lsp-r-lg);
}
.lsp .lsp-builder__playbtn {
    width: clamp(48px, 16cqi, 80px);
    height: clamp(48px, 16cqi, 80px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ffffff;
    color: var(--lsp-accent-ink);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55);
    transition: transform .25s ease;
}
.lsp .lsp-builder__playbtn svg {
    width: 40%;
    height: 40%;
    margin-left: 6%;
    fill: currentColor;
}
.lsp .lsp-builder__play:hover .lsp-builder__playbtn {
    transform: scale(1.07);
}
.lsp .lsp-builder__playlabel {
    max-width: calc(100% - 32px);
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(8, 10, 12, .6);
    font-size: .875rem;
    font-weight: 600;
    text-align: center;
}
.lsp .lsp-builder__notice {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 12px;
    z-index: 2;
    margin: 0;
    font-size: .75rem;
    color: rgba(255, 255, 255, .88);
    pointer-events: none;
}
@container (max-width: 360px) {
    .lsp .lsp-builder__playlabel,
    .lsp .lsp-builder__notice {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}
.lsp .lsp-builder__video .lsp-media__iframe {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    border: 0;
}
.lsp .lsp-builder__video.is-playing::after,
.lsp .lsp-builder__video.is-playing .lsp-builder__play,
.lsp .lsp-builder__video.is-playing .lsp-builder__notice,
.lsp .lsp-builder__video.is-playing .lsp-builder__poster {
    display: none;
}
.lsp .lsp-builder__video--file {
    aspect-ratio: auto;
    background: #000000;
}
.lsp .lsp-builder__video--file::after {
    display: none;
}
.lsp .lsp-builder__video--file .lsp-builder__file {
    position: static;
    display: block;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

/* Card. */
.lsp .lsp-builder__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    overflow: hidden;
    border-radius: var(--lsp-r-lg);
    background: var(--lsp-card-bg);
    border: 1px solid var(--lsp-card-border);
    box-shadow: var(--lsp-card-shadow);
    color: var(--lsp-text);
    transition: transform .2s ease, box-shadow .2s ease;
}
.lsp .lsp-builder__row--top .lsp-builder__col > .lsp-builder__card:only-child,
.lsp .lsp-builder__row--top .lsp-builder__col > .lsp-builder__card:last-child {
    flex: 1 1 auto;
}
.lsp .lsp-builder.lsp-tone-soft .lsp-builder__card--default {
    background: var(--lsp-surface);
}
.lsp .lsp-builder__card--soft {
    background: var(--lsp-builder-wash);
    border-color: transparent;
    box-shadow: none;
}
.lsp .lsp-builder__card--accent {
    background: var(--lsp-accent);
    border-color: transparent;
    color: var(--lsp-on-accent);
    --lsp-text: var(--lsp-on-accent);
    --lsp-muted: var(--lsp-on-accent);
    --lsp-accent-ink: var(--lsp-on-accent);
    --lsp-builder-tint: rgba(255, 255, 255, .18);
    --lsp-builder-tint-ink: var(--lsp-on-accent);
}
.lsp .lsp-builder.lsp-tone-accent .lsp-builder__card--accent {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
    --lsp-text: var(--lsp-btn-ink);
    --lsp-muted: var(--lsp-btn-ink);
    --lsp-accent-ink: var(--lsp-btn-ink);
    --lsp-builder-tint: var(--lsp-accent);
    --lsp-builder-tint-ink: var(--lsp-on-accent);
}
/* On the accent tone cards and boxes are outlined with a faint tint: stacked tints made white text fail AA. */
.lsp .lsp-builder.lsp-tone-accent .lsp-builder__card--default {
    background: transparent;
    border-color: rgba(255, 255, 255, .32);
    box-shadow: none;
}
.lsp .lsp-builder__card--center {
    align-items: center;
    text-align: center;
}
.lsp .lsp-builder__card--link:hover {
    transform: translateY(-4px);
    box-shadow: var(--lsp-card-shadow), 0 24px 44px -28px rgba(18, 21, 27, .45);
}
.lsp .lsp-builder__cardmedia {
    position: relative;
    margin: -28px -28px 6px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--lsp-accent-soft);
}
.lsp .lsp-builder__cardmedia img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-builder__card--link:hover .lsp-builder__cardmedia img {
    transform: scale(1.04);
}
.lsp .lsp-builder__cardicon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 4px;
    border-radius: var(--lsp-r-sm);
    background: var(--lsp-builder-tint);
    color: var(--lsp-builder-tint-ink);
}
.lsp .lsp-builder__cardtitle {
    margin: 0;
    font-family: var(--lsp-heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    color: inherit;
    overflow-wrap: break-word;
}
.lsp .lsp-builder__cardtext {
    margin: 0;
    color: var(--lsp-muted);
    overflow-wrap: break-word;
}
.lsp .lsp-builder__cardlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    font-weight: 600;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-builder__cardlink::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}
.lsp .lsp-builder__cardlink:hover {
    color: var(--lsp-accent-ink);
    text-decoration: none;
}
.lsp .lsp-builder__cardlink .lsp-icon {
    transition: transform .2s ease;
}
.lsp .lsp-builder__card--link:hover .lsp-builder__cardlink .lsp-icon {
    transform: translateX(4px);
}
.lsp .lsp-builder__card--link:focus-within {
    outline: 3px solid var(--lsp-accent);
    outline-offset: 2px;
}
.lsp .lsp-builder__card--link .lsp-builder__cardlink:focus-visible {
    outline: none;
}

/* Stat. */
.lsp .lsp-builder__stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lsp .lsp-builder__stat.lsp-builder--center {
    align-items: center;
}
.lsp .lsp-builder__stat.lsp-builder--right {
    align-items: flex-end;
}
.lsp .lsp-builder__statvalue {
    margin: 0;
    font-family: var(--lsp-heading-font);
    font-weight: 800;
    font-size: clamp(2.25rem, 4.4vw, 3.5rem);
    font-size: clamp(2rem, 1rem + 12cqi, 3.5rem);
    line-height: 1;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
.lsp .lsp-builder__statlabel {
    margin: 0;
    max-width: 22em;
    color: var(--lsp-muted);
    font-weight: 500;
}

/* Quote. */
.lsp .lsp-builder__quote {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.lsp .lsp-builder__quote.lsp-builder--center {
    align-items: center;
}
.lsp .lsp-builder__quotemark {
    width: 34px;
    height: auto;
    fill: var(--lsp-accent);
    opacity: .9;
}
.lsp .lsp-builder.lsp-tone-accent .lsp-builder__quotemark,
.lsp .lsp-builder__card--accent .lsp-builder__quotemark {
    fill: var(--lsp-on-accent);
    opacity: .7;
}
.lsp .lsp-builder.lsp-tone-dark .lsp-builder__quotemark {
    fill: var(--lsp-accent-light);
}
.lsp .lsp-builder__quotetext,
.lsp .lsp-builder__quotetext p {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--lsp-heading-font);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 600;
    font-style: normal;
    line-height: 1.4;
    color: inherit;
    text-wrap: pretty;
}
.lsp .lsp-builder__quote.lsp-builder--center .lsp-builder__quotetext {
    max-width: 34em;
}
.lsp .lsp-builder__quoteby {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: .9375rem;
}
.lsp .lsp-builder__quoteauthor {
    font-weight: 700;
}
.lsp .lsp-builder__quoterole {
    color: var(--lsp-muted);
}

/* Spacer and divider. */
.lsp .lsp-builder__spacer--s {
    height: 4px;
}
.lsp .lsp-builder__spacer--m {
    height: 20px;
}
.lsp .lsp-builder__spacer--l {
    height: 52px;
}
.lsp .lsp-builder__block--divider {
    height: 1px;
    margin: 6px 0;
    background: var(--lsp-border);
}

/* Custom colours. The server gives every custom colour a readable shade for each tone (--lsp-bc-<tone>, and
   --lsp-bt-<tone> for labels of filled buttons); the one of the tone of the section applies. */
.lsp .lsp-builder.lsp-tone-default .lsp-builder--c-custom {
    color: var(--lsp-bc-default);
}
.lsp .lsp-builder.lsp-tone-soft .lsp-builder--c-custom {
    color: var(--lsp-bc-soft);
}
.lsp .lsp-builder.lsp-tone-accent .lsp-builder--c-custom {
    color: var(--lsp-bc-accent);
}
.lsp .lsp-builder.lsp-tone-dark .lsp-builder--c-custom {
    color: var(--lsp-bc-dark);
}
.lsp .lsp-builder .lsp-builder__card.lsp-builder--c-custom,
.lsp .lsp-builder .lsp-builder__block--quote.lsp-builder--c-custom {
    --lsp-muted: currentColor;
    --lsp-accent-ink: currentColor;
    --lsp-builder-tint: color-mix(in srgb, currentColor 15%, transparent);
    --lsp-builder-tint-ink: currentColor;
}
.lsp .lsp-builder .lsp-builder__block--list.lsp-builder--c-custom {
    --lsp-builder-tint: color-mix(in srgb, currentColor 15%, transparent);
    --lsp-builder-tint-ink: currentColor;
}
.lsp .lsp-builder .lsp-builder__prose.lsp-builder--c-custom {
    --lsp-text: currentColor;
}
.lsp .lsp-builder .lsp-builder__card.lsp-builder__card--fill {
    background: var(--lsp-cbg);
    border-color: transparent;
    color: var(--lsp-ct);
    --lsp-text: var(--lsp-ct);
    --lsp-muted: var(--lsp-ct);
    --lsp-accent-ink: var(--lsp-ct);
    --lsp-builder-tint: color-mix(in srgb, var(--lsp-ct) 16%, transparent);
    --lsp-builder-tint-ink: var(--lsp-ct);
}
.lsp .lsp-builder .lsp-btn.lsp-builder__btn--fill,
.lsp .lsp-builder .lsp-btn.lsp-builder__btn--fill:hover {
    background: var(--lsp-bb);
    border-color: var(--lsp-bb);
    color: var(--lsp-bt);
}
.lsp .lsp-builder.lsp-tone-default .lsp-btn.lsp-builder__btn--ink,
.lsp .lsp-builder.lsp-tone-default .lsp-btn.lsp-builder__btn--ink:hover {
    color: var(--lsp-bt-default);
}
.lsp .lsp-builder.lsp-tone-soft .lsp-btn.lsp-builder__btn--ink,
.lsp .lsp-builder.lsp-tone-soft .lsp-btn.lsp-builder__btn--ink:hover {
    color: var(--lsp-bt-soft);
}
.lsp .lsp-builder.lsp-tone-accent .lsp-btn.lsp-builder__btn--ink,
.lsp .lsp-builder.lsp-tone-accent .lsp-btn.lsp-builder__btn--ink:hover {
    color: var(--lsp-bt-accent);
}
.lsp .lsp-builder.lsp-tone-dark .lsp-btn.lsp-builder__btn--ink,
.lsp .lsp-builder.lsp-tone-dark .lsp-btn.lsp-builder__btn--ink:hover {
    color: var(--lsp-bt-dark);
}
.lsp .lsp-builder .lsp-btn--secondary.lsp-builder--c-custom,
.lsp .lsp-builder .lsp-btn--secondary.lsp-builder--c-custom:hover {
    border-color: currentColor;
}
.lsp .lsp-builder .lsp-builder__icon.lsp-builder__icon--fill {
    background: var(--lsp-bi);
    color: var(--lsp-bio);
    box-shadow: 0 14px 28px -16px color-mix(in srgb, var(--lsp-bi) 60%, transparent);
}
.lsp .lsp-builder .lsp-builder__icon.lsp-builder__icon--tint {
    background: color-mix(in srgb, currentColor 14%, transparent);
}
.lsp .lsp-builder.lsp-tone-default .lsp-builder__icon--tint {
    color: var(--lsp-bc-default);
}
.lsp .lsp-builder.lsp-tone-soft .lsp-builder__icon--tint {
    color: var(--lsp-bc-soft);
}
.lsp .lsp-builder.lsp-tone-accent .lsp-builder__icon--tint {
    color: var(--lsp-bc-accent);
}
.lsp .lsp-builder.lsp-tone-dark .lsp-builder__icon--tint {
    color: var(--lsp-bc-dark);
}

/* Smaller screens: four columns become two, then every row is one column. */
@media (max-width: 999.98px) {
    .lsp .lsp-builder__row--1-1-1-1 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 759.98px) {
    .lsp .lsp-builder__row,
    .lsp .lsp-builder__row--1-1-1-1 {
        grid-template-columns: minmax(0, 1fr);
    }
    .lsp .lsp-builder__row--center,
    .lsp .lsp-builder__row--bottom {
        align-items: stretch;
    }
    .lsp .lsp-builder__col:empty {
        display: none;
    }
    /* Once columns stack, right aligned blocks start at the left edge like the rest; centred ones stay centred. */
    .lsp .lsp-builder--right {
        text-align: start;
    }
    .lsp .lsp-builder__block--heading.lsp-builder--right,
    .lsp .lsp-builder__stat.lsp-builder--right {
        align-items: flex-start;
    }
    .lsp .lsp-builder__block--buttons.lsp-builder--right,
    .lsp .lsp-builder__block--icon.lsp-builder--right {
        justify-content: flex-start;
    }
    .lsp .lsp-builder__prose.lsp-builder--right {
        margin-inline-start: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-builder__card--link:hover {
        transform: none;
    }
}

/* sections/catalogue.css */
/**
 * Letstudy Pages, course catalogue section.
 *
 * Scoped under .lsp-catalogue, classes prefixed lsp-catalogue. The controls are drawn here (search
 * field, sort select with its own arrow, chips), so no theme form style is needed. Colours come from
 * a few --lsp-catalog-* properties, set again for each section tone.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp .lsp-catalogue {
    --lsp-catalog-panel: var(--lsp-card-bg);
    --lsp-catalog-panel-border: var(--lsp-card-border);
    --lsp-catalog-field: var(--lsp-surface);
    --lsp-catalog-field-border: var(--lsp-border);
    --lsp-catalog-chip: var(--lsp-surface-2);
    --lsp-catalog-chip-text: var(--lsp-text);
    --lsp-catalog-chip-on: var(--lsp-accent);
    --lsp-catalog-chip-on-text: var(--lsp-on-accent);
}
.lsp .lsp-catalogue.lsp-tone-soft {
    --lsp-catalog-panel: #ffffff;
    --lsp-catalog-panel-border: transparent;
    --lsp-catalog-field: #f5f6f8;
    --lsp-catalog-field-border: #e1e4e9;
    --lsp-catalog-chip: #f0f2f5;
    --lsp-catalog-chip-text: #12151b;
}
.lsp .lsp-catalogue.lsp-tone-accent {
    --lsp-catalog-panel: color-mix(in srgb, var(--lsp-on-accent) 6%, transparent);
    --lsp-catalog-panel-border: color-mix(in srgb, var(--lsp-on-accent) 30%, transparent);
    --lsp-catalog-field: #ffffff;
    --lsp-catalog-field-border: transparent;
    --lsp-catalog-chip: transparent;
    --lsp-catalog-chip-line: color-mix(in srgb, var(--lsp-on-accent) 45%, transparent);
    --lsp-catalog-chip-text: var(--lsp-on-accent);
    --lsp-catalog-chip-on: var(--lsp-on-accent);
    --lsp-catalog-chip-on-text: var(--lsp-btn-ink);
}
.lsp .lsp-catalogue.lsp-tone-dark {
    --lsp-catalog-field: #0e1116;
    --lsp-catalog-chip: #1d222c;
}

/* Search, sort and categories. */
.lsp .lsp-catalogue .lsp-catalogue__panel,
.lsp .lsp-catalogue .lsp-catalogue__side {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px;
    border-radius: var(--lsp-r-lg);
    border: 1px solid var(--lsp-catalog-panel-border);
    background: var(--lsp-catalog-panel);
    box-shadow: var(--lsp-card-shadow);
}
.lsp .lsp-catalogue.lsp-tone-soft .lsp-catalogue__panel,
.lsp .lsp-catalogue.lsp-tone-soft .lsp-catalogue__side,
.lsp .lsp-catalogue.lsp-tone-accent .lsp-catalogue__panel,
.lsp .lsp-catalogue.lsp-tone-accent .lsp-catalogue__side {
    box-shadow: none;
}
.lsp .lsp-catalogue .lsp-catalogue__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    margin: 0;
}
.lsp .lsp-catalogue .lsp-catalogue__search {
    position: relative;
    flex: 1 1 320px;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: var(--lsp-r);
    border: 1px solid var(--lsp-catalog-field-border);
    background: var(--lsp-catalog-field);
    color: var(--lsp-text);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.lsp .lsp-catalogue.lsp-tone-accent .lsp-catalogue__search,
.lsp .lsp-catalogue.lsp-tone-accent .lsp-catalogue__select {
    color: #12151b;
}
.lsp .lsp-catalogue .lsp-catalogue__search:focus-within {
    border-color: var(--lsp-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--lsp-accent) 22%, transparent);
}
.lsp .lsp-catalogue.lsp-tone-accent .lsp-catalogue__search:focus-within {
    border-color: var(--lsp-on-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--lsp-on-accent) 45%, transparent);
}
.lsp .lsp-catalogue .lsp-catalogue__searchicon {
    flex: none;
    opacity: .6;
}
.lsp .lsp-catalogue .lsp-catalogue__input {
    flex: 1;
    min-width: 0;
    height: 50px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    outline: none;
}
.lsp .lsp-catalogue .lsp-catalogue__input::placeholder {
    color: inherit;
    opacity: .58;
}
.lsp .lsp-catalogue .lsp-catalogue__sort {
    position: relative;
    flex: 0 1 230px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
/* The label sits on the field, like a legend, so the bar stays one row. */
.lsp .lsp-catalogue .lsp-catalogue__sortlabel {
    position: absolute;
    top: 7px;
    left: 15px;
    z-index: 1;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--lsp-muted);
    pointer-events: none;
}
.lsp .lsp-catalogue.lsp-tone-accent .lsp-catalogue__sortlabel {
    color: #545c6a;
}
.lsp .lsp-catalogue .lsp-catalogue__sort::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    pointer-events: none;
    opacity: .7;
}
.lsp .lsp-catalogue.lsp-tone-accent .lsp-catalogue__sort::after {
    color: #12151b;
}
.lsp .lsp-catalogue .lsp-catalogue__select {
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 18px 42px 2px 14px;
    border-radius: var(--lsp-r);
    border: 1px solid var(--lsp-catalog-field-border);
    background: var(--lsp-catalog-field);
    box-shadow: none;
    color: var(--lsp-text);
    font: inherit;
    font-weight: 600;
    font-size: .9375rem;
    line-height: 1.2;
    appearance: none;
    cursor: pointer;
}
.lsp .lsp-catalogue .lsp-catalogue__select:focus-visible {
    outline: 3px solid var(--lsp-accent);
    outline-offset: 2px;
}
.lsp .lsp-catalogue .lsp-catalogue__submit {
    flex: none;
    min-height: 52px;
}
/* With the catalogue module the list follows the typing and the sort order at once. */
.lsp .lsp-catalogue.is-enhanced .lsp-catalogue__submit {
    display: none;
}

/* Category chips. */
.lsp .lsp-catalogue .lsp-catalogue__filters {
    min-width: 0;
}
.lsp .lsp-catalogue .lsp-catalogue__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lsp .lsp-catalogue .lsp-catalogue__chipitem {
    min-width: 0;
}
.lsp .lsp-catalogue .lsp-catalogue__chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--lsp-catalog-chip);
    box-shadow: inset 0 0 0 1px var(--lsp-catalog-chip-line, transparent);
    color: var(--lsp-catalog-chip-text);
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.lsp .lsp-catalogue .lsp-catalogue__chip:hover {
    color: var(--lsp-catalog-chip-text);
    background: color-mix(in srgb, var(--lsp-catalog-chip-on) 16%, var(--lsp-catalog-chip));
    text-decoration: none;
}
.lsp .lsp-catalogue .lsp-catalogue__chip[aria-current="true"] {
    background: var(--lsp-catalog-chip-on);
    color: var(--lsp-catalog-chip-on-text);
}
.lsp .lsp-catalogue.lsp-tone-accent .lsp-catalogue__chip:focus-visible {
    outline-color: var(--lsp-on-accent);
}

/* Number of results. */
.lsp .lsp-catalogue .lsp-catalogue__status {
    margin: 28px 0 16px;
    color: var(--lsp-muted);
    font-size: .9375rem;
    font-weight: 600;
}

/* Results. */
.lsp .lsp-catalogue .lsp-catalogue__results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 24px;
    transition: opacity .2s ease;
}
.lsp .lsp-catalogue.is-loading .lsp-catalogue__results {
    opacity: .45;
    pointer-events: none;
}
.lsp .lsp-catalogue .lsp-catalogue__item {
    min-width: 0;
    display: flex;
    scroll-margin-top: 96px;
}
.lsp .lsp-catalogue .lsp-catalogue__item:focus {
    outline: none;
}
.lsp .lsp-catalogue .lsp-catalogue__card {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--lsp-r);
    border: 1px solid var(--lsp-card-border);
    background: var(--lsp-card-bg);
    box-shadow: var(--lsp-card-shadow);
    color: var(--lsp-text);
    transition: transform .25s ease, box-shadow .25s ease;
}
.lsp .lsp-catalogue.lsp-tone-soft .lsp-catalogue__card,
.lsp .lsp-catalogue.lsp-tone-accent .lsp-catalogue__card {
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-border: #e1e4e9;
    --lsp-accent-ink: var(--lsp-soft-ink);
    border-color: transparent;
    background: #ffffff;
    color: #12151b;
}
.lsp .lsp-catalogue .lsp-catalogue__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px -26px rgba(18, 21, 27, .38);
}
.lsp .lsp-catalogue .lsp-catalogue__card:focus-within {
    outline: 3px solid var(--lsp-accent);
    outline-offset: 2px;
}
.lsp .lsp-catalogue.lsp-tone-accent .lsp-catalogue__card:focus-within {
    outline-color: var(--lsp-on-accent);
}
.lsp .lsp-catalogue .lsp-catalogue__media {
    flex: none;
    aspect-ratio: 16 / 9;
}
.lsp .lsp-catalogue .lsp-catalogue__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-catalogue .lsp-catalogue__card:hover .lsp-catalogue__img {
    transform: scale(1.05);
}
.lsp .lsp-catalogue .lsp-catalogue__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px 20px;
}
.lsp .lsp-catalogue .lsp-catalogue__category {
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-catalogue .lsp-catalogue__name {
    font-family: var(--lsp-heading-font);
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.3;
    color: inherit;
    overflow-wrap: break-word;
}
.lsp .lsp-catalogue .lsp-catalogue__link {
    color: inherit;
}
.lsp .lsp-catalogue .lsp-catalogue__link:hover {
    color: inherit;
    text-decoration: none;
}
.lsp .lsp-catalogue .lsp-catalogue__link:focus-visible {
    outline: none;
}
.lsp .lsp-catalogue .lsp-catalogue__link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}
.lsp .lsp-catalogue .lsp-catalogue__summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    color: var(--lsp-muted);
    font-size: .9375rem;
}
.lsp .lsp-catalogue .lsp-catalogue__foot {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.lsp .lsp-catalogue .lsp-catalogue__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: var(--lsp-muted);
    font-size: .875rem;
}
.lsp .lsp-catalogue .lsp-catalogue__date .lsp-icon {
    width: 16px;
    height: 16px;
}
.lsp .lsp-catalogue .lsp-catalogue__go {
    flex: none;
    width: 38px;
    height: 38px;
    margin-left: auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--lsp-border);
    color: var(--lsp-text);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.lsp .lsp-catalogue .lsp-catalogue__go .lsp-icon {
    width: 18px;
    height: 18px;
    transition: transform .2s ease;
}
.lsp .lsp-catalogue .lsp-catalogue__card:hover .lsp-catalogue__go {
    background: var(--lsp-accent);
    border-color: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-catalogue .lsp-catalogue__card:hover .lsp-catalogue__go .lsp-icon {
    transform: translateX(2px);
}

/* No results. */
.lsp .lsp-catalogue .lsp-catalogue__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 48px 24px;
    border-radius: var(--lsp-r-lg);
    border: 1.5px dashed var(--lsp-border);
    text-align: center;
}
.lsp .lsp-catalogue .lsp-catalogue__empty[hidden] {
    display: none;
}
.lsp .lsp-catalogue .lsp-catalogue__emptyicon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
}
.lsp .lsp-catalogue.lsp-tone-soft .lsp-catalogue__emptyicon {
    background: #ffffff;
}
.lsp .lsp-catalogue.lsp-tone-accent .lsp-catalogue__emptyicon {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-catalogue .lsp-catalogue__emptyicon .lsp-icon {
    width: 26px;
    height: 26px;
}
.lsp .lsp-catalogue .lsp-catalogue__emptytext {
    max-width: 30em;
    font-size: 1.0625rem;
    font-weight: 600;
}

/* Load more. */
.lsp .lsp-catalogue .lsp-catalogue__more {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}
.lsp .lsp-catalogue .lsp-catalogue__more[hidden] {
    display: none;
}
.lsp .lsp-catalogue .lsp-catalogue__morebtn {
    min-width: 220px;
}
.lsp .lsp-catalogue .lsp-catalogue__morebtn[aria-disabled="true"] {
    cursor: progress;
}
.lsp .lsp-catalogue .lsp-catalogue__spinner {
    display: none;
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    animation: lsp-spin .7s linear infinite;
}
.lsp .lsp-catalogue.is-loading .lsp-catalogue__search .lsp-catalogue__spinner,
.lsp .lsp-catalogue .lsp-catalogue__morebtn.is-loading .lsp-catalogue__spinner {
    display: block;
}

/* List: the controls in a side panel, the courses as rows. */
.lsp .lsp-catalogue .lsp-catalogue__layout {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    align-items: start;
    gap: 40px;
}
.lsp .lsp-catalogue .lsp-catalogue__side .lsp-catalogue__toolbar {
    flex-direction: column;
}
.lsp .lsp-catalogue .lsp-catalogue__side .lsp-catalogue__search,
.lsp .lsp-catalogue .lsp-catalogue__side .lsp-catalogue__sort {
    flex: none;
}
.lsp .lsp-catalogue .lsp-catalogue__sidetitle {
    margin-bottom: 10px;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--lsp-muted);
}
.lsp .lsp-catalogue.lsp-tone-accent .lsp-catalogue__sidetitle {
    color: var(--lsp-on-accent);
}
.lsp .lsp-catalogue .lsp-catalogue__side .lsp-catalogue__chips {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 4px;
}
.lsp .lsp-catalogue .lsp-catalogue__side .lsp-catalogue__chip {
    display: flex;
    width: 100%;
    border-radius: var(--lsp-r-sm);
    background: transparent;
    padding: 10px 14px;
}
.lsp .lsp-catalogue .lsp-catalogue__side .lsp-catalogue__chip:hover {
    background: var(--lsp-catalog-chip);
}
.lsp .lsp-catalogue .lsp-catalogue__side .lsp-catalogue__chip[aria-current="true"] {
    background: var(--lsp-catalog-chip-on);
    color: var(--lsp-catalog-chip-on-text);
}
.lsp .lsp-catalogue .lsp-catalogue__main .lsp-catalogue__status {
    margin-top: 0;
}
.lsp .lsp-catalogue.lsp-catalogue--list .lsp-catalogue__results {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}
.lsp .lsp-catalogue.lsp-catalogue--list .lsp-catalogue__card {
    flex-direction: row;
}
.lsp .lsp-catalogue.lsp-catalogue--list .lsp-catalogue__media {
    width: 34%;
    max-width: 260px;
    aspect-ratio: auto;
    min-height: 150px;
}
.lsp .lsp-catalogue.lsp-catalogue--list .lsp-catalogue__body {
    padding: 20px 22px;
}
.lsp .lsp-catalogue.lsp-catalogue--list .lsp-catalogue__summary {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.lsp .lsp-catalogue.lsp-catalogue--list .lsp-catalogue__card:hover {
    transform: translateX(4px);
}

/* Small screens. */
@media (max-width: 900px) {
    .lsp .lsp-catalogue .lsp-catalogue__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    .lsp .lsp-catalogue .lsp-catalogue__side .lsp-catalogue__toolbar {
        flex-direction: row;
    }
    .lsp .lsp-catalogue .lsp-catalogue__side .lsp-catalogue__search {
        flex: 1 1 260px;
    }
    .lsp .lsp-catalogue .lsp-catalogue__side .lsp-catalogue__sort {
        flex: 0 1 220px;
    }
    .lsp .lsp-catalogue .lsp-catalogue__side .lsp-catalogue__chips {
        flex-direction: row;
    }
    .lsp .lsp-catalogue .lsp-catalogue__side .lsp-catalogue__chip {
        width: auto;
        border-radius: 999px;
        background: var(--lsp-catalog-chip);
    }
}
@media (max-width: 640px) {
    .lsp .lsp-catalogue .lsp-catalogue__panel,
    .lsp .lsp-catalogue .lsp-catalogue__side {
        padding: 14px;
        gap: 14px;
    }
    .lsp .lsp-catalogue .lsp-catalogue__search,
    .lsp .lsp-catalogue .lsp-catalogue__sort,
    .lsp .lsp-catalogue .lsp-catalogue__side .lsp-catalogue__search,
    .lsp .lsp-catalogue .lsp-catalogue__side .lsp-catalogue__sort {
        flex: 1 1 100%;
    }
    .lsp .lsp-catalogue .lsp-catalogue__submit {
        flex: 1 1 100%;
    }
    /* The chips scroll sideways rather than taking half of the screen. */
    .lsp .lsp-catalogue .lsp-catalogue__chips,
    .lsp .lsp-catalogue .lsp-catalogue__side .lsp-catalogue__chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -14px;
        padding: 2px 14px 6px;
        scrollbar-width: none;
        scroll-padding: 0 14px;
    }
    .lsp .lsp-catalogue .lsp-catalogue__chips::-webkit-scrollbar {
        display: none;
    }
    .lsp .lsp-catalogue .lsp-catalogue__chipitem {
        flex: none;
    }
    .lsp .lsp-catalogue .lsp-catalogue__status {
        margin: 22px 0 12px;
    }
    .lsp .lsp-catalogue .lsp-catalogue__results {
        gap: 16px;
    }
    /* Lower cards on phones, so a page of courses is not a long scroll. */
    .lsp .lsp-catalogue.lsp-catalogue--grid .lsp-catalogue__media {
        aspect-ratio: 2 / 1;
    }
    .lsp .lsp-catalogue.lsp-catalogue--grid .lsp-catalogue__body {
        gap: 6px;
        padding: 14px 16px 16px;
    }
    .lsp .lsp-catalogue.lsp-catalogue--grid .lsp-catalogue__summary {
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    .lsp .lsp-catalogue.lsp-catalogue--grid .lsp-catalogue__foot {
        padding-top: 4px;
    }
    .lsp .lsp-catalogue.lsp-catalogue--list .lsp-catalogue__results {
        gap: 12px;
    }
    .lsp .lsp-catalogue.lsp-catalogue--list .lsp-catalogue__media {
        width: 108px;
        min-height: 0;
    }
    .lsp .lsp-catalogue.lsp-catalogue--list .lsp-catalogue__body {
        gap: 6px;
        padding: 14px 14px 14px 16px;
    }
    .lsp .lsp-catalogue.lsp-catalogue--list .lsp-catalogue__name {
        font-size: 1.0625rem;
    }
    .lsp .lsp-catalogue.lsp-catalogue--list .lsp-catalogue__summary {
        display: none;
    }
    .lsp .lsp-catalogue.lsp-catalogue--list .lsp-catalogue__foot {
        padding-top: 4px;
    }
    .lsp .lsp-catalogue.lsp-catalogue--list .lsp-catalogue__go {
        width: 32px;
        height: 32px;
    }
    .lsp .lsp-catalogue .lsp-catalogue__morebtn {
        width: 100%;
    }
}

/* Reduced motion: no movement; the spinners stay still. */
@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-catalogue .lsp-catalogue__card:hover,
    .lsp .lsp-catalogue.lsp-catalogue--list .lsp-catalogue__card:hover,
    .lsp .lsp-catalogue .lsp-catalogue__card:hover .lsp-catalogue__img,
    .lsp .lsp-catalogue .lsp-catalogue__card:hover .lsp-catalogue__go .lsp-icon {
        transform: none !important;
    }
    .lsp .lsp-catalogue .lsp-catalogue__spinner {
        animation: none;
        border-right-color: currentColor;
        opacity: .5;
    }
}

/* sections/categories.css */
/**
 * Letstudy Pages, course categories section.
 *
 * Scoped under .lsp-categories, classes prefixed lsp-cat and lsp-catchip. Each tile takes one of five
 * colours in turn (accent, soft, dark, card, deep); a tile that would match the section tone switches
 * to a colour that stands out from it.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Tiles. */
.lsp-categories .lsp-cats__tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.lsp-categories .lsp-cat {
    --lsp-cat-bg: var(--lsp-accent);
    --lsp-cat-text: var(--lsp-on-accent);
    --lsp-cat-icon-bg: var(--lsp-on-accent);
    --lsp-cat-icon: var(--lsp-btn-ink);
    --lsp-cat-chip: transparent;
    --lsp-cat-chip-line: color-mix(in srgb, var(--lsp-on-accent) 45%, transparent);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    flex: 1 1 260px;
    min-width: 0;
    min-height: 240px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    border-radius: var(--lsp-r-lg);
    border: 1px solid transparent;
    background: var(--lsp-cat-bg);
    color: var(--lsp-cat-text);
    background-clip: padding-box;
    transition: transform .25s ease, box-shadow .25s ease;
}
.lsp-categories .lsp-cat--large {
    flex: 2 1 460px;
}
.lsp-categories .lsp-cat--soft {
    --lsp-cat-bg: var(--lsp-accent-soft);
    --lsp-cat-text: #12151b;
    --lsp-cat-icon-bg: #ffffff;
    --lsp-cat-icon: var(--lsp-soft-ink);
    --lsp-cat-chip: #ffffff;
}
.lsp-categories .lsp-cat--dark {
    --lsp-cat-bg: #12151b;
    --lsp-cat-text: #ffffff;
    --lsp-cat-icon-bg: #232834;
    --lsp-cat-icon: var(--lsp-accent-light);
    --lsp-cat-chip: rgba(255, 255, 255, .12);
}
.lsp-categories .lsp-cat--grey {
    --lsp-cat-bg: var(--lsp-card-bg);
    --lsp-cat-text: var(--lsp-text);
    --lsp-cat-icon-bg: var(--lsp-accent-soft);
    --lsp-cat-icon: var(--lsp-soft-ink);
    --lsp-cat-chip: var(--lsp-surface-2);
    border-color: var(--lsp-card-border);
    box-shadow: var(--lsp-card-shadow);
}
.lsp-categories .lsp-cat--deep {
    --lsp-cat-bg: var(--lsp-accent-deep);
    --lsp-cat-text: #ffffff;
    --lsp-cat-icon-bg: rgba(255, 255, 255, .14);
    --lsp-cat-icon: #ffffff;
    --lsp-cat-chip: rgba(255, 255, 255, .14);
}
.lsp-categories.lsp-tone-soft .lsp-cat--soft,
.lsp-categories.lsp-tone-soft .lsp-cat--grey {
    --lsp-cat-bg: #ffffff;
    --lsp-cat-text: #12151b;
    --lsp-cat-icon-bg: var(--lsp-accent-soft);
    --lsp-cat-chip: #f0f2f5;
    border-color: transparent;
}
/* On the accent tone: white instead of accent, glass instead of card. */
.lsp-categories.lsp-tone-accent .lsp-cat--accent {
    --lsp-cat-bg: #ffffff;
    --lsp-cat-text: #12151b;
    --lsp-cat-icon-bg: var(--lsp-accent);
    --lsp-cat-icon: var(--lsp-on-accent);
    --lsp-cat-chip: #f0f2f5;
}
.lsp-categories.lsp-tone-accent .lsp-cat--grey {
    --lsp-cat-bg: color-mix(in srgb, var(--lsp-on-accent) 12%, transparent);
    --lsp-cat-text: var(--lsp-on-accent);
    --lsp-cat-icon-bg: var(--lsp-on-accent);
    --lsp-cat-icon: var(--lsp-btn-ink);
    --lsp-cat-chip: transparent;
    --lsp-cat-chip-line: color-mix(in srgb, var(--lsp-on-accent) 45%, transparent);
    border-color: color-mix(in srgb, var(--lsp-on-accent) 24%, transparent);
    box-shadow: none;
}
/* On the dark tone the soft colour is dark too: a deep accent tint with light text. */
.lsp-categories.lsp-tone-dark .lsp-cat--soft {
    --lsp-cat-bg: color-mix(in srgb, var(--lsp-accent) 28%, #12151b);
    --lsp-cat-text: #ffffff;
    --lsp-cat-icon-bg: rgba(255, 255, 255, .12);
    --lsp-cat-icon: var(--lsp-accent-light);
    --lsp-cat-chip: rgba(255, 255, 255, .12);
}
.lsp-categories.lsp-tone-dark .lsp-cat--dark {
    --lsp-cat-bg: #1d222c;
    border-color: #2a303c;
}
.lsp-categories .lsp-cat:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 56px -28px rgba(18, 21, 27, .45);
}
.lsp-categories .lsp-cat:focus-within {
    outline: 3px solid var(--lsp-accent);
    outline-offset: 3px;
}
.lsp-categories.lsp-tone-accent .lsp-cat:focus-within {
    outline-color: var(--lsp-on-accent);
}
.lsp-categories .lsp-cat__art {
    position: absolute;
    z-index: -1;
    right: -60px;
    bottom: -60px;
    width: 220px;
    height: 220px;
    pointer-events: none;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.lsp-categories .lsp-cat--large .lsp-cat__art {
    width: 300px;
    height: 300px;
    right: -70px;
    bottom: -90px;
}
.lsp-categories .lsp-cat__ring {
    fill: none;
    stroke: currentColor;
    stroke-opacity: .14;
    stroke-width: 2;
}
.lsp-categories .lsp-cat__disc {
    fill: currentColor;
    fill-opacity: .07;
}
.lsp-categories .lsp-cat:hover .lsp-cat__art {
    transform: scale(1.12) translate(-6px, -6px);
}
.lsp-categories .lsp-cat__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--lsp-r-sm);
    background: var(--lsp-cat-icon-bg);
    color: var(--lsp-cat-icon);
    display: grid;
    place-items: center;
}
.lsp-categories .lsp-cat__icon .lsp-icon {
    width: 26px;
    height: 26px;
}
.lsp-categories .lsp-cat__corner {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    display: grid;
    place-items: center;
    transition: background-color .2s ease, color .2s ease;
}
.lsp-categories .lsp-cat__corner .lsp-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    transition: transform .2s ease;
}
.lsp-categories .lsp-cat:hover .lsp-cat__corner {
    background: var(--lsp-cat-text);
    color: var(--lsp-cat-bg);
}
.lsp-categories .lsp-cat:hover .lsp-cat__corner .lsp-icon {
    transform: translate(1px, -1px);
}
.lsp-categories .lsp-cat__text {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lsp-categories .lsp-cat__name {
    font-family: var(--lsp-heading-font);
    font-weight: 700;
    font-size: 1.375rem;
    line-height: 1.15;
    text-wrap: balance;
}
.lsp-categories .lsp-cat__name::after {
    content: "";
    position: absolute;
    inset: 0;
}
.lsp-categories .lsp-cat__name:focus-visible {
    outline: none;
}
.lsp-categories .lsp-cat--large .lsp-cat__name {
    font-size: clamp(1.5rem, 2.6vw, 1.875rem);
}
.lsp-categories .lsp-cat__count {
    font-size: .9375rem;
}
.lsp-categories .lsp-cat__courses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lsp-categories .lsp-cat__course {
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--lsp-cat-chip);
    box-shadow: inset 0 0 0 1px var(--lsp-cat-chip-line, transparent);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.35;
}

/* Chips. */
.lsp-categories .lsp-cats__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
}
.lsp-categories .lsp-catchip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 6px 8px 6px 6px;
    border-radius: 999px;
    border: 1px solid var(--lsp-card-border);
    background: var(--lsp-card-bg);
    box-shadow: var(--lsp-card-shadow);
    color: var(--lsp-text);
    font-weight: 600;
    line-height: 1.25;
    transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.lsp-categories.lsp-tone-soft .lsp-catchip,
.lsp-categories.lsp-tone-accent .lsp-catchip {
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-surface-2: #f0f2f5;
    background: #ffffff;
    border-color: transparent;
    color: #12151b;
}
.lsp-categories .lsp-catchip__icon {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    transition: background-color .2s ease, color .2s ease;
}
.lsp-categories .lsp-cats__chipitem:nth-child(3n+2) .lsp-catchip__icon {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp-categories .lsp-cats__chipitem:nth-child(3n) .lsp-catchip__icon {
    background: var(--lsp-accent-deep);
    color: #ffffff;
}
.lsp-categories .lsp-catchip__icon .lsp-icon {
    width: 20px;
    height: 20px;
}
.lsp-categories .lsp-catchip__name {
    padding-right: 2px;
}
.lsp-categories .lsp-catchip__count {
    min-width: 30px;
    height: 30px;
    padding: 0 9px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--lsp-surface-2);
    color: var(--lsp-muted);
    font-size: .8125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    transition: background-color .2s ease, color .2s ease;
}
.lsp .lsp-categories .lsp-catchip:hover {
    transform: translateY(-2px);
    background: var(--lsp-accent);
    border-color: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp-categories .lsp-catchip:hover .lsp-catchip__icon,
.lsp-categories .lsp-catchip:hover .lsp-catchip__count {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-categories.lsp-tone-accent .lsp-catchip:hover {
    background: var(--lsp-dark);
    border-color: var(--lsp-dark);
    color: #ffffff;
}
.lsp-categories.lsp-tone-accent .lsp-catchip:hover .lsp-catchip__icon,
.lsp-categories.lsp-tone-accent .lsp-catchip:hover .lsp-catchip__count {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}

/* Small screens. */
@media (max-width: 640px) {
    .lsp-categories .lsp-cats__tiles {
        gap: 14px;
    }
    .lsp-categories .lsp-cat {
        flex-basis: 100%;
        min-height: 200px;
        padding: 24px;
    }
    .lsp-categories .lsp-cat__corner {
        top: 24px;
        right: 24px;
    }
    .lsp-categories .lsp-cats__chips {
        gap: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lsp-categories .lsp-cat:hover,
    .lsp-categories .lsp-cat:hover .lsp-cat__art,
    .lsp .lsp-categories .lsp-catchip:hover {
        transform: none !important;
    }
}

/* sections/comparison.css */
/**
 * Letstudy Pages, comparison section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-comparison. The table variant is a real
 * table whose first column stays in place while it scrolls sideways; the extras module marks the frame with
 * .has-overflow, .is-start and .is-end for edge shadows. The cards variant stacks one card per option on
 * small screens and puts them side by side on large ones.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp .lsp-comparison {
    --lsp-comparison-bg: var(--lsp-card-bg);
    --lsp-comparison-yes: var(--lsp-accent);
    --lsp-comparison-on-yes: var(--lsp-on-accent);
}
.lsp .lsp-comparison.lsp-tone-soft,
.lsp .lsp-comparison.lsp-tone-accent {
    --lsp-comparison-bg: #ffffff;
}
.lsp .lsp-comparison.lsp-tone-dark {
    --lsp-comparison-yes: var(--lsp-accent-light);
    --lsp-comparison-on-yes: var(--lsp-dark);
}
.lsp .lsp-tone-soft .lsp-comparison__frame,
.lsp .lsp-tone-accent .lsp-comparison__frame,
.lsp .lsp-tone-soft .lsp-comparison__card,
.lsp .lsp-tone-accent .lsp-comparison__card {
    color: #12151b;
    border-color: transparent;
    box-shadow: 0 1px 2px rgba(18, 21, 27, .05), 0 18px 40px -22px rgba(18, 21, 27, .28);
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-border: #e1e4e9;
    --lsp-accent-ink: var(--lsp-soft-ink);
}

/* Shared: badge and marks. */
.lsp .lsp-comparison__badge {
    display: inline-flex;
    align-items: center;
    align-self: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}
.lsp .lsp-comparison.lsp-tone-dark .lsp-comparison__badge {
    background: var(--lsp-accent-light);
    color: var(--lsp-dark);
}
.lsp .lsp-comparison__mark {
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    vertical-align: middle;
}
.lsp .lsp-comparison__mark .lsp-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.6;
}
.lsp .lsp-comparison__mark--yes {
    background: var(--lsp-comparison-yes);
    color: var(--lsp-comparison-on-yes);
}
.lsp .lsp-comparison__mark--no {
    background: transparent;
    color: var(--lsp-muted);
    box-shadow: inset 0 0 0 1.5px var(--lsp-border);
}
.lsp .lsp-comparison__mark--no .lsp-icon {
    width: 13px;
    height: 13px;
    stroke-width: 2.2;
}
.lsp .lsp-comparison__value {
    font-weight: 600;
    color: var(--lsp-text);
}
.lsp .lsp-comparison__none {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lsp-muted);
    opacity: .45;
    vertical-align: middle;
}

/* Table. */
.lsp .lsp-comparison__frame {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--lsp-comparison-bg);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-border);
    border-radius: var(--lsp-r-lg);
    box-shadow: var(--lsp-card-shadow);
}
.lsp .lsp-comparison__scroller {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
}
.lsp .lsp-comparison__scroller:focus-visible {
    outline: 3px solid var(--lsp-accent);
    outline-offset: -3px;
}
/* Themes give tables borders, stripes, margins and padding. */
.lsp .lsp-comparison__table {
    width: 100%;
    min-width: 640px;
    margin: 0;
    table-layout: fixed;
    overflow-wrap: break-word;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
    color: inherit;
    font-size: 1rem;
    line-height: 1.45;
}
.lsp .lsp-comparison__table--1 {
    min-width: 360px;
}
.lsp .lsp-comparison__table--2 {
    min-width: 500px;
}
.lsp .lsp-comparison__table--4 {
    min-width: 800px;
}
.lsp .lsp-comparison__table th,
.lsp .lsp-comparison__table td {
    padding: 16px 20px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: center;
    vertical-align: middle;
    box-shadow: none;
}
/* Boost borders every cell of tables without .table through a (0,4,2) selector: reset borders with a stronger one,
   which draws the row lines from --lsp-comparison-line. */
.lsp .lsp-section.lsp-comparison .lsp-comparison__scroller .lsp-comparison__table th,
.lsp .lsp-section.lsp-comparison .lsp-comparison__scroller .lsp-comparison__table td {
    border-style: solid;
    border-color: var(--lsp-border);
    border-width: var(--lsp-comparison-line, 0) 0 0;
}
.lsp .lsp-comparison__table thead th {
    padding: 28px 20px 22px;
    vertical-align: bottom;
}
.lsp .lsp-comparison__table .lsp-comparison__corner,
.lsp .lsp-comparison__table .lsp-comparison__feature {
    position: sticky;
    inset-inline-start: 0;
    z-index: 1;
    width: 34%;
    min-width: 160px;
    background: var(--lsp-comparison-bg);
    text-align: start;
}
.lsp .lsp-comparison__table .lsp-comparison__feature {
    font-weight: 500;
}
.lsp .lsp-comparison__optioninner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.lsp .lsp-comparison__table .lsp-comparison__name {
    font-family: var(--lsp-heading-font);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.25;
}
.lsp .lsp-comparison__table .lsp-comparison__sub {
    font-size: .875rem;
    font-weight: 400;
    color: var(--lsp-muted);
}
.lsp .lsp-comparison__table .lsp-comparison__row th,
.lsp .lsp-comparison__table .lsp-comparison__row td {
    --lsp-comparison-line: 1px;
}
.lsp .lsp-comparison__table .lsp-comparison__group th {
    padding: 26px 20px 10px;
    text-align: start;
    --lsp-comparison-line: 1px;
}
.lsp .lsp-comparison__table .lsp-comparison__body:first-of-type .lsp-comparison__group th {
    padding-top: 18px;
}
.lsp .lsp-comparison__groupname {
    position: sticky;
    inset-inline-start: 20px;
    display: inline-block;
    color: var(--lsp-accent-ink);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .06em;
}
.lsp .lsp-comparison.lsp-tone-default .lsp-comparison__groupname {
    color: var(--lsp-accent-ink);
}
.lsp .lsp-comparison__table .lsp-comparison__group + .lsp-comparison__row th,
.lsp .lsp-comparison__table .lsp-comparison__group + .lsp-comparison__row td {
    --lsp-comparison-line: 0;
}
.lsp .lsp-comparison__table .is-recommended {
    background: color-mix(in srgb, var(--lsp-accent) 8%, var(--lsp-comparison-bg));
}
.lsp .lsp-comparison.lsp-tone-dark .lsp-comparison__table .is-recommended {
    background: color-mix(in srgb, var(--lsp-accent) 16%, var(--lsp-comparison-bg));
}
.lsp .lsp-comparison__table .lsp-comparison__option.is-recommended {
    box-shadow: inset 0 4px 0 var(--lsp-comparison-yes);
}
.lsp .lsp-comparison__table .lsp-comparison__row:hover th,
.lsp .lsp-comparison__table .lsp-comparison__row:hover td {
    background: color-mix(in srgb, var(--lsp-text) 3%, var(--lsp-comparison-bg));
}
.lsp .lsp-comparison__table .lsp-comparison__row:hover td.is-recommended {
    background: color-mix(in srgb, var(--lsp-accent) 12%, var(--lsp-comparison-bg));
}

/* Edge shadows while the table scrolls sideways (added by the extras module). */
.lsp .lsp-comparison__frame::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-end: 0;
    width: 36px;
    background: linear-gradient(to left, rgba(18, 21, 27, .14), transparent);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.lsp .lsp-comparison__frame.has-overflow:not(.is-end)::after {
    opacity: 1;
}
.lsp .lsp-comparison__frame.has-overflow:not(.is-start) .lsp-comparison__feature,
.lsp .lsp-comparison__frame.has-overflow:not(.is-start) .lsp-comparison__corner {
    box-shadow: 10px 0 14px -12px rgba(18, 21, 27, .35);
}
.lsp .lsp-comparison__hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 0;
    color: var(--lsp-muted);
    font-size: .875rem;
}
.lsp .lsp-comparison__frame.has-overflow + .lsp-comparison__hint {
    display: flex;
}

/* Cards: one per option. */
.lsp .lsp-comparison__cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.lsp .lsp-comparison__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: var(--lsp-comparison-bg);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-card-border);
    border-radius: var(--lsp-r-lg);
    box-shadow: var(--lsp-card-shadow);
}
.lsp .lsp-comparison.lsp-tone-dark .lsp-comparison__card,
.lsp .lsp-comparison.lsp-tone-default .lsp-comparison__card {
    border-color: var(--lsp-border);
}
.lsp .lsp-comparison__cardhead {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 28px 28px 24px;
    background: color-mix(in srgb, var(--lsp-accent) 6%, var(--lsp-comparison-bg));
    border-bottom: 1px solid var(--lsp-border);
}
.lsp .lsp-comparison__cardhead .lsp-comparison__badge {
    align-self: flex-start;
    margin-bottom: 4px;
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-comparison__card .lsp-comparison__name {
    margin: 0;
    font-family: var(--lsp-heading-font);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
}
.lsp .lsp-comparison__card .lsp-comparison__sub {
    margin: 0;
    color: var(--lsp-muted);
}
.lsp .lsp-comparison__card--recommended,
.lsp .lsp-comparison.lsp-tone-default .lsp-comparison__card--recommended,
.lsp .lsp-comparison.lsp-tone-dark .lsp-comparison__card--recommended,
.lsp .lsp-tone-soft .lsp-comparison__card--recommended {
    border-color: var(--lsp-comparison-yes);
    box-shadow: 0 0 0 1px var(--lsp-comparison-yes), 0 28px 56px -30px var(--lsp-accent-glow);
}
.lsp .lsp-comparison__card--recommended .lsp-comparison__cardhead {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    border-bottom-color: transparent;
    --lsp-muted: var(--lsp-on-accent);
}
.lsp .lsp-comparison.lsp-tone-accent .lsp-comparison__card--recommended {
    border-color: var(--lsp-dark);
    box-shadow: 0 0 0 1px var(--lsp-dark), 0 28px 56px -30px rgba(0, 0, 0, .5);
}
.lsp .lsp-tone-accent .lsp-comparison__card--recommended .lsp-comparison__cardhead {
    background: var(--lsp-dark);
    color: #f3f5f8;
    --lsp-muted: #b4bac5;
}
.lsp .lsp-tone-accent .lsp-comparison__card--recommended .lsp-comparison__badge {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-comparison.lsp-tone-dark .lsp-comparison__card--recommended .lsp-comparison__cardhead .lsp-comparison__badge {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-comparison__cardbody {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 24px 28px 28px;
}
.lsp .lsp-comparison__parthead {
    margin: 0 0 10px;
    color: var(--lsp-accent-ink);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .06em;
}
.lsp .lsp-comparison__items {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}
.lsp .lsp-comparison__item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid var(--lsp-border);
    line-height: 1.4;
}
.lsp .lsp-comparison__item:first-child {
    border-top: 0;
}
.lsp .lsp-comparison__item::before,
.lsp .lsp-comparison__item::marker {
    content: none;
}
.lsp .lsp-comparison__item .lsp-comparison__mark {
    width: 24px;
    height: 24px;
}
.lsp .lsp-comparison__item .lsp-comparison__mark .lsp-icon {
    width: 14px;
    height: 14px;
}
.lsp .lsp-comparison__item .lsp-comparison__mark--no .lsp-icon {
    width: 11px;
    height: 11px;
}
.lsp .lsp-comparison__mark--text {
    background: transparent;
}
.lsp .lsp-comparison__mark--text::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lsp-comparison-yes);
}
.lsp .lsp-comparison__label {
    flex: 1 1 auto;
    min-width: 0;
}
.lsp .lsp-comparison__item--no .lsp-comparison__label {
    color: var(--lsp-muted);
}
.lsp .lsp-comparison__item--text {
    align-items: flex-start;
}
.lsp .lsp-comparison__item--text .lsp-comparison__label {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.lsp .lsp-comparison__key {
    color: var(--lsp-muted);
    font-size: .875rem;
}
.lsp .lsp-comparison__item--text .lsp-comparison__mark {
    margin-top: -2px;
}

/* An option without any value keeps its header only, without a tall empty card. */
.lsp .lsp-comparison__card:not(:has(.lsp-comparison__cardbody)) {
    align-self: start;
}
@media (min-width: 720px) {
    .lsp .lsp-comparison__cards--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lsp .lsp-comparison__cards--3,
    .lsp .lsp-comparison__cards--4 {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    }
}
@media (min-width: 1100px) {
    .lsp .lsp-comparison__cards--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .lsp .lsp-comparison__cards--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .lsp .lsp-comparison__cards--4 .lsp-comparison__cardhead,
    .lsp .lsp-comparison__cards--4 .lsp-comparison__cardbody {
        padding-left: 22px;
        padding-right: 22px;
    }
}
@media (max-width: 720px) {
    .lsp .lsp-comparison__frame:not(.is-measured) + .lsp-comparison__hint {
        display: flex;
    }
    .lsp .lsp-comparison__table th,
    .lsp .lsp-comparison__table td {
        padding: 14px 12px;
    }
    .lsp .lsp-comparison__table thead th {
        padding: 22px 12px 18px;
    }
    .lsp .lsp-comparison__table .lsp-comparison__corner,
    .lsp .lsp-comparison__table .lsp-comparison__feature {
        width: 148px;
        min-width: 148px;
        padding-inline: 14px 8px;
        font-size: .875rem;
        line-height: 1.4;
    }
    .lsp .lsp-comparison__groupname {
        inset-inline-start: 12px;
    }
    .lsp .lsp-comparison__table .lsp-comparison__name {
        font-size: 1rem;
    }
    .lsp .lsp-comparison__table--2 {
        min-width: 440px;
    }
    .lsp .lsp-comparison__table--3 {
        min-width: 590px;
    }
    .lsp .lsp-comparison__table--4 {
        min-width: 740px;
    }
    .lsp .lsp-comparison__cardhead {
        padding: 24px 22px 20px;
    }
    .lsp .lsp-comparison__cardbody {
        padding: 20px 22px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-comparison__frame::after {
        transition: none;
    }
}

/* sections/countdown.css */
/**
 * Letstudy Pages, countdown section.
 *
 * Scoped under .lsp-countdown. The band is an accent box (dark on the accent tone), the card a
 * centred surface. Digits keep a fixed width so the clock does not move while it ticks.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp-countdown [hidden] {
    display: none !important;
}
.lsp-countdown .lsp-countdown__side {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.lsp-countdown .lsp-countdown__clock {
    display: flex;
    gap: 12px;
}
.lsp-countdown .lsp-countdown__unit {
    flex: 1 1 0;
    min-width: 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px 14px;
    border-radius: var(--lsp-r);
    background: color-mix(in srgb, currentColor 8%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 18%, transparent);
}
.lsp-countdown .lsp-countdown__value {
    display: inline-block;
    font-family: var(--lsp-heading-font);
    font-weight: 800;
    font-size: clamp(2.25rem, 4.4vw, 3.5rem);
    line-height: 1;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}
.lsp-countdown .lsp-countdown__label {
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.lsp-countdown .lsp-countdown__date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9375rem;
}
.lsp-countdown .lsp-countdown__date .lsp-icon {
    width: 18px;
    height: 18px;
}
.lsp-countdown .lsp-countdown__end {
    max-width: 24em;
    font-family: var(--lsp-heading-font);
    font-weight: 700;
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    line-height: 1.3;
    text-wrap: balance;
}

/* Band. */
.lsp-countdown .lsp-countdown__box {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px 56px;
    padding: 56px;
    border-radius: var(--lsp-r-lg);
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    --lsp-text: var(--lsp-on-accent);
    --lsp-muted: var(--lsp-on-accent);
    --lsp-accent-ink: var(--lsp-on-accent);
}
/* Without heading and buttons the clock is centred, instead of pushed to the right by an empty column. */
.lsp-countdown .lsp-countdown__text:not(:has(> *)) {
    display: none;
}
.lsp-countdown .lsp-countdown__box:not(:has(.lsp-countdown__text > *)) {
    justify-content: center;
}
.lsp-countdown .lsp-countdown__box:not(:has(.lsp-countdown__text > *)) .lsp-countdown__side {
    align-items: center;
}
.lsp-countdown.lsp-tone-accent .lsp-countdown__box {
    background: var(--lsp-dark);
    color: #f3f5f8;
    --lsp-text: #f3f5f8;
    --lsp-muted: #c9ced6;
    --lsp-accent-ink: var(--lsp-accent-light);
}
.lsp-countdown .lsp-countdown__art {
    position: absolute;
    z-index: -1;
    right: -110px;
    top: -150px;
    width: 480px;
    height: 480px;
    pointer-events: none;
}
.lsp-countdown .lsp-countdown__art circle {
    fill: none;
    stroke: currentColor;
    stroke-opacity: .14;
    stroke-width: 2;
}
.lsp-countdown .lsp-countdown__art circle:last-child {
    fill: currentColor;
    fill-opacity: .06;
}
.lsp-anim .lsp-countdown .lsp-countdown__art {
    animation: lsp-spin-slow 120s linear infinite;
}
.lsp-countdown .lsp-countdown__text {
    flex: 1 1 360px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.lsp-countdown .lsp-countdown__text .lsp-heading {
    margin-bottom: 0;
}
.lsp-countdown .lsp-countdown__box .lsp-subtitle {
    opacity: .92;
}
.lsp-countdown .lsp-countdown__box .lsp-countdown__side {
    flex: 0 1 auto;
}
.lsp .lsp-countdown .lsp-countdown__box .lsp-btn--primary,
.lsp .lsp-countdown .lsp-countdown__box .lsp-btn--primary:hover {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-countdown.lsp-tone-accent .lsp-countdown__box .lsp-btn--primary,
.lsp .lsp-countdown.lsp-tone-accent .lsp-countdown__box .lsp-btn--primary:hover {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}

/* Card. */
.lsp-countdown .lsp-countdown__card {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
    background: var(--lsp-card-bg);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-card-border);
    border-radius: var(--lsp-r-lg);
    box-shadow: var(--lsp-card-shadow);
}
.lsp-countdown.lsp-tone-soft .lsp-countdown__card,
.lsp-countdown.lsp-tone-accent .lsp-countdown__card {
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-accent-ink: var(--lsp-soft-ink);
    background: #ffffff;
    color: #12151b;
}
.lsp .lsp-countdown.lsp-tone-accent .lsp-countdown__card .lsp-btn--primary,
.lsp .lsp-countdown.lsp-tone-accent .lsp-countdown__card .lsp-btn--primary:hover {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp-countdown .lsp-countdown__card .lsp-heading {
    align-items: center;
    margin: 0 auto;
}
.lsp-countdown .lsp-countdown__card .lsp-eyebrow {
    justify-content: center;
}
.lsp-countdown .lsp-countdown__card .lsp-countdown__side {
    align-items: center;
    width: 100%;
}
.lsp-countdown .lsp-countdown__card .lsp-countdown__clock {
    width: 100%;
    max-width: 640px;
}
.lsp-countdown .lsp-countdown__card .lsp-countdown__unit {
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    box-shadow: none;
}
.lsp-countdown .lsp-countdown__card .lsp-countdown__unit:first-child {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp-countdown .lsp-countdown__card .lsp-countdown__date {
    color: var(--lsp-muted);
}
/* Centred card: the clock icon stays next to the date when it wraps. */
.lsp-countdown .lsp-countdown__card .lsp-countdown__date {
    display: inline-flex;
    max-width: 100%;
    text-align: left;
}
.lsp-countdown .lsp-countdown__card .lsp-actions {
    justify-content: center;
}

/* Small screens. */
@media (max-width: 640px) {
    .lsp-countdown .lsp-countdown__box {
        padding: 36px 22px;
        gap: 28px;
    }
    .lsp-countdown .lsp-countdown__card {
        padding: 36px 18px;
        gap: 24px;
    }
    .lsp-countdown .lsp-countdown__box .lsp-countdown__side,
    .lsp-countdown .lsp-countdown__clock {
        width: 100%;
    }
    .lsp-countdown .lsp-countdown__clock {
        gap: 8px;
    }
    .lsp-countdown .lsp-countdown__unit {
        min-width: 0;
        padding: 14px 4px 10px;
        gap: 6px;
    }
    .lsp-countdown .lsp-countdown__value {
        font-size: 1.875rem;
    }
    .lsp-countdown .lsp-countdown__label {
        font-size: .6875rem;
        letter-spacing: .02em;
    }
}
/* Phones: two units a row, so the longest unit name (seconds) fits inside its box. */
@media (max-width: 480px) {
    .lsp-countdown .lsp-countdown__clock {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lsp-countdown .lsp-countdown__label {
        font-size: .75rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lsp-anim .lsp-countdown .lsp-countdown__art {
        animation: none !important;
    }
}

/* sections/coursepages.css */
/**
 * Letstudy Pages, course landing page sections: course hero, outline, teachers, facts and the enrol button.
 *
 * Scoped under the section classes (lsp-coursehero, lsp-courseoutline, lsp-courseteachers, lsp-coursefacts,
 * lsp-courseenrol) and the shared enrol box (lsp-enrolbox). Colours come from the --lsp-* tokens, so every
 * section reads in every tone and with custom colours.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Enrol box, shared by the course hero and the enrol button section. */
.lsp .lsp-enrolbox {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.lsp .lsp-enrolbox__note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-enrolbox--login .lsp-enrolbox__note,
.lsp .lsp-enrolbox--self .lsp-enrolbox__note {
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
}
.lsp .lsp-enrolbox--none .lsp-enrolbox__note {
    color: var(--lsp-muted);
    font-weight: 500;
}
.lsp .lsp-enrolbox__progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 420px;
}
.lsp .lsp-enrolbox__progresstop {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: .9375rem;
    font-weight: 600;
}
.lsp .lsp-enrolbox__bar {
    position: relative;
    display: block;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: color-mix(in srgb, var(--lsp-accent) 16%, transparent);
}
.lsp .lsp-enrolbox__fill {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: var(--lsp-accent);
}
.lsp .lsp-tone-accent .lsp-enrolbox__note {
    color: var(--lsp-on-accent);
}
.lsp .lsp-tone-accent .lsp-enrolbox--login .lsp-enrolbox__note,
.lsp .lsp-tone-accent .lsp-enrolbox--self .lsp-enrolbox__note {
    background: color-mix(in srgb, var(--lsp-on-accent) 16%, transparent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-tone-accent .lsp-enrolbox__bar {
    background: color-mix(in srgb, var(--lsp-on-accent) 22%, transparent);
}
.lsp .lsp-tone-accent .lsp-enrolbox__fill {
    background: var(--lsp-on-accent);
}

/* Course hero, shared. */
.lsp .lsp-coursehero .lsp-coursehero__title {
    font-family: var(--lsp-heading-font);
    font-weight: var(--lsp-heading-weight);
    font-size: clamp(2rem, 3.8vw, 3.125rem);
    line-height: 1.08;
    letter-spacing: -.02em;
    color: inherit;
    text-wrap: balance;
    overflow-wrap: break-word;
}
.lsp :is(.lsp-tone-default, .lsp-tone-soft).lsp-coursehero--split .lsp-coursehero__title {
    color: var(--lsp-heading, inherit);
}
.lsp .lsp-coursehero .lsp-coursehero__summary {
    font-size: 1.125rem;
    color: var(--lsp-muted);
    max-width: 38em;
}
.lsp .lsp-coursehero .lsp-coursehero__category {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1.2;
}
.lsp .lsp-coursehero .lsp-coursehero__category:hover {
    color: var(--lsp-soft-ink);
    text-decoration: underline;
}
.lsp .lsp-coursehero .lsp-coursehero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}
.lsp .lsp-coursehero .lsp-coursehero__fact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--lsp-surface-2);
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.25;
}
.lsp .lsp-coursehero .lsp-coursehero__fact .lsp-icon {
    width: 18px;
    height: 18px;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-coursehero.lsp-tone-soft .lsp-coursehero__fact {
    background: #ffffff;
    color: #12151b;
}
.lsp .lsp-coursehero.lsp-tone-accent .lsp-coursehero__fact {
    background: transparent;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lsp-on-accent) 45%, transparent);
}
.lsp .lsp-coursehero .lsp-coursehero__teachers {
    display: flex;
    align-items: center;
    gap: 14px;
}
.lsp .lsp-coursehero .lsp-coursehero__faces {
    flex: none;
    display: flex;
    padding-left: 10px;
}
.lsp .lsp-coursehero .lsp-coursehero__face {
    width: 44px;
    height: 44px;
    margin-left: -10px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 3px solid var(--lsp-coursehero-ring, var(--lsp-page-bg));
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    font-size: .875rem;
    font-weight: 700;
}
.lsp .lsp-coursehero .lsp-coursehero__face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lsp .lsp-coursehero .lsp-coursehero__face--1 {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-coursehero .lsp-coursehero__face--2 {
    background: var(--lsp-accent-deep);
    color: #ffffff;
}
.lsp .lsp-coursehero .lsp-coursehero__face--3 {
    background: #12151b;
    color: #ffffff;
}
.lsp .lsp-coursehero .lsp-coursehero__by {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}
.lsp .lsp-coursehero .lsp-coursehero__bylabel {
    font-size: .8125rem;
    color: var(--lsp-muted);
}
.lsp .lsp-coursehero .lsp-coursehero__names {
    font-weight: 700;
}
.lsp .lsp-coursehero .lsp-coursehero__teacher + .lsp-coursehero__teacher::before {
    content: ", ";
}
.lsp .lsp-coursehero.lsp-tone-soft {
    --lsp-coursehero-ring: var(--lsp-accent-soft);
}
.lsp .lsp-coursehero.lsp-tone-accent {
    --lsp-coursehero-ring: var(--lsp-accent);
}
.lsp .lsp-coursehero.lsp-tone-dark {
    --lsp-coursehero-ring: var(--lsp-dark);
}
.lsp .lsp-coursehero .lsp-coursehero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Course hero, split. */
.lsp .lsp-coursehero .lsp-coursehero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}
.lsp .lsp-coursehero .lsp-coursehero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.lsp .lsp-coursehero .lsp-coursehero__content .lsp-enrolbox {
    margin-top: 6px;
}
.lsp .lsp-coursehero .lsp-coursehero__visual {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--lsp-r-lg);
    box-shadow: 0 30px 60px -36px rgba(18, 21, 27, .45);
}
.lsp .lsp-coursehero .lsp-coursehero__monogram {
    position: absolute;
    inset: auto 24px 20px 24px;
    font-family: var(--lsp-heading-font);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.05;
    letter-spacing: -.02em;
    color: color-mix(in srgb, currentColor 30%, transparent);
    overflow-wrap: break-word;
}
.lsp .lsp-coursehero .lsp-cover--1 .lsp-coursehero__monogram,
.lsp .lsp-coursehero .lsp-cover--2 .lsp-coursehero__monogram {
    color: rgba(255, 255, 255, .5);
}

/* Course hero, banner. */
.lsp .lsp-coursehero .lsp-coursehero__banner {
    --lsp-text: #ffffff;
    --lsp-muted: rgba(255, 255, 255, .84);
    --lsp-accent-ink: #ffffff;
    --lsp-surface-2: rgba(255, 255, 255, .14);
    --lsp-coursehero-ring: #1d222c;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    border-radius: var(--lsp-r-lg);
    color: #ffffff;
}
.lsp .lsp-coursehero .lsp-coursehero__backdrop {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.lsp .lsp-coursehero .lsp-coursehero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(14, 17, 22, .9) 0%, rgba(14, 17, 22, .72) 50%, rgba(14, 17, 22, .4) 100%),
        linear-gradient(0deg, rgba(14, 17, 22, .55), transparent 60%);
}
.lsp .lsp-coursehero .lsp-coursehero__bannerinner {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: end;
    gap: 40px;
    padding: clamp(28px, 5vw, 60px);
}
.lsp .lsp-coursehero .lsp-coursehero__lead {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}
.lsp .lsp-coursehero .lsp-coursehero__kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}
.lsp .lsp-coursehero .lsp-coursehero__eyebrow {
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .08em;
}
.lsp .lsp-coursehero .lsp-coursehero__banner .lsp-coursehero__category {
    background: #ffffff;
    color: #12151b;
}
.lsp .lsp-coursehero .lsp-coursehero__banner .lsp-coursehero__summary {
    color: rgba(255, 255, 255, .88);
}
.lsp .lsp-coursehero .lsp-coursehero__banner .lsp-coursehero__fact {
    background: rgba(255, 255, 255, .14);
    color: #ffffff;
    box-shadow: none;
}
.lsp .lsp-coursehero .lsp-coursehero__panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    border-radius: var(--lsp-r);
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(14, 17, 22, .46);
    backdrop-filter: blur(10px);
}
.lsp .lsp-coursehero .lsp-coursehero__banner .lsp-enrolbox__note {
    background: rgba(255, 255, 255, .16);
    color: #ffffff;
}
.lsp .lsp-coursehero .lsp-coursehero__banner .lsp-enrolbox__bar {
    background: rgba(255, 255, 255, .22);
}
.lsp .lsp-coursehero .lsp-coursehero__banner .lsp-enrolbox__fill {
    background: #ffffff;
}
.lsp .lsp-coursehero .lsp-coursehero__banner .lsp-btn--primary,
.lsp .lsp-coursehero .lsp-coursehero__banner .lsp-btn--primary:hover {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-coursehero .lsp-coursehero__banner .lsp-btn--secondary,
.lsp .lsp-coursehero .lsp-coursehero__banner .lsp-btn--secondary:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, .7);
}
.lsp .lsp-coursehero .lsp-coursehero__banner a:focus-visible {
    outline-color: #ffffff;
}

/* Course outline. */
/* The list: the heading on the side on wide screens, above the list on small ones. */
.lsp .lsp-courseoutline .lsp-courseoutline__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: start;
    gap: 32px clamp(32px, 5vw, 72px);
}
.lsp .lsp-courseoutline .lsp-courseoutline__layout .lsp-courseoutline__head {
    position: sticky;
    top: 96px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 0;
}
.lsp .lsp-courseoutline .lsp-courseoutline__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
    margin-bottom: 32px;
}
.lsp .lsp-courseoutline .lsp-courseoutline__head .lsp-heading {
    margin-bottom: 0;
}
.lsp .lsp-courseoutline .lsp-courseoutline__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lsp .lsp-courseoutline .lsp-courseoutline__summaryitem {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--lsp-surface-2);
    font-size: .9375rem;
    font-weight: 600;
}
.lsp .lsp-courseoutline.lsp-tone-soft .lsp-courseoutline__summaryitem {
    background: #ffffff;
    color: #12151b;
}
.lsp .lsp-courseoutline .lsp-courseoutline__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    counter-reset: none;
}
.lsp .lsp-courseoutline .lsp-courseoutline__item {
    border-radius: var(--lsp-r);
    background: var(--lsp-card-bg);
    border: 1px solid var(--lsp-card-border);
    box-shadow: var(--lsp-card-shadow);
    color: var(--lsp-text);
    overflow: hidden;
}
.lsp .lsp-courseoutline.lsp-tone-soft .lsp-courseoutline__item,
.lsp .lsp-courseoutline.lsp-tone-accent .lsp-courseoutline__item,
.lsp .lsp-courseoutline.lsp-tone-soft .lsp-courseoutline__card,
.lsp .lsp-courseoutline.lsp-tone-accent .lsp-courseoutline__card {
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-accent-ink: var(--lsp-soft-ink);
    background: #ffffff;
    color: #12151b;
}
.lsp .lsp-courseoutline .lsp-courseoutline__row {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    padding: 14px 20px;
    list-style: none;
}
.lsp .lsp-courseoutline summary.lsp-courseoutline__row {
    cursor: pointer;
}
.lsp .lsp-courseoutline summary.lsp-courseoutline__row::-webkit-details-marker {
    display: none;
}
.lsp .lsp-courseoutline summary.lsp-courseoutline__row:focus-visible {
    outline: 3px solid var(--lsp-accent);
    outline-offset: -3px;
}
.lsp .lsp-courseoutline .lsp-courseoutline__number {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    font-weight: 800;
    font-size: .9375rem;
    font-variant-numeric: tabular-nums;
}
.lsp .lsp-courseoutline .lsp-courseoutline__name {
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--lsp-heading-font);
    font-weight: 700;
    font-size: 1.0625rem;
    line-height: 1.3;
    color: inherit;
}
.lsp .lsp-courseoutline .lsp-courseoutline__count {
    flex: none;
    font-size: .875rem;
    color: var(--lsp-muted);
    white-space: nowrap;
}
.lsp .lsp-courseoutline .lsp-courseoutline__chevron {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--lsp-muted);
    transition: transform .2s ease;
}
.lsp .lsp-courseoutline details[open] .lsp-courseoutline__chevron {
    transform: rotate(180deg);
}
.lsp .lsp-courseoutline .lsp-courseoutline__activities {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 20px 16px 76px;
}
.lsp .lsp-courseoutline .lsp-courseoutline__activity {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--lsp-border);
    font-size: .9375rem;
}
.lsp .lsp-courseoutline .lsp-courseoutline__activity:first-child {
    border-top: 0;
}
.lsp .lsp-courseoutline .lsp-courseoutline__modicon {
    flex: none;
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.lsp .lsp-courseoutline .lsp-courseoutline__activityname {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: break-word;
}
.lsp .lsp-courseoutline .lsp-courseoutline__type {
    flex: none;
    font-size: .8125rem;
    color: var(--lsp-muted);
}

/* Course outline, cards. */
.lsp .lsp-courseoutline .lsp-courseoutline__grid {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 20px;
}
.lsp .lsp-courseoutline .lsp-courseoutline__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    border-radius: var(--lsp-r);
    background: var(--lsp-card-bg);
    border: 1px solid var(--lsp-card-border);
    box-shadow: var(--lsp-card-shadow);
    color: var(--lsp-text);
}
.lsp .lsp-courseoutline .lsp-courseoutline__card .lsp-courseoutline__name {
    font-size: 1.125rem;
}
.lsp .lsp-courseoutline .lsp-courseoutline__card .lsp-courseoutline__activities {
    padding: 0;
    margin-top: 4px;
}
.lsp .lsp-courseoutline .lsp-courseoutline__card .lsp-courseoutline__activity {
    padding: 6px 0;
    font-size: .875rem;
}
.lsp .lsp-courseoutline .lsp-courseoutline__more {
    font-size: .875rem;
    font-weight: 600;
    color: var(--lsp-accent-ink);
}

/* Course teachers. */
.lsp .lsp-courseteachers .lsp-courseteachers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: 20px;
}
.lsp .lsp-courseteachers .lsp-courseteachers__grid--single {
    grid-template-columns: minmax(0, 420px);
}
.lsp .lsp-courseteachers .lsp-courseteachers__card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border-radius: var(--lsp-r);
    background: var(--lsp-card-bg);
    border: 1px solid var(--lsp-card-border);
    box-shadow: var(--lsp-card-shadow);
    color: var(--lsp-text);
}
.lsp .lsp-courseteachers.lsp-tone-soft .lsp-courseteachers__card,
.lsp .lsp-courseteachers.lsp-tone-accent .lsp-courseteachers__card {
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    background: #ffffff;
    color: #12151b;
}
.lsp .lsp-courseteachers .lsp-courseteachers__photo {
    flex: none;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    font-size: 1.25rem;
    font-weight: 800;
}
.lsp .lsp-courseteachers .lsp-courseteachers__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lsp .lsp-courseteachers .lsp-courseteachers__photo--1 {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-courseteachers .lsp-courseteachers__photo--2 {
    background: var(--lsp-accent-deep);
    color: #ffffff;
}
.lsp .lsp-courseteachers .lsp-courseteachers__photo--3 {
    background: #12151b;
    color: #ffffff;
}
.lsp .lsp-courseteachers .lsp-courseteachers__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lsp .lsp-courseteachers .lsp-courseteachers__name {
    font-family: var(--lsp-heading-font);
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.25;
    overflow-wrap: break-word;
}
.lsp .lsp-courseteachers .lsp-courseteachers__role {
    font-size: .875rem;
    color: var(--lsp-muted);
}
.lsp .lsp-courseteachers .lsp-courseteachers__band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 48px;
}
.lsp .lsp-courseteachers .lsp-courseteachers__band .lsp-heading {
    margin-bottom: 0;
    flex: 1 1 320px;
}
.lsp .lsp-courseteachers .lsp-courseteachers__people {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
}
.lsp .lsp-courseteachers .lsp-courseteachers__person {
    display: flex;
    align-items: center;
    gap: 12px;
}
.lsp .lsp-courseteachers .lsp-courseteachers__person .lsp-courseteachers__photo {
    width: 56px;
    height: 56px;
    font-size: 1rem;
}
.lsp .lsp-courseteachers .lsp-courseteachers__person .lsp-courseteachers__name {
    font-size: 1rem;
}

/* Course facts. */
.lsp .lsp-coursefacts .lsp-coursefacts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 16px;
}
.lsp .lsp-coursefacts .lsp-coursefacts__fact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 20px 22px;
    border-radius: var(--lsp-r);
    background: var(--lsp-card-bg);
    border: 1px solid var(--lsp-card-border);
    box-shadow: var(--lsp-card-shadow);
    color: var(--lsp-text);
}
.lsp .lsp-coursefacts.lsp-tone-soft .lsp-coursefacts__fact,
.lsp .lsp-coursefacts.lsp-tone-accent .lsp-coursefacts__fact {
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-accent-ink: var(--lsp-soft-ink);
    background: #ffffff;
    color: #12151b;
}
.lsp .lsp-coursefacts .lsp-coursefacts__icon {
    display: grid;
    margin-bottom: 10px;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
}
.lsp .lsp-coursefacts .lsp-coursefacts__icon .lsp-icon {
    width: 22px;
    height: 22px;
}
.lsp .lsp-coursefacts .lsp-coursefacts__label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--lsp-muted);
}
.lsp .lsp-coursefacts .lsp-coursefacts__value {
    font-family: var(--lsp-heading-font);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.25;
    overflow-wrap: break-word;
}
.lsp .lsp-coursefacts .lsp-coursefacts__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    align-items: start;
    gap: 32px 64px;
}
.lsp .lsp-coursefacts .lsp-coursefacts__split .lsp-heading {
    margin-bottom: 0;
}
.lsp .lsp-coursefacts .lsp-coursefacts__list {
    border-radius: var(--lsp-r);
    background: var(--lsp-card-bg);
    border: 1px solid var(--lsp-card-border);
    box-shadow: var(--lsp-card-shadow);
    color: var(--lsp-text);
    padding: 4px 22px;
}
.lsp .lsp-coursefacts.lsp-tone-soft .lsp-coursefacts__list,
.lsp .lsp-coursefacts.lsp-tone-accent .lsp-coursefacts__list {
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-accent-ink: var(--lsp-soft-ink);
    --lsp-border: #e1e4e9;
    background: #ffffff;
    color: #12151b;
}
.lsp .lsp-coursefacts .lsp-coursefacts__row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 24px;
    padding: 14px 0;
    border-top: 1px solid var(--lsp-border);
}
.lsp .lsp-coursefacts .lsp-coursefacts__row:first-child {
    border-top: 0;
}
.lsp .lsp-coursefacts .lsp-coursefacts__list .lsp-coursefacts__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .9375rem;
}
.lsp .lsp-coursefacts .lsp-coursefacts__list .lsp-coursefacts__label .lsp-icon {
    width: 18px;
    height: 18px;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-coursefacts .lsp-coursefacts__list .lsp-coursefacts__value {
    font-size: 1rem;
    text-align: right;
}

/* Enrol button section. */
.lsp .lsp-courseenrol .lsp-courseenrol__title {
    font-family: var(--lsp-heading-font);
    font-weight: var(--lsp-heading-weight);
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -.015em;
    color: inherit;
    text-wrap: balance;
}
.lsp .lsp-courseenrol .lsp-courseenrol__course {
    font-weight: 700;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-courseenrol .lsp-courseenrol__subtitle {
    font-size: 1.0625rem;
    color: var(--lsp-muted);
    max-width: 36em;
}
.lsp .lsp-courseenrol .lsp-courseenrol__card {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    overflow: hidden;
    border-radius: var(--lsp-r-lg);
    background: var(--lsp-card-bg);
    border: 1px solid var(--lsp-card-border);
    box-shadow: var(--lsp-card-shadow);
    color: var(--lsp-text);
}
.lsp .lsp-courseenrol.lsp-tone-soft .lsp-courseenrol__card,
.lsp .lsp-courseenrol.lsp-tone-accent .lsp-courseenrol__card,
.lsp .lsp-courseenrol.lsp-tone-dark .lsp-courseenrol__card {
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-accent-ink: var(--lsp-soft-ink);
    --lsp-border: #e1e4e9;
    background: #ffffff;
    color: #12151b;
}
.lsp .lsp-courseenrol.lsp-tone-accent .lsp-courseenrol__card .lsp-btn--primary,
.lsp .lsp-courseenrol.lsp-tone-accent .lsp-courseenrol__card .lsp-btn--primary:hover {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-courseenrol.lsp-tone-accent .lsp-courseenrol__card .lsp-enrolbox__note {
    color: var(--lsp-soft-ink);
}
.lsp .lsp-courseenrol .lsp-courseenrol__card .lsp-enrolbox--login .lsp-enrolbox__note,
.lsp .lsp-courseenrol .lsp-courseenrol__card .lsp-enrolbox--self .lsp-enrolbox__note {
    background: color-mix(in srgb, var(--lsp-accent) 14%, #ffffff);
    color: #12151b;
}
.lsp .lsp-courseenrol .lsp-courseenrol__visual {
    min-height: 240px;
}
.lsp .lsp-courseenrol .lsp-courseenrol__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lsp .lsp-courseenrol .lsp-courseenrol__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    padding: clamp(24px, 4vw, 48px);
}
.lsp .lsp-courseenrol .lsp-courseenrol__body .lsp-enrolbox {
    margin-top: 8px;
}
.lsp .lsp-courseenrol .lsp-courseenrol__band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 48px;
}
.lsp .lsp-courseenrol .lsp-courseenrol__text {
    flex: 1 1 420px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lsp .lsp-courseenrol .lsp-courseenrol__band .lsp-enrolbox {
    flex: 0 1 auto;
    align-items: flex-end;
}

/* Small screens. */
@media (max-width: 900px) {
    .lsp .lsp-coursehero .lsp-coursehero__inner,
    .lsp .lsp-coursehero .lsp-coursehero__bannerinner,
    .lsp .lsp-courseoutline .lsp-courseoutline__layout,
    .lsp .lsp-coursefacts .lsp-coursefacts__split,
    .lsp .lsp-courseenrol .lsp-courseenrol__card {
        grid-template-columns: minmax(0, 1fr);
    }
    .lsp .lsp-coursehero .lsp-coursehero__visual {
        order: -1;
        aspect-ratio: 16 / 9;
    }
    .lsp .lsp-coursehero .lsp-coursehero__shade {
        background: linear-gradient(0deg, rgba(14, 17, 22, .94) 0%, rgba(14, 17, 22, .8) 55%, rgba(14, 17, 22, .55) 100%);
    }
    .lsp .lsp-courseenrol .lsp-courseenrol__visual {
        min-height: 0;
        aspect-ratio: 16 / 7;
    }
    .lsp .lsp-courseenrol .lsp-courseenrol__band .lsp-enrolbox {
        align-items: flex-start;
    }
    .lsp .lsp-courseoutline .lsp-courseoutline__layout .lsp-courseoutline__head {
        position: static;
    }
}
@media (max-width: 640px) {
    .lsp .lsp-coursehero .lsp-coursehero__content {
        gap: 16px;
    }
    .lsp .lsp-coursehero .lsp-coursehero__summary {
        font-size: 1.0625rem;
    }
    .lsp .lsp-coursehero .lsp-coursehero__fact {
        padding: 6px 12px;
        font-size: .875rem;
    }
    .lsp .lsp-coursehero .lsp-coursehero__banner {
        min-height: 0;
    }
    .lsp .lsp-coursehero .lsp-coursehero__bannerinner {
        padding: 72px 20px 22px;
        gap: 24px;
    }
    .lsp .lsp-coursehero .lsp-coursehero__panel {
        padding: 18px;
    }
    .lsp .lsp-enrolbox,
    .lsp .lsp-enrolbox .lsp-enrolbox__actions,
    .lsp .lsp-enrolbox .lsp-btn {
        width: 100%;
    }
    .lsp .lsp-courseoutline .lsp-courseoutline__row {
        flex-wrap: wrap;
        gap: 8px 14px;
        padding: 12px 16px;
    }
    .lsp .lsp-courseoutline .lsp-courseoutline__row .lsp-courseoutline__name {
        flex-basis: calc(100% - 100px);
    }
    .lsp .lsp-courseoutline .lsp-courseoutline__row .lsp-courseoutline__count {
        order: 3;
        flex-basis: 100%;
        padding-left: 54px;
    }
    .lsp .lsp-courseoutline .lsp-courseoutline__activities {
        padding: 0 16px 12px 16px;
    }
    .lsp .lsp-courseoutline .lsp-courseoutline__type {
        display: none;
    }
    .lsp .lsp-coursefacts .lsp-coursefacts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .lsp .lsp-coursefacts .lsp-coursefacts__fact {
        padding: 16px;
    }
    .lsp .lsp-coursefacts .lsp-coursefacts__icon {
        width: 40px;
        height: 40px;
        margin-bottom: 6px;
    }
    .lsp .lsp-coursefacts .lsp-coursefacts__value {
        font-size: 1.0625rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-courseoutline .lsp-courseoutline__chevron {
        transition: none;
    }
}

/*
 * Course pages in two columns (local\course_layout) and the sections made for them: the catalogue hero, the enrol
 * card, learning outcomes, preview videos, course texts, the outline accordion and the teacher.
 */

/* Layout. On small screens the parts follow each other: top, the card, the main column. */
.lsp .lsp-cl {
    --lsp-cl-side: 360px;
    --lsp-cl-gap: 40px;
    --lsp-check: #1a7f4b;
    position: relative;
}
.lsp .lsp-cl__rail {
    position: relative;
    z-index: 3;
    padding: 24px 16px 8px;
    background: var(--lsp-page-bg);
}
.lsp .lsp-cl__railin {
    max-width: 560px;
    margin: 0 auto;
}
.lsp .lsp-cl__side .lsp-section {
    margin: 0;
    padding: 0;
    background: transparent;
}
.lsp .lsp-cl__side .lsp-container {
    max-width: none;
    padding: 0;
}
.lsp .lsp-cl__main > .lsp-section {
    padding-top: 28px;
    padding-bottom: 28px;
}
.lsp .lsp-cl__main > .lsp-section:first-child {
    padding-top: 40px;
}
.lsp .lsp-cl__main > .lsp-section:last-child {
    padding-bottom: 72px;
}
.lsp .lsp-cl__main > .lsp-section:is(.lsp-tone-soft, .lsp-tone-accent, .lsp-tone-dark) {
    padding-top: 40px;
    padding-bottom: 40px;
}
/* Sections made for full pages keep a smaller heading in the column, with the thin rule of the course blocks. */
.lsp .lsp-cl__main .lsp-heading {
    max-width: none;
    gap: 6px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--lsp-border);
}
.lsp .lsp-cl__main .lsp-title {
    font-size: 1.45rem;
    line-height: 1.2;
    letter-spacing: -.01em;
}
.lsp .lsp-cl__main .lsp-subtitle {
    font-size: 1rem;
}
.lsp .lsp-cl__main .lsp-prose {
    font-size: 1rem;
    line-height: 1.65;
}
.lsp .lsp-cl__main .lsp-courseoutline .lsp-courseoutline__layout,
.lsp .lsp-cl__main .lsp-coursefacts .lsp-coursefacts__split {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
}
@media (min-width: 992px) {
    .lsp .lsp-cl--side {
        display: grid;
        grid-template-columns:
            [full-start] minmax(24px, 1fr)
            [main-start] minmax(0, calc(1152px - var(--lsp-cl-side)))
            [side-start] var(--lsp-cl-side)
            [side-end] minmax(24px, 1fr)
            [full-end];
        grid-template-rows: auto 1fr;
    }
    .lsp .lsp-cl--side > .lsp-section,
    .lsp .lsp-cl--side > .lsp-cl__main {
        grid-column: full;
        min-width: 0;
    }
    .lsp .lsp-cl--side > .lsp-section {
        grid-row: 1;
    }
    .lsp .lsp-cl--side > .lsp-cl__main {
        grid-row: 2;
    }
    .lsp .lsp-cl--side.lsp-cl--notop > .lsp-cl__main {
        grid-row: 1 / 3;
    }
    .lsp .lsp-cl--side > .lsp-cl__rail {
        grid-column: side;
        grid-row: 1 / 3;
        padding: 24px 0 56px;
        background: transparent;
    }
    .lsp .lsp-cl--side .lsp-cl__railin,
    .lsp .lsp-cl--side .lsp-cl__side {
        height: 100%;
        max-width: none;
    }
    .lsp .lsp-cl--side .lsp-cl__sticky {
        position: sticky;
        top: calc(var(--lsp-cl-offset, 0px) + 24px);
    }
    /* The top and the main column leave room for the card. */
    .lsp .lsp-cl--side > .lsp-section > .lsp-container,
    .lsp .lsp-cl--side > .lsp-cl__main > .lsp-section > .lsp-container {
        padding-right: calc(24px + var(--lsp-cl-side) + var(--lsp-cl-gap));
    }
    .lsp .lsp-cl--side > .lsp-cl__main > .lsp-section > .lsp-container--narrow {
        max-width: 1200px;
    }
    .lsp .lsp-cl--side > .lsp-section.lsp-coursehero--catalogue {
        min-height: 440px;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .lsp .lsp-cl {
        --lsp-cl-side: 320px;
        --lsp-cl-gap: 32px;
    }
}

/* Blocks of a course page: a second level heading with a thin rule. */
.lsp .lsp-cblock__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--lsp-border);
}
.lsp .lsp-cblock__title {
    font-family: var(--lsp-heading-font);
    font-weight: var(--lsp-heading-weight);
    font-size: 1.45rem;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: var(--lsp-heading, inherit);
}
.lsp .lsp-cblock__count {
    font-size: .8125rem;
    color: var(--lsp-muted);
}
.lsp .lsp-cblock__intro {
    margin-bottom: 16px;
}
.lsp .lsp-tone-dark {
    --lsp-check: #5fd39a;
}

/* Course hero, catalogue: the course image blurred and darkened behind the text. */
.lsp .lsp-coursehero--catalogue {
    --lsp-text: #ffffff;
    --lsp-muted: rgba(255, 255, 255, .78);
    --lsp-heading: #ffffff;
    --lsp-accent-ink: var(--lsp-accent-light, #ffffff);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-top: 44px;
    padding-bottom: 64px;
    background: var(--lsp-dark, #0e1116);
    color: #ffffff;
}
.lsp .lsp-coursehero--catalogue.lsp-space-compact {
    padding-top: 32px;
    padding-bottom: 40px;
}
.lsp .lsp-coursehero--catalogue.lsp-space-spacious {
    padding-top: 72px;
    padding-bottom: 96px;
}
.lsp .lsp-coursehero--catalogue .lsp-coursehero__bg {
    position: absolute;
    inset: -32px;
    z-index: -2;
}
.lsp .lsp-coursehero--catalogue .lsp-coursehero__bgimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px) saturate(1.05);
}
.lsp .lsp-coursehero--catalogue::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--lsp-dark, #0e1116) 88%, transparent) 0%,
            color-mix(in srgb, var(--lsp-dark, #0e1116) 78%, transparent) 45%,
            color-mix(in srgb, var(--lsp-dark, #0e1116) 58%, transparent) 72%,
            color-mix(in srgb, var(--lsp-dark, #0e1116) 50%, transparent) 100%);
}
.lsp .lsp-coursehero--catalogue .lsp-coursehero__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    max-width: 660px;
}
.lsp .lsp-crumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
    font-size: .875rem;
}
.lsp .lsp-crumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.lsp .lsp-crumbs__item:first-child .lsp-crumbs__sep {
    display: none;
}
.lsp .lsp-crumbs__sep {
    width: 14px;
    height: 14px;
    opacity: .7;
}
.lsp .lsp-coursehero--catalogue .lsp-crumbs__link {
    color: rgba(255, 255, 255, .76);
}
.lsp .lsp-coursehero--catalogue .lsp-crumbs__link:hover {
    color: #ffffff;
    text-decoration: underline;
}
.lsp .lsp-coursehero--catalogue a:focus-visible {
    outline-color: #ffffff;
}
.lsp .lsp-coursehero--catalogue .lsp-coursehero__title {
    margin-top: 6px;
    font-family: var(--lsp-heading-font);
    font-weight: 800;
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    line-height: 1.18;
    letter-spacing: -.01em;
    color: #ffffff;
    text-wrap: balance;
}
.lsp .lsp-coursehero--catalogue .lsp-coursehero__lead {
    max-width: 38em;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .8);
}
.lsp .lsp-coursehero--catalogue .lsp-coursehero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 36px;
    margin: 10px 0 0;
}
.lsp .lsp-coursehero--catalogue .lsp-coursehero__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lsp .lsp-coursehero--catalogue .lsp-coursehero__statlabel {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .66);
}
.lsp .lsp-coursehero--catalogue .lsp-coursehero__statvalue {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}
.lsp .lsp-coursehero--catalogue .lsp-coursehero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin-top: 10px;
    font-size: .9375rem;
    color: rgba(255, 255, 255, .8);
}
.lsp .lsp-coursehero--catalogue .lsp-coursehero__metaitem {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.lsp .lsp-coursehero--catalogue .lsp-coursehero__metaitem .lsp-icon {
    width: 1.05em;
    height: 1.05em;
    color: var(--lsp-accent-light, #ffffff);
}
.lsp .lsp-coursehero--catalogue .lsp-coursehero__metavalue {
    font-weight: 500;
    color: #ffffff;
}
.lsp .lsp-coursehero--catalogue .lsp-enrolbox {
    margin-top: 12px;
}
.lsp .lsp-coursehero--catalogue .lsp-btn--secondary,
.lsp .lsp-coursehero--catalogue .lsp-btn--secondary:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, .7);
}

/* Enrol card in the side column. */
.lsp .lsp-enrolcard {
    overflow: hidden;
    border: 1px solid var(--lsp-border);
    border-radius: var(--lsp-r, 10px);
    background: var(--lsp-surface, #ffffff);
    color: var(--lsp-text);
    box-shadow: 0 22px 48px -28px rgba(16, 24, 40, .45);
}
.lsp .lsp-enrolcard__visual {
    aspect-ratio: 16 / 10;
}
.lsp .lsp-enrolcard__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lsp .lsp-enrolcard__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px 22px;
}
.lsp .lsp-enrolcard__price {
    font-family: var(--lsp-heading-font);
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.01em;
    color: var(--lsp-heading, inherit);
}
.lsp .lsp-enrolcard__state {
    font-weight: 600;
    color: var(--lsp-muted);
}
.lsp .lsp-enrolcard .lsp-enrolcard__btn {
    width: 100%;
    min-height: 56px;
    font-size: 1.0625rem;
    font-weight: 700;
}
.lsp .lsp-enrolcard .lsp-enrolcard__btn2 {
    width: 100%;
}
.lsp .lsp-enrolcard__notes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px dashed var(--lsp-border);
    font-size: .9rem;
}
.lsp .lsp-enrolcard__note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.lsp .lsp-enrolcard__note .lsp-icon {
    margin-top: .15em;
    color: var(--lsp-check, #1a7f4b);
    stroke-width: 2.2;
}
.lsp .lsp-enrolcard__hint {
    font-size: .875rem;
    line-height: 1.55;
    color: var(--lsp-muted);
}
.lsp .lsp-enrolcard .lsp-enrolcard__hintlink {
    color: var(--lsp-text);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.lsp .lsp-enrolcard__includes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--lsp-border);
}
.lsp .lsp-enrolcard__inctitle {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .09em;
    color: var(--lsp-muted);
}
.lsp .lsp-enrolcard__inclist {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: .9375rem;
}
.lsp .lsp-enrolcard__inclist--cols {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 9px 24px;
}
.lsp .lsp-enrolcard__incitem {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.lsp .lsp-enrolcard__incitem .lsp-icon {
    margin-top: .15em;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-enrolcard__foot {
    font-size: .8125rem;
    line-height: 1.5;
    color: var(--lsp-muted);
}
.lsp .lsp-courseenrol__body .lsp-enrolcard__notes,
.lsp .lsp-courseenrol__body .lsp-enrolcard__includes {
    align-self: stretch;
}
.lsp .lsp-enrolbar {
    display: none;
}
@media (max-width: 991.98px) {
    .lsp .lsp-courseenrol--side .lsp-enrolbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1035;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        background: var(--lsp-surface, #ffffff);
        color: var(--lsp-text);
        border-top: 1px solid var(--lsp-border);
        box-shadow: 0 -10px 28px -16px rgba(16, 24, 40, .35);
        transition: transform .25s ease, visibility .25s;
    }
    .lsp .lsp-courseenrol--side .lsp-enrolbar.is-hidden {
        transform: translateY(110%);
        visibility: hidden;
    }
    .lsp .lsp-enrolbar__price {
        font-size: 1.15rem;
        font-weight: 800;
    }
    .lsp .lsp-enrolbar .lsp-enrolbar__btn {
        min-height: 48px;
        margin-left: auto;
        font-weight: 700;
    }
    .lsp:has(.lsp-enrolbar) {
        padding-bottom: 72px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-courseenrol--side .lsp-enrolbar {
        transition: none;
    }
}

/* Learning outcomes. */
.lsp .lsp-courseoutcomes__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px 32px;
}
@media (min-width: 640px) {
    .lsp .lsp-courseoutcomes--checklist .lsp-courseoutcomes__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.lsp .lsp-courseoutcomes__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    line-height: 1.6;
}
.lsp .lsp-courseoutcomes__check {
    margin-top: .2em;
    color: var(--lsp-check, #1a7f4b);
    stroke-width: 2.2;
}
.lsp .lsp-courseoutcomes__item strong {
    font-weight: 700;
}

/* Preview videos and their dialog. */
.lsp .lsp-coursevideos__items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 20px 16px;
}
.lsp .lsp-coursevideos__link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: inherit;
}
.lsp .lsp-coursevideos__poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--lsp-r, 8px);
}
.lsp .lsp-coursevideos__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.lsp .lsp-coursevideos__play {
    position: absolute;
    inset: 0;
    width: 52px;
    height: 52px;
    margin: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #12151b;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
    transition: transform .2s ease;
}
.lsp .lsp-coursevideos__play svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
    fill: currentColor;
}
.lsp .lsp-coursevideos__title {
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.4;
}
.lsp .lsp-coursevideos__link:hover .lsp-coursevideos__img {
    transform: scale(1.04);
}
.lsp .lsp-coursevideos__link:hover .lsp-coursevideos__play {
    transform: scale(1.08);
}
.lsp .lsp-coursevideos__link:hover .lsp-coursevideos__title {
    text-decoration: underline;
}
.lsp .lsp-coursevideos--list .lsp-coursevideos__items {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}
.lsp .lsp-coursevideos--list .lsp-coursevideos__link {
    flex-direction: row;
    align-items: center;
    gap: 16px;
}
.lsp .lsp-coursevideos--list .lsp-coursevideos__poster {
    flex: none;
    width: 168px;
}
.lsp .lsp-coursevideos--list .lsp-coursevideos__play {
    width: 40px;
    height: 40px;
}
.lsp .lsp-vdialog {
    width: min(960px, calc(100vw - 32px));
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
}
.lsp .lsp-vdialog::backdrop {
    background: rgba(8, 10, 14, .84);
}
.lsp .lsp-vdialog__panel {
    overflow: hidden;
    border-radius: 12px;
    background: #0e1116;
}
.lsp .lsp-vdialog__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 8px 18px;
}
.lsp .lsp-vdialog__title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}
.lsp .lsp-vdialog__close {
    flex: none;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    cursor: pointer;
}
.lsp .lsp-vdialog__close:hover {
    background: rgba(255, 255, 255, .22);
}
.lsp .lsp-vdialog__close:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}
.lsp .lsp-vdialog__frame {
    aspect-ratio: 16 / 9;
    background: #000000;
}
.lsp .lsp-vdialog__frame iframe,
.lsp .lsp-vdialog__frame video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Course texts. */
.lsp .lsp-coursetext__box {
    padding: 20px 22px;
    border-radius: var(--lsp-r, 8px);
    background: var(--lsp-surface-2);
}

/* Outline, accordion. */
.lsp .lsp-courseoutline__acc {
    overflow: hidden;
    border: 1px solid var(--lsp-border);
    border-radius: var(--lsp-r, 8px);
    background: var(--lsp-surface, #ffffff);
}
.lsp .lsp-courseoutline__accitem + .lsp-courseoutline__accitem {
    border-top: 1px solid var(--lsp-border);
}
.lsp .lsp-courseoutline__accrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 54px;
    padding: 12px 16px;
    background: var(--lsp-surface-2);
    font-weight: 700;
    list-style: none;
}
.lsp summary.lsp-courseoutline__accrow {
    cursor: pointer;
}
.lsp .lsp-courseoutline__accrow::-webkit-details-marker {
    display: none;
}
.lsp .lsp-courseoutline__accrow::marker {
    content: "";
}
.lsp summary.lsp-courseoutline__accrow:focus-visible {
    outline: 3px solid var(--lsp-accent);
    outline-offset: -3px;
}
.lsp .lsp-courseoutline__accplus,
.lsp .lsp-courseoutline__accminus {
    color: var(--lsp-accent-ink);
    stroke-width: 2.2;
}
.lsp .lsp-courseoutline__accitem[open] > summary .lsp-courseoutline__accplus,
.lsp .lsp-courseoutline__accitem:not([open]) > summary .lsp-courseoutline__accminus {
    display: none;
}
.lsp .lsp-courseoutline__acclist {
    list-style: disc;
    padding: 14px 20px 18px 38px;
}
.lsp .lsp-courseoutline__accactivity + .lsp-courseoutline__accactivity {
    margin-top: 6px;
}

/* Teacher. */
.lsp .lsp-courseinstructor__list {
    display: grid;
    gap: 16px;
}
.lsp .lsp-courseinstructor__card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--lsp-r, 8px);
    background: var(--lsp-surface-2);
}
.lsp .lsp-courseinstructor--compact .lsp-courseinstructor__card {
    padding: 0 0 16px;
    background: transparent;
    border-bottom: 1px solid var(--lsp-border);
    border-radius: 0;
}
.lsp .lsp-courseinstructor__photo {
    flex: none;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    font-size: 1.25rem;
    font-weight: 700;
}
.lsp .lsp-courseinstructor__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lsp .lsp-courseinstructor__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.lsp .lsp-courseinstructor__name {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
}
.lsp .lsp-courseinstructor__role {
    color: var(--lsp-muted);
}
.lsp .lsp-courseinstructor__bio {
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.65;
}
.lsp .lsp-courseinstructor .lsp-courseinstructor__link {
    margin-top: 16px;
    font-size: .9rem;
    font-weight: 700;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-courseinstructor .lsp-courseinstructor__link:hover {
    text-decoration: underline;
}
@media (max-width: 575.98px) {
    .lsp .lsp-courseinstructor__card {
        flex-direction: column;
        gap: 12px;
    }
    .lsp .lsp-courseinstructor__photo {
        width: 64px;
        height: 64px;
    }
    .lsp .lsp-coursevideos--list .lsp-coursevideos__poster {
        width: 120px;
    }
}

/* The full width part after the columns: the headings of sections made for full pages stay moderate. */
.lsp .lsp-cl__after .lsp-title {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}
.lsp .lsp-cl__after .lsp-heading {
    margin-bottom: 28px;
}

/* sections/courses-variants.css */
/**
 * Letstudy Pages, more courses layouts: dark spotlight and compact list.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-spot and lsp-clist. The spotlight
 * shows its first course until the variants module marks the section .is-ready and takes over.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Spotlight. */
.lsp .lsp-courses--spotlight.lsp-tone-default,
.lsp .lsp-courses--spotlight.lsp-tone-dark {
    background: #0c0e12;
    color: #f3f5f8;
    --lsp-text: #f3f5f8;
    --lsp-muted: #a9b0bc;
    --lsp-border: rgba(255, 255, 255, .16);
    --lsp-accent-ink: var(--lsp-accent-light);
    --lsp-accent-soft: #1d222c;
    --lsp-surface-2: #1d222c;
    --lsp-heading: currentColor;
}
.lsp .lsp-spot {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 48px;
}
.lsp .lsp-spot__intro {
    flex: 1 1 280px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}
.lsp .lsp-spot__intro .lsp-heading {
    margin-bottom: 0;
}
.lsp .lsp-spot__intro .lsp-title {
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    line-height: 1.05;
    letter-spacing: -.02em;
}
.lsp .lsp-spot__nav {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.lsp .lsp-courses--spotlight:not(.is-ready) .lsp-spot__nav {
    display: none;
}
.lsp .lsp-spot__count {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: var(--lsp-heading-font);
}
.lsp .lsp-spot__num {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.lsp .lsp-spot__total {
    font-size: 1.25rem;
    color: var(--lsp-muted);
}
.lsp .lsp-spot__arrows {
    display: flex;
    gap: 10px;
}
.lsp .lsp-spot__arrow {
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--lsp-border);
    background: transparent;
    color: inherit;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease;
}
.lsp .lsp-spot__arrow:hover {
    transform: translateY(-2px);
    background: color-mix(in srgb, currentColor 10%, transparent);
}
.lsp .lsp-spot__arrow--next,
.lsp .lsp-spot__arrow--next:hover {
    border-color: transparent;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-courses--spotlight.lsp-tone-accent .lsp-spot__arrow--next {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-spot__main {
    flex: 2.2 1 620px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.lsp .lsp-spot__panel {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    border-radius: var(--lsp-r-lg);
    border: 1px solid rgba(255, 255, 255, .08);
    background: #151922;
    color: #f3f5f8;
}
.lsp .lsp-spot__panel[data-lsp-spot-later],
.lsp .lsp-spot__panel[hidden] {
    display: none;
}
.lsp .lsp-spot__media {
    flex: 1 1 300px;
    min-height: 360px;
}
.lsp .lsp-spot__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-spot__panel:hover .lsp-spot__media img {
    transform: scale(1.04);
}
.lsp .lsp-spot__art {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 82%, rgba(255, 255, 255, .22) 0 18%, transparent 18.3%),
        radial-gradient(circle at 78% 82%, transparent 0 28%, rgba(255, 255, 255, .16) 28.3% 32%, transparent 32.3%);
}
.lsp .lsp-spot__body {
    flex: 1.2 1 320px;
    min-width: 0;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.lsp .lsp-spot__chip {
    align-self: flex-start;
    padding: 3px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--lsp-accent) 24%, #151922);
    color: var(--lsp-accent-light);
    font-size: .8125rem;
    font-weight: 600;
}
.lsp .lsp-spot__name {
    font-family: var(--lsp-heading-font);
    font-size: clamp(1.5rem, 2.4vw, 1.875rem);
    font-weight: 700;
    line-height: 1.15;
    color: inherit;
}
.lsp .lsp-spot__name a::after {
    content: "";
    position: absolute;
    inset: 0;
}
.lsp .lsp-spot__summary {
    color: #a9b0bc;
}
.lsp .lsp-spot__fact {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--lsp-r);
    background: #1c212b;
    font-size: .9375rem;
    font-weight: 600;
}
.lsp .lsp-spot__fact .lsp-icon {
    color: var(--lsp-accent-light);
}
.lsp .lsp-spot__cta {
    margin-top: auto;
    align-self: flex-start;
    background: #f3f5f8;
    color: #0c0e12;
}
.lsp .lsp-spot__panel:hover .lsp-spot__cta .lsp-icon {
    transform: translateX(3px);
}
.lsp .lsp-spot__thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 6px;
    scrollbar-width: thin;
}
.lsp .lsp-spot__thumbitem {
    flex: 1 0 128px;
    min-width: 0;
    display: flex;
}
.lsp .lsp-spot__thumb {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: var(--lsp-r);
    border: 1.5px solid rgba(255, 255, 255, .08);
    background: #151922;
    color: #f3f5f8;
    font: inherit;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, transform .15s ease;
}
.lsp .lsp-spot__thumb:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, .3);
    transform: translateY(-2px);
}
.lsp .lsp-spot__thumb[aria-pressed="true"] {
    border-color: var(--lsp-accent-light);
}
.lsp .lsp-spot__thumbimg {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
}
.lsp .lsp-spot__thumbname {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Compact list. */
.lsp .lsp-clist {
    padding: 6px 24px;
    border-radius: var(--lsp-r-lg);
    border: 1px solid var(--lsp-card-border);
    background: var(--lsp-card-bg);
    color: var(--lsp-text);
    box-shadow: var(--lsp-card-shadow);
}
.lsp .lsp-tone-soft .lsp-clist,
.lsp .lsp-tone-accent .lsp-clist {
    background: #ffffff;
    color: #12151b;
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-border: #e1e4e9;
    --lsp-accent-ink: var(--lsp-soft-ink);
}
.lsp .lsp-tone-dark .lsp-clist {
    --lsp-border: #2a303c;
}
.lsp .lsp-clist__row {
    position: relative;
    display: grid;
    grid-template-columns: 36px 96px minmax(0, 1fr) minmax(0, 170px) 168px auto;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid var(--lsp-border);
    isolation: isolate;
}
.lsp .lsp-clist__row:first-child {
    border-top: 0;
}
.lsp .lsp-clist__row::before {
    content: "";
    position: absolute;
    inset: 4px -12px;
    z-index: -1;
    border-radius: var(--lsp-r);
    background: color-mix(in srgb, var(--lsp-accent) 7%, transparent);
    opacity: 0;
    transition: opacity .2s ease;
}
.lsp .lsp-clist__row:hover::before {
    opacity: 1;
}
.lsp .lsp-clist__num {
    font-family: var(--lsp-heading-font);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--lsp-muted);
    font-variant-numeric: tabular-nums;
}
.lsp .lsp-clist__thumb {
    width: 96px;
    aspect-ratio: 4 / 3;
    border-radius: var(--lsp-r-sm);
}
.lsp .lsp-clist__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lsp .lsp-clist__name {
    font-family: var(--lsp-heading-font);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
}
.lsp .lsp-clist__name::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
}
.lsp .lsp-clist__summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-size: .875rem;
    color: var(--lsp-muted);
}
.lsp .lsp-clist__category {
    min-width: 0;
}
.lsp .lsp-clist__category .lsp-chip {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}
.lsp .lsp-clist__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9375rem;
    color: var(--lsp-muted);
}
.lsp .lsp-clist__date .lsp-icon {
    color: var(--lsp-accent-ink);
}
.lsp .lsp-clist__btn {
    min-height: 42px;
    padding: 0 18px;
    font-size: .9375rem;
    border-color: var(--lsp-border);
}
.lsp .lsp-clist__row:hover .lsp-clist__btn {
    background: var(--lsp-accent);
    border-color: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-clist__row:hover .lsp-clist__btn .lsp-icon {
    transform: translateX(3px);
}

/* Motion. */
/* On large screens every thumbnail shows, three in a row, with room for the start of the course name. Small
   screens keep the scrolling strip. */
@media (min-width: 641px) {
    .lsp .lsp-spot__thumbs {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        overflow: visible;
    }
}
@media (prefers-reduced-motion: no-preference) {
    .lsp .lsp-spot__panel.is-entering {
        animation: lsp-spot-in .5s cubic-bezier(.2, .7, .2, 1);
    }
    .lsp .lsp-spot__num.is-entering {
        animation: lsp-spot-num .4s cubic-bezier(.2, .7, .2, 1);
    }
}
@keyframes lsp-spot-in {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes lsp-spot-num {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Smaller screens. */
@media (max-width: 1100px) {
    .lsp .lsp-clist__row {
        grid-template-columns: 96px minmax(0, 1fr) minmax(0, 160px) 150px;
    }
    .lsp .lsp-clist__num,
    .lsp .lsp-clist__btn {
        display: none;
    }
}
@media (max-width: 760px) {
    .lsp .lsp-clist {
        padding: 4px 16px;
    }
    .lsp .lsp-clist__row {
        grid-template-columns: 76px minmax(0, 1fr);
        grid-template-areas: "thumb main" "thumb category" "thumb date";
        align-items: start;
        gap: 6px 16px;
    }
    .lsp .lsp-clist__thumb {
        grid-area: thumb;
        width: 76px;
    }
    .lsp .lsp-clist__main {
        grid-area: main;
    }
    .lsp .lsp-clist__category {
        grid-area: category;
    }
    .lsp .lsp-clist__date {
        grid-area: date;
        font-size: .875rem;
    }
    .lsp .lsp-clist__summary {
        display: none;
    }
    .lsp .lsp-clist__name {
        font-size: 1.0625rem;
    }
}
@media (max-width: 640px) {
    .lsp .lsp-spot {
        gap: 32px;
    }
    .lsp .lsp-spot__media {
        min-height: 220px;
    }
    .lsp .lsp-spot__body {
        padding: 24px;
    }
    .lsp .lsp-spot__nav {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .lsp .lsp-spot__num {
        font-size: 3rem;
    }
    .lsp .lsp-spot__thumbitem {
        flex-basis: 150px;
    }
}

/* sections/coursespotlight.css */
/**
 * Letstudy Pages, course spotlight section.
 *
 * Scoped under .lsp-coursespotlight, classes prefixed lsp-coursespotlight. The banner puts the text on
 * a dark shade over the course image (or its generated cover), so it reads in every section tone.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Shared. */
.lsp .lsp-coursespotlight .lsp-coursespotlight__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__title {
    font-family: var(--lsp-heading-font);
    font-weight: var(--lsp-heading-weight);
    font-size: clamp(1.875rem, 3.4vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -.015em;
    color: inherit;
    text-wrap: balance;
    overflow-wrap: break-word;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__course {
    font-weight: 600;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__summary {
    font-size: 1.0625rem;
    color: var(--lsp-muted);
    max-width: 38em;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: #12151b;
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1.2;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__tag:hover {
    color: #12151b;
    text-decoration: underline;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__fact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--lsp-surface-2);
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.25;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__fact .lsp-icon {
    width: 18px;
    height: 18px;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-coursespotlight.lsp-tone-soft .lsp-coursespotlight__fact {
    background: #ffffff;
}
.lsp .lsp-coursespotlight.lsp-tone-accent .lsp-coursespotlight__fact {
    background: transparent;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lsp-on-accent) 45%, transparent);
}

/* Teachers. */
.lsp .lsp-coursespotlight .lsp-coursespotlight__teachers {
    display: flex;
    align-items: center;
    gap: 14px;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__faces {
    flex: none;
    display: flex;
    padding-left: 10px;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__face {
    width: 44px;
    height: 44px;
    margin-left: -10px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 3px solid var(--lsp-spotlight-ring, var(--lsp-page-bg));
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    font-size: .875rem;
    font-weight: 700;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__face--1 {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__face--2 {
    background: var(--lsp-accent-deep);
    color: #ffffff;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__face--3 {
    background: #12151b;
    color: #ffffff;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__by {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__bylabel {
    font-size: .8125rem;
    color: var(--lsp-muted);
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__names {
    font-weight: 700;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__teacher + .lsp-coursespotlight__teacher::before {
    content: ", ";
}

/* Progress. */
.lsp .lsp-coursespotlight .lsp-coursespotlight__progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 420px;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__progresstop {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: .9375rem;
    font-weight: 600;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__bar {
    position: relative;
    display: block;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: color-mix(in srgb, var(--lsp-accent) 16%, transparent);
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__fill {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: var(--lsp-accent);
}
.lsp .lsp-coursespotlight.lsp-tone-accent .lsp-coursespotlight__bar {
    background: color-mix(in srgb, var(--lsp-on-accent) 22%, transparent);
}
.lsp .lsp-coursespotlight.lsp-tone-accent .lsp-coursespotlight__fill {
    background: var(--lsp-on-accent);
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__actions {
    margin-top: 6px;
}

/* Split. */
.lsp .lsp-coursespotlight .lsp-coursespotlight__box {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__visual {
    position: relative;
    aspect-ratio: 5 / 4;
    border-radius: var(--lsp-r-lg);
    box-shadow: 0 30px 60px -36px rgba(18, 21, 27, .45);
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__visual .lsp-coursespotlight__tag {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 1;
    box-shadow: 0 6px 18px -8px rgba(18, 21, 27, .4);
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}
.lsp .lsp-coursespotlight.lsp-tone-soft {
    --lsp-spotlight-ring: var(--lsp-accent-soft);
}
.lsp .lsp-coursespotlight.lsp-tone-accent {
    --lsp-spotlight-ring: var(--lsp-accent);
}
.lsp .lsp-coursespotlight.lsp-tone-dark {
    --lsp-spotlight-ring: var(--lsp-dark);
}

/* Banner. */
.lsp .lsp-coursespotlight .lsp-coursespotlight__banner {
    --lsp-text: #ffffff;
    --lsp-muted: rgba(255, 255, 255, .82);
    --lsp-accent-ink: #ffffff;
    --lsp-surface-2: rgba(255, 255, 255, .14);
    --lsp-spotlight-ring: #1d222c;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    border-radius: var(--lsp-r-lg);
    color: #ffffff;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__backdrop {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(14, 17, 22, .9) 0%, rgba(14, 17, 22, .72) 48%, rgba(14, 17, 22, .38) 100%),
        linear-gradient(0deg, rgba(14, 17, 22, .55), transparent 60%);
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__inner {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: end;
    gap: 40px;
    padding: clamp(28px, 5vw, 56px);
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__lead {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__eyebrow {
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .08em;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__banner .lsp-coursespotlight__title {
    font-size: clamp(2rem, 4.2vw, 3.25rem);
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__banner .lsp-coursespotlight__summary {
    color: rgba(255, 255, 255, .86);
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    border-radius: var(--lsp-r);
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(14, 17, 22, .42);
    backdrop-filter: blur(10px);
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__aside:empty {
    display: none;
}
/* The banner is dark on every tone: its facts keep the glass chips, also where the tone makes chips white. */
.lsp .lsp-coursespotlight .lsp-coursespotlight__banner .lsp-coursespotlight__fact {
    background: rgba(255, 255, 255, .14);
    color: #ffffff;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__banner .lsp-coursespotlight__bar {
    background: rgba(255, 255, 255, .22);
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__banner .lsp-coursespotlight__fill {
    background: #ffffff;
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__banner .lsp-btn--primary,
.lsp .lsp-coursespotlight .lsp-coursespotlight__banner .lsp-btn--primary:hover {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__banner .lsp-btn--secondary,
.lsp .lsp-coursespotlight .lsp-coursespotlight__banner .lsp-btn--secondary:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, .7);
}
.lsp .lsp-coursespotlight .lsp-coursespotlight__banner a:focus-visible {
    outline-color: #ffffff;
}

/* Small screens. */
@media (max-width: 900px) {
    .lsp .lsp-coursespotlight .lsp-coursespotlight__box,
    .lsp .lsp-coursespotlight .lsp-coursespotlight__inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .lsp .lsp-coursespotlight .lsp-coursespotlight__box {
        gap: 28px;
    }
    .lsp .lsp-coursespotlight .lsp-coursespotlight__visual {
        aspect-ratio: 16 / 10;
    }
    .lsp .lsp-coursespotlight .lsp-coursespotlight__inner {
        gap: 24px;
    }
    .lsp .lsp-coursespotlight .lsp-coursespotlight__shade {
        background: linear-gradient(0deg, rgba(14, 17, 22, .94) 0%, rgba(14, 17, 22, .78) 55%, rgba(14, 17, 22, .5) 100%);
    }
}
@media (max-width: 640px) {
    .lsp .lsp-coursespotlight .lsp-coursespotlight__content {
        gap: 14px;
    }
    .lsp .lsp-coursespotlight .lsp-coursespotlight__summary {
        font-size: 1rem;
    }
    .lsp .lsp-coursespotlight .lsp-coursespotlight__fact {
        padding: 6px 12px;
        font-size: .875rem;
    }
    .lsp .lsp-coursespotlight .lsp-coursespotlight__banner {
        min-height: 0;
    }
    .lsp .lsp-coursespotlight .lsp-coursespotlight__inner {
        padding: 72px 20px 22px;
    }
    .lsp .lsp-coursespotlight .lsp-coursespotlight__aside {
        padding: 16px;
    }
    .lsp .lsp-coursespotlight .lsp-coursespotlight__actions,
    .lsp .lsp-coursespotlight .lsp-coursespotlight__actions .lsp-btn {
        width: 100%;
    }
}

/* sections/cta-variants.css */
/**
 * Letstudy Pages, more call to action layouts: split with picture, slim banner and floating card.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-ctasplit, lsp-ctabanner and lsp-ctacard.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Split. */
.lsp .lsp-ctasplit {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    min-height: 420px;
    overflow: hidden;
    border-radius: var(--lsp-r-lg);
    background: var(--lsp-accent-soft);
    color: #12151b;
    --lsp-text: #12151b;
    --lsp-muted: #3d434f;
    --lsp-accent-ink: var(--lsp-soft-ink);
}
.lsp .lsp-cta--split.lsp-tone-soft .lsp-ctasplit,
.lsp .lsp-cta--split.lsp-tone-accent .lsp-ctasplit {
    background: #ffffff;
    --lsp-muted: #545c6a;
}
.lsp .lsp-cta--split.lsp-tone-dark .lsp-ctasplit {
    background: #161a22;
    color: #f3f5f8;
    --lsp-text: #f3f5f8;
    --lsp-muted: #a9b0bc;
    --lsp-accent-ink: var(--lsp-accent-light);
}
.lsp .lsp-ctasplit__text {
    padding: 64px 48px 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
}
.lsp .lsp-ctasplit__title {
    font-family: var(--lsp-heading-font);
    font-weight: var(--lsp-heading-weight);
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.08;
    letter-spacing: -.02em;
    color: inherit;
    text-wrap: balance;
}
.lsp .lsp-ctasplit__subtitle {
    max-width: 30em;
    font-size: 1.125rem;
    color: var(--lsp-muted);
}
.lsp .lsp-ctasplit .lsp-actions {
    margin-top: 10px;
}
.lsp .lsp-cta--split.lsp-tone-accent .lsp-ctasplit .lsp-btn--primary,
.lsp .lsp-cta--split.lsp-tone-accent .lsp-ctasplit .lsp-btn--primary:hover,
.lsp .lsp-cta--card.lsp-tone-accent .lsp-ctacard .lsp-btn--primary,
.lsp .lsp-cta--card.lsp-tone-accent .lsp-ctacard .lsp-btn--primary:hover {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-ctasplit__visual {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-cta--split.lsp-tone-accent .lsp-ctasplit__visual {
    background: var(--lsp-accent-deep);
    color: #ffffff;
}
.lsp .lsp-ctasplit__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lsp .lsp-ctasplit__art {
    position: absolute;
    inset: 0;
    display: block;
}
.lsp .lsp-ctasplit__rings {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 560px;
    height: 560px;
    margin: -280px 0 0 -280px;
    border-radius: 50%;
    background: radial-gradient(circle closest-side,
        color-mix(in srgb, currentColor 12%, transparent) 0 30%, transparent 30.3% 54%,
        color-mix(in srgb, currentColor 20%, transparent) 54.3% 54.9%, transparent 55.2% 78%,
        color-mix(in srgb, currentColor 14%, transparent) 78.3% 78.9%, transparent 79.2%);
    translate: calc(var(--lsp-px, 0) * 14px) calc(var(--lsp-py, 0) * 10px);
}
.lsp .lsp-ctasplit__card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 270px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: var(--lsp-r-lg);
    background: #ffffff;
    color: #12151b;
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .4);
    translate: -50% -50%;
    rotate: -4deg;
}
.lsp .lsp-ctasplit__badge {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--lsp-accent) 14%, #ffffff);
    color: var(--lsp-accent);
}
.lsp .lsp-ctasplit__badge .lsp-icon {
    width: 28px;
    height: 28px;
}
.lsp .lsp-ctasplit__lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lsp .lsp-ctasplit__lines span {
    width: 86%;
    height: 10px;
    border-radius: 5px;
    background: #c9ced6;
}
.lsp .lsp-ctasplit__lines span + span {
    width: 56%;
    height: 8px;
    background: #e3e6eb;
}
.lsp .lsp-ctasplit__tick {
    position: absolute;
    left: calc(50% + 104px);
    top: calc(50% - 74px);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #3ddc97;
    color: #0b3b26;
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .4);
}
.lsp .lsp-ctasplit__tick .lsp-icon {
    stroke-width: 2.6;
}
.lsp .lsp-ctasplit__people {
    position: absolute;
    left: calc(50% - 120px);
    top: calc(50% + 62px);
    display: flex;
    padding: 6px 12px 6px 6px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .4);
}
.lsp .lsp-ctasplit__people span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: linear-gradient(135deg, #ffc93c, #ff8f5a);
}
.lsp .lsp-ctasplit__people span + span {
    margin-left: -10px;
    background: linear-gradient(135deg, #8db2ff, #3d7bff);
}
.lsp .lsp-ctasplit__people span:last-child {
    background: linear-gradient(135deg, #6ff0b8, #22b877);
}

/* Banner. */
.lsp .lsp-cta--banner {
    padding-top: 24px;
    padding-bottom: 24px;
}
.lsp .lsp-cta--banner.lsp-space-compact {
    padding-top: 12px;
    padding-bottom: 12px;
}
.lsp .lsp-cta--banner.lsp-space-spacious {
    padding-top: 48px;
    padding-bottom: 48px;
}
.lsp .lsp-ctabanner {
    position: relative;
    overflow: hidden;
    padding: 16px 18px 16px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    border-radius: var(--lsp-r-lg);
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    --lsp-muted: var(--lsp-on-accent);
}
.lsp .lsp-ctabanner::after {
    content: "";
    position: absolute;
    left: -84px;
    top: 50%;
    width: 240px;
    height: 240px;
    margin-top: -120px;
    border-radius: 50%;
    background: radial-gradient(circle closest-side, transparent 0 56%,
        color-mix(in srgb, currentColor 14%, transparent) 57% 60%, transparent 61% 80%,
        color-mix(in srgb, currentColor 12%, transparent) 81% 84%, transparent 85%);
    pointer-events: none;
}
.lsp .lsp-cta--banner.lsp-tone-accent .lsp-ctabanner {
    background: #12151b;
    color: #f3f5f8;
    --lsp-muted: #c3c8d1;
}
.lsp .lsp-ctabanner__icon {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, currentColor 16%, transparent);
}
.lsp .lsp-ctabanner__text {
    position: relative;
    flex: 1 1 320px;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 14px;
}
.lsp .lsp-ctabanner__title {
    font-family: var(--lsp-heading-font);
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.3;
    color: inherit;
}
.lsp .lsp-ctabanner__subtitle {
    color: var(--lsp-muted);
    opacity: .9;
}
.lsp .lsp-ctabanner .lsp-actions {
    position: relative;
    flex: none;
    gap: 8px;
}
.lsp .lsp-ctabanner .lsp-btn {
    min-height: 44px;
    padding: 0 20px;
    font-size: .9375rem;
}
.lsp .lsp-ctabanner .lsp-btn--primary,
.lsp .lsp-ctabanner .lsp-btn--primary:hover {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-ctabanner .lsp-btn--secondary {
    border-color: color-mix(in srgb, currentColor 45%, transparent);
}
.lsp .lsp-cta--banner.lsp-tone-accent .lsp-ctabanner .lsp-btn--primary,
.lsp .lsp-cta--banner.lsp-tone-accent .lsp-ctabanner .lsp-btn--primary:hover {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}

/* Floating card. */
.lsp .lsp-cta--card {
    overflow: hidden;
    isolation: isolate;
}
.lsp .lsp-cta--card.lsp-tone-default {
    background: var(--lsp-accent-soft);
    --lsp-accent-ink: var(--lsp-soft-ink);
}
.lsp .lsp-cta--card::before,
.lsp .lsp-cta--card::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: var(--lsp-accent);
    opacity: .22;
    filter: blur(70px);
    pointer-events: none;
}
.lsp .lsp-cta--card::before {
    left: -120px;
    top: -160px;
}
.lsp .lsp-cta--card::after {
    right: -120px;
    bottom: -180px;
}
.lsp .lsp-cta--card.lsp-tone-accent::before,
.lsp .lsp-cta--card.lsp-tone-accent::after {
    background: #ffffff;
}
.lsp .lsp-ctacard__bg {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: radial-gradient(color-mix(in srgb, currentColor 22%, transparent) 1.5px, transparent 1.6px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 25%, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 25%, transparent 75%);
    pointer-events: none;
}
.lsp .lsp-ctacard {
    position: relative;
    max-width: 760px;
    margin: 32px auto 0;
    padding: 68px 48px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    border-radius: calc(var(--lsp-r-lg) + 8px);
    background: #ffffff;
    color: #12151b;
    --lsp-text: #12151b;
    --lsp-muted: #545c6a;
    --lsp-accent-ink: var(--lsp-soft-ink);
    box-shadow: 0 1px 2px rgba(18, 21, 27, .04), 0 40px 80px -32px rgba(18, 21, 27, .3);
}
.lsp .lsp-cta--card.lsp-tone-dark .lsp-ctacard {
    border: 1px solid #2a303c;
    background: #161a22;
    color: #f3f5f8;
    --lsp-text: #f3f5f8;
    --lsp-muted: #a9b0bc;
    --lsp-accent-ink: var(--lsp-accent-light);
    box-shadow: 0 40px 80px -32px rgba(0, 0, 0, .6);
}
.lsp .lsp-ctacard__icon {
    position: absolute;
    left: 50%;
    top: 0;
    width: 76px;
    height: 76px;
    margin: -38px 0 0 -38px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    box-shadow: 0 18px 36px -14px var(--lsp-accent-glow);
    rotate: -8deg;
    transition: rotate .4s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-ctacard:hover .lsp-ctacard__icon {
    rotate: 0deg;
}
.lsp .lsp-ctacard__icon .lsp-icon {
    width: 36px;
    height: 36px;
}
.lsp .lsp-ctacard__eyebrow {
    justify-content: center;
}
.lsp .lsp-ctacard__title {
    max-width: 16em;
    font-family: var(--lsp-heading-font);
    font-weight: var(--lsp-heading-weight);
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    color: inherit;
    text-wrap: balance;
}
.lsp .lsp-ctacard__subtitle {
    max-width: 34em;
    font-size: 1.125rem;
    color: var(--lsp-muted);
}
.lsp .lsp-ctacard .lsp-actions {
    justify-content: center;
    margin-top: 10px;
}

/* Motion. */
@media (prefers-reduced-motion: no-preference) {
    .lsp-anim .lsp-ctasplit__card {
        animation: lsp-float 6s ease-in-out infinite;
    }
    .lsp-anim .lsp-ctasplit__tick {
        animation: lsp-float 5s ease-in-out -2s infinite;
    }
    .lsp-anim .lsp-ctasplit__people {
        animation: lsp-float 7s ease-in-out -4s infinite;
    }
}

/* Smaller screens. */
@media (max-width: 900px) {
    .lsp .lsp-ctasplit {
        grid-template-columns: minmax(0, 1fr);
    }
    .lsp .lsp-ctasplit__visual {
        min-height: 300px;
    }
}
@media (max-width: 640px) {
    .lsp .lsp-ctasplit__text {
        padding: 36px 20px;
    }
    .lsp .lsp-ctasplit .lsp-btn {
        padding: 0 20px;
    }
    .lsp .lsp-ctasplit__visual {
        min-height: 260px;
    }
    .lsp .lsp-ctasplit__card {
        width: 230px;
        padding: 14px;
    }
    .lsp .lsp-ctasplit__tick {
        left: calc(50% + 84px);
    }
    .lsp .lsp-ctasplit__people {
        left: calc(50% - 104px);
    }
    .lsp .lsp-ctabanner {
        padding: 18px;
        align-items: flex-start;
    }
    .lsp .lsp-ctabanner__icon {
        width: 40px;
        height: 40px;
    }
    .lsp .lsp-ctabanner__text {
        flex-basis: calc(100% - 64px);
    }
    .lsp .lsp-ctabanner .lsp-actions {
        flex: 1 1 100%;
    }
    .lsp .lsp-ctacard {
        padding: 60px 22px 32px;
    }
}

/* sections/events.css */
/**
 * Letstudy Pages, upcoming events section.
 *
 * Scoped under .lsp-events, classes prefixed lsp-event. Colours come from the --lsp-* design
 * tokens; events turn white with dark text on the soft and accent tones.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp-events .lsp-event {
    position: relative;
    background: var(--lsp-card-bg);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-card-border);
    border-radius: var(--lsp-r-lg);
    box-shadow: var(--lsp-card-shadow);
    background-clip: padding-box;
    transition: transform .2s ease, box-shadow .2s ease;
}
.lsp-events.lsp-tone-soft .lsp-event,
.lsp-events.lsp-tone-accent .lsp-event {
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-border: #e1e4e9;
    --lsp-accent-ink: var(--lsp-soft-ink);
    background: #ffffff;
    color: #12151b;
}
.lsp-events .lsp-event:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px -24px rgba(18, 21, 27, .35);
}
.lsp-events .lsp-event:focus-within {
    outline: 3px solid var(--lsp-accent);
    outline-offset: 2px;
}
.lsp-events.lsp-tone-accent .lsp-event:focus-within {
    outline-color: var(--lsp-on-accent);
}
.lsp-events .lsp-event__title {
    font-family: var(--lsp-heading-font);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    color: inherit;
    text-wrap: pretty;
}
.lsp-events .lsp-event__title a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}
.lsp-events .lsp-event__title a:focus-visible {
    outline: none;
}
.lsp-events .lsp-event__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lsp-events .lsp-event__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-size: .875rem;
    color: var(--lsp-muted);
}
.lsp-events .lsp-event__info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.lsp-events .lsp-event__info .lsp-icon {
    width: 16px;
    height: 16px;
}
.lsp-events .lsp-event__course {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--lsp-accent-ink);
}
.lsp-events .lsp-event__kind {
    justify-self: end;
    align-self: start;
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid var(--lsp-border);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--lsp-muted);
    white-space: nowrap;
}

/* List. */
.lsp-events .lsp-events__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr));
    gap: 16px;
}
.lsp-events .lsp-events__list .lsp-event {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 18px;
    padding: 18px 20px 18px 18px;
}
.lsp-events .lsp-event__date {
    width: 60px;
    height: 64px;
    border-radius: var(--lsp-r);
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.05;
}
.lsp-events .lsp-event:first-child .lsp-event__date {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp-events .lsp-event__day {
    font-family: var(--lsp-heading-font);
    font-weight: 800;
    font-size: 1.5rem;
    font-variant-numeric: tabular-nums;
}
.lsp-events .lsp-event__month {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
}
.lsp-events .lsp-events__list .lsp-event__body {
    padding-top: 3px;
}

/* Cards. */
.lsp-events .lsp-events__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 20px;
}
/* One to three events share the row instead of leaving empty columns. */
.lsp-events .lsp-events__cards:has(> li:nth-child(-n+3):last-child) {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.lsp-events .lsp-event--card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.lsp-events .lsp-event__top {
    min-height: 136px;
    padding: 20px 22px;
    display: flex;
    align-items: flex-end;
    color: var(--lsp-soft-ink);
}
.lsp-events .lsp-event__top.lsp-cover--1 {
    color: var(--lsp-on-accent);
}
.lsp-events .lsp-event__top.lsp-cover--2 {
    color: #ffffff;
}
.lsp-events .lsp-event__top.lsp-cover--3 {
    color: var(--lsp-text);
}
.lsp-events .lsp-event__bigdate {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    line-height: 1;
}
.lsp-events .lsp-event__bigday {
    font-family: var(--lsp-heading-font);
    font-weight: 800;
    font-size: 3.25rem;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}
.lsp-events .lsp-event__bigmonth {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 6px;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .06em;
}
.lsp-events .lsp-event__bigmonth span + span {
    font-weight: 500;
    letter-spacing: 0;
    opacity: .85;
}
.lsp-events .lsp-event--card .lsp-event__kind {
    position: absolute;
    top: 16px;
    right: 16px;
    max-width: calc(100% - 32px);
    overflow: hidden;
    text-overflow: ellipsis;
    background: #ffffff;
    border-color: transparent;
    color: #12151b;
    box-shadow: 0 6px 16px -8px rgba(18, 21, 27, .35);
}
.lsp-events .lsp-event--card .lsp-event__body {
    flex: 1;
    padding: 18px 22px 22px;
}

/* Small screens. */
@media (max-width: 520px) {
    .lsp-events .lsp-events__list .lsp-event {
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 16px;
        padding: 16px;
    }
    .lsp-events .lsp-events__list .lsp-event__kind {
        grid-column: 2;
        justify-self: start;
        margin-top: 10px;
    }
    .lsp-events .lsp-event__date {
        width: 54px;
        height: 58px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lsp-events .lsp-event:hover {
        transform: none !important;
    }
}

/* sections/faq.css */
/**
 * Letstudy Pages, FAQ section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-faq. Questions are details
 * elements; the sections module only adds a height animation and the .is-closing state.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp .lsp-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lsp .lsp-faq__item {
    background: var(--lsp-card-bg);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-card-border);
    border-radius: var(--lsp-r);
    box-shadow: var(--lsp-card-shadow);
    transition: box-shadow .25s ease, border-color .25s ease;
}
.lsp .lsp-tone-soft .lsp-faq__item,
.lsp .lsp-tone-accent .lsp-faq__item {
    background: #ffffff;
    color: #12151b;
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-accent-ink: var(--lsp-soft-ink);
}
.lsp .lsp-faq__item[open] {
    box-shadow: 0 1px 2px rgba(18, 21, 27, .04), 0 22px 44px -22px rgba(18, 21, 27, .28);
}
.lsp .lsp-tone-dark .lsp-faq__item[open] {
    border-color: color-mix(in srgb, var(--lsp-accent-light) 35%, transparent);
    box-shadow: none;
}
.lsp .lsp-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 68px;
    padding: 18px 20px 18px 24px;
    border-radius: inherit;
    list-style: none;
    cursor: pointer;
}
.lsp .lsp-faq__q::-webkit-details-marker {
    display: none;
}
.lsp .lsp-faq__q::marker {
    content: "";
}
.lsp .lsp-faq__q:focus-visible {
    outline: 3px solid var(--lsp-accent);
    outline-offset: 2px;
}
.lsp .lsp-faq__question {
    margin: 0;
    font-family: var(--lsp-heading-font);
    font-size: 1.0625rem;
    font-weight: 650;
    line-height: 1.4;
    color: inherit;
    transition: color .15s ease;
}
.lsp .lsp-faq__q:hover .lsp-faq__question {
    color: var(--lsp-accent-ink);
}
.lsp .lsp-faq__chevron {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), background-color .2s ease, color .2s ease;
}
.lsp .lsp-faq__chevron .lsp-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}
.lsp .lsp-faq__item[open] > .lsp-faq__q .lsp-faq__chevron {
    transform: rotate(180deg);
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-faq__item.is-closing > .lsp-faq__q .lsp-faq__chevron {
    transform: none;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
}
.lsp .lsp-faq__a {
    overflow: hidden;
}
.lsp .lsp-faq__answer {
    max-width: 68ch;
    padding: 0 24px 24px;
    color: var(--lsp-muted);
    line-height: 1.65;
}
.lsp .lsp-faq__answer p + p {
    margin-top: .8em;
}
.lsp .lsp-faq__more {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}
.lsp .lsp-faq__more .lsp-actions {
    justify-content: center;
}

/* Split: heading and button on the left, questions on the right. */
.lsp .lsp-faq__split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 40px 72px;
    align-items: start;
}
.lsp .lsp-faq__split--single {
    grid-template-columns: minmax(0, 1fr);
}
.lsp .lsp-faq__intro {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.lsp .lsp-faq__intro .lsp-heading {
    margin-bottom: 0;
}

/* Small screens. */
@media (max-width: 900px) {
    .lsp .lsp-faq__split {
        grid-template-columns: minmax(0, 1fr);
    }
    .lsp .lsp-faq__intro {
        position: static;
        gap: 20px;
    }
}
@media (max-width: 640px) {
    .lsp .lsp-faq__q {
        min-height: 60px;
        padding: 14px 14px 14px 18px;
        gap: 14px;
    }
    .lsp .lsp-faq__question {
        font-size: 1rem;
    }
    .lsp .lsp-faq__answer {
        padding: 0 18px 20px;
    }
}

/* sections/features-variants.css */
/**
 * Letstudy Pages, more features layouts: icon list, alternating rows and big numbers.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-featicons, lsp-featalt and lsp-featnum.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Icon list. */
.lsp .lsp-featicons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 56px;
}
.lsp .lsp-featicons--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 980px;
}
.lsp .lsp-featicons__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.lsp .lsp-featicons__icon {
    flex: none;
    position: relative;
    width: 52px;
    height: 52px;
    margin: 6px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    transition: background-color .2s ease, color .2s ease, rotate .3s ease;
}
.lsp .lsp-featicons__icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 21px;
    border: 1.5px dashed color-mix(in srgb, var(--lsp-accent) 40%, transparent);
}
.lsp .lsp-featicons__icon .lsp-icon {
    width: 26px;
    height: 26px;
}
.lsp .lsp-featicons__item:hover .lsp-featicons__icon {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    rotate: -6deg;
}
.lsp .lsp-featicons__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 4px;
}
.lsp .lsp-featicons__title {
    font-family: var(--lsp-heading-font);
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.3;
    color: inherit;
}
.lsp .lsp-featicons__text {
    color: var(--lsp-muted);
}
.lsp .lsp-tone-soft .lsp-featicons__icon {
    background: #ffffff;
}
.lsp .lsp-tone-accent .lsp-featicons__icon {
    background: rgba(255, 255, 255, .16);
    color: var(--lsp-on-accent);
}
.lsp .lsp-tone-accent .lsp-featicons__icon::after {
    border-color: color-mix(in srgb, var(--lsp-on-accent) 40%, transparent);
}
.lsp .lsp-tone-accent .lsp-featicons__item:hover .lsp-featicons__icon {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}

/* Alternating rows. */
.lsp .lsp-featalt {
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.lsp .lsp-featalt__row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px 80px;
}
.lsp .lsp-featalt__row:nth-child(even) .lsp-featalt__media {
    order: 2;
}
.lsp .lsp-featalt__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--lsp-r-lg);
}
.lsp .lsp-featalt__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-featalt__row:hover .lsp-featalt__image {
    transform: scale(1.04);
}
.lsp .lsp-featalt__art {
    position: absolute;
    inset: 0;
    display: block;
}
.lsp .lsp-featalt__badge {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 128px;
    height: 128px;
    margin: -64px 0 0 -64px;
    border-radius: 34px;
    display: grid;
    place-items: center;
    background: #ffffff;
    color: var(--lsp-accent);
    box-shadow: 0 30px 60px -24px rgba(18, 21, 27, .4);
    rotate: -6deg;
    transition: rotate .4s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-featalt__row:hover .lsp-featalt__badge {
    rotate: 0deg;
}
.lsp .lsp-featalt__badge .lsp-icon {
    width: 58px;
    height: 58px;
    stroke-width: 1.5;
}
.lsp .lsp-featalt__card {
    position: absolute;
    left: 9%;
    bottom: 11%;
    width: 40%;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 20px 40px -20px rgba(18, 21, 27, .35);
}
.lsp .lsp-featalt__card span {
    width: 70%;
    height: 8px;
    border-radius: 4px;
    background: #e3e6eb;
}
.lsp .lsp-featalt__card span:first-child {
    width: 46%;
    height: 10px;
    background: var(--lsp-accent);
}
.lsp .lsp-featalt__card span:nth-child(2) {
    width: 92%;
}
.lsp .lsp-featalt__pill {
    position: absolute;
    right: 9%;
    top: 13%;
    padding: 8px 16px 8px 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 16px 32px -16px rgba(18, 21, 27, .35);
}
.lsp .lsp-featalt__pill .lsp-icon {
    width: 26px;
    height: 26px;
    padding: 5px;
    border-radius: 50%;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    stroke-width: 2.6;
}
.lsp .lsp-featalt__pill span {
    width: 64px;
    height: 8px;
    border-radius: 4px;
    background: #d5d9e0;
}
.lsp .lsp-featalt__text {
    max-width: 32rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
.lsp .lsp-featalt__label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--lsp-heading-font);
    font-weight: 700;
    color: var(--lsp-accent-ink);
    font-variant-numeric: tabular-nums;
}
.lsp .lsp-featalt__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
}
.lsp .lsp-featalt__title {
    font-family: var(--lsp-heading-font);
    font-size: clamp(1.5rem, 2.6vw, 2.125rem);
    font-weight: var(--lsp-heading-weight);
    line-height: 1.15;
    letter-spacing: -.015em;
    color: inherit;
    text-wrap: balance;
}
.lsp .lsp-featalt__desc {
    font-size: 1.0625rem;
    color: var(--lsp-muted);
}
.lsp .lsp-tone-soft .lsp-featalt__icon {
    background: #ffffff;
}
.lsp .lsp-tone-accent .lsp-featalt__icon {
    background: rgba(255, 255, 255, .16);
    color: var(--lsp-on-accent);
}
.lsp .lsp-tone-accent .lsp-featalt__media.lsp-cover--1 {
    background-color: var(--lsp-accent-deep);
}
.lsp .lsp-tone-soft .lsp-featalt__media.lsp-cover--0,
.lsp .lsp-tone-default .lsp-featalt__media.lsp-cover--3,
.lsp .lsp-tone-soft .lsp-featalt__media.lsp-cover--3,
.lsp .lsp-tone-accent .lsp-featalt__media.lsp-cover--3 {
    background-color: #ffffff;
}

/* Big numbers. */
.lsp .lsp-featnum {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 48px 32px;
    --lsp-num-ink: var(--lsp-accent);
}
.lsp .lsp-tone-soft .lsp-featnum {
    --lsp-num-ink: var(--lsp-soft-ink);
}
.lsp .lsp-tone-accent .lsp-featnum {
    --lsp-num-ink: var(--lsp-on-accent);
}
.lsp .lsp-tone-dark .lsp-featnum {
    --lsp-num-ink: var(--lsp-accent-light);
}
.lsp .lsp-featnum__item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 28px;
    border-top: 2px solid var(--lsp-border);
}
.lsp .lsp-featnum__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: -2px;
    width: 56px;
    height: 2px;
    background: var(--lsp-num-ink);
    transition: width .6s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-featnum__item:hover::before {
    width: 100%;
}
.lsp .lsp-featnum__num {
    margin-bottom: 8px;
    font-family: var(--lsp-heading-font);
    font-size: clamp(4.25rem, 7.4vw, 6.5rem);
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.04em;
    color: var(--lsp-num-ink);
    font-variant-numeric: tabular-nums;
}
@supports (-webkit-text-stroke: 2px #000000) {
    .lsp .lsp-featnum__num {
        color: transparent;
        -webkit-text-stroke: 2px var(--lsp-num-ink);
        transition: color .35s ease;
    }
    .lsp .lsp-featnum__item:hover .lsp-featnum__num {
        color: var(--lsp-num-ink);
    }
}
.lsp .lsp-featnum__title {
    font-family: var(--lsp-heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    color: inherit;
}
.lsp .lsp-featnum__text {
    color: var(--lsp-muted);
}

/* Smaller screens. */
@media (max-width: 900px) {
    .lsp .lsp-featicons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }
    .lsp .lsp-featalt__row {
        gap: 32px 48px;
    }
}
@media (max-width: 760px) {
    .lsp .lsp-featalt {
        gap: 56px;
    }
    .lsp .lsp-featalt__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    .lsp .lsp-featalt__row:nth-child(even) .lsp-featalt__media {
        order: 0;
    }
    .lsp .lsp-featalt__badge {
        width: 96px;
        height: 96px;
        margin: -48px 0 0 -48px;
        border-radius: 26px;
    }
    .lsp .lsp-featalt__badge .lsp-icon {
        width: 44px;
        height: 44px;
    }
}
@media (max-width: 640px) {
    .lsp .lsp-featicons,
    .lsp .lsp-featicons--2 {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
    .lsp .lsp-featnum {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 20px;
    }
    /* A last item alone in its row takes the whole row, instead of leaving half of it empty. */
    .lsp .lsp-featnum > .lsp-featnum__item:nth-child(odd):last-child {
        grid-column: 1 / -1;
    }
    .lsp .lsp-featnum__num {
        font-size: 3.5rem;
    }
    .lsp .lsp-featnum__title {
        font-size: 1.125rem;
    }
}

/* sections/footer-variants.css */
/**
 * Letstudy Pages, more footer layouts: big site name and centred.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-footbig and lsp-footcenter; the
 * columns, social links and bottom bar reuse the footer classes of styles/frontend.css.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Big site name. */
.lsp .lsp-footer--big {
    padding-top: 56px;
}
.lsp .lsp-footbig__name {
    margin-bottom: 48px;
    padding-bottom: 40px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--lsp-border);
    font-family: var(--lsp-heading-font);
    font-weight: 800;
    line-height: .92;
    letter-spacing: -.035em;
    color: inherit;
    overflow-wrap: anywhere;
}
.lsp .lsp-footer .lsp-footbig__name:hover {
    text-decoration: none;
}
.lsp .lsp-footbig__name--xl {
    font-size: clamp(2.75rem, 11.5vw, 10.5rem);
}
.lsp .lsp-footbig__name--l {
    font-size: clamp(2.5rem, 8.6vw, 7.75rem);
}
.lsp .lsp-footbig__name--m {
    font-size: clamp(2.25rem, 5.6vw, 5rem);
}
.lsp .lsp-footbig__name--s {
    font-size: clamp(2rem, 3.8vw, 3.5rem);
}
.lsp .lsp-footbig__arrow {
    flex: none;
    width: .42em;
    height: .42em;
    margin-top: .12em;
    fill: none;
    stroke: var(--lsp-accent-ink);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: rotate .35s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-footbig__name:hover .lsp-footbig__arrow,
.lsp .lsp-footbig__name:focus-visible .lsp-footbig__arrow {
    rotate: 45deg;
}
.lsp .lsp-footbig__top {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(160px, 1fr));
    gap: 40px;
    padding-bottom: 48px;
}
.lsp .lsp-footbig__brand {
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}
.lsp .lsp-footbig__about {
    font-size: 1.125rem;
    color: var(--lsp-muted);
}

/* Centred. */
.lsp .lsp-footcenter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
}
.lsp .lsp-footcenter__brand {
    font-size: 1.375rem;
}
.lsp .lsp-footer--centered.lsp-tone-accent .lsp-brand__mark {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-footcenter__about {
    max-width: 36em;
    color: var(--lsp-muted);
}
.lsp .lsp-footcenter__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 28px;
    font-weight: 500;
}
.lsp .lsp-footcenter__links a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}
.lsp .lsp-footcenter .lsp-social {
    justify-content: center;
}
.lsp .lsp-footcenter__bottom {
    width: 100%;
    margin-top: 18px;
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    border-top: 1px solid var(--lsp-border);
    font-size: .875rem;
    color: var(--lsp-muted);
}
.lsp .lsp-footcenter__bottom .lsp-footer__legal {
    justify-content: center;
}

@media (max-width: 900px) {
    .lsp .lsp-footbig__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lsp .lsp-footbig__brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 520px) {
    .lsp .lsp-footbig__top {
        grid-template-columns: minmax(0, 1fr);
    }
    .lsp .lsp-footbig__name {
        margin-bottom: 36px;
        padding-bottom: 28px;
    }
}

/* sections/form.css */
/**
 * Letstudy Pages, form section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-form. Colours come from the
 * --lsp-* design tokens, so every tone (default, soft, accent, dark) and accent colour works.
 * Loaded with the other section stylesheets by css.php.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp-form {
    --lsp-form-danger: #c0362c;
}
.lsp-form.lsp-tone-dark {
    --lsp-form-danger: #ff8f85;
}
.lsp-form [hidden] {
    display: none !important;
}

/* Light surfaces inside soft and accent sections: the form always sits on white there. */
.lsp-tone-soft .lsp-form__shell,
.lsp-tone-soft .lsp-form__card,
.lsp-tone-accent .lsp-form__shell,
.lsp-tone-accent .lsp-form__card {
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-border: #e1e4e9;
    --lsp-surface: #ffffff;
    --lsp-surface-2: #f0f2f5;
    --lsp-accent-ink: var(--lsp-soft-ink);
}
.lsp .lsp-tone-accent .lsp-form__body .lsp-btn--primary,
.lsp .lsp-tone-accent .lsp-form__body .lsp-btn--primary:hover {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}

/* Panel: one large card, accent panel on the left, form on the right. */
.lsp-form__shell {
    --lsp-form-panel: var(--lsp-accent);
    --lsp-form-panel-ink: var(--lsp-on-accent);
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    padding: 10px;
    background: var(--lsp-surface);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-border);
    border-radius: calc(var(--lsp-r-lg) + 10px);
    box-shadow: 0 2px 6px rgba(18, 21, 27, .04), 0 48px 100px -48px rgba(18, 21, 27, .38);
}
.lsp-tone-soft .lsp-form__shell,
.lsp-tone-accent .lsp-form__shell {
    border-color: transparent;
}
.lsp-tone-accent .lsp-form__shell {
    --lsp-form-panel: var(--lsp-dark);
    --lsp-form-panel-ink: #f3f5f8;
    box-shadow: 0 48px 100px -40px rgba(0, 0, 0, .5);
}
.lsp-tone-dark .lsp-form__shell {
    box-shadow: 0 48px 100px -48px rgba(0, 0, 0, .7);
}
.lsp-form__shell--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 820px;
    margin: 0 auto;
}
.lsp-form__aside {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 4vw, 52px);
    border-radius: var(--lsp-r-lg);
    background: var(--lsp-form-panel);
    color: var(--lsp-form-panel-ink);
    --lsp-text: var(--lsp-form-panel-ink);
    --lsp-muted: color-mix(in srgb, var(--lsp-form-panel-ink) 92%, transparent);
    --lsp-accent-ink: var(--lsp-form-panel-ink);
    --lsp-border: color-mix(in srgb, var(--lsp-form-panel-ink) 28%, transparent);
}
.lsp-tone-accent .lsp-form__aside {
    --lsp-accent-ink: var(--lsp-accent-light);
}
.lsp-form__rings {
    position: absolute;
    z-index: -1;
    right: -150px;
    bottom: -170px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(circle, transparent 0 37%, color-mix(in srgb, var(--lsp-form-panel-ink) 16%, transparent) 37.4% 38.2%,
            transparent 38.6% 53%, color-mix(in srgb, var(--lsp-form-panel-ink) 13%, transparent) 53.4% 54.2%,
            transparent 54.6% 69%, color-mix(in srgb, var(--lsp-form-panel-ink) 10%, transparent) 69.4% 70.2%, transparent 70.6%),
        radial-gradient(circle, color-mix(in srgb, var(--lsp-form-panel-ink) 9%, transparent) 0 24%, transparent 24.4%);
}
.lsp-form__aside::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 22px;
    right: 22px;
    width: 132px;
    height: 132px;
    pointer-events: none;
    background: radial-gradient(color-mix(in srgb, var(--lsp-form-panel-ink) 30%, transparent) 1.3px, transparent 1.8px) 0 0 / 16px 16px;
    -webkit-mask-image: radial-gradient(circle at 100% 0, #000, transparent 72%);
    mask-image: radial-gradient(circle at 100% 0, #000, transparent 72%);
}
.lsp-form__asideinner {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.lsp-form__aside .lsp-heading {
    margin-bottom: 0;
}
.lsp-form__aside .lsp-eyebrow {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    background: transparent;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lsp-form-panel-ink) 45%, transparent);
    color: var(--lsp-form-panel-ink);
    font-size: .8125rem;
}
.lsp-form__aside .lsp-title {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}
.lsp-form__aside .lsp-subtitle {
    font-size: 1.0625rem;
}
.lsp-form__aside .lsp-form__social {
    margin-top: auto;
}
.lsp-form__main {
    align-self: center;
    min-width: 0;
    padding: clamp(24px, 4.2vw, 56px) clamp(18px, 4vw, 52px);
}
.lsp-form__shell--single .lsp-form__main {
    padding: clamp(20px, 4vw, 44px);
}

/* Card: heading beside a floating card. */
.lsp-form__layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}
.lsp-form__layout--single {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}
.lsp-form__intro {
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.lsp-form__intro .lsp-heading {
    margin-bottom: 0;
}
.lsp-form__cardwrap {
    position: relative;
    min-width: 0;
}
.lsp-form__card {
    position: relative;
    z-index: 1;
    padding: clamp(24px, 4vw, 44px);
    background: var(--lsp-surface);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-border);
    border-radius: calc(var(--lsp-r-lg) + 4px);
    box-shadow: 0 2px 6px rgba(18, 21, 27, .04), 0 40px 80px -40px rgba(18, 21, 27, .34);
    text-align: left;
}
.lsp-tone-soft .lsp-form__card,
.lsp-tone-accent .lsp-form__card {
    border-color: transparent;
}
.lsp-tone-dark .lsp-form__card {
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.lsp-form__halo {
    position: absolute;
    z-index: 0;
    top: -64px;
    right: -64px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(circle, transparent 0 46%, color-mix(in srgb, var(--lsp-accent) 26%, transparent) 46.5% 48.5%,
            transparent 49% 64%, color-mix(in srgb, var(--lsp-accent) 18%, transparent) 64.5% 66.5%, transparent 67%),
        radial-gradient(circle, color-mix(in srgb, var(--lsp-accent) 16%, transparent) 0 32%, transparent 32.5%);
}
.lsp-form__cardwrap::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: -36px;
    bottom: -36px;
    width: 150px;
    height: 150px;
    pointer-events: none;
    background: radial-gradient(color-mix(in srgb, var(--lsp-accent) 45%, transparent) 1.4px, transparent 1.9px) 0 0 / 18px 18px;
    -webkit-mask-image: radial-gradient(circle at 0 100%, #000, transparent 70%);
    mask-image: radial-gradient(circle at 0 100%, #000, transparent 70%);
}
.lsp-tone-accent .lsp-form__halo,
.lsp-tone-accent .lsp-form__cardwrap::before {
    opacity: .7;
    filter: grayscale(1) brightness(3);
}

/* Centred: heading above a single column card. */
.lsp-form__center {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lsp-form__center > .lsp-heading {
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.lsp-form__center > .lsp-heading .lsp-subtitle {
    margin-left: auto;
    margin-right: auto;
}
.lsp-form__center .lsp-form__cardwrap {
    width: 100%;
    max-width: 760px;
}
.lsp-form__center .lsp-form__cardwrap::before {
    display: none;
}
/* The glow runs wider than the card: keep it inside the section on narrow screens. */
.lsp-form--centered {
    overflow-x: clip;
}
.lsp-form__glow {
    position: absolute;
    z-index: 0;
    left: -12%;
    right: -12%;
    top: -70px;
    height: 70%;
    pointer-events: none;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--lsp-accent) 24%, transparent), transparent);
    filter: blur(6px);
}
.lsp-form__details {
    width: 100%;
    max-width: 760px;
    margin-top: 40px;
    padding: 0 clamp(4px, 4vw, 44px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.lsp-form__details .lsp-form__contacts {
    align-self: stretch;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 32px;
}

/* Contact details and social links. */
.lsp-form__contacts {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.lsp-form__contact {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.lsp-form__contacticon {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
}
.lsp-form__contacticon .lsp-icon {
    width: 20px;
    height: 20px;
}
.lsp-form__aside .lsp-form__contacticon,
.lsp-tone-accent .lsp-form__contacticon {
    background: color-mix(in srgb, var(--lsp-text) 14%, transparent);
    color: var(--lsp-text);
}
.lsp-form__contacttext {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: left;
}
.lsp-form__contactlabel {
    font-size: .8125rem;
    color: var(--lsp-muted);
}
.lsp-form__contactvalue {
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
    white-space: pre-line;
}
.lsp .lsp-form__contactvalue:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.lsp-form__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.lsp .lsp-form__socialbtn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--lsp-border);
    background: transparent;
    color: var(--lsp-text);
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.lsp .lsp-form__socialbtn:hover {
    background: var(--lsp-accent);
    border-color: var(--lsp-accent);
    color: var(--lsp-on-accent);
    transform: translateY(-2px);
}
.lsp .lsp-form__aside .lsp-form__socialbtn:hover,
.lsp .lsp-tone-accent .lsp-form__socialbtn:hover {
    background: var(--lsp-text);
    border-color: var(--lsp-text);
    color: var(--lsp-form-panel, var(--lsp-accent));
}
.lsp-form__socialbtn .lsp-icon {
    width: 19px;
    height: 19px;
}

/* Fields with floating labels. */
.lsp-form__body {
    --lsp-form-fill: color-mix(in srgb, var(--lsp-surface-2) 60%, var(--lsp-surface));
    --lsp-form-line: color-mix(in srgb, var(--lsp-text) 12%, var(--lsp-surface));
    --lsp-form-strong: color-mix(in srgb, var(--lsp-text) 32%, var(--lsp-surface));
    --lsp-form-ring: color-mix(in srgb, var(--lsp-accent) 22%, transparent);
    --lsp-form-radius: calc(var(--lsp-r-sm) + 2px);
    text-align: left;
}
.lsp-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.lsp-form__field {
    grid-column: 1 / -1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.lsp-form__field--half {
    grid-column: auto / span 1;
}
.lsp-form__control {
    position: relative;
}
.lsp .lsp-form__input {
    display: block;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 22px 16px 6px;
    font: inherit;
    font-size: 1rem;
    line-height: 22px;
    color: var(--lsp-text);
    background: var(--lsp-form-fill);
    border: 1px solid var(--lsp-form-line);
    border-radius: var(--lsp-form-radius);
    box-shadow: none;
    outline: 2px solid transparent;
    outline-offset: 0;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
    -webkit-appearance: none;
    appearance: none;
}
.lsp .lsp-form__input::placeholder {
    color: transparent;
    opacity: 1;
    transition: color .18s ease;
}
.lsp .lsp-form__input:focus::placeholder {
    color: color-mix(in srgb, var(--lsp-muted) 78%, var(--lsp-surface));
}
.lsp .lsp-form__input:hover {
    border-color: var(--lsp-form-strong);
}
.lsp .lsp-form__input:focus,
.lsp .lsp-form__input:focus-visible {
    background: var(--lsp-surface);
    border-color: var(--lsp-accent);
    box-shadow: 0 0 0 4px var(--lsp-form-ring);
    outline: 2px solid transparent;
}
.lsp .lsp-form__input:-webkit-autofill {
    -webkit-text-fill-color: var(--lsp-text);
    -webkit-box-shadow: inset 0 0 0 40px var(--lsp-form-fill);
}
.lsp .lsp-form__label {
    position: absolute;
    left: 17px;
    right: 16px;
    top: 15px;
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 22px;
    color: var(--lsp-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    transform-origin: left top;
    transition: transform .18s cubic-bezier(.2, .7, .2, 1), color .18s ease;
}
.lsp .lsp-form__input:focus ~ .lsp-form__label,
.lsp .lsp-form__input:not(:placeholder-shown) ~ .lsp-form__label,
.lsp .lsp-form__control--float .lsp-form__label {
    transform: translateY(-9px) scale(.78);
}
.lsp .lsp-form__input:-webkit-autofill ~ .lsp-form__label {
    transform: translateY(-9px) scale(.78);
}
.lsp .lsp-form__input:focus ~ .lsp-form__label {
    color: var(--lsp-accent-ink);
}
.lsp-form__req {
    margin-left: 2px;
    color: var(--lsp-accent-ink);
    font-weight: 700;
}
.lsp-form__control--icon .lsp-form__input {
    padding-left: 46px;
}
.lsp .lsp-form__control--icon .lsp-form__label {
    left: 47px;
}
.lsp-form__icon {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 19px;
    height: 19px;
    transform: translateY(-50%);
    color: var(--lsp-muted);
    pointer-events: none;
    transition: color .18s ease;
}
.lsp-form__control:focus-within .lsp-form__icon {
    color: var(--lsp-accent-ink);
}
.lsp .lsp-form__textarea {
    height: auto;
    min-height: 136px;
    max-height: 480px;
    padding-top: 27px;
    padding-bottom: 12px;
    line-height: 1.55;
    resize: vertical;
    field-sizing: content;
}
.lsp .lsp-form__select {
    padding-right: 46px;
    cursor: pointer;
    text-overflow: ellipsis;
}
.lsp .lsp-form__select:has(option[value=""]:checked) {
    color: color-mix(in srgb, var(--lsp-muted) 85%, var(--lsp-surface));
}
.lsp-form__chevron {
    position: absolute;
    right: 16px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--lsp-muted);
    pointer-events: none;
    transition: transform .2s ease, color .18s ease;
}
.lsp-form__control:focus-within .lsp-form__chevron {
    color: var(--lsp-accent-ink);
}
.lsp-tone-dark .lsp-form__input {
    color-scheme: dark;
}

/* Tick boxes: the native box stays on top, invisible, so keyboard and screen readers use it. */
.lsp-form__check {
    position: relative;
}
.lsp .lsp-form__checkbox {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.lsp .lsp-form__checklabel {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    font-size: .9375rem;
    font-weight: 400;
    line-height: 22px;
    color: var(--lsp-text);
    cursor: pointer;
}
.lsp-form__box {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    border: 1.5px solid var(--lsp-form-strong);
    background: var(--lsp-surface);
    color: var(--lsp-on-accent);
    display: grid;
    place-items: center;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.lsp-form__box svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 22;
    stroke-dashoffset: 22;
    transition: stroke-dashoffset .22s ease .04s;
}
.lsp-form__checkbox:hover + .lsp-form__checklabel .lsp-form__box {
    border-color: var(--lsp-accent);
}
.lsp-form__checkbox:checked + .lsp-form__checklabel .lsp-form__box {
    background: var(--lsp-accent);
    border-color: var(--lsp-accent);
}
.lsp-form__checkbox:checked + .lsp-form__checklabel .lsp-form__box svg {
    stroke-dashoffset: 0;
}
.lsp-form__checkbox:focus-visible + .lsp-form__checklabel .lsp-form__box {
    border-color: var(--lsp-accent);
    box-shadow: 0 0 0 4px var(--lsp-form-ring);
}
.lsp-form__checkbox:active + .lsp-form__checklabel .lsp-form__box {
    transform: scale(.9);
}
.lsp-form__field--checkbox,
.lsp-form__field--consent {
    padding: 4px 0;
}
.lsp-form__field--consent {
    margin-top: 4px;
}
.lsp .lsp-form__policy {
    align-self: flex-start;
    margin-left: 34px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--lsp-accent-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.lsp .lsp-form__policy:hover {
    color: var(--lsp-accent-ink);
    text-decoration-thickness: 2px;
}

/* Errors. */
.lsp-form__error {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding-left: 2px;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--lsp-form-danger);
}
.lsp-form__error .lsp-icon,
.lsp-form__alert .lsp-icon {
    width: 18px;
    height: 18px;
}
.lsp-form__field--checkbox .lsp-form__error,
.lsp-form__field--consent .lsp-form__error {
    padding-left: 34px;
}
.lsp .has-error .lsp-form__input {
    border-color: var(--lsp-form-danger);
    background: color-mix(in srgb, var(--lsp-form-danger) 5%, var(--lsp-surface));
}
.lsp .has-error .lsp-form__input:focus {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--lsp-form-danger) 18%, transparent);
}
.lsp .has-error .lsp-form__label,
.lsp .has-error .lsp-form__input ~ .lsp-form__label,
.lsp .has-error .lsp-form__icon,
.lsp .has-error .lsp-form__control:focus-within .lsp-form__icon {
    color: var(--lsp-form-danger);
}
.has-error .lsp-form__box {
    border-color: var(--lsp-form-danger);
}
.lsp-form__field.is-shaking > .lsp-form__control,
.lsp-form__field.is-shaking .lsp-form__box {
    animation: lsp-form-shake .42s cubic-bezier(.36, .07, .19, .97) both;
}
.lsp-form__alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 13px 16px;
    border-radius: var(--lsp-form-radius);
    border: 1px solid color-mix(in srgb, var(--lsp-form-danger) 32%, var(--lsp-surface));
    background: color-mix(in srgb, var(--lsp-form-danger) 8%, var(--lsp-surface));
    color: var(--lsp-form-danger);
    font-size: .9375rem;
    font-weight: 500;
    line-height: 1.45;
    animation: lsp-form-pop .3s ease both;
}

/* Footer and button. */
.lsp-form__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
    margin-top: 26px;
}
.lsp .lsp-form__submit {
    min-width: 210px;
    min-height: 54px;
    padding: 0 28px;
    font-size: 1rem;
    box-shadow: 0 12px 28px -14px var(--lsp-accent-glow);
}
.lsp .lsp-form__submit:disabled {
    cursor: progress;
    transform: none;
    opacity: .88;
}
.lsp-form__note {
    margin-left: auto;
    font-size: .875rem;
    color: var(--lsp-muted);
}
.lsp-form__spinner {
    display: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, currentColor 30%, transparent);
    border-top-color: currentColor;
    animation: lsp-form-spin .7s linear infinite;
}
.lsp-form__form.is-sending .lsp-form__spinner {
    display: block;
}
.lsp-form__form.is-sending .lsp-form__submiticon {
    display: none;
}
.lsp-form__captcha {
    margin-top: 20px;
    min-height: 78px;
}

/* Honeypot: out of sight and out of the tab order. */
.lsp-form__hp {
    position: absolute !important;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Success. */
.lsp-form__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 340px;
    padding: 32px 12px;
    text-align: center;
    outline: none;
}
.lsp-form__tick {
    width: 88px;
    height: 88px;
    overflow: visible;
    animation: lsp-form-bounce .5s cubic-bezier(.2, .7, .2, 1) .75s both;
}
.lsp-form__tickring {
    fill: var(--lsp-accent);
    stroke: var(--lsp-accent);
    stroke-width: 3;
    stroke-dasharray: 158;
    stroke-dashoffset: 0;
    transform: rotate(-90deg);
    transform-origin: 28px 28px;
    animation: lsp-form-ring .6s cubic-bezier(.65, 0, .45, 1) both, lsp-form-fill .35s ease .45s both;
}
.lsp-form__tickmark {
    fill: none;
    stroke: var(--lsp-on-accent);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 34;
    stroke-dashoffset: 0;
    animation: lsp-form-draw .4s cubic-bezier(.65, 0, .45, 1) .65s both;
}
.lsp-form__successtext {
    max-width: 28em;
    font-family: var(--lsp-heading-font);
    font-size: clamp(1.15rem, 2vw, 1.375rem);
    font-weight: 600;
    line-height: 1.4;
    white-space: pre-line;
    text-wrap: balance;
    animation: lsp-form-pop .45s ease .5s both;
}
.lsp .lsp-form__again {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    color: var(--lsp-accent-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
    animation: lsp-form-pop .45s ease .65s both;
}
.lsp .lsp-form__again:hover {
    color: var(--lsp-accent-ink);
    text-decoration-thickness: 2px;
}

@keyframes lsp-form-spin {
    to {
        transform: rotate(360deg);
    }
}
@keyframes lsp-form-pop {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes lsp-form-shake {
    0%,
    100% {
        transform: none;
    }
    15% {
        transform: translateX(-6px);
    }
    30% {
        transform: translateX(5px);
    }
    45% {
        transform: translateX(-4px);
    }
    60% {
        transform: translateX(3px);
    }
    75% {
        transform: translateX(-1px);
    }
}
@keyframes lsp-form-ring {
    from {
        stroke-dashoffset: 158;
    }
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes lsp-form-fill {
    from {
        fill-opacity: 0;
    }
    to {
        fill-opacity: 1;
    }
}
@keyframes lsp-form-draw {
    from {
        stroke-dashoffset: 34;
    }
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes lsp-form-bounce {
    0%,
    100% {
        transform: none;
    }
    45% {
        transform: scale(1.08);
    }
}

/* Small screens. */
@media (max-width: 900px) {
    .lsp-form__shell,
    .lsp-form__layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .lsp-form__layout {
        gap: 44px;
    }
    .lsp-form__asideinner {
        gap: 28px;
    }
    .lsp-form__halo {
        top: -40px;
        right: -24px;
        width: 180px;
        height: 180px;
    }
    .lsp-form__cardwrap::before {
        left: -16px;
    }
}
@media (max-width: 560px) {
    .lsp-form__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
    .lsp-form__field--half {
        grid-column: 1 / -1;
    }
    .lsp-form__shell {
        padding: 6px;
        border-radius: calc(var(--lsp-r-lg) + 4px);
    }
    .lsp-form__aside {
        padding: 30px 22px;
        border-radius: calc(var(--lsp-r-lg) - 2px);
    }
    .lsp-form__main {
        padding: 26px 14px 18px;
    }
    .lsp-form__card {
        padding: 24px 16px 20px;
        border-radius: var(--lsp-r-lg);
    }
    .lsp .lsp-form__submit {
        width: 100%;
    }
    .lsp-form__note {
        margin-left: 0;
    }
    .lsp-form__details .lsp-form__contacts {
        grid-template-columns: minmax(0, 1fr);
    }
    .lsp-form__success {
        min-height: 280px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lsp-form__field.is-shaking > .lsp-form__control,
    .lsp-form__field.is-shaking .lsp-form__box,
    .lsp-form__tick,
    .lsp-form__tickring,
    .lsp-form__tickmark,
    .lsp-form__successtext,
    .lsp .lsp-form__again,
    .lsp-form__alert {
        animation: none;
    }
}

/* sections/gallery.css */
/**
 * Letstudy Pages, gallery section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-gallery. Images are links to the full
 * size file; the extras module opens them in a dialog (.lsp-gallery__dialog) appended inside the section, so
 * these rules style it without any theme CSS. Items without an image show a drawn landscape in six styles.
 * The carousel scrolls natively; the extras module adds .is-ready to show its arrows and progress bar.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Lists and figures: themes give them margins, padding and bullets. */
.lsp .lsp-gallery__grid,
.lsp .lsp-gallery__masonry,
.lsp .lsp-gallery__track {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lsp .lsp-gallery__item,
.lsp .lsp-gallery__slide {
    margin: 0;
    padding: 0;
}
.lsp .lsp-gallery__figure {
    position: relative;
    margin: 0;
    padding: 0;
}

/* Tile: a link to the image or a drawn placeholder. */
.lsp .lsp-gallery__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: var(--lsp-gallery-ratio, 4 / 3);
    border-radius: var(--lsp-r-lg);
    background: var(--lsp-surface-2);
    color: inherit;
    box-shadow: 0 1px 2px rgba(18, 21, 27, .06), 0 18px 36px -24px rgba(18, 21, 27, .45);
    isolation: isolate;
}
.lsp .lsp-gallery__grid--square,
.lsp .lsp-gallery__track--square {
    --lsp-gallery-ratio: 1;
}
.lsp .lsp-gallery__grid--portrait,
.lsp .lsp-gallery__track--portrait {
    --lsp-gallery-ratio: 3 / 4;
}
.lsp .lsp-gallery__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.lsp a.lsp-gallery__media {
    cursor: zoom-in;
}
.lsp a.lsp-gallery__media:hover .lsp-gallery__img,
.lsp a.lsp-gallery__media:focus-visible .lsp-gallery__img {
    transform: scale(1.05);
}
.lsp .lsp-gallery__media:focus-visible {
    outline: 3px solid var(--lsp-accent);
    outline-offset: 3px;
}
.lsp .lsp-gallery__zoom {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #12151b;
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .45);
    opacity: 0;
    transform: scale(.85);
    transition: opacity .2s ease, transform .2s ease;
}
.lsp .lsp-gallery__zoom .lsp-icon {
    width: 18px;
    height: 18px;
}
.lsp a.lsp-gallery__media:hover .lsp-gallery__zoom,
.lsp a.lsp-gallery__media:focus-visible .lsp-gallery__zoom {
    opacity: 1;
    transform: none;
}

/* Caption over the bottom of the tile, on a dark scrim so white text keeps its contrast on any picture. */
.lsp .lsp-gallery__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 48px 20px 16px;
    border-radius: 0 0 var(--lsp-r-lg) var(--lsp-r-lg);
    background: linear-gradient(to top, rgba(9, 11, 15, .82), rgba(9, 11, 15, .5) 55%, rgba(9, 11, 15, 0));
    color: #ffffff;
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.35;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    pointer-events: none;
}

/* Drawn placeholders: a landscape in six colour moods taken from the accent. */
.lsp .lsp-gallery__media--art {
    --lsp-gallery-sky: linear-gradient(165deg, color-mix(in srgb, var(--lsp-accent) 14%, #ffffff), color-mix(in srgb, var(--lsp-accent) 38%, #ffffff));
    --lsp-gallery-sun: #ffffff;
    --lsp-gallery-halo: rgba(255, 255, 255, .35);
    --lsp-gallery-back: color-mix(in srgb, var(--lsp-accent) 50%, #ffffff);
    --lsp-gallery-front: var(--lsp-accent);
    background: var(--lsp-gallery-sky);
    box-shadow: inset 0 0 0 1px rgba(18, 21, 27, .04), 0 18px 36px -26px rgba(18, 21, 27, .4);
}
.lsp .lsp-gallery__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.lsp .lsp-gallery__sun {
    fill: var(--lsp-gallery-sun);
}
.lsp .lsp-gallery__halo {
    fill: var(--lsp-gallery-halo);
}
.lsp .lsp-gallery__hill--back {
    fill: var(--lsp-gallery-back);
}
.lsp .lsp-gallery__hill--front {
    fill: var(--lsp-gallery-front);
}
.lsp .lsp-gallery__art--2 {
    --lsp-gallery-sky: linear-gradient(160deg, var(--lsp-accent), var(--lsp-accent-deep));
    --lsp-gallery-sun: color-mix(in srgb, var(--lsp-accent) 18%, #ffffff);
    --lsp-gallery-halo: rgba(255, 255, 255, .12);
    --lsp-gallery-back: color-mix(in srgb, var(--lsp-accent-deep) 72%, #ffffff);
    --lsp-gallery-front: color-mix(in srgb, var(--lsp-accent-deep) 78%, #000000);
}
.lsp .lsp-gallery__art--3 {
    --lsp-gallery-sky: linear-gradient(170deg, #f4f6f9, #dfe4eb);
    --lsp-gallery-sun: color-mix(in srgb, var(--lsp-accent) 70%, #ffffff);
    --lsp-gallery-halo: color-mix(in srgb, var(--lsp-accent) 14%, transparent);
    --lsp-gallery-back: #c6ced9;
    --lsp-gallery-front: #8e9aab;
}
.lsp .lsp-gallery__art--4 {
    --lsp-gallery-sky: linear-gradient(170deg, #20283a, #0d1118);
    --lsp-gallery-sun: color-mix(in srgb, var(--lsp-accent) 30%, #ffffff);
    --lsp-gallery-halo: color-mix(in srgb, var(--lsp-accent) 22%, transparent);
    --lsp-gallery-back: color-mix(in srgb, var(--lsp-accent) 32%, #1b2231);
    --lsp-gallery-front: color-mix(in srgb, var(--lsp-accent) 55%, #0d1118);
}
.lsp .lsp-gallery__art--5 {
    --lsp-gallery-sky: linear-gradient(165deg, #fff4e6, color-mix(in srgb, var(--lsp-accent) 22%, #ffe0bf));
    --lsp-gallery-sun: #ffb648;
    --lsp-gallery-halo: rgba(255, 182, 72, .22);
    --lsp-gallery-back: color-mix(in srgb, var(--lsp-accent) 42%, #ffffff);
    --lsp-gallery-front: color-mix(in srgb, var(--lsp-accent) 85%, #000000);
}
.lsp .lsp-gallery__art--6 {
    --lsp-gallery-sky: linear-gradient(160deg, color-mix(in srgb, var(--lsp-accent) 55%, #ffffff), color-mix(in srgb, var(--lsp-accent) 85%, #ffffff));
    --lsp-gallery-sun: #ffffff;
    --lsp-gallery-halo: rgba(255, 255, 255, .2);
    --lsp-gallery-back: color-mix(in srgb, var(--lsp-accent) 70%, #000000);
    --lsp-gallery-front: color-mix(in srgb, var(--lsp-accent-deep) 60%, #000000);
}
/* Mirror every other scene so neighbours do not look alike. */
.lsp .lsp-gallery__art--2 .lsp-gallery__art,
.lsp .lsp-gallery__art--4 .lsp-gallery__art,
.lsp .lsp-gallery__art--6 .lsp-gallery__art {
    transform: scaleX(-1);
}

/* Grid. */
.lsp .lsp-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 18px;
}

/* One or two images fill the row instead of leaving empty columns. */
.lsp .lsp-gallery__grid:has(> li:nth-child(-n+2):last-child) {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

/* Masonry: columns keep the shape of each image; placeholders take varied shapes. */
.lsp .lsp-gallery__masonry {
    columns: 3 260px;
    column-gap: 18px;
}
.lsp .lsp-gallery__masonry:has(> li:only-child) {
    columns: 1;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.lsp .lsp-gallery__masonry:has(> li:nth-child(2):last-child) {
    columns: 2;
}
.lsp .lsp-gallery__masonry > .lsp-gallery__item {
    display: block;
    margin-bottom: 18px;
    break-inside: avoid;
}
.lsp .lsp-gallery__masonry .lsp-gallery__media {
    aspect-ratio: auto;
}
.lsp .lsp-gallery__masonry .lsp-gallery__img {
    height: auto;
}
.lsp .lsp-gallery__masonry .lsp-gallery__art--1 {
    aspect-ratio: 4 / 5;
}
.lsp .lsp-gallery__masonry .lsp-gallery__art--2 {
    aspect-ratio: 4 / 3;
}
.lsp .lsp-gallery__masonry .lsp-gallery__art--3 {
    aspect-ratio: 1;
}
.lsp .lsp-gallery__masonry .lsp-gallery__art--4 {
    aspect-ratio: 3 / 4;
}
.lsp .lsp-gallery__masonry .lsp-gallery__art--5 {
    aspect-ratio: 16 / 10;
}
.lsp .lsp-gallery__masonry .lsp-gallery__art--6 {
    aspect-ratio: 5 / 6;
}

/* Carousel. */
.lsp .lsp-gallery__controls {
    display: none;
    gap: 10px;
}
.lsp .lsp-gallery__stage.is-ready .lsp-gallery__controls {
    display: flex;
}
.lsp .lsp-gallery__stage.is-static .lsp-gallery__controls,
.lsp .lsp-gallery__stage.is-static .lsp-gallery__progress {
    display: none;
}
.lsp .lsp-gallery__arrow {
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1.5px solid color-mix(in srgb, currentColor 22%, transparent);
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.lsp .lsp-gallery__arrow:hover {
    background: var(--lsp-accent);
    border-color: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-tone-accent .lsp-gallery__arrow:hover {
    background: var(--lsp-on-accent);
    border-color: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-gallery__arrow[aria-disabled="true"] {
    opacity: .35;
    cursor: default;
    background: transparent;
    border-color: color-mix(in srgb, currentColor 22%, transparent);
    color: inherit;
}
.lsp .lsp-gallery__viewport {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    padding: 2px 2px 14px;
    margin: -2px -2px 0;
    border-radius: var(--lsp-r-lg);
}
.lsp .lsp-gallery__viewport:focus-visible {
    outline: 3px solid var(--lsp-accent);
    outline-offset: 4px;
}
.lsp .lsp-gallery__stage.is-ready .lsp-gallery__viewport {
    scrollbar-width: none;
}
/* A soft fade on the edge where more images follow. */
.lsp .lsp-gallery__stage.is-ready:not(.is-end):not(.is-static) .lsp-gallery__viewport {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 96px), rgba(0, 0, 0, .15));
    mask-image: linear-gradient(to right, #000 calc(100% - 96px), rgba(0, 0, 0, .15));
}
[dir="rtl"] .lsp .lsp-gallery__stage.is-ready:not(.is-end):not(.is-static) .lsp-gallery__viewport {
    -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 96px), rgba(0, 0, 0, .15));
    mask-image: linear-gradient(to left, #000 calc(100% - 96px), rgba(0, 0, 0, .15));
}
.lsp .lsp-gallery__stage.is-ready .lsp-gallery__viewport::-webkit-scrollbar {
    display: none;
}
.lsp .lsp-gallery__track {
    display: flex;
    gap: 24px;
}
.lsp .lsp-gallery__slide {
    flex: 0 0 min(78%, 660px);
    scroll-snap-align: start;
}
.lsp .lsp-gallery__track--square .lsp-gallery__slide {
    flex-basis: min(70%, 440px);
}
.lsp .lsp-gallery__track--portrait .lsp-gallery__slide {
    flex-basis: min(62%, 360px);
}
.lsp .lsp-gallery__note {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 16px 4px 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}
.lsp .lsp-gallery__num {
    flex: none;
    font-family: var(--lsp-heading-font);
    font-size: .875rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-gallery__notetext {
    color: var(--lsp-text);
}
.lsp .lsp-gallery__progress {
    position: relative;
    display: none;
    height: 4px;
    margin-top: 22px;
    border-radius: 999px;
    background: color-mix(in srgb, currentColor 12%, transparent);
    overflow: hidden;
}
.lsp .lsp-gallery__stage.is-ready .lsp-gallery__progress {
    display: block;
}
.lsp .lsp-gallery__thumb {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 30%;
    border-radius: inherit;
    background: var(--lsp-accent-ink);
    transition: left .15s linear;
}

/* Lightbox. */
.lsp .lsp-gallery__dialog {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(9, 11, 15, .97);
    color: #f3f5f8;
    overflow: hidden;
    box-shadow: none;
}
.lsp .lsp-gallery__dialog::backdrop {
    background: rgba(9, 11, 15, .85);
}
.lsp .lsp-gallery__dialog[open] {
    animation: lsp-gallery-in .28s ease both;
}
@keyframes lsp-gallery-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.lsp .lsp-gallery__box {
    position: relative;
    height: 100%;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    padding: 16px 24px 28px;
}
.lsp .lsp-gallery__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 52px;
}
.lsp .lsp-gallery__count {
    margin: 0;
    padding-left: 8px;
    font-size: .9375rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #c4cad3;
}
.lsp .lsp-gallery__close,
.lsp .lsp-gallery__nav {
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
    font: inherit;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.lsp .lsp-gallery__close {
    width: 48px;
    height: 48px;
}
.lsp .lsp-gallery__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 56px;
    height: 56px;
    margin-top: -28px;
}
.lsp .lsp-gallery__nav--prev {
    left: 24px;
}
.lsp .lsp-gallery__nav--next {
    right: 24px;
}
.lsp .lsp-gallery__nav[hidden] {
    display: none;
}
.lsp .lsp-gallery__close:hover,
.lsp .lsp-gallery__nav:hover {
    background: rgba(255, 255, 255, .2);
}
.lsp .lsp-gallery__close:focus-visible,
.lsp .lsp-gallery__nav:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}
.lsp .lsp-gallery__close .lsp-icon,
.lsp .lsp-gallery__nav .lsp-icon {
    width: 24px;
    height: 24px;
}
.lsp .lsp-gallery__view {
    min-height: 0;
    margin: 0;
    padding: 8px 96px 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    justify-items: center;
    gap: 16px;
}
.lsp .lsp-gallery__full {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: opacity .25s ease;
}
.lsp .lsp-gallery__dialog.is-loading .lsp-gallery__full {
    opacity: 0;
}
.lsp .lsp-gallery__viewcaption {
    max-width: 52em;
    min-height: 1.5em;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    color: #e6e9ee;
}

/* Tones: the carousel caption uses the section text colours; tiles and the lightbox keep their own. */
.lsp .lsp-tone-accent .lsp-gallery__num {
    color: var(--lsp-on-accent);
    opacity: .8;
}

@media (max-width: 640px) {
    .lsp .lsp-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .lsp .lsp-gallery__masonry {
        columns: 2;
        column-gap: 12px;
    }
    .lsp .lsp-gallery__masonry > .lsp-gallery__item {
        margin-bottom: 12px;
    }
    .lsp .lsp-gallery__media {
        border-radius: var(--lsp-r);
    }
    /* Small tiles: the caption goes below the picture instead of over it. */
    .lsp .lsp-gallery__caption {
        position: static;
        padding: 8px 2px 0;
        border-radius: 0;
        background: none;
        color: var(--lsp-text);
        font-size: .8125rem;
        text-shadow: none;
    }
    .lsp .lsp-gallery__zoom {
        display: none;
    }
    .lsp .lsp-gallery__slide,
    .lsp .lsp-gallery__track--square .lsp-gallery__slide {
        flex-basis: 84%;
    }
    .lsp .lsp-gallery__track--portrait .lsp-gallery__slide {
        flex-basis: 72%;
    }
    .lsp .lsp-gallery__track {
        gap: 14px;
    }
    .lsp .lsp-gallery__box {
        padding: 10px 12px 16px;
    }
    .lsp .lsp-gallery__view {
        padding: 8px 0 76px;
    }
    .lsp .lsp-gallery__nav {
        top: auto;
        bottom: 16px;
        margin-top: 0;
        width: 52px;
        height: 52px;
    }
    .lsp .lsp-gallery__nav--prev {
        left: calc(50% - 64px);
    }
    .lsp .lsp-gallery__nav--next {
        right: calc(50% - 64px);
    }
}
@media (max-width: 420px) {
    .lsp .lsp-gallery__grid--portrait {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-gallery__img,
    .lsp .lsp-gallery__zoom,
    .lsp .lsp-gallery__full,
    .lsp .lsp-gallery__thumb {
        transition: none;
    }
    .lsp a.lsp-gallery__media:hover .lsp-gallery__img,
    .lsp a.lsp-gallery__media:focus-visible .lsp-gallery__img {
        transform: none;
    }
    .lsp .lsp-gallery__dialog[open] {
        animation: none;
    }
}
.lsp.lsp-anim-reduced .lsp-gallery__img,
.lsp.lsp-anim-reduced .lsp-gallery__full {
    transition: none;
}

/* sections/header-variants.css */
/**
 * Letstudy Pages, more header layouts: minimal and split.
 *
 * The header markup is shared by every layout (templates/parts/header.mustache); these rules only change
 * where its parts go. Minimal keeps the menu in the menu button on every screen size; split centres the menu
 * between the logo and the actions.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* The brand mark stays visible on an accent background. */
.lsp .lsp-header--minimal.lsp-tone-accent .lsp-brand__mark,
.lsp .lsp-header--split.lsp-tone-accent .lsp-brand__mark {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}

/* Minimal. */
.lsp .lsp-header--minimal {
    border-bottom-color: transparent;
}
.lsp .lsp-header--minimal .lsp-header__inner {
    min-height: 80px;
}
.lsp .lsp-header--minimal .lsp-nav {
    display: none;
}
.lsp .lsp-header--minimal .lsp-burger {
    display: block;
}
.lsp .lsp-header--minimal .lsp-burger__toggle {
    min-width: 46px;
    min-height: 46px;
    justify-content: center;
    border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
.lsp .lsp-header--minimal .lsp-burger .lsp-dropdown__menu {
    min-width: 260px;
    padding: 10px;
}
.lsp .lsp-header--minimal .lsp-burger .lsp-dropdown__menu a {
    min-height: 46px;
    font-size: 1.0625rem;
    font-weight: 600;
}

/* Split: logo, centred menu, actions. */
.lsp .lsp-header--split .lsp-header__inner {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
}
.lsp .lsp-header--split .lsp-brand {
    justify-self: start;
}
.lsp .lsp-header--split .lsp-nav {
    flex: none;
    grid-column: 2;
}
.lsp .lsp-header--split .lsp-nav__list {
    flex-wrap: nowrap;
    padding: 4px;
    border-radius: 999px;
    background: color-mix(in srgb, currentColor 6%, transparent);
}
.lsp .lsp-header--split .lsp-nav__link,
.lsp .lsp-header--split .lsp-header__actions .lsp-btn {
    white-space: nowrap;
}
.lsp .lsp-header--split .lsp-nav__link:hover {
    background: var(--lsp-surface);
    box-shadow: 0 1px 2px rgba(18, 21, 27, .08);
}
.lsp .lsp-header--split.lsp-tone-dark .lsp-nav__link:hover,
.lsp .lsp-header--split.lsp-tone-accent .lsp-nav__link:hover {
    background: color-mix(in srgb, currentColor 14%, transparent);
    box-shadow: none;
}
.lsp .lsp-header--split .lsp-header__actions {
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
}

@media (max-width: 900px) {
    .lsp .lsp-header--split .lsp-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .lsp .lsp-header--split .lsp-header__actions {
        grid-column: 2;
    }
}

/* sections/hero-variants.css */
/**
 * Letstudy Pages, more hero layouts: bento, playful, bigtype, product and video.
 *
 * Scoped under .lsp like the other page styles. New elements are prefixed lsp-herobento, lsp-heroplay,
 * lsp-herotype, lsp-heroproduct and lsp-herovideo; the headline keeps .lsp-hero__title, so the page
 * script animates its words. Decorations move with the pointer through --lsp-px and --lsp-py, and every
 * looping effect stops with reduced motion.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Bento. */
.lsp .lsp-herobento {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.lsp .lsp-herobento__top {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.lsp .lsp-herobento__lead {
    flex: 2 1 600px;
    min-width: 0;
    min-height: 480px;
    position: relative;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 22px;
    border-radius: var(--lsp-r-lg);
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-herobento__rings {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}
.lsp .lsp-herobento__rings::before {
    content: "";
    position: absolute;
    right: -140px;
    top: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle closest-side,
        color-mix(in srgb, currentColor 10%, transparent) 0 42.3%, transparent 42.5% 68.8%,
        color-mix(in srgb, currentColor 18%, transparent) 69% 69.8%, transparent 70% 95.8%,
        color-mix(in srgb, currentColor 18%, transparent) 96% 96.8%, transparent 97%);
    translate: calc(var(--lsp-px, 0) * 24px) calc(var(--lsp-py, 0) * 18px);
    transition: translate .3s ease-out;
}
.lsp .lsp-herobento__title {
    position: relative;
    max-width: 12em;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    line-height: 1;
    letter-spacing: -.03em;
}
.lsp .lsp-herobento__subtitle {
    position: relative;
    max-width: 31em;
    font-size: 1.125rem;
}
.lsp .lsp-herobento__lead .lsp-search {
    width: 100%;
    max-width: 560px;
    border-color: transparent;
    box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .45);
}
.lsp .lsp-herobento__lead .lsp-search .lsp-btn--primary,
.lsp .lsp-herobento__lead .lsp-search .lsp-btn--primary:hover {
    background: #12151b;
    color: #ffffff;
}
.lsp .lsp-herobento__side {
    flex: 1 1 340px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.lsp .lsp-herobento__tile {
    position: relative;
    min-width: 0;
    padding: 28px;
    border-radius: var(--lsp-r-lg);
    border: 1px solid var(--lsp-card-border);
    background: var(--lsp-card-bg);
    color: #12151b;
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-accent-ink: var(--lsp-soft-ink);
}
.lsp .lsp-herobento__tile--photo {
    flex: 1 1 220px;
    min-height: 220px;
    padding: 0;
    overflow: hidden;
    border: 0;
}
.lsp .lsp-herobento__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-herobento__tile--photo:hover .lsp-herobento__photo {
    transform: scale(1.04);
}
.lsp .lsp-herobento__tile--action {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    border-color: transparent;
    background: #12151b;
    color: #f3f5f8;
    --lsp-text: #f3f5f8;
    --lsp-muted: #c3c8d1;
}
/* Without a picture the dark tile fills the column alone: its text sits at the bottom and rings around the arrow
   fill the top, instead of an empty block. */
.lsp .lsp-herobento__tile--action:only-child {
    overflow: hidden;
    justify-content: flex-end;
}
.lsp .lsp-herobento__tile--action:only-child::before {
    content: "";
    position: absolute;
    top: -134px;
    right: -134px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle closest-side,
        transparent 0 33%, color-mix(in srgb, var(--lsp-accent-light) 30%, transparent) 33.3% 33.8%,
        transparent 34% 60%, color-mix(in srgb, var(--lsp-accent-light) 22%, transparent) 60.3% 60.8%,
        transparent 61% 87%, color-mix(in srgb, var(--lsp-accent-light) 14%, transparent) 87.3% 87.8%, transparent 88%);
}
.lsp .lsp-herobento__tile--action:only-child > * {
    position: relative;
}
.lsp .lsp-herobento__tile--action:only-child > .lsp-herobento__corner {
    position: absolute;
}
/* Without a picture a drawn progress card (a ring and three lessons) holds the top of the dark tile, clear of the
   corner arrow; the free space stays under it, so the text keeps its place at the bottom. */
.lsp .lsp-herobento__tile--action {
    --lsp-herobento-art: var(--lsp-accent-light);
}
.lsp .lsp-herobento__art {
    display: block;
    width: min(240px, calc(100% - 64px));
    margin-bottom: auto;
}
.lsp .lsp-herobento__art svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}
.lsp .lsp-herobento__arttrack,
.lsp .lsp-herobento__artarc,
.lsp .lsp-herobento__artcheck,
.lsp .lsp-herobento__artring {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.lsp .lsp-herobento__arttrack {
    stroke: color-mix(in srgb, currentColor 14%, transparent);
    stroke-width: 10;
}
.lsp .lsp-herobento__artarc {
    stroke: var(--lsp-herobento-art);
    stroke-width: 10;
    stroke-dasharray: 72 100;
    transform: rotate(-90deg);
    transform-box: fill-box;
    transform-origin: center;
}
.lsp .lsp-herobento__artcheck {
    stroke: currentColor;
    stroke-width: 5;
}
.lsp .lsp-herobento__artdot {
    fill: var(--lsp-herobento-art);
}
.lsp .lsp-herobento__artring {
    stroke: color-mix(in srgb, currentColor 40%, transparent);
    stroke-width: 2.5;
}
.lsp .lsp-herobento__artline {
    fill: color-mix(in srgb, currentColor 24%, transparent);
}
.lsp .lsp-herobento__artline--next {
    fill: color-mix(in srgb, currentColor 11%, transparent);
}
.lsp .lsp-herobento__live {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-right: 56px;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
}
.lsp .lsp-herobento__pulse {
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--lsp-accent-light);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--lsp-accent-light) 25%, transparent);
}
.lsp .lsp-herobento__tile--action .lsp-actions {
    gap: 10px;
}
.lsp .lsp-herobento__tile--action .lsp-btn--primary {
    flex: 1 1 auto;
}
.lsp .lsp-herobento__tile--action .lsp-btn--secondary {
    border-color: rgba(255, 255, 255, .28);
}
.lsp .lsp-herobento__corner {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .22);
    display: grid;
    place-items: center;
    color: var(--lsp-accent-light);
}
.lsp .lsp-herobento__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 20px;
}
.lsp .lsp-herobento__row .lsp-herobento__tile {
    min-height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.lsp .lsp-herobento__row .lsp-herobento__tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -26px rgba(18, 21, 27, .35);
}
.lsp .lsp-herobento__icon {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: var(--lsp-r-sm);
    display: grid;
    place-items: center;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-herobento__icon .lsp-icon {
    width: 26px;
    height: 26px;
}
.lsp .lsp-herobento__text {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lsp .lsp-herobento__name {
    font-family: var(--lsp-heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
}
.lsp .lsp-herobento__desc {
    font-size: .9375rem;
    color: var(--lsp-muted);
}
.lsp .lsp-herobento__tile--h1 .lsp-herobento__icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 6px solid var(--lsp-accent);
    background: transparent;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-herobento__tile--h1 .lsp-herobento__icon .lsp-icon {
    width: 40px;
    height: 40px;
}
.lsp .lsp-herobento__row .lsp-herobento__tile--h2 {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding-right: 156px;
    border-color: transparent;
    background: var(--lsp-accent-soft);
}
.lsp .lsp-herobento__tile--h2 .lsp-herobento__icon {
    width: 44px;
    height: 44px;
    background: #ffffff;
    color: var(--lsp-soft-ink);
}
.lsp .lsp-herobento__row .lsp-herobento__tile--h3 {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}
.lsp .lsp-herobento__tile--h3 .lsp-herobento__icon {
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
}
.lsp .lsp-herobento__phone {
    display: none;
}
.lsp .lsp-herobento__tile--h2 .lsp-herobento__phone {
    display: block;
    position: absolute;
    right: 28px;
    top: 24px;
    width: 104px;
    height: 200px;
    padding: 6px;
    border-radius: 22px;
    background: #12151b;
    rotate: 8deg;
    transition: rotate .4s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-herobento__tile--h2:hover .lsp-herobento__phone {
    rotate: 2deg;
}
.lsp .lsp-herobento__screen {
    height: 100%;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-radius: 17px;
    background: #ffffff;
}
.lsp .lsp-herobento__screen span {
    height: 18px;
    border-radius: 6px;
    background: #eef0f3;
}
.lsp .lsp-herobento__screen span:first-child {
    height: 38px;
    border-radius: 9px;
    background: var(--lsp-accent);
}
.lsp .lsp-hero--bento.lsp-tone-soft .lsp-herobento__tile,
.lsp .lsp-hero--bento.lsp-tone-accent .lsp-herobento__tile {
    background: #ffffff;
    border-color: transparent;
}
.lsp .lsp-hero--bento.lsp-tone-soft .lsp-herobento__tile--h2 .lsp-herobento__icon,
.lsp .lsp-hero--bento.lsp-tone-accent .lsp-herobento__tile--h2 .lsp-herobento__icon {
    background: var(--lsp-accent-soft);
}
.lsp .lsp-hero--bento.lsp-tone-soft .lsp-herobento__tile--action {
    background: #12151b;
}
.lsp .lsp-hero--bento.lsp-tone-accent .lsp-herobento__lead {
    background: #12151b;
    color: #f3f5f8;
}
.lsp .lsp-hero--bento.lsp-tone-accent .lsp-herobento__lead .lsp-search .lsp-btn--primary,
.lsp .lsp-hero--bento.lsp-tone-accent .lsp-herobento__lead .lsp-search .lsp-btn--primary:hover,
.lsp .lsp-hero--bento.lsp-tone-accent .lsp-herobento__tile--action .lsp-btn--primary,
.lsp .lsp-hero--bento.lsp-tone-accent .lsp-herobento__tile--action .lsp-btn--primary:hover {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-hero--bento.lsp-tone-accent .lsp-herobento__tile--action {
    --lsp-herobento-art: var(--lsp-accent);
    color: #12151b;
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
}
.lsp .lsp-hero--bento.lsp-tone-accent .lsp-herobento__tile--action .lsp-btn--secondary {
    border-color: #d5d9e0;
}
.lsp .lsp-hero--bento.lsp-tone-accent .lsp-herobento__corner {
    border-color: #d5d9e0;
    color: var(--lsp-soft-ink);
}
.lsp .lsp-hero--bento.lsp-tone-dark .lsp-herobento__tile {
    background: #161a22;
    border-color: #2a303c;
    color: #f3f5f8;
    --lsp-text: #f3f5f8;
    --lsp-muted: #a9b0bc;
}
.lsp .lsp-hero--bento.lsp-tone-dark .lsp-herobento__tile--h2 {
    background: #1d222c;
}
.lsp .lsp-hero--bento.lsp-tone-dark .lsp-herobento__tile--action {
    background: #0b0d11;
}

/* Playful. */
.lsp .lsp-hero--playful {
    overflow-x: clip;
    background: color-mix(in srgb, var(--lsp-accent) 7%, #ffffff);
    color: #1b1b2f;
    --lsp-muted: #3b3b55;
    --lsp-play-line: #1b1b2f;
    --lsp-play-drop: #1b1b2f;
    --lsp-play-squiggle: var(--lsp-accent);
    --lsp-play-yellow: var(--lsp-secondary, #ffc93c);
    --lsp-play-yellow-ink: var(--lsp-on-secondary, #1b1b2f);
    --lsp-play-green: #3ddc97;
    --lsp-play-pink: #ff8fc7;
}
.lsp .lsp-hero--playful.lsp-tone-soft {
    background: var(--lsp-accent-soft);
}
.lsp .lsp-hero--playful.lsp-tone-accent {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    --lsp-muted: var(--lsp-on-accent);
    --lsp-play-squiggle: var(--lsp-play-yellow);
}
.lsp .lsp-hero--playful.lsp-tone-dark {
    background: var(--lsp-dark);
    color: #f3f5f8;
    --lsp-muted: #b6bcc8;
    --lsp-play-line: #0b0b10;
    --lsp-play-drop: var(--lsp-accent-light);
    --lsp-play-squiggle: var(--lsp-accent-light);
}
.lsp .lsp-hero--playful.lsp-tone-accent .lsp-heroplay__shape--ball {
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .9) 0 7%, rgba(255, 255, 255, 0) 30%),
        radial-gradient(circle at 72% 78%, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0) 55%),
        #1b1b2f;
}
.lsp .lsp-heroplay__dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(color-mix(in srgb, currentColor 13%, transparent) 1.5px, transparent 1.6px);
    background-size: 28px 28px;
}
.lsp .lsp-heroplay {
    position: relative;
    gap: 40px;
}
.lsp .lsp-heroplay__content {
    flex: 1 1 480px;
    gap: 26px;
}
.lsp .lsp-heroplay__sticker {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 2.5px solid var(--lsp-play-line);
    background: var(--lsp-play-yellow);
    color: var(--lsp-play-yellow-ink);
    box-shadow: 4px 4px 0 var(--lsp-play-drop);
    font-size: .9375rem;
    font-weight: 700;
    rotate: -3deg;
}
.lsp .lsp-heroplay__sticker .lsp-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}
.lsp .lsp-heroplay__title {
    font-weight: 900;
    font-size: clamp(2.75rem, 6vw, 5.25rem);
    line-height: .98;
    letter-spacing: -.035em;
}
.lsp .lsp-heroplay__mark {
    position: relative;
    display: inline-block;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-hero--playful.lsp-tone-default .lsp-heroplay__mark,
.lsp .lsp-hero--playful.lsp-tone-soft .lsp-heroplay__mark {
    color: var(--lsp-soft-ink);
}
.lsp .lsp-heroplay__squiggle {
    position: absolute;
    left: 0;
    bottom: -.2em;
    width: 100%;
    height: .26em;
    overflow: visible;
    fill: none;
    stroke: var(--lsp-play-squiggle);
    stroke-width: 7;
    stroke-linecap: round;
}
.lsp .lsp-heroplay__subtitle {
    max-width: 30em;
    font-size: 1.1875rem;
}
.lsp .lsp-hero--playful .lsp-actions {
    gap: 14px;
}
.lsp .lsp-hero--playful .lsp-btn {
    min-height: 56px;
    padding: 0 28px;
    border-radius: 16px;
    border: 2.5px solid var(--lsp-play-line);
    box-shadow: 5px 5px 0 var(--lsp-play-drop);
    font-family: var(--lsp-heading-font);
    font-size: 1.125rem;
    font-weight: 800;
    transition: transform .12s ease, box-shadow .12s ease;
}
.lsp .lsp-hero--playful .lsp-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--lsp-play-drop);
}
.lsp .lsp-hero--playful .lsp-btn:active {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 var(--lsp-play-drop);
}
.lsp .lsp-hero--playful .lsp-btn--primary,
.lsp .lsp-hero--playful .lsp-btn--primary:hover {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-hero--playful .lsp-btn--secondary,
.lsp .lsp-hero--playful .lsp-btn--secondary:hover {
    background: #ffffff;
    color: #1b1b2f;
    border-color: var(--lsp-play-line);
}
.lsp .lsp-hero--playful.lsp-tone-accent .lsp-btn--primary,
.lsp .lsp-hero--playful.lsp-tone-accent .lsp-btn--primary:hover {
    background: var(--lsp-play-yellow);
    color: var(--lsp-play-yellow-ink);
}
.lsp .lsp-hero--playful .lsp-search {
    border: 2.5px solid var(--lsp-play-line);
    border-radius: 18px;
    box-shadow: 5px 5px 0 var(--lsp-play-drop);
}
.lsp .lsp-hero--playful .lsp-search .lsp-btn,
.lsp .lsp-hero--playful .lsp-search .lsp-btn:hover {
    min-height: 46px;
    padding: 0 20px;
    border-width: 2px;
    border-radius: 12px;
    box-shadow: none;
    font-size: 1rem;
    transform: none;
}
.lsp .lsp-heroplay__stage {
    flex: 1 1 480px;
    min-height: 620px;
    align-self: stretch;
}
.lsp .lsp-heroplay__shape {
    position: absolute;
    display: block;
    translate: calc(var(--lsp-px, 0) * var(--lsp-depth, 20px)) calc(var(--lsp-py, 0) * var(--lsp-depth, 20px));
    transition: translate .3s ease-out;
}
.lsp .lsp-heroplay__shape--ball {
    left: 8%;
    top: 4%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .9) 0 7%, rgba(255, 255, 255, 0) 30%),
        radial-gradient(circle at 72% 78%, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0) 55%),
        var(--lsp-accent);
    box-shadow: 0 30px 40px -18px rgba(27, 27, 47, .45);
    --lsp-depth: -24px;
}
.lsp .lsp-heroplay__shape--cube {
    right: 4%;
    top: 2%;
    width: 108px;
    height: 108px;
    border-radius: 26px;
    background: linear-gradient(140deg, #8db2ff 0%, #3d7bff 55%, #2550b8 100%);
    box-shadow: inset 6px 6px 12px rgba(255, 255, 255, .35), 0 30px 40px -18px rgba(27, 27, 47, .45);
    rotate: 18deg;
    --lsp-depth: 30px;
}
.lsp .lsp-heroplay__shape--ring {
    right: 0;
    bottom: 4%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 34px solid var(--lsp-play-yellow);
    box-shadow:
        inset 8px 8px 14px rgba(255, 255, 255, .55), inset -10px -10px 18px rgba(150, 95, 0, .35),
        8px 8px 14px rgba(255, 255, 255, .3), -8px -8px 18px rgba(150, 95, 0, .25), 0 30px 40px -18px rgba(27, 27, 47, .4);
    --lsp-depth: -18px;
}
.lsp .lsp-heroplay__shape--pill {
    left: 36%;
    bottom: 1%;
    width: 150px;
    height: 58px;
    border-radius: 999px;
    background:
        radial-gradient(ellipse at 30% 25%, rgba(255, 255, 255, .75) 0 10%, rgba(255, 255, 255, 0) 40%),
        linear-gradient(180deg, #6ff0b8, #22b877);
    box-shadow: 0 26px 36px -18px rgba(27, 27, 47, .45);
    rotate: -24deg;
    --lsp-depth: 26px;
}
.lsp .lsp-heroplay__shape--dot {
    left: 46%;
    top: 2%;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .9) 0 8%, rgba(255, 255, 255, 0) 32%),
        radial-gradient(circle at 72% 78%, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 55%),
        var(--lsp-play-pink);
    --lsp-depth: 40px;
}
/* The highlight cards sit in a grid, each tilted, the second one lower in its own column, so they never cover one
   another whatever the length of their texts: the stage grows with them instead. One column on phones. */
.lsp .lsp-heroplay__stage:has(> .lsp-heroplay__cards) {
    display: grid;
    align-content: center;
}
.lsp .lsp-heroplay__cards {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 28px 30px;
    width: 100%;
    max-width: 620px;
    justify-self: center;
    padding: 56px 0 48px;
}
.lsp .lsp-heroplay__cards:has(> li:only-child) {
    grid-template-columns: minmax(0, 300px);
    justify-content: center;
}
.lsp .lsp-heroplay__card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 300px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 2.5px solid var(--lsp-play-line);
    border-radius: 22px;
    background: #ffffff;
    color: #1b1b2f;
    box-shadow: 8px 8px 0 var(--lsp-play-drop);
    transition: translate .3s ease-out, rotate .3s ease;
}
.lsp .lsp-heroplay__card--1 {
    rotate: -7deg;
    translate: calc(-80% + var(--lsp-px, 0) * -16px) calc(-76% + var(--lsp-py, 0) * -12px);
}
.lsp .lsp-heroplay__card--2 {
    rotate: 5deg;
    translate: calc(-14% + var(--lsp-px, 0) * 22px) calc(-20% + var(--lsp-py, 0) * 16px);
}
.lsp .lsp-heroplay__card--3 {
    z-index: 1;
    left: 0;
    top: 75%;
    width: auto;
    max-width: 250px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 10px;
    border-radius: 18px;
    box-shadow: 5px 5px 0 var(--lsp-play-drop);
    rotate: -8deg;
    translate: calc(var(--lsp-px, 0) * 30px) calc(var(--lsp-py, 0) * 20px);
}
.lsp .lsp-heroplay__card:hover {
    rotate: 0deg;
}
.lsp .lsp-heroplay__cards > .lsp-heroplay__card {
    position: relative;
    inset: auto;
    width: auto;
    min-width: 0;
}
.lsp .lsp-heroplay__cards > .lsp-heroplay__card--1 {
    grid-column: 1;
    grid-row: 1;
    translate: calc(var(--lsp-px, 0) * 12px) calc(var(--lsp-py, 0) * 10px);
}
.lsp .lsp-heroplay__cards > .lsp-heroplay__card--2 {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 72px;
    translate: calc(var(--lsp-px, 0) * 20px) calc(var(--lsp-py, 0) * 14px);
}
.lsp .lsp-heroplay__cards > .lsp-heroplay__card--3 {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    max-width: min(260px, 100%);
    margin-left: 8%;
    translate: calc(var(--lsp-px, 0) * 28px) calc(var(--lsp-py, 0) * 8px);
}
.lsp .lsp-heroplay__cover {
    position: relative;
    height: 120px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-heroplay__cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lsp .lsp-heroplay__cover img + .lsp-icon {
    display: none;
}
.lsp .lsp-heroplay__cover .lsp-icon {
    width: 48px;
    height: 48px;
}
.lsp .lsp-heroplay__card--photo .lsp-heroplay__cover {
    height: 220px;
}
.lsp .lsp-heroplay__card--2 .lsp-heroplay__cover {
    background: var(--lsp-play-yellow);
    color: var(--lsp-play-yellow-ink);
}
.lsp .lsp-heroplay__card--3 .lsp-heroplay__cover {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--lsp-play-line);
    background: var(--lsp-play-green);
    color: #1b1b2f;
}
.lsp .lsp-heroplay__card--3 .lsp-heroplay__cover .lsp-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.4;
}
.lsp .lsp-heroplay__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lsp .lsp-heroplay__card--3 .lsp-heroplay__body {
    padding: 0;
    gap: 0;
    line-height: 1.25;
}
.lsp .lsp-heroplay__name {
    font-family: var(--lsp-heading-font);
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.25;
}
.lsp .lsp-heroplay__card--3 .lsp-heroplay__name {
    font-size: 1rem;
}
.lsp .lsp-heroplay__desc {
    font-size: .875rem;
    color: #4a4a66;
}
.lsp .lsp-heroplay__meter {
    display: none;
}
.lsp .lsp-heroplay__card--2 .lsp-heroplay__meter {
    display: block;
    margin-top: 8px;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    border: 2px solid var(--lsp-play-line);
    background: #eef3ff;
}
.lsp .lsp-heroplay__meter span {
    display: block;
    width: 72%;
    height: 100%;
    background: var(--lsp-accent);
}

/* Big typography. */
.lsp .lsp-hero--bigtype.lsp-tone-default {
    background: #ffffff;
    color: #0b0b0c;
    --lsp-muted: #2e2e33;
}
.lsp .lsp-herotype {
    max-width: 1320px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.lsp .lsp-herotype__top {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .9375rem;
    font-weight: 600;
}
.lsp .lsp-herotype__dot {
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--lsp-accent);
}
.lsp .lsp-hero--bigtype.lsp-tone-accent .lsp-herotype__dot {
    background: var(--lsp-on-accent);
}
.lsp .lsp-herotype__title {
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.045em;
    text-wrap: wrap;
    overflow-wrap: break-word;
}
.lsp .lsp-herotype__title--xl {
    font-size: clamp(2.75rem, 11.2vw, 10.75rem);
}
.lsp .lsp-herotype__title--l {
    font-size: clamp(2.5rem, 8vw, 7.5rem);
    line-height: .94;
}
.lsp .lsp-herotype__title--m {
    font-size: clamp(2.25rem, 5.6vw, 5.25rem);
    line-height: 1;
    letter-spacing: -.035em;
}
.lsp .lsp-herotype__line {
    display: block;
}
.lsp .lsp-herotype__mark {
    display: inline-block;
    margin-top: .08em;
    padding: 0 .12em .06em .08em;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    rotate: -1.5deg;
}
.lsp .lsp-hero--bigtype.lsp-tone-accent .lsp-herotype__mark {
    background: #0b0b0c;
    color: #ffffff;
}
.lsp .lsp-herotype__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px 56px;
}
.lsp .lsp-herotype__intro {
    flex: 1 1 380px;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.lsp .lsp-herotype__subtitle {
    font-size: 1.1875rem;
    color: var(--lsp-muted);
}
.lsp .lsp-herotype__cta {
    display: flex;
    align-items: center;
    gap: 18px;
}
.lsp .lsp-herotype__circle {
    flex: none;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #0b0b0c;
    color: #ffffff;
    transition: rotate .35s cubic-bezier(.2, .7, .2, 1), background-color .2s ease, color .2s ease;
}
.lsp .lsp-herotype__circle .lsp-icon {
    width: 40px;
    height: 40px;
}
.lsp .lsp-herotype__cta:hover .lsp-herotype__circle,
.lsp .lsp-herotype__cta:focus-within .lsp-herotype__circle {
    rotate: 45deg;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-hero--bigtype.lsp-tone-dark .lsp-herotype__circle {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-hero--bigtype.lsp-tone-dark .lsp-herotype__cta:hover .lsp-herotype__circle {
    background: #ffffff;
    color: #0b0b0c;
}
.lsp .lsp-hero--bigtype.lsp-tone-accent .lsp-herotype__cta:hover .lsp-herotype__circle {
    background: #ffffff;
    color: #0b0b0c;
}
.lsp .lsp-herotype__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.lsp .lsp-herotype__primary {
    font-family: var(--lsp-heading-font);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
}
.lsp .lsp-herotype__secondary,
.lsp .lsp-herotype__secondary:hover {
    font-size: .9375rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.lsp .lsp-herotype__image {
    width: 260px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--lsp-r-lg);
    rotate: 2deg;
}
.lsp .lsp-hero--bigtype:has(.lsp-herotype__strip) {
    padding-bottom: 24px;
}
.lsp .lsp-herotype__strip {
    margin-top: 64px;
    padding: 30px 0;
    overflow: hidden;
}
.lsp .lsp-herotype__band {
    width: 112%;
    margin-left: -6%;
    padding: 22px 0;
    overflow: hidden;
    background: #0b0b0c;
    color: #ffffff;
    rotate: -2deg;
    --lsp-type-star: var(--lsp-accent-light);
}
.lsp .lsp-hero--bigtype.lsp-tone-dark .lsp-herotype__band {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    --lsp-type-star: var(--lsp-on-accent);
}
.lsp .lsp-herotype__track {
    display: flex;
    width: max-content;
    animation: lsp-herotype-marquee 42s linear infinite;
}
[dir="rtl"] .lsp .lsp-herotype__track {
    animation-name: lsp-herotype-marquee-rtl;
}
.lsp .lsp-herotype__strip:hover .lsp-herotype__track {
    animation-play-state: paused;
}
.lsp .lsp-herotype__group {
    flex: none;
    display: flex;
    align-items: center;
    gap: 36px;
    padding-right: 36px;
    font-family: var(--lsp-heading-font);
    font-size: clamp(1.5rem, 2.4vw, 2.125rem);
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.2;
    white-space: nowrap;
}
.lsp .lsp-herotype__item {
    display: inline-flex;
    align-items: center;
    gap: 36px;
}
.lsp .lsp-herotype__star {
    flex: none;
    width: 26px;
    height: 26px;
    fill: var(--lsp-type-star);
}
@keyframes lsp-herotype-marquee {
    to {
        transform: translateX(-50%);
    }
}
@keyframes lsp-herotype-marquee-rtl {
    to {
        transform: translateX(50%);
    }
}

/* Product preview. */
.lsp .lsp-hero--product {
    --lsp-hp-mark: color-mix(in srgb, var(--lsp-accent) 34%, #ffffff);
    --lsp-hp-soft: color-mix(in srgb, var(--lsp-accent) 13%, #ffffff);
    --lsp-hp-blob: var(--lsp-accent-soft);
}
.lsp .lsp-hero--product.lsp-tone-soft {
    --lsp-hp-blob: rgba(255, 255, 255, .6);
}
.lsp .lsp-hero--product.lsp-tone-accent {
    --lsp-hp-mark: color-mix(in srgb, var(--lsp-on-accent) 30%, transparent);
    --lsp-hp-blob: color-mix(in srgb, var(--lsp-on-accent) 12%, transparent);
}
.lsp .lsp-hero--product.lsp-tone-dark {
    --lsp-hp-mark: color-mix(in srgb, var(--lsp-accent) 70%, transparent);
    --lsp-hp-blob: #161a22;
}
.lsp .lsp-heroproduct__blob {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.lsp .lsp-heroproduct__blob::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    background: var(--lsp-hp-blob);
}
.lsp .lsp-heroproduct {
    position: relative;
    gap: 56px;
}
.lsp .lsp-heroproduct__content {
    flex: 1 1 440px;
    gap: 26px;
}
.lsp .lsp-heroproduct__badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #e1e4e9;
    background: #ffffff;
    color: var(--lsp-soft-ink);
    font-size: .875rem;
    font-weight: 600;
}
.lsp .lsp-heroproduct__badge .lsp-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.2;
}
.lsp .lsp-hero--product.lsp-tone-dark .lsp-heroproduct__badge {
    border-color: #2a303c;
    background: #161a22;
}
.lsp .lsp-heroproduct__title {
    font-weight: 800;
    font-size: clamp(2.5rem, 5.4vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -.03em;
}
.lsp .lsp-heroproduct__mark {
    padding: 0 .06em;
    background-image: linear-gradient(transparent 58%, var(--lsp-hp-mark) 58%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.lsp .lsp-hero--product .lsp-btn {
    min-height: 54px;
}
.lsp .lsp-hero--product .lsp-btn--primary {
    box-shadow: 0 12px 28px -12px var(--lsp-accent);
}
.lsp .lsp-hero--product .lsp-heroproduct__second,
.lsp .lsp-hero--product .lsp-heroproduct__second:hover {
    border: 1px solid #d5d9e0;
    background: #ffffff;
    color: #12151b;
}
.lsp .lsp-heroproduct__checks {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    font-size: .9375rem;
    color: var(--lsp-muted);
}
.lsp .lsp-heroproduct__checks li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.lsp .lsp-heroproduct__checks .lsp-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-hero--product.lsp-tone-default .lsp-heroproduct__checks .lsp-icon,
.lsp .lsp-hero--product.lsp-tone-soft .lsp-heroproduct__checks .lsp-icon {
    color: var(--lsp-soft-ink);
}
.lsp .lsp-heroproduct__visual {
    flex: 1.2 1 520px;
    height: 600px;
}
.lsp .lsp-heroproduct__browser {
    position: absolute;
    top: 0;
    right: 0;
    width: 92%;
    overflow: hidden;
    border: 1px solid #e1e4e9;
    border-radius: var(--lsp-r-lg);
    background: #ffffff;
    color: #12151b;
    box-shadow: 0 40px 80px -32px rgba(18, 21, 27, .3);
    translate: calc(var(--lsp-px, 0) * -10px) calc(var(--lsp-py, 0) * -8px);
    transition: translate .3s ease-out;
}
.lsp .lsp-hero--product.lsp-tone-dark .lsp-heroproduct__browser {
    border-color: #2a303c;
}
.lsp .lsp-heroproduct__bar {
    height: 40px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid #eef0f3;
}
.lsp .lsp-heroproduct__bar span {
    flex: none;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #e1e4e9;
}
.lsp .lsp-heroproduct__bar .lsp-heroproduct__url {
    flex: 1;
    max-width: 280px;
    height: 22px;
    margin-left: 16px;
    border-radius: 6px;
    background: #f2f4f7;
}
.lsp .lsp-heroproduct__app {
    display: flex;
}
.lsp .lsp-heroproduct__main {
    flex: 1.7;
    min-width: 0;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.lsp .lsp-heroproduct__player {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: var(--lsp-r);
    background: var(--lsp-accent-deep);
}
.lsp .lsp-heroproduct__player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lsp .lsp-heroproduct__player::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .4));
}
.lsp .lsp-heroproduct__art {
    display: block;
    width: 100%;
    height: 100%;
}
.lsp .lsp-heroproduct__art rect {
    fill: #ffffff;
    fill-opacity: .1;
}
.lsp .lsp-heroproduct__art rect:nth-child(2) {
    fill-opacity: .14;
}
.lsp .lsp-heroproduct__art rect:nth-child(3) {
    fill-opacity: .07;
}
.lsp .lsp-heroproduct__art path {
    fill: none;
    stroke: #ffffff;
    stroke-opacity: .6;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.lsp .lsp-heroproduct__play {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ffffff;
    color: var(--lsp-accent-deep);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.lsp .lsp-heroproduct__play svg {
    width: 24px;
    height: 24px;
    margin-left: 3px;
    fill: currentColor;
}
.lsp .lsp-heroproduct__progress {
    position: absolute;
    z-index: 1;
    left: 14px;
    right: 14px;
    bottom: 12px;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .28);
}
.lsp .lsp-heroproduct__progress span {
    display: block;
    width: 42%;
    height: 100%;
    border-radius: 3px;
    background: #ffffff;
}
.lsp .lsp-heroproduct__line {
    display: block;
    height: 8px;
    border-radius: 4px;
    background: #e3e6eb;
}
.lsp .lsp-heroproduct__caption {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 2px 2px 4px;
}
.lsp .lsp-heroproduct__line--accent {
    width: 34%;
    background: color-mix(in srgb, var(--lsp-accent) 60%, #ffffff);
}
.lsp .lsp-heroproduct__line--title {
    width: 72%;
    height: 14px;
    border-radius: 7px;
    background: #c9ced6;
}
.lsp .lsp-heroproduct__lessons {
    flex: 1;
    min-width: 0;
    padding: 18px 18px 18px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lsp .lsp-heroproduct__lesson {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
}
.lsp .lsp-heroproduct__lesson .lsp-heroproduct__line {
    flex: 1;
}
.lsp .lsp-heroproduct__lesson--head {
    padding: 0 4px 6px;
}
.lsp .lsp-heroproduct__lesson--head .lsp-heroproduct__line {
    flex: 0 0 64%;
    background: #c9ced6;
}
.lsp .lsp-heroproduct__lesson:nth-child(3) .lsp-heroproduct__line {
    flex: 0 0 70%;
}
.lsp .lsp-heroproduct__lesson:nth-child(5) .lsp-heroproduct__line {
    flex: 0 0 56%;
}
.lsp .lsp-heroproduct__tick {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #d5d9e0;
    display: grid;
    place-items: center;
}
.lsp .lsp-heroproduct__tick .lsp-icon {
    width: 13px;
    height: 13px;
    stroke-width: 3;
}
.lsp .lsp-heroproduct__lesson--done .lsp-heroproduct__tick {
    border: 0;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-heroproduct__lesson--current {
    background: var(--lsp-hp-soft);
}
.lsp .lsp-heroproduct__lesson--current .lsp-heroproduct__tick {
    border-color: var(--lsp-accent);
}
.lsp .lsp-heroproduct__lesson--current .lsp-heroproduct__line {
    background: color-mix(in srgb, var(--lsp-accent) 45%, #ffffff);
}
.lsp .lsp-heroproduct__phone {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 210px;
    height: 400px;
    padding: 10px;
    border-radius: 36px;
    background: #12151b;
    box-shadow: 0 40px 80px -24px rgba(18, 21, 27, .5);
    translate: calc(var(--lsp-px, 0) * 22px) calc(var(--lsp-py, 0) * 16px);
    transition: translate .3s ease-out;
}
.lsp .lsp-heroproduct__screen {
    height: 100%;
    overflow: hidden;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 28px;
    background: #f7f8fa;
}
.lsp .lsp-heroproduct__line--head {
    width: 46%;
    height: 12px;
    margin: 2px 4px;
    border-radius: 6px;
    background: #12151b;
}
.lsp .lsp-heroproduct__resume {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 16px;
    background: var(--lsp-accent);
}
.lsp .lsp-heroproduct__resume .lsp-heroproduct__line {
    width: 40%;
    height: 6px;
    background: color-mix(in srgb, var(--lsp-on-accent) 60%, transparent);
}
.lsp .lsp-heroproduct__resume .lsp-heroproduct__line + .lsp-heroproduct__line {
    width: 86%;
    height: 9px;
    background: var(--lsp-on-accent);
}
.lsp .lsp-heroproduct__meter {
    display: block;
    height: 5px;
    border-radius: 3px;
    background: color-mix(in srgb, var(--lsp-on-accent) 30%, transparent);
}
.lsp .lsp-heroproduct__meter span {
    display: block;
    width: 68%;
    height: 100%;
    border-radius: 3px;
    background: var(--lsp-on-accent);
}
.lsp .lsp-heroproduct__row {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 14px;
    background: #ffffff;
}
.lsp .lsp-heroproduct__thumb {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--lsp-hp-soft);
}
.lsp .lsp-heroproduct__lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.lsp .lsp-heroproduct__lines .lsp-heroproduct__line {
    width: 80%;
    height: 7px;
    background: #d5d9e0;
}
.lsp .lsp-heroproduct__lines .lsp-heroproduct__line + .lsp-heroproduct__line {
    width: 50%;
    height: 6px;
    background: #e8ebef;
}
.lsp .lsp-heroproduct__toast {
    position: absolute;
    right: 20px;
    bottom: 36px;
    max-width: 320px;
    padding: 14px 18px 14px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e1e4e9;
    border-radius: var(--lsp-r-lg);
    background: #ffffff;
    color: #12151b;
    box-shadow: 0 24px 48px -20px rgba(18, 21, 27, .35);
    translate: calc(var(--lsp-px, 0) * -26px) calc(var(--lsp-py, 0) * -18px);
    transition: translate .3s ease-out;
}
.lsp .lsp-heroproduct__toasticon {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-heroproduct__toasticon .lsp-icon {
    width: 22px;
    height: 22px;
    stroke-width: 2.2;
}
.lsp .lsp-heroproduct__toasttext {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}
.lsp .lsp-heroproduct__toasttext strong {
    font-weight: 700;
}
.lsp .lsp-heroproduct__toasttext span {
    font-size: .875rem;
    color: #545c6a;
}

/* Background video. */
.lsp .lsp-hero--video {
    isolation: isolate;
    min-height: min(90vh, 820px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #0b0d12;
    color: #ffffff;
    --lsp-muted: #e6e8ec;
    --lsp-accent-ink: var(--lsp-accent-light);
    --lsp-hv-glass: rgba(255, 255, 255, .1);
    --lsp-hv-edge: rgba(255, 255, 255, .2);
}
.lsp .lsp-herovideo__media {
    position: absolute;
    z-index: -2;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 18%, color-mix(in srgb, var(--lsp-accent) 65%, transparent), transparent 42%),
        radial-gradient(circle at 12% 88%, var(--lsp-accent-deep), transparent 55%),
        #0b0d12;
}
.lsp .lsp-herovideo__video,
.lsp .lsp-herovideo__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lsp .lsp-herovideo__shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 42%, rgba(8, 10, 14, .3), transparent 75%),
        linear-gradient(180deg, rgba(8, 10, 14, .66) 0%, rgba(8, 10, 14, .56) 45%, rgba(8, 10, 14, .85) 100%);
}
.lsp .lsp-hero--video.lsp-tone-dark .lsp-herovideo__shade {
    background: linear-gradient(180deg, rgba(8, 10, 14, .78) 0%, rgba(8, 10, 14, .62) 45%, rgba(8, 10, 14, .92) 100%);
}
.lsp .lsp-hero--video.lsp-tone-accent {
    color: var(--lsp-on-accent);
    --lsp-muted: var(--lsp-on-accent);
    --lsp-accent-ink: var(--lsp-on-accent);
}
.lsp .lsp-hero--video.lsp-tone-accent .lsp-herovideo__shade {
    background: linear-gradient(180deg, color-mix(in srgb, var(--lsp-accent) 70%, transparent),
        color-mix(in srgb, var(--lsp-accent) 88%, #000000));
}
.lsp .lsp-hero--video.lsp-tone-soft {
    color: #12151b;
    --lsp-muted: #3d434f;
    --lsp-accent-ink: var(--lsp-soft-ink);
    --lsp-hv-glass: rgba(255, 255, 255, .6);
    --lsp-hv-edge: rgba(18, 21, 27, .12);
}
.lsp .lsp-hero--video.lsp-tone-soft .lsp-herovideo__shade {
    background: linear-gradient(180deg, rgba(255, 255, 255, .78), color-mix(in srgb, var(--lsp-accent-soft) 92%, transparent));
}
.lsp .lsp-herovideo {
    flex-direction: column;
    align-items: center;
    gap: 64px;
    text-align: center;
}
.lsp .lsp-herovideo__content {
    flex: none;
    width: 100%;
    max-width: 920px;
    align-items: center;
}
.lsp .lsp-herovideo__badge {
    align-self: center;
    border: 1px solid var(--lsp-hv-edge);
    background: var(--lsp-hv-glass);
    color: inherit;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.lsp .lsp-hero--video .lsp-badge__dot {
    background: var(--lsp-accent-light);
    box-shadow: 0 0 12px var(--lsp-accent-light);
}
.lsp .lsp-hero--video.lsp-tone-soft .lsp-badge__dot,
.lsp .lsp-hero--video.lsp-tone-accent .lsp-badge__dot {
    background: currentColor;
    box-shadow: none;
}
.lsp .lsp-herovideo__title {
    max-width: 14em;
    font-size: clamp(2.6rem, 6.4vw, 5.5rem);
    line-height: 1;
    letter-spacing: -.035em;
}
.lsp .lsp-hero--video:not(.lsp-tone-soft) .lsp-herovideo__title {
    text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.lsp .lsp-herovideo__subtitle {
    max-width: 36em;
}
.lsp .lsp-herovideo__content .lsp-actions,
.lsp .lsp-herovideo__content .lsp-search {
    align-self: center;
    justify-content: center;
}
.lsp .lsp-herovideo__content .lsp-search {
    width: 100%;
}
.lsp .lsp-hero--video .lsp-search__results {
    color: #12151b;
}
.lsp .lsp-hero--video .lsp-btn--secondary,
.lsp .lsp-hero--video .lsp-btn--secondary:hover {
    border-color: var(--lsp-hv-edge);
    background: var(--lsp-hv-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.lsp .lsp-hero--video:not(.lsp-tone-soft) .lsp-btn--secondary {
    border-color: rgba(255, 255, 255, .5);
}
.lsp .lsp-herovideo__highlights {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.lsp .lsp-herovideo__chip {
    flex: 0 1 300px;
    min-width: 0;
    padding: 14px 18px 14px 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--lsp-hv-edge);
    border-radius: var(--lsp-r-lg);
    background: var(--lsp-hv-glass);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    text-align: left;
}
.lsp .lsp-herovideo__icon {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-hero--video.lsp-tone-accent .lsp-herovideo__icon {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-herovideo__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.35;
}
.lsp .lsp-herovideo__text span {
    font-size: .875rem;
    opacity: .82;
}
.lsp .lsp-herovideo__toggle {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--lsp-hv-edge);
    background: var(--lsp-hv-glass);
    color: inherit;
    display: grid;
    place-items: center;
    cursor: pointer;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: background-color .15s ease;
}
.lsp .lsp-herovideo__toggle:hover {
    background: color-mix(in srgb, currentColor 22%, transparent);
}
.lsp .lsp-herovideo__toggle[hidden] {
    display: none;
}
.lsp .lsp-herovideo__toggle .lsp-icon {
    width: 20px;
    height: 20px;
    stroke-width: 3;
}
.lsp .lsp-herovideo__resume {
    display: none;
    fill: currentColor;
    stroke-width: 1.5;
}
.lsp .lsp-herovideo__toggle[aria-pressed="true"] .lsp-herovideo__pause {
    display: none;
}
.lsp .lsp-herovideo__toggle[aria-pressed="true"] .lsp-herovideo__resume {
    display: block;
}

/* Motion: only with the page script and without reduced motion. */
@media (prefers-reduced-motion: no-preference) {
    .lsp-anim .lsp-herobento__pulse {
        animation: lsp-herobento-pulse 2.2s ease-out infinite;
    }
    .lsp-anim .lsp-heroplay__shape {
        animation: lsp-heroplay-bob 6s ease-in-out infinite;
    }
    .lsp-anim .lsp-heroplay__shape--cube {
        animation-duration: 7s;
        animation-delay: -2s;
    }
    .lsp-anim .lsp-heroplay__shape--ring {
        animation-duration: 8s;
        animation-delay: -4s;
    }
    .lsp-anim .lsp-heroplay__shape--pill {
        animation-duration: 6.5s;
        animation-delay: -1s;
    }
    .lsp-anim .lsp-heroplay__shape--dot {
        animation-duration: 5s;
        animation-delay: -3s;
    }
    .lsp-anim .lsp-heroplay__squiggle path {
        stroke-dasharray: 1;
        stroke-dashoffset: 1;
    }
    .lsp-anim .lsp-hero__title.is-visible .lsp-heroplay__squiggle path {
        animation: lsp-heroplay-draw .9s cubic-bezier(.6, .1, .3, 1) .75s forwards;
    }
    .lsp-anim .lsp-heroproduct__mark {
        background-size: 0% 100%;
        transition: background-size .9s cubic-bezier(.6, .1, .3, 1) .7s;
    }
    .lsp-anim .lsp-hero__title.is-visible .lsp-heroproduct__mark {
        background-size: 100% 100%;
    }
    .lsp-anim .lsp-heroproduct__progress span {
        animation: lsp-heroproduct-progress 14s ease-in-out infinite alternate;
    }
    .lsp-anim .lsp-heroproduct__toast {
        animation: lsp-float 6s ease-in-out infinite;
    }
}
@keyframes lsp-herobento-pulse {
    0% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--lsp-accent-light) 55%, transparent);
    }
    80%,
    100% {
        box-shadow: 0 0 0 12px transparent;
    }
}
@keyframes lsp-heroplay-bob {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}
@keyframes lsp-heroplay-draw {
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes lsp-heroproduct-progress {
    from {
        width: 24%;
    }
    to {
        width: 78%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-herotype__track {
        width: auto;
        animation: none;
    }
    .lsp .lsp-herotype__group {
        flex: 1;
        flex-wrap: wrap;
        justify-content: center;
        white-space: normal;
        padding: 0 8%;
    }
    .lsp .lsp-herotype__group[aria-hidden="true"],
    .lsp .lsp-herotype__item[aria-hidden="true"] {
        display: none;
    }
}

/* A title with a very long word (hero::has_long_word()) gets a smaller size in every layout, so the word fits its
   column; the animated words may still break inside a column narrower than one of them. */
.lsp .lsp-hero--longword .lsp-hero__title {
    font-size: clamp(2rem, 4.4vw, 3.5rem);
}
.lsp .lsp-hero--longword.lsp-hero--bigtype .lsp-hero__title {
    font-size: clamp(1.875rem, 6vw, 5.25rem);
}
.lsp .lsp-hero__title .lsp-word {
    max-width: 100%;
}

/* Smaller screens. */
@media (max-width: 900px) {
    .lsp .lsp-heroproduct__visual,
    .lsp .lsp-heroplay__stage {
        flex-basis: 100%;
    }
}
@media (max-width: 640px) {
    .lsp .lsp-herobento__lead {
        min-height: 0;
        padding: 32px 24px 28px;
        gap: 18px;
    }
    .lsp .lsp-herobento__rings::before {
        right: -260px;
        top: -240px;
    }
    .lsp .lsp-herobento__tile {
        padding: 24px;
    }
    .lsp .lsp-herobento__live {
        padding-right: 52px;
    }
    .lsp .lsp-herobento__row .lsp-herobento__tile--h2 {
        padding-right: 128px;
    }
    .lsp .lsp-herobento__tile--h2 .lsp-herobento__phone {
        right: 18px;
        width: 92px;
        height: 178px;
    }
    .lsp .lsp-herobento__tile--h1 .lsp-herobento__icon {
        width: 76px;
        height: 76px;
        border-width: 5px;
    }
    .lsp .lsp-heroplay__stage {
        min-height: 560px;
    }
    .lsp .lsp-heroplay__card {
        width: 205px;
    }
    .lsp .lsp-heroplay__cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding: 40px 0 32px;
    }
    .lsp .lsp-heroplay__cards > .lsp-heroplay__card {
        grid-column: 1;
        grid-row: auto;
        width: min(250px, 82%);
        margin: 0;
    }
    .lsp .lsp-heroplay__cards > .lsp-heroplay__card--1 {
        margin-left: 2%;
    }
    .lsp .lsp-heroplay__cards > .lsp-heroplay__card--2 {
        justify-self: end;
        margin-right: 2%;
    }
    .lsp .lsp-heroplay__cards > .lsp-heroplay__card--3 {
        width: auto;
        max-width: min(240px, 82%);
        margin-left: 4%;
    }
    /* Without highlights or a picture the stage only holds the shapes: a short strip, not an empty block. */
    .lsp .lsp-heroplay__stage:not(:has(.lsp-heroplay__card)) {
        min-height: 200px;
    }
    /* The picture card shown without highlights. */
    .lsp .lsp-heroplay__card--1 {
        left: 1%;
        top: 2%;
        translate: none;
    }
    .lsp .lsp-heroplay__cover {
        height: 88px;
    }
    .lsp .lsp-heroplay__card--photo .lsp-heroplay__cover {
        height: 170px;
    }
    .lsp .lsp-heroplay__shape--ball {
        width: 78px;
        height: 78px;
    }
    .lsp .lsp-heroplay__shape--cube {
        width: 70px;
        height: 70px;
        border-radius: 18px;
    }
    .lsp .lsp-heroplay__shape--ring {
        width: 104px;
        height: 104px;
        border-width: 24px;
    }
    .lsp .lsp-heroplay__shape--pill {
        display: none;
    }
    .lsp .lsp-heroplay__shape--dot {
        width: 32px;
        height: 32px;
    }
    .lsp .lsp-hero--playful .lsp-btn {
        min-height: 52px;
        padding: 0 22px;
        font-size: 1rem;
    }
    .lsp .lsp-herotype {
        gap: 28px;
    }
    .lsp .lsp-herotype__title--xl {
        font-size: clamp(2.75rem, 13.5vw, 4rem);
    }
    .lsp .lsp-herotype__title--l {
        font-size: clamp(2.25rem, 10vw, 3.25rem);
    }
    .lsp .lsp-herotype__circle {
        width: 84px;
        height: 84px;
    }
    .lsp .lsp-herotype__circle .lsp-icon {
        width: 32px;
        height: 32px;
    }
    .lsp .lsp-herotype__image {
        width: 100%;
        max-width: 360px;
        rotate: 0deg;
    }
    .lsp .lsp-herotype__strip {
        margin-top: 40px;
        padding: 20px 0;
    }
    .lsp .lsp-herotype__band {
        padding: 16px 0;
    }
    .lsp .lsp-herotype__group,
    .lsp .lsp-herotype__item {
        gap: 24px;
    }
    .lsp .lsp-herotype__group {
        padding-right: 24px;
    }
    .lsp .lsp-herotype__star {
        width: 20px;
        height: 20px;
    }
    .lsp .lsp-heroproduct__blob::before {
        right: -180px;
        top: -100px;
        width: 420px;
        height: 420px;
    }
    .lsp .lsp-heroproduct__visual {
        height: 430px;
    }
    .lsp .lsp-heroproduct__browser {
        width: 100%;
    }
    .lsp .lsp-heroproduct__lessons {
        display: none;
    }
    .lsp .lsp-heroproduct__main {
        padding: 12px;
        gap: 10px;
    }
    .lsp .lsp-heroproduct__player {
        height: 180px;
    }
    .lsp .lsp-heroproduct__phone {
        width: 136px;
        height: 262px;
        padding: 7px;
        border-radius: 26px;
    }
    .lsp .lsp-heroproduct__screen {
        padding: 12px 8px;
        gap: 7px;
        border-radius: 20px;
    }
    .lsp .lsp-heroproduct__row {
        padding: 7px;
        border-radius: 10px;
    }
    .lsp .lsp-heroproduct__thumb {
        width: 22px;
        height: 22px;
        border-radius: 7px;
    }
    .lsp .lsp-heroproduct__resume {
        padding: 9px;
        border-radius: 12px;
    }
    .lsp .lsp-heroproduct__toast {
        right: 0;
        bottom: 18px;
        max-width: 210px;
        padding: 10px 12px 10px 10px;
        gap: 10px;
        font-size: .875rem;
    }
    .lsp .lsp-heroproduct__toasticon {
        width: 36px;
        height: 36px;
    }
    .lsp .lsp-heroproduct__toasttext span {
        font-size: .8125rem;
    }
    .lsp .lsp-herovideo {
        gap: 40px;
    }
    .lsp .lsp-herovideo__chip {
        flex-basis: 100%;
    }
    .lsp .lsp-herovideo__toggle {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

/* sections/html.css */
/**
 * Letstudy Pages, HTML code section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-html. The code keeps its own markup; these rules
 * only give plain elements a readable default (paragraph spacing, lists, links, tables), since the page styles reset
 * margins and list markers, and let the box limit its width and add padding.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp .lsp-html__box {
    margin-inline: auto;
    line-height: 1.65;
    overflow-wrap: break-word;
}
.lsp .lsp-html__box--w-s {
    max-width: 560px;
}
.lsp .lsp-html__box--w-m {
    max-width: 720px;
}
.lsp .lsp-html__box--w-l {
    max-width: 960px;
}
.lsp .lsp-html__box--p-s {
    padding: 16px;
}
.lsp .lsp-html__box--p-m {
    padding: clamp(20px, 3vw, 32px);
}
.lsp .lsp-html__box--p-l {
    padding: clamp(28px, 5vw, 56px);
}
.lsp .lsp-html__box :where(p, ul, ol, table, figure, blockquote, pre, h2, h3, h4) + :where(*) {
    margin-top: 1em;
}
.lsp .lsp-html__box :where(h1, h2, h3, h4) {
    font-family: var(--lsp-heading-font);
    font-weight: var(--lsp-heading-weight);
    line-height: 1.2;
    color: inherit;
}
.lsp .lsp-html__box :where(h1) {
    font-size: clamp(2rem, 3.6vw, 2.75rem);
}
.lsp .lsp-html__box :where(h2) {
    font-size: clamp(1.6rem, 2.8vw, 2.125rem);
}
.lsp .lsp-html__box :where(h3) {
    font-size: 1.375rem;
}
.lsp .lsp-html__box :where(ul) {
    list-style: disc;
    padding-inline-start: 1.4em;
}
.lsp .lsp-html__box :where(ol) {
    list-style: decimal;
    padding-inline-start: 1.4em;
}
.lsp .lsp-html__box :where(li + li) {
    margin-top: .35em;
}
.lsp .lsp-html__box :where(a) {
    color: var(--lsp-accent-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.lsp .lsp-html__box :where(img, video, iframe) {
    max-width: 100%;
    height: auto;
}
.lsp .lsp-html__box :where(img) {
    border-radius: var(--lsp-r);
}
.lsp .lsp-html__box :where(table) {
    width: 100%;
    border-collapse: collapse;
    font-size: .9375rem;
}
.lsp .lsp-html__box :where(th, td) {
    padding: 10px 12px;
    border-bottom: 1px solid var(--lsp-border);
    text-align: start;
    vertical-align: top;
}
.lsp .lsp-html__box :where(th) {
    font-weight: 700;
}
.lsp .lsp-html__box :where(blockquote) {
    padding-inline-start: 18px;
    border-inline-start: 3px solid var(--lsp-accent);
}
.lsp .lsp-html__box :where(code, pre) {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .9em;
}
.lsp .lsp-html__box :where(pre) {
    padding: 14px 16px;
    overflow-x: auto;
    border-radius: var(--lsp-r-sm);
    background: var(--lsp-surface-2);
}
.lsp .lsp-html__box :where(hr) {
    height: 1px;
    margin: 1.5em 0;
    border: 0;
    background: var(--lsp-border);
    opacity: 1;
}

/* sections/instructors.css */
/**
 * Letstudy Pages, instructors section.
 *
 * Scoped under .lsp-instructors, classes prefixed lsp-instructors. People without a picture get their
 * initials on one of four colours, chosen by their id so a person keeps the same colour.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Pictures and initials. */
.lsp .lsp-instructors .lsp-instructors__avatar {
    position: relative;
    flex: none;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    box-shadow: 0 0 0 4px var(--lsp-instructors-ring, var(--lsp-card-bg)), 0 0 0 5px color-mix(in srgb, var(--lsp-accent) 26%, transparent);
}
.lsp .lsp-instructors .lsp-instructors__avatar--1 {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-instructors .lsp-instructors__avatar--2 {
    background: var(--lsp-accent-deep);
    color: #ffffff;
}
.lsp .lsp-instructors .lsp-instructors__avatar--3 {
    background: #12151b;
    color: #ffffff;
}
.lsp .lsp-instructors.lsp-tone-dark .lsp-instructors__avatar--3 {
    background: #2a303c;
}
.lsp .lsp-instructors .lsp-instructors__img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.lsp .lsp-instructors .lsp-instructors__initials {
    font-family: var(--lsp-heading-font);
    font-weight: 700;
    font-size: 1.875rem;
    letter-spacing: .02em;
    line-height: 1;
}
.lsp .lsp-instructors .lsp-instructors__name {
    font-family: var(--lsp-heading-font);
    font-weight: 700;
    line-height: 1.25;
    color: inherit;
    overflow-wrap: break-word;
}

/* Cards. */
/* Cards keep their width and the rows are centred, so a few people do not sit on the left. */
.lsp .lsp-instructors .lsp-instructors__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.lsp .lsp-instructors .lsp-instructors__grid > .lsp-instructors__card {
    flex: 0 1 calc((100% - 60px) / 4);
    min-width: 220px;
}
.lsp .lsp-instructors .lsp-instructors__card {
    --lsp-instructors-ring: var(--lsp-card-bg);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 32px 22px 24px;
    border-radius: var(--lsp-r-lg);
    border: 1px solid var(--lsp-card-border);
    background: var(--lsp-card-bg);
    box-shadow: var(--lsp-card-shadow);
    color: var(--lsp-text);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}
.lsp .lsp-instructors .lsp-instructors__card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 82px;
    background:
        radial-gradient(circle at 85% -40%, color-mix(in srgb, var(--lsp-accent) 30%, transparent) 0 38%, transparent 38.5%),
        color-mix(in srgb, var(--lsp-accent) 12%, var(--lsp-instructors-ring));
    pointer-events: none;
}
.lsp .lsp-instructors.lsp-tone-soft .lsp-instructors__card,
.lsp .lsp-instructors.lsp-tone-accent .lsp-instructors__card {
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-instructors-ring: #ffffff;
    --lsp-accent-ink: var(--lsp-soft-ink);
    border-color: transparent;
    background: #ffffff;
    color: #12151b;
}
.lsp .lsp-instructors .lsp-instructors__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -26px rgba(18, 21, 27, .35);
}
.lsp .lsp-instructors .lsp-instructors__card .lsp-instructors__avatar {
    margin-bottom: 12px;
}
.lsp .lsp-instructors .lsp-instructors__card .lsp-instructors__name {
    font-size: 1.1875rem;
}
.lsp .lsp-instructors .lsp-instructors__role {
    color: var(--lsp-muted);
    font-size: .9375rem;
}
.lsp .lsp-instructors .lsp-instructors__count {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    font-size: .8125rem;
    font-weight: 700;
}
.lsp .lsp-instructors .lsp-instructors__count .lsp-icon {
    width: 15px;
    height: 15px;
}

/* Avatars. */
.lsp .lsp-instructors .lsp-instructors__wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 20px;
    max-width: 1040px;
    margin: 0 auto;
}
.lsp .lsp-instructors .lsp-instructors__person {
    --lsp-instructors-ring: var(--lsp-page-bg);
    width: 148px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}
.lsp .lsp-instructors.lsp-tone-soft .lsp-instructors__person {
    --lsp-instructors-ring: var(--lsp-accent-soft);
}
.lsp .lsp-instructors.lsp-tone-accent .lsp-instructors__person {
    --lsp-instructors-ring: var(--lsp-accent);
}
.lsp .lsp-instructors.lsp-tone-dark .lsp-instructors__person {
    --lsp-instructors-ring: var(--lsp-dark);
}
.lsp .lsp-instructors .lsp-instructors__person .lsp-instructors__avatar {
    width: 104px;
    height: 104px;
    margin-bottom: 12px;
    transition: transform .25s ease;
}
.lsp .lsp-instructors.lsp-tone-accent .lsp-instructors__person .lsp-instructors__avatar {
    box-shadow: 0 0 0 4px var(--lsp-instructors-ring), 0 0 0 5px color-mix(in srgb, var(--lsp-on-accent) 45%, transparent);
}
.lsp .lsp-instructors.lsp-tone-accent .lsp-instructors__avatar--1 {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-instructors .lsp-instructors__person:hover .lsp-instructors__avatar {
    transform: translateY(-4px) scale(1.03);
}
.lsp .lsp-instructors .lsp-instructors__badge {
    position: absolute;
    right: -2px;
    bottom: -2px;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border-radius: 999px;
    border: 3px solid var(--lsp-instructors-ring);
    display: grid;
    place-items: center;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    font-size: .75rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.lsp .lsp-instructors.lsp-tone-accent .lsp-instructors__badge {
    background: var(--lsp-dark);
    color: #ffffff;
}
.lsp .lsp-instructors .lsp-instructors__person .lsp-instructors__name {
    font-size: 1rem;
}
.lsp .lsp-instructors .lsp-instructors__meta {
    color: var(--lsp-muted);
    font-size: .8125rem;
    line-height: 1.35;
}

/* Small screens. */
@media (max-width: 640px) {
    .lsp .lsp-instructors .lsp-instructors__grid {
        gap: 12px;
    }
    .lsp .lsp-instructors .lsp-instructors__grid > .lsp-instructors__card {
        flex-basis: calc(50% - 6px);
        min-width: 0;
    }
    .lsp .lsp-instructors .lsp-instructors__card {
        padding: 24px 12px 18px;
    }
    .lsp .lsp-instructors .lsp-instructors__card::before {
        height: 64px;
    }
    .lsp .lsp-instructors .lsp-instructors__avatar {
        width: 76px;
        height: 76px;
    }
    .lsp .lsp-instructors .lsp-instructors__initials {
        font-size: 1.5rem;
    }
    .lsp .lsp-instructors .lsp-instructors__card .lsp-instructors__name {
        font-size: 1.0625rem;
    }
    .lsp .lsp-instructors .lsp-instructors__count {
        padding: 5px 10px;
    }
    .lsp .lsp-instructors .lsp-instructors__wall {
        gap: 24px 8px;
    }
    .lsp .lsp-instructors .lsp-instructors__person {
        width: calc(33.333% - 6px);
        min-width: 100px;
    }
    .lsp .lsp-instructors .lsp-instructors__person .lsp-instructors__avatar {
        width: 80px;
        height: 80px;
    }
}
@media (max-width: 360px) {
    .lsp .lsp-instructors .lsp-instructors__grid > .lsp-instructors__card {
        flex-basis: 100%;
    }
    .lsp .lsp-instructors .lsp-instructors__person {
        width: calc(50% - 4px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-instructors .lsp-instructors__card:hover,
    .lsp .lsp-instructors .lsp-instructors__person:hover .lsp-instructors__avatar {
        transform: none !important;
    }
}

/* sections/linkcards.css */
/**
 * Letstudy Pages, link cards section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-linkcards. The title link of a card is
 * stretched over the whole card with a pseudo element, and draws the focus ring of the card.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp .lsp-linkcards__grid,
.lsp .lsp-linkcards__rows {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Card shared by the three layouts. */
.lsp .lsp-linkcards__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 28px;
    background: var(--lsp-card-bg);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-card-border);
    border-radius: var(--lsp-r-lg);
    box-shadow: var(--lsp-card-shadow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lsp .lsp-linkcards__card--link:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--lsp-accent) 35%, var(--lsp-card-border));
    box-shadow: 0 24px 48px -26px rgba(18, 21, 27, .35);
}
.lsp .lsp-tone-soft .lsp-linkcards__card,
.lsp .lsp-tone-accent .lsp-linkcards__card,
.lsp .lsp-linkcards.lsp-tone-soft .lsp-linkcards__card,
.lsp .lsp-linkcards.lsp-tone-accent .lsp-linkcards__card {
    background: #ffffff;
    color: #12151b;
    border-color: transparent;
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-border: #e1e4e9;
    --lsp-accent-ink: var(--lsp-soft-ink);
    --lsp-accent-soft: color-mix(in srgb, var(--lsp-accent) 12%, #ffffff);
}
.lsp .lsp-linkcards.lsp-tone-accent .lsp-linkcards__card--link:hover {
    box-shadow: 0 24px 48px -22px rgba(0, 0, 0, .4);
}
.lsp .lsp-linkcards.lsp-tone-dark .lsp-linkcards__card--link:hover {
    box-shadow: 0 24px 48px -26px rgba(0, 0, 0, .7);
}

.lsp .lsp-linkcards__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.lsp .lsp-linkcards__icon {
    flex: none;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: var(--lsp-r-sm);
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.lsp .lsp-linkcards__icon .lsp-icon {
    width: 26px;
    height: 26px;
}
.lsp .lsp-linkcards__card--link:hover .lsp-linkcards__icon {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    transform: rotate(-6deg);
}
.lsp .lsp-linkcards__badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 11px;
    border-radius: 999px;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.lsp .lsp-linkcards__title {
    margin: 0;
    font-family: var(--lsp-heading-font);
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.3;
    color: inherit;
}
.lsp .lsp-linkcards__link,
.lsp .lsp-linkcards__link:hover {
    color: inherit;
    text-decoration: none;
}
/* The link covers the card, and its pseudo element carries the focus ring of the card. */
.lsp .lsp-linkcards__link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: var(--lsp-r-lg);
}
.lsp .lsp-linkcards__link:focus-visible {
    outline: none;
}
.lsp .lsp-linkcards__link:focus-visible::after {
    outline: 3px solid var(--lsp-accent);
    outline-offset: 3px;
}
.lsp .lsp-tone-accent .lsp-linkcards__link:focus-visible::after,
.lsp .lsp-linkcards.lsp-tone-accent .lsp-linkcards__link:focus-visible::after {
    outline-color: var(--lsp-on-accent);
}
.lsp .lsp-linkcards__text {
    margin: 0;
    color: var(--lsp-muted);
    line-height: 1.55;
}
.lsp .lsp-linkcards__go {
    margin-top: auto;
    padding-top: 8px;
    display: inline-flex;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-linkcards__go .lsp-icon {
    width: 22px;
    height: 22px;
    transition: transform .25s ease;
}
.lsp .lsp-linkcards__card--link:hover .lsp-linkcards__go .lsp-icon {
    transform: translateX(4px);
}

/* Icons layout. */
.lsp .lsp-linkcards__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 20px;
}

/* Images layout: picture on top, body below. */
.lsp .lsp-linkcards__card--media {
    padding: 0;
    gap: 0;
    overflow: hidden;
}
.lsp .lsp-linkcards__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--lsp-surface-2);
}
.lsp .lsp-linkcards__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-linkcards__card--link:hover .lsp-linkcards__img {
    transform: scale(1.06);
}
.lsp .lsp-linkcards__media .lsp-linkcards__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #ffffff;
    color: #12151b;
    box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4);
}
.lsp .lsp-linkcards__art {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--lsp-on-accent);
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .22), transparent 40%),
        radial-gradient(circle at 10% 110%, rgba(255, 255, 255, .16), transparent 45%),
        linear-gradient(140deg, var(--lsp-accent), var(--lsp-accent-deep));
}
.lsp .lsp-linkcards__art::before,
.lsp .lsp-linkcards__art::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .22);
    transform: translate(-50%, -50%);
}
.lsp .lsp-linkcards__art::before {
    width: 128px;
    height: 128px;
}
.lsp .lsp-linkcards__art::after {
    width: 210px;
    height: 210px;
    border-style: dashed;
    border-color: rgba(255, 255, 255, .16);
}
.lsp .lsp-linkcards__art .lsp-icon {
    position: relative;
    width: 52px;
    height: 52px;
    stroke-width: 1.5;
    transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-linkcards__card--link:hover .lsp-linkcards__art .lsp-icon {
    transform: scale(1.1) rotate(-4deg);
}
.lsp .lsp-linkcards__art--2 {
    color: var(--lsp-soft-ink);
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .8), transparent 42%),
        linear-gradient(140deg, color-mix(in srgb, var(--lsp-accent) 12%, #ffffff), color-mix(in srgb, var(--lsp-accent) 30%, #ffffff));
}
.lsp .lsp-linkcards__art--2::before,
.lsp .lsp-linkcards__art--2::after,
.lsp .lsp-linkcards__art--4::before,
.lsp .lsp-linkcards__art--4::after {
    border-color: color-mix(in srgb, var(--lsp-accent) 30%, transparent);
}
.lsp .lsp-linkcards__art--3 {
    color: #ffffff;
    background:
        radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--lsp-accent) 45%, transparent), transparent 50%),
        linear-gradient(140deg, #1f2533, #0f131a);
}
.lsp .lsp-linkcards__art--4 {
    color: var(--lsp-soft-ink);
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, .9), transparent 45%),
        linear-gradient(140deg, #eef1f5, color-mix(in srgb, var(--lsp-accent) 18%, #e3e7ed));
}
.lsp .lsp-linkcards__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 26px 26px;
}

/* Three, five, six or nine cards: three in a row, so no row is left half empty. */
.lsp .lsp-linkcards__grid:has(> li:nth-child(3):last-child),
.lsp .lsp-linkcards__grid:has(> li:nth-child(5):last-child),
.lsp .lsp-linkcards__grid:has(> li:nth-child(6):last-child),
.lsp .lsp-linkcards__grid:has(> li:nth-child(9):last-child) {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

/* One or two cards: centred at the width of a card in a full row, instead of hugging the left edge. */
.lsp .lsp-linkcards__grid:has(> li:nth-child(-n+2):last-child) {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 360px));
    justify-content: center;
}
.lsp .lsp-linkcards__rows:has(> li:nth-child(-n+2):last-child) {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 420px));
    justify-content: center;
}

/* Compact layout: dense rows. */
.lsp .lsp-linkcards__rows {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 12px;
}
/* Balanced by count, so no row is left alone at the end: four or ten rows go two by two (three in a row would
   leave one alone), and the seventh of seven takes a whole line. */
.lsp .lsp-linkcards__rows:has(> li:nth-child(4):last-child),
.lsp .lsp-linkcards__rows:has(> li:nth-child(10):last-child) {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, max(340px, calc(50% - 6px))), 1fr));
}
.lsp .lsp-linkcards__rows > li:nth-child(7):last-child {
    grid-column: 1 / -1;
}
.lsp .lsp-linkcards__card--row {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px 18px 16px 16px;
    border-radius: var(--lsp-r);
}
.lsp .lsp-linkcards__card--row:hover {
    transform: translateY(-2px);
}
.lsp .lsp-linkcards__card--row .lsp-linkcards__link::after {
    border-radius: var(--lsp-r);
}
.lsp .lsp-linkcards__card--row .lsp-linkcards__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}
.lsp .lsp-linkcards__card--row .lsp-linkcards__icon .lsp-icon {
    width: 22px;
    height: 22px;
}
.lsp .lsp-linkcards__rowtext {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lsp .lsp-linkcards__titleline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
}
.lsp .lsp-linkcards__card--row .lsp-linkcards__title {
    font-size: 1.0625rem;
}
.lsp .lsp-linkcards__card--row .lsp-linkcards__text {
    font-size: .9375rem;
    line-height: 1.45;
}
.lsp .lsp-linkcards__card--row .lsp-linkcards__badge {
    min-height: 22px;
    padding: 2px 9px;
    font-size: .75rem;
}
.lsp .lsp-linkcards__card--row .lsp-linkcards__go {
    flex: none;
    margin: 0;
    padding: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--lsp-surface-2);
    transition: background-color .25s ease, color .25s ease;
}
.lsp .lsp-linkcards__card--row .lsp-linkcards__go .lsp-icon {
    width: 18px;
    height: 18px;
}
.lsp .lsp-linkcards__card--row.lsp-linkcards__card--link:hover .lsp-linkcards__go {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-linkcards__card--row.lsp-linkcards__card--link:hover .lsp-linkcards__icon {
    transform: none;
}
.lsp .lsp-linkcards.lsp-tone-soft .lsp-linkcards__card--row .lsp-linkcards__go,
.lsp .lsp-linkcards.lsp-tone-accent .lsp-linkcards__card--row .lsp-linkcards__go {
    background: #f0f2f5;
}

@media (max-width: 640px) {
    .lsp .lsp-linkcards__card {
        padding: 22px;
    }
    .lsp .lsp-linkcards__card--media {
        padding: 0;
    }
    .lsp .lsp-linkcards__body {
        padding: 20px 22px 22px;
    }
    .lsp .lsp-linkcards__card--row {
        padding: 14px;
        gap: 14px;
    }
    /* Icon cards: the icon beside the text, so a list of cards stays short on phones. */
    .lsp .lsp-linkcards--icons .lsp-linkcards__card {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: start;
        gap: 6px 16px;
        padding: 20px;
    }
    .lsp .lsp-linkcards--icons .lsp-linkcards__top {
        display: contents;
    }
    .lsp .lsp-linkcards--icons .lsp-linkcards__icon {
        grid-column: 1;
        grid-row: 1 / span 4;
        width: 48px;
        height: 48px;
    }
    .lsp .lsp-linkcards--icons .lsp-linkcards__card > *:not(.lsp-linkcards__top),
    .lsp .lsp-linkcards--icons .lsp-linkcards__badge {
        grid-column: 2;
    }
    .lsp .lsp-linkcards--icons .lsp-linkcards__badge {
        justify-self: start;
    }
    .lsp .lsp-linkcards--icons .lsp-linkcards__go {
        padding-top: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-linkcards__card,
    .lsp .lsp-linkcards__icon,
    .lsp .lsp-linkcards__img,
    .lsp .lsp-linkcards__art .lsp-icon,
    .lsp .lsp-linkcards__go .lsp-icon {
        transition: none;
    }
    .lsp .lsp-linkcards__card--link:hover,
    .lsp .lsp-linkcards__card--link:hover .lsp-linkcards__icon,
    .lsp .lsp-linkcards__card--link:hover .lsp-linkcards__img,
    .lsp .lsp-linkcards__card--link:hover .lsp-linkcards__art .lsp-icon {
        transform: none;
    }
}
.lsp.lsp-anim-reduced .lsp-linkcards__card--link:hover {
    transform: none;
}

/* sections/logos.css */
/**
 * Letstudy Pages, logos section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-logos. The scrolling strip is CSS
 * only: two copies of the list move by their own width, so the loop is seamless. It pauses on hover and
 * focus and becomes a still, wrapped row with reduced motion.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp .lsp-logos .lsp-title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
}
.lsp .lsp-logos .lsp-head {
    margin-bottom: 36px;
}

/* One logo: an image in grey, or a wordmark. */
.lsp .lsp-logos__item {
    display: flex;
}
.lsp .lsp-logos__logo {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    color: var(--lsp-text);
}
.lsp .lsp-logos__img {
    width: auto;
    height: auto;
    max-width: min(160px, 100%);
    max-height: 44px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .66;
    transition: filter .3s ease, opacity .3s ease;
}
.lsp .lsp-logos__logo:hover .lsp-logos__img,
.lsp .lsp-logos__logo:focus-visible .lsp-logos__img {
    filter: none;
    opacity: 1;
}
.lsp .lsp-logos__word {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--lsp-heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1;
    white-space: nowrap;
    color: var(--lsp-muted);
    transition: color .3s ease;
}
.lsp .lsp-logos__logo:hover .lsp-logos__word,
.lsp .lsp-logos__logo:focus-visible .lsp-logos__word {
    color: var(--lsp-accent-ink);
}
.lsp .lsp-logos__mark {
    flex: none;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    font-size: .875rem;
    font-weight: 800;
    letter-spacing: 0;
}
/* Four mark shapes and lettering styles, so a row of names reads like a row of logos. */
.lsp .lsp-logos__word--0 .lsp-logos__mark {
    border: 2.5px solid currentColor;
    border-radius: 50%;
}
.lsp .lsp-logos__word--1 {
    font-weight: 800;
    letter-spacing: -.035em;
}
.lsp .lsp-logos__word--1 .lsp-logos__mark {
    border-radius: 8px;
    background: currentColor;
    -webkit-text-fill-color: var(--lsp-logos-bg, #ffffff);
}
.lsp .lsp-logos__word--2 {
    font-family: "Noto Serif", Georgia, Cambria, "Times New Roman", serif;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0;
}
.lsp .lsp-logos__word--2 .lsp-logos__mark {
    width: 24px;
    height: 24px;
    margin: 0 3px;
    border: 2.5px solid currentColor;
    border-radius: 4px;
    transform: rotate(45deg);
    font-size: 0;
}
.lsp .lsp-logos__word--3 {
    font-weight: 600;
    letter-spacing: .06em;
}
.lsp .lsp-logos__word--3 .lsp-logos__mark {
    border-radius: 50%;
    background: currentColor;
    font-size: 0;
}
.lsp .lsp-logos__word--3 .lsp-logos__mark::before {
    content: "";
    grid-area: 1 / 1;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--lsp-logos-bg, #ffffff);
    transform: translate(5px, -5px);
}

/* Colour behind the logos, for the cut-outs of the marks. */
.lsp .lsp-logos {
    --lsp-logos-bg: var(--lsp-page-bg);
}
.lsp .lsp-logos.lsp-tone-soft {
    --lsp-logos-bg: var(--lsp-accent-soft);
}
.lsp .lsp-logos.lsp-tone-accent {
    --lsp-logos-bg: var(--lsp-accent);
}
.lsp .lsp-logos.lsp-tone-dark {
    --lsp-logos-bg: var(--lsp-dark);
}

/* Scrolling strip. */
.lsp .lsp-logos__marquee {
    display: flex;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.lsp .lsp-logos__track {
    flex: none;
    min-width: 100%;
    margin: 0;
    padding: 6px 32px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 64px;
    animation: lsp-logos-scroll var(--lsp-logos-duration, 32s) linear infinite;
}
[dir="rtl"] .lsp .lsp-logos__track {
    animation-name: lsp-logos-scroll-rtl;
}
.lsp .lsp-logos__marquee:hover .lsp-logos__track,
.lsp .lsp-logos__marquee:focus-within .lsp-logos__track {
    animation-play-state: paused;
}
.lsp .lsp-logos__track .lsp-logos__item {
    flex: none;
}
@keyframes lsp-logos-scroll {
    to {
        transform: translateX(-100%);
    }
}
@keyframes lsp-logos-scroll-rtl {
    to {
        transform: translateX(100%);
    }
}

/* Grid of tiles. */
.lsp .lsp-logos__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.lsp .lsp-logos__grid .lsp-logos__item {
    display: block;
}
/* One to three logos: centred tiles instead of a short row at the left. */
.lsp .lsp-logos__grid:has(> li:nth-child(-n+3):last-child) {
    grid-template-columns: repeat(auto-fit, minmax(0, 260px));
    justify-content: center;
}
.lsp .lsp-logos__grid .lsp-logos__logo {
    height: 112px;
    padding: 20px;
    border-radius: var(--lsp-r);
    background: var(--lsp-card-bg);
    border: 1px solid var(--lsp-card-border);
    box-shadow: var(--lsp-card-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.lsp .lsp-logos__grid .lsp-logos__word {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.15;
}
.lsp .lsp-logos__grid a.lsp-logos__logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -24px rgba(18, 21, 27, .35);
}
.lsp .lsp-logos--grid {
    --lsp-logos-bg: var(--lsp-card-bg);
}
.lsp .lsp-logos--grid.lsp-tone-dark {
    --lsp-logos-bg: var(--lsp-card-bg);
}
.lsp .lsp-logos--grid.lsp-tone-soft,
.lsp .lsp-logos--grid.lsp-tone-accent {
    --lsp-logos-bg: #ffffff;
}
.lsp .lsp-tone-soft .lsp-logos__grid .lsp-logos__logo,
.lsp .lsp-tone-accent .lsp-logos__grid .lsp-logos__logo {
    background: #ffffff;
    color: #12151b;
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-accent-ink: var(--lsp-soft-ink);
}

/* Small screens. */
@media (max-width: 900px) {
    .lsp .lsp-logos__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .lsp .lsp-logos__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .lsp .lsp-logos__grid .lsp-logos__logo {
        height: 88px;
        padding: 14px;
    }
    .lsp .lsp-logos__word {
        gap: 8px;
        font-size: 1rem;
    }
    .lsp .lsp-logos__mark {
        width: 24px;
        height: 24px;
        font-size: .75rem;
    }
    .lsp .lsp-logos__word--2 .lsp-logos__mark {
        width: 19px;
        height: 19px;
    }
    .lsp .lsp-logos__img {
        max-height: 36px;
    }
    .lsp .lsp-logos__track {
        gap: 44px;
        padding: 6px 22px;
    }
}

/* Reduced motion: a still row instead of the moving strip. */
@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-logos__marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }
    .lsp .lsp-logos__track {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px 48px;
        animation: none;
    }
    .lsp .lsp-logos__track--clone {
        display: none;
    }
}

/* sections/map.css */
/**
 * Letstudy Pages, map section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-map. The map is first a drawing (inline
 * SVG streets, a park and a river, with a pin) so nothing is requested from another site; the extras module
 * adds the OpenStreetMap iframe when the visitor presses "Show map" and marks the frame with .is-loaded.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp .lsp-map {
    --lsp-map-land: #eef1f4;
    --lsp-map-block: #e2e7ec;
    --lsp-map-park: #d7ecd9;
    --lsp-map-water: #cfe2f2;
    --lsp-map-road: #ffffff;
    --lsp-map-casing: #d5dbe2;
    --lsp-map-avenue: #f7dfa2;
    --lsp-map-avenue-casing: #e6c77a;
    --lsp-map-card: var(--lsp-card-bg);
}
.lsp .lsp-map.lsp-tone-soft,
.lsp .lsp-map.lsp-tone-accent {
    --lsp-map-card: #ffffff;
}
.lsp .lsp-map.lsp-tone-dark {
    --lsp-map-land: #1a1f28;
    --lsp-map-block: #222934;
    --lsp-map-park: #1c2e26;
    --lsp-map-water: #16304a;
    --lsp-map-road: #2e3644;
    --lsp-map-casing: #151a21;
    --lsp-map-avenue: #574b2c;
    --lsp-map-avenue-casing: #2b2618;
}

/* Split: details card beside the map. */
.lsp .lsp-map__layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 24px;
    align-items: stretch;
}

/* Details card. */
.lsp .lsp-map__card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
    background: var(--lsp-map-card);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-card-border);
    border-radius: var(--lsp-r-lg);
    box-shadow: var(--lsp-card-shadow);
}
.lsp .lsp-tone-soft .lsp-map__card,
.lsp .lsp-tone-accent .lsp-map__card {
    color: #12151b;
    border-color: transparent;
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-border: #e1e4e9;
    --lsp-accent-ink: var(--lsp-soft-ink);
    box-shadow: 0 1px 2px rgba(18, 21, 27, .05), 0 22px 48px -28px rgba(18, 21, 27, .35);
}
.lsp .lsp-tone-accent .lsp-map__card {
    --lsp-accent-ink: var(--lsp-accent-ink);
}
.lsp .lsp-map__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}
.lsp .lsp-map__item + .lsp-map__item {
    padding-top: 22px;
    border-top: 1px solid var(--lsp-border);
}
.lsp .lsp-map__icon {
    flex: none;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: var(--lsp-r-sm);
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
}
.lsp .lsp-tone-dark .lsp-map__icon {
    background: color-mix(in srgb, var(--lsp-accent) 22%, #161a22);
    color: var(--lsp-accent-light);
}
.lsp .lsp-map__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lsp .lsp-map__label {
    margin: 0;
    font-family: var(--lsp-heading-font);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
    color: inherit;
}
.lsp .lsp-map__address {
    margin: 0;
    color: var(--lsp-muted);
    line-height: 1.55;
}
.lsp .lsp-map__line {
    display: block;
}
.lsp .lsp-map__hours,
.lsp .lsp-map__contacts {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lsp .lsp-map__hour {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 16px;
    color: var(--lsp-muted);
    line-height: 1.55;
}
.lsp .lsp-map__time {
    margin-inline-start: auto;
    text-align: end;
    color: var(--lsp-text);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.lsp .lsp-map .lsp-map__contact {
    color: var(--lsp-accent-ink);
    font-weight: 600;
    overflow-wrap: break-word;
}
.lsp .lsp-map .lsp-map__contact:hover {
    color: var(--lsp-accent-ink);
    text-decoration: underline;
}
.lsp .lsp-tone-dark .lsp-map__contact {
    color: var(--lsp-accent-light);
}
.lsp .lsp-map__actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}
.lsp .lsp-map .lsp-map__open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-weight: 600;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-map .lsp-map__open:hover {
    color: var(--lsp-accent-ink);
    text-decoration: underline;
}
.lsp .lsp-tone-dark .lsp-map__open {
    color: var(--lsp-accent-light);
}
.lsp .lsp-map__open .lsp-icon {
    width: 18px;
    height: 18px;
}
/* The card stays white on an accent section: keep the button in the accent colour. */
.lsp .lsp-tone-accent .lsp-map__card .lsp-map__primary,
.lsp .lsp-tone-accent .lsp-map__card .lsp-map__primary:hover {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}

/* Map frame: the drawing, the pin and the consent panel, replaced by the map once loaded. */
.lsp .lsp-map__frame {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 420px;
    border-radius: var(--lsp-r-lg);
    background: var(--lsp-map-land);
    box-shadow: inset 0 0 0 1px rgba(18, 21, 27, .06);
}
.lsp .lsp-map__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.lsp .lsp-map__land {
    fill: var(--lsp-map-land);
}
.lsp .lsp-map__block {
    fill: var(--lsp-map-block);
}
.lsp .lsp-map__park {
    fill: var(--lsp-map-park);
}
.lsp .lsp-map__water {
    fill: var(--lsp-map-water);
}
.lsp .lsp-map__casing {
    fill: none;
    stroke: var(--lsp-map-casing);
    stroke-width: 16;
}
.lsp .lsp-map__road {
    fill: none;
    stroke: var(--lsp-map-road);
    stroke-width: 12;
}
.lsp .lsp-map__avenue {
    fill: none;
    stroke: var(--lsp-map-avenue);
    stroke-width: 14;
    stroke-linecap: round;
    paint-order: stroke;
}
.lsp .lsp-map__avenuecasing {
    fill: none;
    stroke: var(--lsp-map-avenue-casing);
    stroke-width: 18;
    stroke-linecap: round;
}
.lsp .lsp-map__pin {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 40%;
    width: 56px;
    height: 56px;
    transform: translate(-50%, -88%);
    filter: drop-shadow(0 10px 12px rgba(18, 21, 27, .3));
}
.lsp .lsp-map__pin svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: var(--lsp-accent);
    stroke: #ffffff;
    stroke-width: 1.2;
    stroke-linejoin: round;
}
/* A soft halo on the ground under the pin. */
.lsp .lsp-map__pin::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: -6px;
    width: 46px;
    height: 16px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: color-mix(in srgb, var(--lsp-accent) 35%, transparent);
    animation: lsp-map-halo 2.4s ease-out infinite;
}
@keyframes lsp-map-halo {
    0% {
        opacity: .9;
        transform: translateX(-50%) scale(.5);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(1.8);
    }
}
.lsp .lsp-map__consent {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: min(360px, calc(100% - 32px));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 20px 16px;
    border-radius: var(--lsp-r-lg);
    background: rgba(255, 255, 255, .94);
    color: #12151b;
    text-align: center;
    box-shadow: 0 20px 44px -22px rgba(18, 21, 27, .45);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .lsp .lsp-map__consent {
        background: rgba(255, 255, 255, .82);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}
.lsp .lsp-map .lsp-map__load {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: var(--lsp-r-btn);
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.lsp .lsp-map .lsp-map__load:hover {
    color: var(--lsp-on-accent);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -10px var(--lsp-accent-glow);
}
.lsp .lsp-map__notice {
    margin: 0;
    font-size: .8125rem;
    line-height: 1.45;
    color: #545c6a;
}
.lsp .lsp-map__iframe {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--lsp-map-land);
}
.lsp .lsp-map__frame.is-loaded .lsp-map__consent,
.lsp .lsp-map__frame.is-loaded .lsp-map__pin {
    display: none;
}

/* Full: a wide map with the details in a card overlapping its lower edge. */
.lsp .lsp-map__stage {
    position: relative;
}
.lsp .lsp-map--full .lsp-map__frame {
    min-height: 0;
    aspect-ratio: 21 / 9;
}
.lsp .lsp-map--full .lsp-map__pin {
    top: 42%;
}
.lsp .lsp-map--full .lsp-map__consent {
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -6%);
}
.lsp .lsp-map--full .lsp-map__card {
    margin: -72px 32px 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px 40px;
    padding: 32px 36px;
}
.lsp .lsp-map--full .lsp-map__item {
    flex: 1 1 220px;
}
.lsp .lsp-map--full .lsp-map__item--hours {
    flex: 1.5 1 300px;
}
.lsp .lsp-tone-default.lsp-map--full .lsp-map__card,
.lsp .lsp-tone-dark.lsp-map--full .lsp-map__card {
    box-shadow: 0 1px 2px rgba(18, 21, 27, .05), 0 24px 56px -30px rgba(18, 21, 27, .4);
}
.lsp .lsp-map--full .lsp-map__item + .lsp-map__item {
    padding-top: 0;
    border-top: 0;
}
.lsp .lsp-map--full .lsp-map__actions {
    flex: 1 1 100%;
    padding-top: 20px;
    border-top: 1px solid var(--lsp-border);
}

/* Small screens. */
@media (max-width: 900px) {
    .lsp .lsp-map__layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .lsp .lsp-map--split .lsp-map__frame {
        order: -1;
        min-height: 340px;
    }
    .lsp .lsp-map--full .lsp-map__frame {
        aspect-ratio: auto;
        min-height: 380px;
    }
    .lsp .lsp-map--full .lsp-map__card {
        margin: -48px 16px 0;
    }
}
@media (max-width: 520px) {
    .lsp .lsp-map__card,
    .lsp .lsp-map--full .lsp-map__card {
        padding: 24px 20px;
        gap: 20px;
    }
    .lsp .lsp-map--full .lsp-map__card {
        margin: -40px 10px 0;
    }
    .lsp .lsp-map__item {
        gap: 14px;
    }
    .lsp .lsp-map__icon {
        width: 40px;
        height: 40px;
    }
    .lsp .lsp-map__frame,
    .lsp .lsp-map--split .lsp-map__frame,
    .lsp .lsp-map--full .lsp-map__frame {
        min-height: 360px;
    }
    .lsp .lsp-map--full .lsp-map__consent {
        top: auto;
        bottom: 60px;
        transform: translateX(-50%);
    }
    .lsp .lsp-map__actions .lsp-btn {
        width: 100%;
    }
}

/* Motion. */
@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-map__pin::after {
        animation: none;
        opacity: .6;
    }
    .lsp .lsp-map .lsp-map__load,
    .lsp .lsp-map .lsp-map__load:hover {
        transition: none;
        transform: none;
    }
}
.lsp-anim-reduced .lsp-map__pin::after {
    animation: none;
    opacity: .6;
}
@media print {
    .lsp .lsp-map__consent {
        display: none;
    }
}

/* sections/media.css */
/**
 * Letstudy Pages, media and text section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-media. Online videos show a poster
 * and a play link; the sections module adds the player (.is-playing) only after a click.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Layouts. */
.lsp .lsp-media__split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px 72px;
    align-items: center;
}
.lsp .lsp-media--right .lsp-media__split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}
.lsp .lsp-media__text,
.lsp .lsp-media__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}
.lsp .lsp-media__text .lsp-heading,
.lsp .lsp-media__below .lsp-heading {
    margin-bottom: 0;
}
.lsp .lsp-media__body {
    color: var(--lsp-muted);
}
.lsp .lsp-media__below {
    margin-top: 56px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 28px 72px;
    align-items: start;
}
.lsp .lsp-media__below--single {
    grid-template-columns: minmax(0, 760px);
}

/* Bullet points. */
.lsp .lsp-media__points {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.lsp .lsp-media__point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 500;
    line-height: 1.45;
}
.lsp .lsp-media__check {
    flex: none;
    width: 26px;
    height: 26px;
    margin-top: -1px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-tone-accent .lsp-media__check {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-media__check .lsp-icon {
    width: 15px;
    height: 15px;
    stroke-width: 2.6;
}

/* Frame of the image, video or placeholder. */
.lsp .lsp-media__visual {
    min-width: 0;
}
.lsp .lsp-media__frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--lsp-r-lg);
    background: var(--lsp-accent-soft);
    box-shadow: 0 40px 80px -40px rgba(18, 21, 27, .45);
}
.lsp .lsp-media--stacked .lsp-media__frame {
    aspect-ratio: 21 / 9;
}
.lsp .lsp-media__frame--video,
.lsp .lsp-media--stacked .lsp-media__frame--video {
    aspect-ratio: 16 / 9;
    background: var(--lsp-dark);
}
.lsp .lsp-media__image,
.lsp .lsp-media__poster,
.lsp .lsp-media__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lsp .lsp-media__frame--file,
.lsp .lsp-media--stacked .lsp-media__frame--file {
    aspect-ratio: auto;
    background: #000000;
}
.lsp .lsp-media__frame--file .lsp-media__video {
    position: static;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}
.lsp .lsp-media__image {
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-media__frame:hover .lsp-media__image {
    transform: scale(1.03);
}

/* Video poster and play link, before the visitor presses play. */
.lsp .lsp-media__poster {
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-media__poster--drawn {
    background:
        radial-gradient(circle at 80% 16%, color-mix(in srgb, var(--lsp-accent-light) 40%, transparent), transparent 38%),
        radial-gradient(circle at 12% 96%, color-mix(in srgb, var(--lsp-accent) 75%, transparent), transparent 52%),
        linear-gradient(135deg, var(--lsp-accent-deep), var(--lsp-dark));
}
.lsp .lsp-media__frame--video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 10, 12, .6), rgba(8, 10, 12, .08) 55%);
    pointer-events: none;
}
.lsp .lsp-media__frame--file::after {
    display: none;
}
.lsp .lsp-media__play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #ffffff;
}
.lsp .lsp-media__play:hover,
.lsp .lsp-media__play:focus {
    color: #ffffff;
    text-decoration: none;
}
.lsp .lsp-media__play:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: -10px;
    border-radius: var(--lsp-r-lg);
}
.lsp .lsp-media__playbtn {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ffffff;
    color: var(--lsp-accent-ink);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55);
    transition: transform .25s ease;
}
.lsp .lsp-media__playbtn svg {
    width: 34px;
    height: 34px;
    margin-left: 5px;
    fill: currentColor;
}
.lsp .lsp-media__playbtn::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .55);
}
.lsp-anim .lsp-media__playbtn::before {
    animation: lsp-media-pulse 2.6s cubic-bezier(.2, .7, .2, 1) infinite;
}
.lsp .lsp-media__play:hover .lsp-media__playbtn {
    transform: scale(1.07);
}
.lsp .lsp-media__frame--video:hover .lsp-media__poster {
    transform: scale(1.03);
}
.lsp .lsp-media__playlabel {
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(8, 10, 12, .6);
    font-weight: 600;
    font-size: .9375rem;
}
.lsp .lsp-media__notice {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 14px;
    z-index: 2;
    font-size: .8125rem;
    color: rgba(255, 255, 255, .88);
    pointer-events: none;
}
.lsp .lsp-media__iframe {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    border: 0;
}
.lsp .lsp-media__frame.is-playing::after,
.lsp .lsp-media__frame.is-playing .lsp-media__play,
.lsp .lsp-media__frame.is-playing .lsp-media__notice,
.lsp .lsp-media__frame.is-playing .lsp-media__poster {
    display: none;
}
@keyframes lsp-media-pulse {
    0% {
        transform: scale(.9);
        opacity: 1;
    }
    80%,
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

/* Drawn placeholder when there is neither an image nor a video. */
.lsp .lsp-media__frame--art {
    display: grid;
    place-items: center;
    box-shadow: none;
}
.lsp .lsp-tone-soft .lsp-media__frame--art {
    background: #ffffff;
}
.lsp .lsp-tone-accent .lsp-media__frame--art {
    background: color-mix(in srgb, var(--lsp-on-accent) 14%, transparent);
}
.lsp .lsp-tone-dark .lsp-media__frame--art {
    background: #161a22;
}
.lsp .lsp-media__rings {
    position: absolute;
    right: -14%;
    top: -22%;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, color-mix(in srgb, var(--lsp-accent) 20%, transparent) 0 33%, transparent 33.5% 45%,
            color-mix(in srgb, var(--lsp-accent) 24%, transparent) 45.5% 51%, transparent 51.5%);
}
.lsp .lsp-media__card {
    position: relative;
    width: 62%;
    padding: 14px 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    background: #ffffff;
    border-radius: var(--lsp-r);
    box-shadow: 0 30px 60px -24px rgba(18, 21, 27, .35);
    rotate: -3deg;
}
.lsp-anim .lsp-media__card {
    animation: lsp-float 7s ease-in-out infinite;
}
.lsp .lsp-media__cardtop {
    display: flex;
    gap: 6px;
}
.lsp .lsp-media__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e1e4e9;
}
.lsp .lsp-media__cardart {
    position: relative;
    aspect-ratio: 16 / 8;
    border-radius: max(calc(var(--lsp-r) - 6px), 4px);
    background:
        radial-gradient(circle at 18% 115%, rgba(255, 255, 255, .22) 0 32%, transparent 32.5%),
        radial-gradient(circle at 18% 115%, transparent 0 44%, rgba(255, 255, 255, .16) 44.5% 49%, transparent 49.5%),
        linear-gradient(135deg, var(--lsp-accent), var(--lsp-accent-deep));
}
.lsp .lsp-media__cardart::before,
.lsp .lsp-media__cardart::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
}
.lsp .lsp-media__cardart::after {
    width: 18%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
}
.lsp .lsp-media__cardart::before {
    z-index: 1;
    width: 6.5%;
    aspect-ratio: 1;
    transform: translate(-36%, -50%);
    background: var(--lsp-accent);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.lsp .lsp-media__line {
    height: 9px;
    border-radius: 5px;
    background: #e6e9ee;
}
.lsp .lsp-media__line--1 {
    width: 78%;
}
.lsp .lsp-media__line--2 {
    width: 52%;
}
.lsp .lsp-media__progress {
    height: 8px;
    margin-top: 4px;
    border-radius: 999px;
    background: #eef0f3;
}
.lsp .lsp-media__progress span {
    display: block;
    width: 64%;
    height: 100%;
    border-radius: inherit;
    background: var(--lsp-accent);
}
.lsp .lsp-media__badge {
    position: absolute;
    left: 13%;
    bottom: 13%;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    border: 4px solid #ffffff;
    box-shadow: 0 16px 30px -12px var(--lsp-accent-glow);
}
.lsp-anim .lsp-media__badge {
    animation: lsp-float 6s ease-in-out -2s infinite;
}
.lsp .lsp-media__badge .lsp-icon {
    width: 24px;
    height: 24px;
    stroke-width: 2.4;
}
.lsp .lsp-media--stacked .lsp-media__card {
    width: 40%;
}

/* Small screens. */
@media (max-width: 900px) {
    .lsp .lsp-media__split,
    .lsp .lsp-media--right .lsp-media__split,
    .lsp .lsp-media__below {
        grid-template-columns: minmax(0, 1fr);
    }
    .lsp .lsp-media__below {
        margin-top: 36px;
    }
    .lsp .lsp-media--stacked .lsp-media__frame {
        aspect-ratio: 16 / 9;
    }
    .lsp .lsp-media--stacked .lsp-media__card {
        width: 56%;
    }
}
@media (max-width: 640px) {
    .lsp .lsp-media__playbtn {
        width: 64px;
        height: 64px;
    }
    .lsp .lsp-media__playbtn svg {
        width: 26px;
        height: 26px;
    }
    /* Kept for screen readers: it names the play link. */
    .lsp .lsp-media__playlabel {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .lsp .lsp-media__notice {
        left: 14px;
        right: 14px;
        bottom: 10px;
        font-size: .75rem;
    }
    .lsp .lsp-media__badge {
        width: 46px;
        height: 46px;
        border-width: 3px;
    }
}

/* Reduced motion: no looping effects. */
@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-media__playbtn::before,
    .lsp .lsp-media__card,
    .lsp .lsp-media__badge {
        animation: none !important;
    }
}

/* sections/mycourses.css */
/**
 * Letstudy Pages, continue learning section.
 *
 * Scoped under .lsp-mycourses, classes prefixed lsp-mycourse, lsp-ring and lsp-bar. Colours come from
 * the --lsp-* design tokens; cards turn white with dark text on the soft and accent tones. The progress
 * ring and bar fill up when the card scrolls into view, only while page animations run.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp-mycourses .lsp-mycourse {
    --lsp-mc-card: var(--lsp-card-bg);
    --lsp-mc-track: color-mix(in srgb, var(--lsp-accent) 18%, transparent);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--lsp-mc-card);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-card-border);
    border-radius: var(--lsp-r-lg);
    box-shadow: var(--lsp-card-shadow);
    background-clip: padding-box;
    transition: transform .2s ease, box-shadow .2s ease;
}
.lsp-mycourses.lsp-tone-soft .lsp-mycourse,
.lsp-mycourses.lsp-tone-accent .lsp-mycourse {
    --lsp-mc-card: #ffffff;
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-border: #e1e4e9;
    --lsp-accent-ink: var(--lsp-soft-ink);
    color: #12151b;
}
.lsp-mycourses .lsp-mycourse:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px -24px rgba(18, 21, 27, .35);
}
.lsp-mycourses .lsp-mycourse:focus-within {
    outline: 3px solid var(--lsp-accent);
    outline-offset: 2px;
}
.lsp-mycourses.lsp-tone-accent .lsp-mycourse:focus-within {
    outline-color: var(--lsp-on-accent);
}
.lsp-mycourses .lsp-mycourse__title {
    font-family: var(--lsp-heading-font);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: inherit;
    text-wrap: pretty;
}
.lsp-mycourses .lsp-mycourse__title a::after,
.lsp-mycourses a.lsp-mycourse__title::after {
    content: "";
    position: absolute;
    inset: 0;
}
.lsp-mycourses .lsp-mycourse__title a:focus-visible,
.lsp-mycourses a.lsp-mycourse__title:focus-visible {
    outline: none;
}
.lsp-mycourses .lsp-mycourse__category {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--lsp-accent-ink);
}

/* Progress cards. */
.lsp-mycourses .lsp-mycourses__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
    gap: 24px;
}
.lsp-mycourses .lsp-mycourse__media {
    height: 116px;
}
.lsp-mycourses .lsp-mycourse__media img {
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.lsp-mycourses .lsp-mycourse:hover .lsp-mycourse__media img {
    transform: scale(1.05);
}
.lsp-mycourses .lsp-mycourse__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 24px 24px;
}
.lsp-mycourses .lsp-mycourse__top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.lsp-mycourses .lsp-mycourse__heading {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 18px;
}
.lsp-mycourses .lsp-ring {
    position: relative;
    z-index: 1;
    flex: none;
    width: 78px;
    height: 78px;
    margin-top: -38px;
    padding: 7px;
    border-radius: 50%;
    background: var(--lsp-mc-card);
    box-shadow: 0 10px 24px -14px rgba(18, 21, 27, .45);
}
.lsp-mycourses .lsp-ring--none {
    display: grid;
    place-items: center;
    color: var(--lsp-soft-ink);
}
.lsp-mycourses .lsp-ring--none::before {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: var(--lsp-accent-soft);
}
.lsp-mycourses .lsp-ring--none .lsp-icon {
    position: relative;
    width: 26px;
    height: 26px;
}
.lsp-mycourses .lsp-ring__svg {
    display: block;
    width: 64px;
    height: 64px;
    transform: rotate(-90deg);
}
.lsp-mycourses .lsp-ring__track,
.lsp-mycourses .lsp-ring__bar {
    fill: none;
    stroke-width: 7;
}
.lsp-mycourses .lsp-ring__track {
    stroke: var(--lsp-mc-track);
}
.lsp-mycourses .lsp-ring__bar {
    stroke: var(--lsp-accent);
    stroke-linecap: round;
    transition: stroke-dashoffset 1.2s cubic-bezier(.2, .7, .2, 1) .15s;
}
.lsp-mycourses .lsp-ring__value {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: .875rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.lsp-mycourses .lsp-mycourse__note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--lsp-r);
    background: color-mix(in srgb, var(--lsp-text) 5%, transparent);
    font-size: .875rem;
    line-height: 1.4;
    color: var(--lsp-muted);
}
.lsp-mycourses .lsp-mycourse__note .lsp-icon {
    width: 18px;
    height: 18px;
}
.lsp-mycourses .lsp-mycourse__note strong {
    color: var(--lsp-text);
    font-weight: 600;
}
.lsp-mycourses .lsp-mycourse__note--done {
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    font-weight: 600;
}
.lsp-mycourses .lsp-mycourse__cta {
    align-self: flex-start;
    margin-top: auto;
    min-height: 44px;
    padding: 0 20px;
}

/* On the accent tone the cards are white, so the button keeps the accent colour. */
.lsp .lsp-mycourses.lsp-tone-accent .lsp-mycourse .lsp-btn--primary {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}

/* Compact rows. */
.lsp-mycourses .lsp-mycourses__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr));
    gap: 14px;
}
.lsp-mycourses .lsp-mycourse--row {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 12px 16px 12px 12px;
    border-radius: var(--lsp-r);
}
.lsp-mycourses .lsp-mycourse--row:hover {
    transform: translateX(4px);
}
.lsp-mycourses .lsp-mycourse__thumb {
    flex: none;
    width: 96px;
    height: 72px;
    border-radius: var(--lsp-r-sm);
}
.lsp-mycourses .lsp-mycourse__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.lsp-mycourses .lsp-mycourse--row .lsp-mycourse__title {
    font-size: 1rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.lsp-mycourses .lsp-mycourse__progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}
.lsp-mycourses .lsp-bar {
    flex: 1;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--lsp-mc-track);
}
.lsp-mycourses .lsp-bar__fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--lsp-accent);
    transition: width 1s cubic-bezier(.2, .7, .2, 1) .15s;
}
.lsp-mycourses .lsp-mycourse__pct {
    min-width: 4ch;
    text-align: right;
    font-size: .8125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.lsp-mycourses .lsp-mycourse__nextline {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: .8125rem;
    color: var(--lsp-muted);
}
.lsp-mycourses .lsp-mycourse__nextline strong {
    font-weight: 600;
    color: var(--lsp-text);
}
.lsp-mycourses .lsp-mycourse__go {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--lsp-border);
    display: grid;
    place-items: center;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.lsp-mycourses .lsp-mycourse__go .lsp-icon {
    width: 18px;
    height: 18px;
}
.lsp-mycourses .lsp-mycourse--row:hover .lsp-mycourse__go {
    background: var(--lsp-accent);
    border-color: var(--lsp-accent);
    color: var(--lsp-on-accent);
}

/* Fill up on entrance: the drawn value is the one of the markup once the reveal ran. */
.lsp-anim .lsp-mycourses .lsp-mycourse.lsp-reveal:not(.is-visible) .lsp-ring__bar {
    stroke-dashoffset: 163.36;
}
.lsp-anim .lsp-mycourses .lsp-mycourse.lsp-reveal:not(.is-visible) .lsp-bar__fill {
    width: 0 !important;
}

/* Small screens. */
@media (max-width: 520px) {
    .lsp-mycourses .lsp-mycourse__body {
        padding: 0 20px 20px;
    }
    .lsp-mycourses .lsp-mycourse--row {
        gap: 12px;
        padding: 10px 12px 10px 10px;
    }
    .lsp-mycourses .lsp-mycourse__thumb {
        width: 64px;
        height: 64px;
    }
    .lsp-mycourses .lsp-mycourse__go {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lsp-mycourses .lsp-mycourse:hover,
    .lsp-mycourses .lsp-mycourse:hover .lsp-mycourse__media img {
        transform: none !important;
    }
}

/* sections/pricing.css */
/**
 * Letstudy Pages, pricing section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-pricing. The cards variant fills the
 * recommended plan with the accent colour; the table variant compares the plans in a real table whose first
 * column stays in place while it scrolls sideways. The extras module marks the scrolling frame with
 * .has-overflow, .is-start and .is-end to draw edge shadows; without JavaScript the table simply scrolls.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp .lsp-pricing {
    --lsp-pricing-bg: var(--lsp-card-bg);
}
.lsp .lsp-pricing.lsp-tone-soft,
.lsp .lsp-pricing.lsp-tone-accent {
    --lsp-pricing-bg: #ffffff;
}

/* Cards. */
.lsp .lsp-pricing__grid {
    display: grid;
    padding-top: 14px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 24px;
    align-items: stretch;
    max-width: 1120px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    list-style: none;
}
.lsp .lsp-pricing__grid--1 {
    max-width: 460px;
}
.lsp .lsp-pricing__grid--2 {
    max-width: 880px;
}
.lsp .lsp-pricing__grid--4,
.lsp .lsp-pricing__grid--5,
.lsp .lsp-pricing__grid--6 {
    max-width: none;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
/* Five or six plans: three a row (three and two, or three and three), not four and a short row of one or two. */
@media (min-width: 900px) {
    .lsp .lsp-pricing__grid--5,
    .lsp .lsp-pricing__grid--6 {
        max-width: 1120px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.lsp .lsp-pricing__card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    margin: 0;
    padding: 36px 32px 32px;
    background: var(--lsp-pricing-bg);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-card-border);
    border-radius: var(--lsp-r-lg);
    box-shadow: var(--lsp-card-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.lsp .lsp-pricing__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 56px -30px rgba(18, 21, 27, .35);
}
.lsp .lsp-tone-soft .lsp-pricing__card,
.lsp .lsp-tone-accent .lsp-pricing__card,
.lsp .lsp-tone-soft .lsp-pricing__frame,
.lsp .lsp-tone-accent .lsp-pricing__frame {
    color: #12151b;
    border-color: transparent;
    box-shadow: 0 1px 2px rgba(18, 21, 27, .05), 0 18px 40px -22px rgba(18, 21, 27, .28);
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-border: #e1e4e9;
    --lsp-accent-ink: var(--lsp-soft-ink);
}
.lsp .lsp-pricing__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 12px;
}
.lsp .lsp-pricing__name {
    margin: 0;
    font-family: var(--lsp-heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    color: inherit;
}
.lsp .lsp-pricing__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}
.lsp .lsp-pricing__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    margin: 0;
}
.lsp .lsp-pricing__amount {
    font-family: var(--lsp-heading-font);
    font-size: clamp(2.4rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    color: inherit;
    overflow-wrap: anywhere;
}
.lsp .lsp-pricing__period {
    font-size: .9375rem;
    font-weight: 500;
    color: var(--lsp-muted);
}
.lsp .lsp-pricing__text {
    margin: 0;
    color: var(--lsp-muted);
}

/* On cards, the badge sits on the top edge. */
.lsp .lsp-pricing__card .lsp-pricing__badge {
    position: absolute;
    top: 0;
    left: 50%;
    max-width: calc(100% - 48px);
    padding: 6px 16px;
    transform: translate(-50%, -50%);
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    box-shadow: 0 8px 20px -10px rgba(18, 21, 27, .45);
    overflow: hidden;
    text-overflow: ellipsis;
}
.lsp .lsp-tone-accent .lsp-pricing__card .lsp-pricing__badge {
    background: var(--lsp-dark);
    color: #f3f5f8;
}
.lsp .lsp-pricing__table .lsp-pricing__badge {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-pricing.lsp-tone-dark .lsp-pricing__table .lsp-pricing__badge {
    background: var(--lsp-accent-light);
    color: var(--lsp-dark);
}

/* Features with a tick, or a cross when not included. */
.lsp .lsp-pricing__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 4px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--lsp-border);
    list-style: none;
}
.lsp .lsp-pricing__feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 0;
    line-height: 1.45;
}
.lsp .lsp-pricing__feature::before,
.lsp .lsp-pricing__feature::marker {
    content: none;
}
.lsp .lsp-pricing__mark {
    flex: none;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
}
.lsp .lsp-pricing__mark .lsp-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.6;
}
.lsp .lsp-pricing__feature--off {
    color: var(--lsp-muted);
}
.lsp .lsp-pricing__feature--off .lsp-pricing__mark {
    background: transparent;
    color: var(--lsp-muted);
    box-shadow: inset 0 0 0 1.5px var(--lsp-border);
}
.lsp .lsp-pricing__feature--off .lsp-pricing__mark .lsp-icon {
    width: 12px;
    height: 12px;
    stroke-width: 2.2;
}
.lsp .lsp-pricing__action {
    margin-top: auto;
    padding-top: 8px;
}
.lsp .lsp-pricing__card .lsp-pricing__btn {
    width: 100%;
}
.lsp .lsp-tone-accent .lsp-pricing__card .lsp-btn--primary,
.lsp .lsp-tone-accent .lsp-pricing__card .lsp-btn--primary:hover,
.lsp .lsp-tone-accent .lsp-pricing__table .lsp-btn--primary,
.lsp .lsp-tone-accent .lsp-pricing__table .lsp-btn--primary:hover {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}

/* The recommended card is filled with the accent colour (dark on accent sections). */
.lsp .lsp-pricing__card--recommended,
.lsp .lsp-tone-soft .lsp-pricing__card--recommended {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    border-color: transparent;
    box-shadow: 0 32px 64px -30px var(--lsp-accent-glow);
    --lsp-text: var(--lsp-on-accent);
    --lsp-muted: var(--lsp-on-accent);
    --lsp-border: color-mix(in srgb, var(--lsp-on-accent) 24%, transparent);
}
.lsp .lsp-tone-accent .lsp-pricing__card--recommended {
    background: var(--lsp-dark);
    color: #f3f5f8;
    box-shadow: 0 32px 64px -30px rgba(0, 0, 0, .55);
    --lsp-text: #f3f5f8;
    --lsp-muted: #b4bac5;
    --lsp-border: #2a303c;
}
.lsp .lsp-pricing__card--recommended::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 255, 255, .2), transparent 42%),
        radial-gradient(circle at 0 100%, rgba(0, 0, 0, .12), transparent 50%);
    pointer-events: none;
}
.lsp .lsp-pricing__card--recommended:hover {
    box-shadow: 0 36px 70px -28px var(--lsp-accent-glow);
}
.lsp .lsp-pricing__card--recommended .lsp-pricing__badge {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-tone-accent .lsp-pricing__card--recommended .lsp-pricing__badge {
    background: #ffffff;
    color: #12151b;
}
.lsp .lsp-pricing__card--recommended .lsp-pricing__mark {
    background: color-mix(in srgb, var(--lsp-on-accent) 20%, transparent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-tone-accent .lsp-pricing__card--recommended .lsp-pricing__mark {
    background: #1d222c;
    color: var(--lsp-accent-light);
}
.lsp .lsp-pricing__card--recommended .lsp-pricing__feature--off .lsp-pricing__mark {
    background: transparent;
    color: inherit;
    box-shadow: inset 0 0 0 1.5px var(--lsp-border);
}
.lsp .lsp-pricing__card--recommended .lsp-btn--primary,
.lsp .lsp-pricing__card--recommended .lsp-btn--primary:hover,
.lsp .lsp-tone-accent .lsp-pricing__card--recommended .lsp-btn--primary,
.lsp .lsp-tone-accent .lsp-pricing__card--recommended .lsp-btn--primary:hover {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-tone-accent .lsp-pricing__card--recommended .lsp-btn--primary,
.lsp .lsp-tone-accent .lsp-pricing__card--recommended .lsp-btn--primary:hover {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-pricing__note {
    max-width: 44em;
    margin: 36px auto 0;
    color: var(--lsp-muted);
    font-size: .9375rem;
    text-align: center;
}

/* Table. */
.lsp .lsp-pricing__frame {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--lsp-pricing-bg);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-card-border);
    border-radius: var(--lsp-r-lg);
    box-shadow: var(--lsp-card-shadow);
}
.lsp .lsp-pricing.lsp-tone-dark .lsp-pricing__frame,
.lsp .lsp-pricing.lsp-tone-default .lsp-pricing__frame {
    border-color: var(--lsp-border);
}
.lsp .lsp-pricing__scroller {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
}
.lsp .lsp-pricing__scroller:focus-visible {
    outline: 3px solid var(--lsp-accent);
    outline-offset: -3px;
}
/* Themes give tables borders, stripes, margins and padding. */
.lsp .lsp-pricing__table {
    width: 100%;
    min-width: 640px;
    margin: 0;
    table-layout: fixed;
    overflow-wrap: break-word;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
    color: inherit;
    font-size: 1rem;
    line-height: 1.45;
}
.lsp .lsp-pricing__table--1 {
    min-width: 380px;
}
.lsp .lsp-pricing__table--2 {
    min-width: 520px;
}
.lsp .lsp-pricing__table--4 {
    min-width: 820px;
}
.lsp .lsp-pricing__table--5 {
    min-width: 960px;
}
.lsp .lsp-pricing__table--6 {
    min-width: 1100px;
}
.lsp .lsp-pricing__table th,
.lsp .lsp-pricing__table td {
    padding: 16px 20px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: center;
    vertical-align: middle;
    box-shadow: none;
}
/* Boost borders every cell of tables without .table through a (0,4,2) selector: reset borders with a stronger one,
   which draws the row lines from --lsp-pricing-line. */
.lsp .lsp-section.lsp-pricing .lsp-pricing__scroller .lsp-pricing__table th,
.lsp .lsp-section.lsp-pricing .lsp-pricing__scroller .lsp-pricing__table td {
    border-style: solid;
    border-color: var(--lsp-border);
    border-width: var(--lsp-pricing-line, 0) 0 0;
}
.lsp .lsp-pricing__table thead th {
    vertical-align: bottom;
}
.lsp .lsp-pricing__corner,
.lsp .lsp-pricing__table .lsp-pricing__rowhead {
    position: sticky;
    inset-inline-start: 0;
    z-index: 1;
    width: 30%;
    min-width: 150px;
    background: var(--lsp-pricing-bg);
    text-align: start;
}
.lsp .lsp-pricing__table .lsp-pricing__corner {
    background: var(--lsp-pricing-bg);
}
/* Five or six plans: a narrower first column and smaller prices, so a price never breaks before its currency. */
.lsp .lsp-pricing__table:is(.lsp-pricing__table--5, .lsp-pricing__table--6) :is(.lsp-pricing__corner, .lsp-pricing__rowhead) {
    width: 20%;
}
.lsp .lsp-pricing__table:is(.lsp-pricing__table--5, .lsp-pricing__table--6) .lsp-pricing__amount {
    font-size: clamp(1.375rem, 1.9vw, 1.75rem);
}
.lsp .lsp-pricing__table .lsp-pricing__amount {
    white-space: nowrap;
}
.lsp .lsp-pricing__table .lsp-pricing__rowhead {
    font-weight: 500;
    text-align: start;
}
.lsp .lsp-pricing__table tbody th,
.lsp .lsp-pricing__table tbody td {
    --lsp-pricing-line: 1px;
}
.lsp .lsp-pricing__table .lsp-pricing__plan {
    padding: 32px 20px 24px;
}
.lsp .lsp-pricing__planinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.lsp .lsp-pricing__table .lsp-pricing__name {
    font-size: 1.125rem;
}
.lsp .lsp-pricing__table .lsp-pricing__price {
    justify-content: center;
    gap: 2px 6px;
}
.lsp .lsp-pricing__table .lsp-pricing__amount {
    font-size: clamp(1.75rem, 2.6vw, 2.25rem);
}
.lsp .lsp-pricing__table .lsp-pricing__period {
    font-size: .875rem;
}
.lsp .lsp-pricing__table .lsp-pricing__text {
    max-width: 16em;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.45;
}
.lsp .lsp-pricing__table .is-recommended {
    background: color-mix(in srgb, var(--lsp-accent) 8%, var(--lsp-pricing-bg));
}
.lsp .lsp-pricing.lsp-tone-dark .lsp-pricing__table .is-recommended {
    background: color-mix(in srgb, var(--lsp-accent) 16%, var(--lsp-pricing-bg));
}
/* Muted text on the tinted column of the recommended plan moves halfway to the text colour, so it keeps AA contrast
   on the tint: on dark sections and with custom colours too. */
.lsp .lsp-pricing__table .is-recommended :is(.lsp-pricing__period, .lsp-pricing__text, .lsp-pricing__mark--no) {
    color: color-mix(in srgb, var(--lsp-muted) 50%, var(--lsp-text));
}
.lsp .lsp-pricing__table .lsp-pricing__plan.is-recommended {
    box-shadow: inset 0 4px 0 var(--lsp-accent);
}
.lsp .lsp-pricing.lsp-tone-dark .lsp-pricing__table .lsp-pricing__plan.is-recommended {
    box-shadow: inset 0 4px 0 var(--lsp-accent-light);
}
.lsp .lsp-pricing__table .lsp-pricing__mark {
    width: 28px;
    height: 28px;
    margin: 0 auto;
}
.lsp .lsp-pricing__table .lsp-pricing__mark .lsp-icon {
    width: 16px;
    height: 16px;
}
.lsp .lsp-pricing__table .lsp-pricing__mark--yes {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-pricing.lsp-tone-dark .lsp-pricing__table .lsp-pricing__mark--yes {
    background: var(--lsp-accent-light);
    color: var(--lsp-dark);
}
.lsp .lsp-pricing__table .lsp-pricing__mark--no {
    background: transparent;
    color: var(--lsp-muted);
}
.lsp .lsp-pricing__table tfoot td {
    padding: 20px 16px 24px;
    --lsp-pricing-line: 1px;
}
.lsp .lsp-pricing__table .lsp-pricing__btn {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    font-size: .9375rem;
}

/* Edge shadows while the table scrolls sideways (added by the extras module). */
.lsp .lsp-pricing__frame::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-end: 0;
    width: 36px;
    background: linear-gradient(to left, rgba(18, 21, 27, .14), transparent);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.lsp .lsp-pricing__frame.has-overflow:not(.is-end)::after {
    opacity: 1;
}
.lsp .lsp-pricing__frame.has-overflow:not(.is-start) .lsp-pricing__rowhead,
.lsp .lsp-pricing__frame.has-overflow:not(.is-start) .lsp-pricing__corner {
    box-shadow: 10px 0 14px -12px rgba(18, 21, 27, .35);
}
.lsp .lsp-pricing__hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 0;
    color: var(--lsp-muted);
    font-size: .875rem;
}
.lsp .lsp-pricing__frame.has-overflow + .lsp-pricing__hint {
    display: flex;
}

@media (max-width: 720px) {
    .lsp .lsp-pricing__frame:not(.is-measured) + .lsp-pricing__hint {
        display: flex;
    }
    .lsp .lsp-pricing__card {
        padding: 28px 24px 24px;
    }
    .lsp .lsp-pricing__table th,
    .lsp .lsp-pricing__table td {
        padding: 14px 12px;
    }
    .lsp .lsp-pricing__corner,
    .lsp .lsp-pricing__table .lsp-pricing__rowhead {
        width: 148px;
        min-width: 148px;
        padding-inline: 14px 8px;
        font-size: .875rem;
        line-height: 1.4;
    }
    /* One plan fits the screen: no sideways scrolling and no hint to swipe. */
    .lsp .lsp-pricing__table--1 {
        min-width: 0;
    }
    .lsp .lsp-pricing__table--2 {
        min-width: 444px;
    }
    .lsp .lsp-pricing__table--3 {
        min-width: 600px;
    }
    .lsp .lsp-pricing__table--4 {
        min-width: 756px;
    }
    .lsp .lsp-pricing__table .lsp-pricing__plan {
        padding: 28px 12px 20px;
    }
    .lsp .lsp-pricing__table tfoot td {
        padding: 16px 8px 20px;
    }
    .lsp .lsp-pricing__table .lsp-pricing__name {
        font-size: 1rem;
    }
    .lsp .lsp-pricing__table .lsp-pricing__btn {
        min-height: 44px;
        padding: 6px 10px;
        font-size: .875rem;
        line-height: 1.2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-pricing__card,
    .lsp .lsp-pricing__frame::after {
        transition: none;
    }
    .lsp .lsp-pricing__card:hover {
        transform: none;
    }
}
.lsp-anim-reduced .lsp-pricing__card:hover {
    transform: none;
}

/* sections/sitestats.css */
/**
 * Letstudy Pages, site statistics section.
 *
 * Uses the markup and styles of the stats section (styles/sections/stats.css); only the differences
 * are here: a pulsing dot after the eyebrow, telling that the figures are live, and three short
 * counters kept on one row longer than the stats section does.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp .lsp-sitestats .lsp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.lsp .lsp-sitestats .lsp-eyebrow::after {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 currentColor;
    animation: lsp-sitestats-pulse 2.4s ease-out infinite;
}
@keyframes lsp-sitestats-pulse {
    0% {
        box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent);
    }
    70%,
    100% {
        box-shadow: 0 0 0 9px color-mix(in srgb, currentColor 0%, transparent);
    }
}
@media (max-width: 900px) {
    .lsp .lsp-sitestats .lsp-stats__list--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    /* Two cards a row on phones: the third one takes the whole row rather than half of it. */
    .lsp .lsp-sitestats .lsp-stats__grid--3 .lsp-stats__card:last-child {
        grid-column: 1 / -1;
    }
}
@media (max-width: 520px) {
    .lsp .lsp-sitestats .lsp-stats__list--3 {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-sitestats .lsp-eyebrow::after {
        animation: none;
    }
}

/* sections/statement.css */
/**
 * Letstudy Pages, statement section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-statement. One large sentence in the
 * heading font; the highlighted words get the accent colour and a marker stroke that is drawn when the
 * statement scrolls into view (shown at once without JavaScript or with reduced motion).
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp .lsp-statement {
    --lsp-statement-mark: var(--lsp-accent-ink);
    --lsp-statement-stroke: color-mix(in srgb, var(--lsp-accent) 24%, transparent);
    --lsp-statement-quote: var(--lsp-accent);
}
.lsp .lsp-statement.lsp-tone-accent {
    --lsp-statement-mark: var(--lsp-on-accent);
    --lsp-statement-stroke: color-mix(in srgb, var(--lsp-on-accent) 30%, transparent);
    --lsp-statement-quote: var(--lsp-on-accent);
}
.lsp .lsp-statement.lsp-tone-dark {
    --lsp-statement-mark: var(--lsp-accent-light);
    --lsp-statement-stroke: color-mix(in srgb, var(--lsp-accent) 42%, transparent);
    --lsp-statement-quote: var(--lsp-accent-light);
}

/* Shared: the statement, its highlight and its author. */
.lsp .lsp-statement__text {
    margin: 0;
    padding: 0;
    font-family: var(--lsp-heading-font);
    font-weight: var(--lsp-heading-weight);
    color: inherit;
    text-wrap: balance;
    overflow-wrap: break-word;
}
.lsp .lsp-statement__mark {
    color: var(--lsp-statement-mark);
    background-image: linear-gradient(var(--lsp-statement-stroke), var(--lsp-statement-stroke));
    background-repeat: no-repeat;
    background-position: 0 90%;
    background-size: 100% .26em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    transition: background-size 1.1s cubic-bezier(.2, .7, .2, 1) .45s;
}
.lsp-anim .lsp-reveal:not(.is-visible) .lsp-statement__mark {
    background-size: 0 .26em;
}
.lsp .lsp-statement__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.lsp .lsp-statement__eyebrow::before {
    content: "";
    width: 32px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.lsp .lsp-statement__author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
}
.lsp .lsp-statement__avatar {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}
.lsp .lsp-statement__avatar--initials {
    display: grid;
    place-items: center;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    font-weight: 700;
    font-size: .9375rem;
    letter-spacing: .02em;
}
.lsp .lsp-statement.lsp-tone-soft .lsp-statement__avatar--initials {
    background: #ffffff;
}
.lsp .lsp-statement.lsp-tone-accent .lsp-statement__avatar--initials {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-statement__who {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.35;
    text-align: start;
}
.lsp .lsp-statement__name {
    font-weight: 700;
}
.lsp .lsp-statement__role {
    font-size: .9375rem;
    color: var(--lsp-muted);
}
.lsp .lsp-statement__actions {
    margin-top: 8px;
}

/* Big: very large type with a soft glow behind. */
.lsp .lsp-statement--big {
    overflow: hidden;
}
.lsp .lsp-statement--big::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -12%;
    width: min(70vw, 760px);
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translateY(-50%);
    background:
        radial-gradient(circle, transparent 0 55%, color-mix(in srgb, var(--lsp-accent) 14%, transparent) 55.5% 56.5%,
            transparent 57% 70%, color-mix(in srgb, var(--lsp-accent) 10%, transparent) 70.5% 71.5%, transparent 72%),
        radial-gradient(closest-side, color-mix(in srgb, var(--lsp-accent) 12%, transparent), transparent);
    pointer-events: none;
}
.lsp .lsp-statement--big.lsp-tone-accent::before {
    background:
        radial-gradient(circle, transparent 0 55%, rgba(255, 255, 255, .16) 55.5% 56.5%, transparent 57% 70%,
            rgba(255, 255, 255, .1) 70.5% 71.5%, transparent 72%),
        radial-gradient(closest-side, rgba(255, 255, 255, .12), transparent);
}
.lsp .lsp-statement--big .lsp-container {
    position: relative;
}
.lsp .lsp-statement--big .lsp-statement__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    max-width: 1060px;
}
.lsp .lsp-statement--big .lsp-statement__text {
    font-size: clamp(2.25rem, 5.6vw, 4.75rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}

/* Quote: centred, with a large quote mark. */
.lsp .lsp-statement__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}
.lsp .lsp-statement__qmark {
    width: 72px;
    height: 72px;
    fill: var(--lsp-statement-quote);
}
/* Themes style blockquote with a border, padding, margins and italics. */
.lsp .lsp-statement__quote {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font-size: inherit;
    font-style: normal;
    quotes: none;
}
.lsp .lsp-statement__quote::before,
.lsp .lsp-statement__quote::after {
    content: none;
}
.lsp .lsp-statement--quote .lsp-statement__text {
    font-size: clamp(1.75rem, 3.7vw, 3rem);
    line-height: 1.18;
    letter-spacing: -.02em;
}
.lsp .lsp-statement--quote .lsp-statement__author {
    justify-content: center;
    padding-top: 4px;
}
.lsp .lsp-statement--quote .lsp-statement__actions {
    margin-top: 40px;
}
.lsp .lsp-statement--quote .lsp-actions {
    justify-content: center;
}

/* Split: the statement beside a picture or a drawn panel. */
.lsp .lsp-statement__split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: 72px;
}
.lsp .lsp-statement__visual {
    position: relative;
    isolation: isolate;
}
.lsp .lsp-statement__visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 28px -28px -28px 28px;
    border-radius: var(--lsp-r-lg);
    background: color-mix(in srgb, var(--lsp-accent) 18%, transparent);
}
.lsp .lsp-tone-accent .lsp-statement__visual::before {
    background: color-mix(in srgb, var(--lsp-on-accent) 22%, transparent);
}
.lsp .lsp-statement__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 30%;
    border-radius: var(--lsp-r-lg);
    box-shadow: 0 40px 80px -40px rgba(18, 21, 27, .45);
}
.lsp .lsp-statement__art {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: var(--lsp-r-lg);
    background: linear-gradient(150deg, var(--lsp-accent), var(--lsp-accent-deep));
    color: var(--lsp-on-accent);
    box-shadow: 0 40px 80px -40px var(--lsp-accent-glow);
}
.lsp .lsp-tone-accent .lsp-statement__art {
    background: linear-gradient(150deg, #1d222c, var(--lsp-dark));
    color: #f3f5f8;
}
.lsp .lsp-statement__rings {
    position: absolute;
    right: -30%;
    top: -18%;
    width: 110%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 0 46%, rgba(255, 255, 255, .16) 46.5% 47.5%, transparent 48% 64%,
            rgba(255, 255, 255, .12) 64.5% 65.5%, transparent 66%),
        radial-gradient(circle, rgba(255, 255, 255, .1) 0 30%, transparent 30.5%);
}
.lsp .lsp-statement__artmark {
    position: absolute;
    left: 12%;
    top: 14%;
    width: 34%;
    height: auto;
    aspect-ratio: 1;
    fill: currentColor;
    opacity: .92;
}
.lsp .lsp-statement__artline {
    position: absolute;
    left: 12%;
    height: 12px;
    border-radius: 6px;
    background: currentColor;
    opacity: .5;
}
.lsp .lsp-statement__artline--1 {
    bottom: 30%;
    width: 64%;
}
.lsp .lsp-statement__artline--2 {
    bottom: calc(30% - 26px);
    width: 52%;
    opacity: .35;
}
.lsp .lsp-statement__artline--3 {
    bottom: calc(30% - 52px);
    width: 30%;
    opacity: .9;
    height: 6px;
}
.lsp .lsp-statement--split .lsp-statement__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    min-width: 0;
}
.lsp .lsp-statement--split .lsp-statement__text {
    font-size: clamp(1.9rem, 3.6vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -.025em;
}
.lsp .lsp-statement__author--line {
    padding-top: 4px;
}
.lsp .lsp-statement__author--line::before {
    content: "";
    flex: none;
    align-self: stretch;
    width: 3px;
    border-radius: 3px;
    background: var(--lsp-statement-quote);
}

@media (max-width: 900px) {
    .lsp .lsp-statement__split {
        grid-template-columns: minmax(0, 1fr);
        gap: 56px;
    }
    .lsp .lsp-statement__visual {
        max-width: 520px;
        margin-right: 28px;
    }
    .lsp .lsp-statement__image,
    .lsp .lsp-statement__art {
        aspect-ratio: 4 / 3;
    }
    .lsp .lsp-statement__artmark {
        width: 22%;
    }
}
@media (max-width: 520px) {
    .lsp .lsp-statement__visual::before {
        inset: 16px -16px -16px 16px;
    }
    .lsp .lsp-statement__visual {
        margin-right: 16px;
    }
    .lsp .lsp-statement__qmark {
        width: 52px;
        height: 52px;
    }
    .lsp .lsp-statement--big .lsp-statement__inner {
        gap: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-statement__mark {
        transition: none;
    }
    .lsp-anim .lsp-reveal:not(.is-visible) .lsp-statement__mark {
        background-size: 100% .26em;
    }
}
.lsp-anim-reduced .lsp-statement__mark {
    transition: none;
}
.lsp-anim-reduced .lsp-reveal:not(.is-visible) .lsp-statement__mark {
    background-size: 100% .26em;
}

/* sections/stats.css */
/**
 * Letstudy Pages, stats section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-stats. Every figure stacks an
 * invisible copy of its final value under the counting one, so its width never changes while it counts.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Figures. */
.lsp .lsp-stats__list,
.lsp .lsp-stats__grid,
.lsp .lsp-stats__value,
.lsp .lsp-stats__label {
    margin: 0;
    padding: 0;
}
/* Some themes add clearfix pseudo-elements to dd, which would become flex items. */
.lsp .lsp-stats__value::before,
.lsp .lsp-stats__value::after {
    content: none;
}
.lsp .lsp-stats__value {
    font-family: var(--lsp-heading-font);
    font-weight: var(--lsp-heading-weight);
    line-height: 1;
    letter-spacing: -.035em;
}
.lsp .lsp-stats__figure {
    display: inline-grid;
    font-variant-numeric: tabular-nums;
}
.lsp .lsp-stats__ghost,
.lsp .lsp-stats__live {
    grid-area: 1 / 1;
    white-space: nowrap;
}
.lsp .lsp-stats__ghost {
    visibility: hidden;
}
.lsp .lsp-stats__affix {
    display: inline-block;
    margin: 0 .04em;
    font-size: .62em;
    vertical-align: .52em;
    letter-spacing: 0;
}
.lsp .lsp-stats__label {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Band: the numbers in a row on an accent band, dark on accent sections. */
.lsp .lsp-stats__band {
    --lsp-stats-ink: var(--lsp-on-accent);
    position: relative;
    overflow: hidden;
    padding: 60px 32px;
    border-radius: var(--lsp-r-lg);
    background: var(--lsp-accent);
    color: var(--lsp-stats-ink);
}
.lsp .lsp-tone-accent .lsp-stats__band {
    --lsp-stats-ink: #f3f5f8;
    background: var(--lsp-dark);
}
.lsp .lsp-stats__art {
    position: absolute;
    right: -110px;
    top: -170px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(circle, transparent 0 48%, color-mix(in srgb, var(--lsp-stats-ink) 14%, transparent) 48.5% 50%,
            transparent 50.5% 66%, color-mix(in srgb, var(--lsp-stats-ink) 14%, transparent) 66.5% 68%, transparent 68.5%),
        radial-gradient(circle, color-mix(in srgb, var(--lsp-stats-ink) 9%, transparent) 0 30%, transparent 30.5%);
}
.lsp .lsp-tone-accent .lsp-stats__art {
    background:
        radial-gradient(circle, transparent 0 48%, color-mix(in srgb, var(--lsp-accent) 35%, transparent) 48.5% 50%,
            transparent 50.5% 66%, color-mix(in srgb, var(--lsp-accent) 35%, transparent) 66.5% 68%, transparent 68.5%),
        radial-gradient(circle, color-mix(in srgb, var(--lsp-accent) 30%, transparent) 0 30%, transparent 30.5%);
}
.lsp .lsp-stats__list {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.lsp .lsp-stats__list--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.lsp .lsp-stats__list--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lsp .lsp-stats__list--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
/* Dividers: every item draws its left and top line; the list clips those of the first column and row. */
.lsp .lsp-stats__band .lsp-stats__item {
    margin: -1px 0 0 -1px;
    padding: 12px 20px;
    border-left: 1px solid color-mix(in srgb, var(--lsp-stats-ink) 24%, transparent);
    border-top: 1px solid color-mix(in srgb, var(--lsp-stats-ink) 24%, transparent);
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    text-align: center;
}
.lsp .lsp-stats__band .lsp-stats__value {
    font-size: clamp(2.25rem, 4.2vw, 3.5rem);
}
.lsp .lsp-stats__band .lsp-stats__label {
    max-width: 16em;
    font-size: 1.0625rem;
}

/* Cards with an icon. */
.lsp .lsp-stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 20px;
}
.lsp .lsp-stats__card {
    padding: 28px 28px 30px;
    gap: 10px;
}
.lsp .lsp-stats__card .lsp-stats__value {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    font-size: clamp(2.25rem, 3.6vw, 3rem);
}
.lsp .lsp-stats__card .lsp-stats__label {
    order: 2;
    color: var(--lsp-muted);
}
.lsp .lsp-stats__card .lsp-stats__affix {
    color: var(--lsp-accent-ink);
}
.lsp .lsp-tone-soft .lsp-stats__card .lsp-stats__affix,
.lsp .lsp-tone-accent .lsp-stats__card .lsp-stats__affix {
    color: var(--lsp-soft-ink);
}
.lsp .lsp-stats__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--lsp-r-sm);
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    display: grid;
    place-items: center;
}
.lsp .lsp-stats__icon .lsp-icon {
    width: 24px;
    height: 24px;
}
.lsp .lsp-stats__card::after {
    content: "";
    position: absolute;
    right: -48px;
    top: -48px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 0 52%, color-mix(in srgb, var(--lsp-accent) 14%, transparent) 53% 57%, transparent 58%);
    pointer-events: none;
}

/* Small screens. */
@media (max-width: 900px) {
    .lsp .lsp-stats__list--3,
    .lsp .lsp-stats__list--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lsp .lsp-stats__band .lsp-stats__item {
        padding: 22px 16px;
    }
}
@media (max-width: 640px) {
    .lsp .lsp-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    /* A last card alone in its row takes the whole row, instead of leaving half of it empty. */
    .lsp .lsp-stats__grid > .lsp-stats__card:nth-child(odd):last-child {
        grid-column: 1 / -1;
    }
    .lsp .lsp-stats__card {
        padding: 20px 18px 22px;
    }
    .lsp .lsp-stats__card .lsp-stats__value {
        gap: 18px;
        font-size: 1.875rem;
    }
    .lsp .lsp-stats__card .lsp-stats__label {
        font-size: .9375rem;
    }
    .lsp .lsp-stats__icon {
        width: 40px;
        height: 40px;
    }
    .lsp .lsp-stats__band {
        padding: 20px 16px;
    }
    .lsp .lsp-stats__band .lsp-stats__value {
        font-size: 2.25rem;
    }
    .lsp .lsp-stats__band .lsp-stats__label {
        font-size: .9375rem;
    }
}
@media (max-width: 400px) {
    .lsp .lsp-stats__list--2,
    .lsp .lsp-stats__list--3,
    .lsp .lsp-stats__list--4 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* sections/tabs.css */
/**
 * Letstudy Pages, tabs section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-tabs. Without JavaScript the tab list
 * stays hidden and every panel shows with its own heading; the extras module adds .is-tabs to the wrapper,
 * which shows the list and keeps one panel visible (the others get the hidden attribute).
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Tab list: hidden until the script runs. */
.lsp .lsp-tabs__list {
    display: none;
}
.lsp .lsp-tabs__wrap.is-tabs .lsp-tabs__list {
    display: flex;
}
.lsp .lsp-tabs__tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: none;
    min-height: 48px;
    margin: 0;
    padding: 10px 20px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--lsp-muted);
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.lsp .lsp-tabs__tab:hover {
    color: var(--lsp-text);
}
.lsp .lsp-tabs__tab:focus-visible {
    outline: 3px solid var(--lsp-accent);
    outline-offset: 2px;
}
.lsp .lsp-tabs__tabicon {
    display: inline-grid;
    place-items: center;
}
.lsp .lsp-tabs__tabicon .lsp-icon {
    width: 20px;
    height: 20px;
}

/* Panels: stacked without the script, one at a time with it. */
.lsp .lsp-tabs__panels {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}
.lsp .lsp-tabs__wrap.is-tabs .lsp-tabs__panels {
    display: block;
}
.lsp .lsp-tabs__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
}
.lsp .lsp-tabs__panel[hidden] {
    display: none;
}
.lsp .lsp-tabs__panel:focus-visible {
    outline: 3px solid var(--lsp-accent);
    outline-offset: 4px;
}
.lsp .lsp-tabs__panel.is-entering {
    animation: lsp-tabs-in .45s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes lsp-tabs-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.lsp .lsp-tabs__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}
.lsp .lsp-tabs__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: var(--lsp-r-sm);
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
}
.lsp .lsp-tabs__icon .lsp-icon {
    width: 26px;
    height: 26px;
}
.lsp .lsp-tabs__heading {
    margin: 0;
    font-family: var(--lsp-heading-font);
    font-weight: var(--lsp-heading-weight);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.15;
    letter-spacing: -.01em;
    color: inherit;
    text-wrap: balance;
}
.lsp .lsp-tabs__body {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--lsp-muted);
}
.lsp .lsp-tabs__body > * {
    margin: 0;
}
.lsp .lsp-tabs__body > * + * {
    margin-top: .9em;
}
.lsp .lsp-tabs__body ul,
.lsp .lsp-tabs__body ol {
    padding: 0;
    list-style: none;
}
.lsp .lsp-tabs__body li {
    position: relative;
    margin: 0;
    padding-left: 30px;
    color: var(--lsp-text);
}
.lsp .lsp-tabs__body li + li {
    margin-top: .5em;
}
.lsp .lsp-tabs__body ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .3em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--lsp-accent-soft);
}
.lsp .lsp-tabs__body ul > li::after {
    content: "";
    position: absolute;
    left: 7px;
    top: calc(.3em + 4px);
    width: 6px;
    height: 10px;
    border: solid var(--lsp-soft-ink);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.lsp .lsp-tabs__body ol {
    padding: 0;
    list-style: none;
}
.lsp .lsp-tabs__body li {
    position: relative;
    margin: 0;
    padding-left: 30px;
    color: var(--lsp-text);
}
.lsp .lsp-tabs__body li + li {
    margin-top: .5em;
}
.lsp .lsp-tabs__body ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .3em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--lsp-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5 10.5 17 18 8' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.lsp .lsp-tabs__body ol {
    counter-reset: lsp-tabs;
}
.lsp .lsp-tabs__body ol > li::before {
    counter-increment: lsp-tabs;
    content: counter(lsp-tabs);
    position: absolute;
    left: 0;
    top: .15em;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    font-size: .75rem;
    font-weight: 700;
}
.lsp .lsp-tabs__body a {
    color: var(--lsp-accent-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.lsp .lsp-tabs__body strong {
    color: var(--lsp-text);
}
.lsp .lsp-tabs__figure {
    margin: 0;
    padding: 0;
    min-width: 0;
}
.lsp .lsp-tabs__img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--lsp-r-lg);
    box-shadow: 0 30px 60px -32px rgba(18, 21, 27, .45);
}

/* Drawn backdrop with the tab icon, for panels without an image. */
.lsp .lsp-tabs__art {
    position: relative;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: var(--lsp-r-lg);
    background:
        radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--lsp-accent) 26%, transparent), transparent 46%),
        linear-gradient(150deg, color-mix(in srgb, var(--lsp-accent) 10%, #ffffff), color-mix(in srgb, var(--lsp-accent) 26%, #ffffff));
}
.lsp .lsp-tabs__ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    border: 1.5px solid color-mix(in srgb, var(--lsp-accent) 30%, transparent);
    transform: translate(-50%, -50%);
}
.lsp .lsp-tabs__ring--1 {
    width: 52%;
    aspect-ratio: 1;
}
.lsp .lsp-tabs__ring--2 {
    width: 82%;
    aspect-ratio: 1;
    border-style: dashed;
    border-color: color-mix(in srgb, var(--lsp-accent) 22%, transparent);
}
.lsp .lsp-tabs__bigicon {
    position: relative;
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
    border-radius: 32px;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    box-shadow: 0 24px 48px -18px var(--lsp-accent-glow);
    transform: rotate(-6deg);
}
.lsp .lsp-tabs__bigicon .lsp-icon {
    width: 52px;
    height: 52px;
    stroke-width: 1.6;
    transform: rotate(6deg);
}
.lsp .lsp-tone-dark .lsp-tabs__art {
    background:
        radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--lsp-accent) 30%, transparent), transparent 50%),
        linear-gradient(150deg, #1d2330, #12161e);
}

/* Pills: a pill track above a card. */
.lsp .lsp-tabs--pills .lsp-tabs__list {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 32px;
    padding: 6px;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 999px;
    background: var(--lsp-surface-2);
    box-shadow: inset 0 0 0 1px var(--lsp-border);
}
.lsp .lsp-tabs--pills .lsp-tabs__list::-webkit-scrollbar {
    display: none;
}
.lsp .lsp-tabs--pills .lsp-tabs__tab[aria-selected="true"] {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    box-shadow: 0 8px 20px -10px var(--lsp-accent-glow);
}
.lsp .lsp-tabs--pills .lsp-tabs__panel,
.lsp .lsp-tabs--vertical .lsp-tabs__panel {
    padding: 48px;
    background: var(--lsp-card-bg);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-card-border);
    border-radius: var(--lsp-r-lg);
    box-shadow: var(--lsp-card-shadow), 0 30px 60px -40px rgba(18, 21, 27, .3);
}
.lsp .lsp-tabs--pills.lsp-tone-soft .lsp-tabs__list {
    background: #ffffff;
}
.lsp .lsp-tabs--pills.lsp-tone-accent .lsp-tabs__list {
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.lsp .lsp-tabs--pills.lsp-tone-accent .lsp-tabs__tab {
    color: var(--lsp-on-accent);
}
.lsp .lsp-tabs--pills.lsp-tone-accent .lsp-tabs__tab[aria-selected="true"] {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
    box-shadow: none;
}
.lsp .lsp-tabs.lsp-tone-accent .lsp-tabs__tab:focus-visible {
    outline-color: var(--lsp-on-accent);
}

/* Cards on coloured tones turn white with dark text, like the other cards. */
.lsp .lsp-tabs--pills.lsp-tone-soft .lsp-tabs__panel,
.lsp .lsp-tabs--pills.lsp-tone-accent .lsp-tabs__panel,
.lsp .lsp-tabs--vertical.lsp-tone-soft .lsp-tabs__panel,
.lsp .lsp-tabs--vertical.lsp-tone-accent .lsp-tabs__panel {
    background: #ffffff;
    color: #12151b;
    border-color: transparent;
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-border: #e1e4e9;
    --lsp-accent-ink: var(--lsp-soft-ink);
    --lsp-accent-soft: color-mix(in srgb, var(--lsp-accent) 12%, #ffffff);
}

/* Underline: an underlined row, the panel open below. */
.lsp .lsp-tabs--underline .lsp-tabs__list {
    gap: 32px;
    margin-bottom: 44px;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid var(--lsp-border);
}
.lsp .lsp-tabs--underline .lsp-tabs__list::-webkit-scrollbar {
    display: none;
}
.lsp .lsp-tabs--underline .lsp-tabs__tab {
    min-height: 56px;
    padding: 12px 2px 14px;
    border-radius: 0;
}
.lsp .lsp-tabs--underline .lsp-tabs__tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--lsp-accent-ink);
    transform: scaleX(0);
    transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-tabs--underline .lsp-tabs__tab[aria-selected="true"] {
    color: var(--lsp-text);
}
.lsp .lsp-tabs--underline .lsp-tabs__tab[aria-selected="true"]::after {
    transform: none;
}
.lsp .lsp-tabs--underline .lsp-tabs__tab[aria-selected="true"] .lsp-tabs__tabicon {
    color: var(--lsp-accent-ink);
}
.lsp .lsp-tabs--underline .lsp-tabs__tab:focus-visible {
    outline-offset: -3px;
}
.lsp .lsp-tabs--underline .lsp-tabs__panels {
    gap: 56px;
}
.lsp .lsp-tabs--underline .lsp-tabs__panel {
    gap: 64px;
}
.lsp .lsp-tabs--underline .lsp-tabs__wrap:not(.is-tabs) .lsp-tabs__panel + .lsp-tabs__panel {
    padding-top: 56px;
    border-top: 1px solid var(--lsp-border);
}
.lsp .lsp-tabs--underline.lsp-tone-accent .lsp-tabs__icon {
    background: rgba(255, 255, 255, .16);
    color: var(--lsp-on-accent);
}
.lsp .lsp-tabs--underline.lsp-tone-accent .lsp-tabs__body ul > li::before {
    background-color: var(--lsp-on-accent);
}
.lsp .lsp-tabs--underline.lsp-tone-accent .lsp-tabs__art {
    background: rgba(255, 255, 255, .1);
}
.lsp .lsp-tabs--underline.lsp-tone-accent .lsp-tabs__ring {
    border-color: rgba(255, 255, 255, .3);
}
.lsp .lsp-tabs--underline.lsp-tone-accent .lsp-tabs__bigicon {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
    box-shadow: 0 24px 48px -18px rgba(0, 0, 0, .35);
}
.lsp .lsp-tabs--underline.lsp-tone-soft .lsp-tabs__art {
    background: linear-gradient(150deg, #ffffff, color-mix(in srgb, var(--lsp-accent) 10%, #ffffff));
}

/* Vertical: a column of tabs beside the panel. */
.lsp .lsp-tabs--vertical .lsp-tabs__wrap.is-tabs {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    align-items: start;
    gap: 32px;
}
.lsp .lsp-tabs--vertical .lsp-tabs__list {
    flex-direction: column;
    gap: 8px;
    padding: 0;
}
.lsp .lsp-tabs--vertical .lsp-tabs__tab {
    width: 100%;
    min-height: 64px;
    padding: 12px 16px 12px 12px;
    gap: 14px;
    border-radius: var(--lsp-r);
    border: 1px solid transparent;
    white-space: normal;
    font-size: 1.0625rem;
}
.lsp .lsp-tabs--vertical .lsp-tabs__tabicon {
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: var(--lsp-r-sm);
    background: var(--lsp-surface-2);
    color: var(--lsp-muted);
    transition: background-color .2s ease, color .2s ease;
}
.lsp .lsp-tabs--vertical .lsp-tabs__tab:hover {
    background: color-mix(in srgb, var(--lsp-text) 5%, transparent);
}
.lsp .lsp-tabs--vertical .lsp-tabs__tab[aria-selected="true"] {
    background: var(--lsp-card-bg);
    border-color: var(--lsp-card-border);
    color: var(--lsp-text);
    box-shadow: var(--lsp-card-shadow), 0 14px 30px -22px rgba(18, 21, 27, .35);
}
.lsp .lsp-tabs--vertical .lsp-tabs__tab[aria-selected="true"] .lsp-tabs__tabicon {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-tabs--vertical .lsp-tabs__panel {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 32px;
}
.lsp .lsp-tabs--vertical .lsp-tabs__wrap.is-tabs .lsp-tabs__panel {
    min-height: 100%;
}
.lsp .lsp-tabs--vertical .lsp-tabs__figure,
.lsp .lsp-tabs--vertical .lsp-tabs__art {
    order: -1;
}
.lsp .lsp-tabs--vertical .lsp-tabs__img,
.lsp .lsp-tabs--vertical .lsp-tabs__art {
    aspect-ratio: 16 / 7;
    box-shadow: none;
}
.lsp .lsp-tabs--vertical .lsp-tabs__bigicon {
    width: 88px;
    height: 88px;
    border-radius: 26px;
}
.lsp .lsp-tabs--vertical .lsp-tabs__bigicon .lsp-icon {
    width: 42px;
    height: 42px;
}
.lsp .lsp-tabs--vertical .lsp-tabs__text .lsp-tabs__icon {
    display: none;
}
.lsp .lsp-tabs--vertical.lsp-tone-soft .lsp-tabs__tab[aria-selected="true"],
.lsp .lsp-tabs--vertical.lsp-tone-accent .lsp-tabs__tab[aria-selected="true"] {
    background: #ffffff;
    color: #12151b;
    border-color: transparent;
}
.lsp .lsp-tabs--vertical.lsp-tone-accent .lsp-tabs__tab {
    color: var(--lsp-on-accent);
}
.lsp .lsp-tabs--vertical.lsp-tone-accent .lsp-tabs__tab:hover {
    background: rgba(255, 255, 255, .07);
}
.lsp .lsp-tabs--vertical.lsp-tone-accent .lsp-tabs__tabicon {
    background: rgba(255, 255, 255, .16);
    color: var(--lsp-on-accent);
}
.lsp .lsp-tabs--vertical.lsp-tone-accent .lsp-tabs__tab[aria-selected="true"] .lsp-tabs__tabicon {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-tabs--vertical.lsp-tone-soft .lsp-tabs__tabicon {
    background: rgba(255, 255, 255, .7);
}
.lsp .lsp-tabs--vertical.lsp-tone-soft .lsp-tabs__tab:not([aria-selected="true"]) {
    color: #3c434f;
}

@media (max-width: 900px) {
    .lsp .lsp-tabs__panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
    .lsp .lsp-tabs__figure,
    .lsp .lsp-tabs__art {
        order: -1;
    }
    .lsp .lsp-tabs__img,
    .lsp .lsp-tabs__art {
        aspect-ratio: 16 / 9;
    }
    .lsp .lsp-tabs--underline .lsp-tabs__panel {
        gap: 28px;
    }
    .lsp .lsp-tabs--vertical .lsp-tabs__wrap.is-tabs {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
    .lsp .lsp-tabs--vertical .lsp-tabs__list {
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        margin: 0 -24px;
        padding: 4px 24px 8px;
    }
    .lsp .lsp-tabs--vertical .lsp-tabs__list::-webkit-scrollbar {
        display: none;
    }
    .lsp .lsp-tabs--vertical .lsp-tabs__tab {
        width: auto;
        min-height: 52px;
        padding: 6px 16px 6px 6px;
        white-space: nowrap;
        font-size: 1rem;
    }
    .lsp .lsp-tabs--vertical .lsp-tabs__tabicon {
        width: 38px;
        height: 38px;
    }
}
@media (max-width: 640px) {
    .lsp .lsp-tabs--pills .lsp-tabs__list,
    .lsp .lsp-tabs--pills.lsp-tone-soft .lsp-tabs__list,
    .lsp .lsp-tabs--pills.lsp-tone-accent .lsp-tabs__list {
        width: auto;
        max-width: none;
        margin-left: -24px;
        margin-right: -24px;
        padding: 6px 24px;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .lsp .lsp-tabs--pills .lsp-tabs__tab:not([aria-selected="true"]) {
        background: var(--lsp-surface-2);
        color: var(--lsp-text);
    }
    .lsp .lsp-tabs--pills.lsp-tone-soft .lsp-tabs__tab:not([aria-selected="true"]) {
        background: #ffffff;
        color: #12151b;
    }
    .lsp .lsp-tabs--pills.lsp-tone-accent .lsp-tabs__tab:not([aria-selected="true"]) {
        background: transparent;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
        color: var(--lsp-on-accent);
    }
    .lsp .lsp-tabs--pills .lsp-tabs__panel,
    .lsp .lsp-tabs--vertical .lsp-tabs__panel {
        padding: 24px;
    }
    .lsp .lsp-tabs--underline .lsp-tabs__list {
        gap: 24px;
        margin: 0 -24px 32px;
        padding: 0 24px;
    }
    .lsp .lsp-tabs__bigicon {
        width: 84px;
        height: 84px;
        border-radius: 24px;
    }
    .lsp .lsp-tabs__bigicon .lsp-icon {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-tabs__panel.is-entering {
        animation: none;
    }
    .lsp .lsp-tabs__tab,
    .lsp .lsp-tabs--underline .lsp-tabs__tab::after {
        transition: none;
    }
}
.lsp.lsp-anim-reduced .lsp-tabs__panel.is-entering {
    animation-name: lsp-fade;
}

/* sections/team.css */
/**
 * Letstudy Pages, team section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-team. Cards reuse .lsp-tile.
 * People without a photo get their initials on an accent tint with one of four ring patterns.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp .lsp-team {
    --lsp-team-bg: var(--lsp-page-bg);
}
.lsp .lsp-team.lsp-tone-soft {
    --lsp-team-bg: var(--lsp-accent-soft);
}
.lsp .lsp-team.lsp-tone-accent {
    --lsp-team-bg: var(--lsp-accent);
}
.lsp .lsp-team.lsp-tone-dark {
    --lsp-team-bg: var(--lsp-dark);
}

/* Photo or initials. */
.lsp .lsp-team__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lsp .lsp-team__initials {
    position: relative;
    font-family: var(--lsp-heading-font);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1;
    color: var(--lsp-soft-ink);
}
.lsp .lsp-team__photo--0 {
    background:
        radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--lsp-accent) 26%, transparent) 0 16%, transparent 16.5%),
        radial-gradient(circle at 88% 10%, transparent 0 28%, color-mix(in srgb, var(--lsp-accent) 18%, transparent) 28.5% 33%, transparent 33.5%),
        var(--lsp-accent-soft);
}
.lsp .lsp-team__photo--1 {
    background:
        radial-gradient(circle at 10% 92%, color-mix(in srgb, var(--lsp-accent) 26%, transparent) 0 18%, transparent 18.5%),
        radial-gradient(circle at 10% 92%, transparent 0 30%, color-mix(in srgb, var(--lsp-accent) 18%, transparent) 30.5% 35%, transparent 35.5%),
        var(--lsp-accent-soft);
}
.lsp .lsp-team__photo--2 {
    background:
        radial-gradient(circle at 92% 88%, color-mix(in srgb, var(--lsp-accent) 26%, transparent) 0 20%, transparent 20.5%),
        radial-gradient(circle at 92% 88%, transparent 0 32%, color-mix(in srgb, var(--lsp-accent) 18%, transparent) 32.5% 37%, transparent 37.5%),
        var(--lsp-accent-soft);
}
.lsp .lsp-team__photo--3 {
    background:
        radial-gradient(circle at 50% -8%, color-mix(in srgb, var(--lsp-accent) 24%, transparent) 0 22%, transparent 22.5%),
        radial-gradient(circle at 50% -8%, transparent 0 34%, color-mix(in srgb, var(--lsp-accent) 16%, transparent) 34.5% 39%, transparent 39.5%),
        var(--lsp-accent-soft);
}

/* Cards. */
.lsp .lsp-team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 24px;
}
/* One to three people: centred at the width of a card in a full row, instead of hugging the left edge. Not on
   phones, where every card is a full width row (the rule would otherwise win over the single column below). */
@media (min-width: 641px) {
    .lsp .lsp-team__grid:has(> li:nth-child(-n+3):last-child) {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 270px));
        justify-content: center;
    }
}
.lsp .lsp-team__card {
    padding: 10px 10px 24px;
    gap: 0;
}
.lsp .lsp-team__photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: max(calc(var(--lsp-r-lg) - 6px), 0px);
    display: grid;
    place-items: center;
}
.lsp .lsp-team__photo .lsp-team__img {
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.lsp .lsp-team__card:hover .lsp-team__photo .lsp-team__img {
    transform: scale(1.05);
}
.lsp .lsp-team__photo .lsp-team__initials {
    font-size: clamp(3rem, 5vw, 4rem);
}
.lsp .lsp-team__body {
    padding: 20px 14px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lsp .lsp-team__name {
    margin: 0;
    font-family: var(--lsp-heading-font);
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.3;
    color: inherit;
}
/* Words never break in the middle: they wrap between words, roles and bios hyphenate where the language of the page
   (lang) allows it, and only a word longer than the whole line breaks where it must. */
.lsp .lsp-team :is(.lsp-team__name, .lsp-team__role, .lsp-team__bio) {
    overflow-wrap: break-word;
}
.lsp .lsp-team :is(.lsp-team__role, .lsp-team__bio) {
    -webkit-hyphens: auto;
    hyphens: auto;
}
.lsp .lsp-team__role {
    font-size: .9375rem;
    font-weight: 600;
    color: var(--lsp-accent-ink);
}
.lsp .lsp-tone-soft .lsp-team__card .lsp-team__role,
.lsp .lsp-tone-accent .lsp-team__card .lsp-team__role {
    color: var(--lsp-soft-ink);
}
.lsp .lsp-team__bio {
    margin-top: 8px;
    font-size: .9375rem;
    line-height: 1.55;
    color: var(--lsp-muted);
}
.lsp .lsp-team__link {
    position: absolute;
    z-index: 2;
    top: 22px;
    right: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ffffff;
    color: #12151b;
    box-shadow: 0 8px 20px -8px rgba(18, 21, 27, .4);
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.lsp .lsp-team__link .lsp-icon {
    width: 19px;
    height: 19px;
}
.lsp .lsp-team__link:hover,
.lsp .lsp-team__link:focus-visible {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    transform: translateY(-2px);
}

/* Compact: round avatars in a centred row. */
.lsp .lsp-team__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 44px 28px;
}
.lsp .lsp-team__person {
    position: relative;
    width: 172px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}
.lsp .lsp-team__avatar {
    position: relative;
    width: 132px;
    height: 132px;
    margin-bottom: 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: outline-color .25s ease, outline-offset .25s ease, transform .25s ease;
}
.lsp .lsp-team__avatar .lsp-team__img {
    border-radius: 50%;
}
.lsp .lsp-team__avatar .lsp-team__initials {
    font-size: 2.5rem;
}
.lsp .lsp-team__person:hover .lsp-team__avatar,
.lsp .lsp-team__person:focus-within .lsp-team__avatar {
    outline-color: var(--lsp-accent);
    outline-offset: 5px;
}
.lsp .lsp-tone-accent .lsp-team__person:hover .lsp-team__avatar,
.lsp .lsp-tone-accent .lsp-team__person:focus-within .lsp-team__avatar,
.lsp .lsp-tone-dark .lsp-team__person:hover .lsp-team__avatar,
.lsp .lsp-tone-dark .lsp-team__person:focus-within .lsp-team__avatar {
    outline-color: currentColor;
}
.lsp .lsp-team__badge {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    box-shadow: 0 0 0 4px var(--lsp-team-bg);
}
.lsp .lsp-tone-accent .lsp-team__badge {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-team__badge .lsp-icon {
    width: 17px;
    height: 17px;
}
.lsp .lsp-team__person .lsp-team__name {
    font-size: 1.0625rem;
}
.lsp .lsp-team__person .lsp-team__role {
    font-size: .875rem;
    font-weight: 500;
    color: var(--lsp-muted);
}
.lsp .lsp-team__stretch {
    color: inherit;
}
.lsp .lsp-team__stretch::after {
    content: "";
    position: absolute;
    inset: 0;
}
.lsp .lsp-team__stretch:hover {
    color: inherit;
}

/* Small screens. */
@media (max-width: 640px) {
    /* Cards become rows: photo on the left, text on the right. */
    .lsp .lsp-team__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
    .lsp .lsp-team__card {
        flex-direction: row;
        align-items: flex-start;
        padding: 10px;
    }
    .lsp .lsp-team__photo {
        flex: none;
        width: 108px;
        border-radius: max(calc(var(--lsp-r-lg) - 8px), 0px);
    }
    .lsp .lsp-team__photo .lsp-team__initials {
        font-size: 2.25rem;
    }
    .lsp .lsp-team__body {
        flex: 1;
        min-width: 0;
        padding: 4px 4px 6px 16px;
    }
    .lsp .lsp-team__card .lsp-team__name {
        padding-right: 40px;
        font-size: 1.0625rem;
    }
    .lsp .lsp-team__bio {
        margin-top: 4px;
        font-size: .875rem;
    }
    .lsp .lsp-team__link {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        box-shadow: 0 0 0 1px rgba(18, 21, 27, .12);
    }
    .lsp .lsp-team__row {
        gap: 32px 12px;
    }
    .lsp .lsp-team__person {
        width: calc(50% - 6px);
    }
    .lsp .lsp-team__avatar {
        width: 112px;
        height: 112px;
    }
}

/* sections/testimonials.css */
/**
 * Letstudy Pages, testimonials section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-testimonials. Cards reuse .lsp-tile.
 * The spotlight slider works without JavaScript as a sideways scrolling strip; the sections module adds
 * .is-ready to show its arrows and pause button.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp .lsp-testimonials {
    --lsp-testimonials-star: #c97a05;
    --lsp-testimonials-star-off: #d5d9df;
}
.lsp .lsp-testimonials.lsp-tone-dark {
    --lsp-testimonials-star: #fbbf24;
    --lsp-testimonials-star-off: #3a4150;
}

/* Cards and wall: shared card. */
.lsp .lsp-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 24px;
}
.lsp .lsp-testimonials__card {
    padding: 32px;
    gap: 0;
}
/* One or two quotes fill the row instead of leaving empty columns: a single quote is centred at a readable width. */
.lsp .lsp-testimonials__grid:has(> li:nth-child(2):last-child) {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.lsp .lsp-testimonials__grid:has(> li:only-child),
.lsp .lsp-testimonials__wall:has(> li:only-child) {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.lsp .lsp-testimonials__grid:has(> li:only-child) {
    grid-template-columns: minmax(0, 1fr);
}
.lsp .lsp-tone-accent .lsp-testimonials__card,
.lsp .lsp-tone-soft .lsp-testimonials__card {
    --lsp-border: #e1e4e9;
    --lsp-accent-ink: var(--lsp-soft-ink);
}
.lsp .lsp-testimonials__figure {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0;
}
.lsp .lsp-testimonials__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.lsp .lsp-testimonials__mark {
    flex: none;
    width: 34px;
    height: 34px;
    fill: var(--lsp-accent);
}
.lsp .lsp-tone-dark .lsp-testimonials__mark,
.lsp .lsp-tone-dark .lsp-testimonials__bigmark {
    fill: var(--lsp-accent-light);
}
/* Themes style blockquote with a border, padding and margins. */
.lsp .lsp-testimonials__quote,
.lsp .lsp-testimonials__bigquote {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-style: normal;
}
.lsp .lsp-testimonials__quote {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--lsp-text);
}
.lsp .lsp-testimonials__quote p + p,
.lsp .lsp-testimonials__bigquote p + p {
    margin-top: .75em;
}

/* Stars. */
.lsp .lsp-testimonials__stars {
    display: inline-flex;
    gap: 2px;
}
.lsp .lsp-testimonials__star {
    width: 18px;
    height: 18px;
    fill: var(--lsp-testimonials-star-off);
}
.lsp .lsp-testimonials__star.is-on {
    fill: var(--lsp-testimonials-star);
}

/* Author. */
.lsp .lsp-testimonials__author {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--lsp-border);
    display: flex;
    align-items: center;
    gap: 14px;
}
.lsp .lsp-testimonials__avatar {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.lsp .lsp-testimonials__avatar--initials {
    display: grid;
    place-items: center;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    font-weight: 700;
    font-size: .9375rem;
    letter-spacing: .02em;
}
.lsp .lsp-testimonials__who {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}
.lsp .lsp-testimonials__name {
    font-weight: 700;
}
.lsp .lsp-testimonials__role {
    font-size: .875rem;
    color: var(--lsp-muted);
}

/* Wall: masonry columns, the first quote on an accent card. */
.lsp .lsp-testimonials__wall {
    columns: 3 300px;
    column-gap: 24px;
}
.lsp .lsp-testimonials__wall:has(> li:only-child) {
    columns: 1;
}
.lsp .lsp-testimonials__wall:has(> li:nth-child(2):last-child) {
    columns: 2 300px;
}
.lsp .lsp-testimonials__wall > .lsp-testimonials__card {
    width: 100%;
    margin-bottom: 24px;
    break-inside: avoid;
}
.lsp .lsp-testimonials__wall .lsp-testimonials__figure {
    gap: 18px;
}
.lsp .lsp-testimonials__card--lead,
.lsp .lsp-tone-soft .lsp-testimonials__card--lead {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
    border-color: transparent;
    --lsp-text: var(--lsp-on-accent);
    --lsp-muted: var(--lsp-on-accent);
    --lsp-border: color-mix(in srgb, var(--lsp-on-accent) 24%, transparent);
    --lsp-testimonials-star: var(--lsp-on-accent);
    --lsp-testimonials-star-off: color-mix(in srgb, var(--lsp-on-accent) 35%, transparent);
}
.lsp .lsp-tone-accent .lsp-testimonials__card--lead {
    background: var(--lsp-dark);
    color: #f3f5f8;
    --lsp-text: #f3f5f8;
    --lsp-muted: #a9b0bc;
    --lsp-border: #2a303c;
    --lsp-testimonials-star: #fbbf24;
    --lsp-testimonials-star-off: #3a4150;
}
.lsp .lsp-testimonials__card--lead .lsp-testimonials__quote {
    font-family: var(--lsp-heading-font);
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -.01em;
}
.lsp .lsp-testimonials__card--lead .lsp-testimonials__avatar--initials {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-tone-accent .lsp-testimonials__card--lead .lsp-testimonials__avatar--initials {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}

/* Spotlight. */
.lsp .lsp-testimonials__stage {
    position: relative;
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
    padding: 64px 72px 36px;
    background: var(--lsp-card-bg);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-card-border);
    border-radius: var(--lsp-r-lg);
    box-shadow: var(--lsp-card-shadow);
    text-align: center;
}
.lsp .lsp-tone-soft .lsp-testimonials__stage,
.lsp .lsp-tone-accent .lsp-testimonials__stage {
    background: #ffffff;
    color: #12151b;
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-border: #e1e4e9;
    --lsp-accent-ink: var(--lsp-soft-ink);
}
.lsp .lsp-tone-accent .lsp-testimonials__stage {
    box-shadow: 0 40px 80px -40px rgba(8, 10, 12, .45);
}
.lsp .lsp-testimonials__bigmark {
    position: absolute;
    top: 28px;
    left: 36px;
    width: 120px;
    height: 120px;
    fill: var(--lsp-accent);
    opacity: .1;
    pointer-events: none;
}
.lsp .lsp-testimonials__track {
    position: relative;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.lsp .lsp-testimonials__track::-webkit-scrollbar {
    display: none;
}
.lsp .lsp-testimonials__slide {
    flex: 0 0 100%;
    min-width: 0;
    margin: 0;
    padding: 0 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}
/* The slide is the group of the carousel, its figure the quote: a figure with a caption takes no role. */
.lsp .lsp-testimonials__figure {
    width: 100%;
    min-width: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}
.lsp .lsp-testimonials__bigquote {
    max-width: 780px;
    font-family: var(--lsp-heading-font);
    font-size: clamp(1.3rem, 2.3vw, 1.875rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.012em;
    text-wrap: balance;
    color: var(--lsp-text);
}
.lsp .lsp-testimonials__stage .lsp-testimonials__stars {
    gap: 4px;
}
.lsp .lsp-testimonials__stage .lsp-testimonials__star {
    width: 22px;
    height: 22px;
}
.lsp .lsp-testimonials__stage .lsp-testimonials__author {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    justify-content: center;
    text-align: left;
}
.lsp .lsp-testimonials__stage .lsp-testimonials__avatar {
    width: 56px;
    height: 56px;
}
.lsp .lsp-testimonials__stage .lsp-testimonials__avatar--initials {
    font-size: 1.0625rem;
}

/* Spotlight controls. */
.lsp .lsp-testimonials__controls {
    position: relative;
    margin-top: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.lsp .lsp-testimonials__arrow,
.lsp .lsp-testimonials__toggle {
    display: none;
    flex: none;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--lsp-border);
    background: transparent;
    color: var(--lsp-text);
    place-items: center;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.lsp .lsp-testimonials__arrow {
    width: 46px;
    height: 46px;
}
.lsp .lsp-testimonials__toggle {
    position: absolute;
    right: 0;
    width: 36px;
    height: 36px;
    color: var(--lsp-muted);
}
.lsp .lsp-testimonials__toggle .lsp-icon {
    width: 16px;
    height: 16px;
}
.lsp .lsp-testimonials__stage.is-ready .lsp-testimonials__arrow,
.lsp .lsp-testimonials__stage.is-autoplay .lsp-testimonials__toggle {
    display: grid;
}
.lsp .lsp-testimonials__arrow:hover,
.lsp .lsp-testimonials__toggle:hover {
    background: var(--lsp-accent);
    border-color: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-testimonials__playicon,
.lsp .lsp-testimonials__stage.is-paused .lsp-testimonials__pauseicon {
    display: none;
}
.lsp .lsp-testimonials__stage.is-paused .lsp-testimonials__playicon {
    display: block;
}
.lsp .lsp-testimonials__dots {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 8px;
}
.lsp .lsp-testimonials__dot {
    display: grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
}
.lsp .lsp-testimonials__dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--lsp-text) 22%, transparent);
    transition: width .3s cubic-bezier(.2, .7, .2, 1), background-color .3s ease;
}
.lsp .lsp-testimonials__dot:hover::before {
    background: color-mix(in srgb, var(--lsp-text) 45%, transparent);
}
.lsp .lsp-testimonials__dot[aria-current="true"]::before {
    width: 26px;
    background: var(--lsp-accent);
}

/* Small screens. */
@media (max-width: 640px) {
    .lsp .lsp-testimonials__card {
        padding: 24px;
    }
    .lsp .lsp-testimonials__card--lead .lsp-testimonials__quote {
        font-size: 1.1875rem;
    }
    .lsp .lsp-testimonials__stage {
        padding: 44px 20px 24px;
    }
    .lsp .lsp-testimonials__bigmark {
        top: 16px;
        left: 16px;
        width: 72px;
        height: 72px;
    }
    .lsp .lsp-testimonials__slide {
        gap: 22px;
        padding: 0 4px;
    }
    .lsp .lsp-testimonials__controls {
        margin-top: 28px;
        gap: 6px;
    }
    .lsp .lsp-testimonials__toggle {
        position: static;
        margin-left: 4px;
    }
}

/* sections/text-variants.css */
/**
 * Letstudy Pages, more text layouts: two columns and text with a side note.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-textcols and lsp-textnote.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Two columns. */
.lsp .lsp-textcols {
    column-count: 2;
    column-gap: 64px;
    column-rule: 1px solid var(--lsp-border);
}
/* A heading stays with its text: no break after it, and the heading with the paragraph or list after it forms a
   group (text::keep_headings()) that a column never splits. Paragraphs keep two lines at each side of a break. */
.lsp .lsp-textcols :is(h2, h3, h4, h5, h6) {
    break-after: avoid;
    break-after: avoid-column;
    break-inside: avoid;
}
.lsp .lsp-textcols .lsp-textcols__keep {
    break-inside: avoid;
}
.lsp .lsp-textcols .lsp-textcols__keep > :not(h2, h3, h4, h5, h6) {
    margin-top: 1em;
}
.lsp .lsp-textcols p {
    orphans: 2;
    widows: 2;
}
.lsp .lsp-textcols :is(li, img, blockquote, figure, table) {
    break-inside: avoid;
}
.lsp .lsp-textcols > :first-child {
    margin-top: 0;
}
.lsp .lsp-textcols > p:first-child::first-letter {
    float: left;
    margin: .06em .12em 0 0;
    font-family: var(--lsp-heading-font);
    font-size: 3.5em;
    font-weight: 700;
    line-height: .82;
    color: var(--lsp-accent-ink);
}

/* Side note. */
.lsp .lsp-textnote {
    display: grid;
    grid-template-columns: minmax(0, 800px);
    align-items: start;
    gap: 40px 72px;
}
.lsp .lsp-textnote--note {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
}
.lsp .lsp-textnote__main {
    min-width: 0;
}
.lsp .lsp-textnote__main .lsp-heading {
    margin-bottom: 28px;
}
.lsp .lsp-textnote__card {
    position: sticky;
    top: 96px;
    overflow: hidden;
    padding: 32px 32px 34px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: var(--lsp-r-lg);
    border-left: 4px solid var(--lsp-accent);
    background: var(--lsp-accent-soft);
    color: #12151b;
}
.lsp .lsp-textnote__card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 24px solid color-mix(in srgb, var(--lsp-accent) 12%, transparent);
    pointer-events: none;
}
.lsp .lsp-textnote__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-textnote__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}
.lsp .lsp-textnote__text {
    position: relative;
    font-family: var(--lsp-heading-font);
    font-size: clamp(1.1875rem, 1.8vw, 1.4375rem);
    font-weight: 600;
    line-height: 1.45;
    text-wrap: pretty;
}
.lsp .lsp-text--highlight.lsp-tone-soft .lsp-textnote__card {
    background: #ffffff;
}
.lsp .lsp-text--highlight.lsp-tone-accent .lsp-textnote__card {
    border-left-color: var(--lsp-on-accent);
    background: color-mix(in srgb, var(--lsp-on-accent) 12%, transparent);
    color: inherit;
}
.lsp .lsp-text--highlight.lsp-tone-accent .lsp-textnote__icon {
    background: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-text--highlight.lsp-tone-dark .lsp-textnote__card {
    border-left-color: var(--lsp-accent-light);
    background: #161a22;
    color: #f3f5f8;
}

/* Smaller screens. */
@media (max-width: 900px) {
    .lsp .lsp-textnote--note {
        grid-template-columns: minmax(0, 1fr);
    }
    .lsp .lsp-textnote__card {
        position: relative;
        top: auto;
    }
}
@media (max-width: 760px) {
    .lsp .lsp-textcols {
        column-count: 1;
    }
}
@media (max-width: 640px) {
    .lsp .lsp-textnote__card {
        padding: 24px;
    }
}

/* sections/timeline.css */
/**
 * Letstudy Pages, timeline section.
 *
 * Scoped under .lsp like the other page styles, classes prefixed lsp-timeline. The vertical variant
 * alternates the steps on both sides of a line on large screens and runs the line along the start edge on
 * small ones; the horizontal variant is a strip that scrolls sideways when the steps do not fit. Steps
 * before the current one are done: their node is filled and their part of the line takes the accent colour.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.lsp .lsp-timeline {
    --lsp-timeline-line: var(--lsp-border);
    --lsp-timeline-done: var(--lsp-accent);
    --lsp-timeline-card: var(--lsp-card-bg);
    --lsp-timeline-card-border: var(--lsp-card-border);
    --lsp-timeline-node: var(--lsp-page-bg);
    --lsp-timeline-node-ink: var(--lsp-muted);
    --lsp-timeline-ink: var(--lsp-accent-ink);
    --lsp-timeline-size: 44px;
    --lsp-timeline-gap: 28px;
}
.lsp .lsp-timeline.lsp-tone-soft {
    --lsp-timeline-line: color-mix(in srgb, var(--lsp-accent) 26%, #ffffff);
    --lsp-timeline-card: #ffffff;
    --lsp-timeline-card-border: transparent;
    --lsp-timeline-node: #ffffff;
}
.lsp .lsp-timeline.lsp-tone-accent {
    --lsp-timeline-line: color-mix(in srgb, var(--lsp-on-accent) 34%, transparent);
    --lsp-timeline-done: var(--lsp-on-accent);
    --lsp-timeline-card: #ffffff;
    --lsp-timeline-card-border: transparent;
    --lsp-timeline-node: var(--lsp-accent);
    --lsp-timeline-node-ink: var(--lsp-on-accent);
}
.lsp .lsp-timeline.lsp-tone-dark {
    --lsp-timeline-node: var(--lsp-dark);
    --lsp-timeline-ink: var(--lsp-accent-light);
    --lsp-timeline-done: var(--lsp-accent-light);
}

/* Shared parts: node, card, date, status. */
.lsp .lsp-timeline__list,
.lsp .lsp-timeline__track {
    margin: 0;
    padding: 0;
    list-style: none;
}
.lsp .lsp-timeline__node {
    position: relative;
    z-index: 1;
    width: var(--lsp-timeline-size);
    height: var(--lsp-timeline-size);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--lsp-timeline-node);
    color: var(--lsp-timeline-node-ink);
    border: 2px solid var(--lsp-timeline-line);
    font-family: var(--lsp-heading-font);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.lsp .lsp-timeline__node .lsp-icon {
    width: 22px;
    height: 22px;
    stroke-width: 2.4;
}
.lsp .lsp-timeline__step--done .lsp-timeline__node,
.lsp .lsp-timeline__stop--done .lsp-timeline__node {
    background: var(--lsp-accent);
    border-color: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-timeline__step--current .lsp-timeline__node,
.lsp .lsp-timeline__stop--current .lsp-timeline__node {
    border-color: var(--lsp-accent);
    color: var(--lsp-timeline-ink);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--lsp-accent) 18%, transparent);
}
.lsp .lsp-tone-accent .lsp-timeline__step--done .lsp-timeline__node,
.lsp .lsp-tone-accent .lsp-timeline__stop--done .lsp-timeline__node {
    background: var(--lsp-on-accent);
    border-color: var(--lsp-on-accent);
    color: var(--lsp-btn-ink);
}
.lsp .lsp-tone-accent .lsp-timeline__step--current .lsp-timeline__node,
.lsp .lsp-tone-accent .lsp-timeline__stop--current .lsp-timeline__node {
    border-color: var(--lsp-on-accent);
    color: var(--lsp-on-accent);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--lsp-on-accent) 22%, transparent);
}
.lsp .lsp-tone-dark .lsp-timeline__step--done .lsp-timeline__node,
.lsp .lsp-tone-dark .lsp-timeline__stop--done .lsp-timeline__node {
    color: var(--lsp-on-accent);
}

.lsp .lsp-timeline__card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 24px 28px;
    background: var(--lsp-timeline-card);
    color: var(--lsp-text);
    border: 1px solid var(--lsp-timeline-card-border);
    border-radius: var(--lsp-r-lg);
    box-shadow: var(--lsp-card-shadow);
}
.lsp .lsp-tone-soft .lsp-timeline__card,
.lsp .lsp-tone-accent .lsp-timeline__card {
    color: #12151b;
    --lsp-text: var(--lsp-card-text, #12151b);
    --lsp-muted: var(--lsp-card-muted, #545c6a);
    --lsp-timeline-ink: var(--lsp-soft-ink);
    box-shadow: 0 1px 2px rgba(18, 21, 27, .05), 0 18px 40px -22px rgba(18, 21, 27, .3);
}
.lsp .lsp-timeline__step--current .lsp-timeline__card,
.lsp .lsp-timeline__stop--current .lsp-timeline__card {
    border-color: var(--lsp-accent);
    box-shadow: 0 0 0 1px var(--lsp-accent), 0 24px 48px -26px var(--lsp-accent-glow);
}
.lsp .lsp-tone-accent .lsp-timeline__step--current .lsp-timeline__card,
.lsp .lsp-tone-accent .lsp-timeline__stop--current .lsp-timeline__card {
    border-color: transparent;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--lsp-on-accent) 55%, transparent), 0 24px 48px -24px rgba(18, 21, 27, .45);
}
.lsp .lsp-timeline__title {
    margin: 0;
    font-family: var(--lsp-heading-font);
    font-weight: 700;
    font-size: 1.1875rem;
    line-height: 1.3;
    letter-spacing: -.005em;
    color: inherit;
}
.lsp .lsp-timeline__text {
    color: var(--lsp-muted);
    font-size: .975rem;
    line-height: 1.6;
}
.lsp .lsp-timeline__text p {
    margin: 0;
}
.lsp .lsp-timeline__text p + p {
    margin-top: .6em;
}
.lsp .lsp-timeline__when {
    margin: 0;
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--lsp-timeline-ink);
    font-variant-numeric: tabular-nums;
}
.lsp .lsp-tone-accent .lsp-timeline__step > .lsp-timeline__when {
    color: var(--lsp-on-accent);
}
.lsp .lsp-timeline__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--lsp-accent-soft);
    color: var(--lsp-soft-ink);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.4;
}
.lsp .lsp-tone-soft .lsp-timeline__status,
.lsp .lsp-tone-accent .lsp-timeline__status {
    background: color-mix(in srgb, var(--lsp-accent) 12%, #ffffff);
    color: var(--lsp-soft-ink);
}
.lsp .lsp-tone-dark .lsp-timeline__status {
    background: color-mix(in srgb, var(--lsp-accent) 22%, #161a22);
    color: var(--lsp-accent-light);
}
.lsp .lsp-timeline__pulse {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}
.lsp .lsp-timeline__pulse::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    animation: lsp-timeline-pulse 2.2s ease-out infinite;
}
@keyframes lsp-timeline-pulse {
    0% {
        opacity: .7;
        transform: scale(.6);
    }
    100% {
        opacity: 0;
        transform: scale(1.6);
    }
}
.lsp .lsp-timeline__actions {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

/* Vertical: one column with the line along the start edge, two alternating columns on large screens. */
.lsp .lsp-timeline__list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--lsp-timeline-gap);
    max-width: 1040px;
    margin: 0 auto;
}
.lsp .lsp-timeline__step {
    position: relative;
    display: grid;
    grid-template-columns: var(--lsp-timeline-size) minmax(0, 1fr);
    grid-template-rows: minmax(var(--lsp-timeline-size), auto) auto;
    column-gap: 20px;
    row-gap: 8px;
    align-items: start;
}
/* The line from a node down to the next one, in the accent colour after a done step. */
.lsp .lsp-timeline__step:not(.lsp-timeline__step--last)::before {
    content: "";
    position: absolute;
    top: calc(var(--lsp-timeline-size) / 2);
    height: calc(100% + var(--lsp-timeline-gap));
    inset-inline-start: calc(var(--lsp-timeline-size) / 2 - 1px);
    width: 2px;
    background: var(--lsp-timeline-line);
}
.lsp .lsp-timeline__step--done:not(.lsp-timeline__step--last)::before {
    background: var(--lsp-timeline-done);
}
.lsp .lsp-timeline__step .lsp-timeline__node {
    grid-column: 1;
    grid-row: 1 / span 2;
}
.lsp .lsp-timeline__step > .lsp-timeline__when {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
}
.lsp .lsp-timeline__step .lsp-timeline__card {
    grid-column: 2;
    grid-row: 2;
}
.lsp .lsp-timeline__step:not(:has(> .lsp-timeline__when)) .lsp-timeline__card {
    grid-row: 1 / span 2;
}
@media (min-width: 861px) {
    .lsp .lsp-timeline--vertical .lsp-timeline__step:not(.lsp-timeline__step--last)::before {
        inset-inline-start: calc(50% - 1px);
    }
    .lsp .lsp-timeline--vertical .lsp-timeline__step {
        grid-template-columns: minmax(0, 1fr) var(--lsp-timeline-size) minmax(0, 1fr);
        grid-template-rows: auto;
        column-gap: 36px;
        row-gap: 0;
    }
    .lsp .lsp-timeline--vertical .lsp-timeline__step .lsp-timeline__node {
        grid-column: 2;
        grid-row: 1;
    }
    .lsp .lsp-timeline--vertical .lsp-timeline__step > .lsp-timeline__when {
        grid-row: 1;
        align-self: start;
        padding-top: 11px;
        font-size: 1.0625rem;
    }
    .lsp .lsp-timeline--vertical .lsp-timeline__step .lsp-timeline__card,
    .lsp .lsp-timeline--vertical .lsp-timeline__step:not(:has(> .lsp-timeline__when)) .lsp-timeline__card {
        grid-row: 1;
    }
    .lsp .lsp-timeline--vertical .lsp-timeline__step--start .lsp-timeline__card {
        grid-column: 1;
    }
    .lsp .lsp-timeline--vertical .lsp-timeline__step--start > .lsp-timeline__when {
        grid-column: 3;
    }
    .lsp .lsp-timeline--vertical .lsp-timeline__step--end .lsp-timeline__card {
        grid-column: 3;
    }
    .lsp .lsp-timeline--vertical .lsp-timeline__step--end > .lsp-timeline__when {
        grid-column: 1;
        text-align: end;
    }
    /* A small pointer from the card towards the line. */
    .lsp .lsp-timeline--vertical .lsp-timeline__card::before {
        content: "";
        position: absolute;
        top: 16px;
        width: 12px;
        height: 12px;
        background: inherit;
        border: inherit;
        border-radius: 2px;
        transform: rotate(45deg);
    }
    .lsp .lsp-timeline--vertical .lsp-timeline__step--start .lsp-timeline__card::before {
        inset-inline-end: -7px;
        border-inline-start-color: transparent;
        border-bottom-color: transparent;
    }
    .lsp .lsp-timeline--vertical .lsp-timeline__step--end .lsp-timeline__card::before {
        inset-inline-start: -7px;
        border-inline-end-color: transparent;
        border-top-color: transparent;
    }
    .lsp .lsp-timeline--vertical .lsp-timeline__step--current .lsp-timeline__card::before {
        border-color: var(--lsp-accent);
    }
    .lsp .lsp-timeline--vertical .lsp-timeline__step--current.lsp-timeline__step--start .lsp-timeline__card::before {
        border-inline-start-color: transparent;
        border-bottom-color: transparent;
    }
    .lsp .lsp-timeline--vertical .lsp-timeline__step--current.lsp-timeline__step--end .lsp-timeline__card::before {
        border-inline-end-color: transparent;
        border-top-color: transparent;
    }
    .lsp .lsp-tone-accent.lsp-timeline--vertical .lsp-timeline__step--current .lsp-timeline__card::before {
        border-color: transparent;
    }
}

/* Horizontal: a strip of steps on one line, scrolling sideways when they do not fit. */
.lsp .lsp-timeline__head {
    align-items: flex-end;
}
.lsp .lsp-timeline__nav {
    display: flex;
    gap: 10px;
}
.lsp .lsp-timeline__nav[hidden] {
    display: none;
}
.lsp .lsp-timeline .lsp-timeline__arrow {
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1.5px solid var(--lsp-border);
    background: var(--lsp-timeline-card);
    color: var(--lsp-text);
    box-shadow: none;
    font: inherit;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, opacity .15s ease;
}
.lsp .lsp-tone-soft .lsp-timeline__arrow,
.lsp .lsp-tone-accent .lsp-timeline__arrow {
    border-color: transparent;
    color: #12151b;
}
.lsp .lsp-timeline .lsp-timeline__arrow:hover:not([aria-disabled="true"]) {
    background: var(--lsp-accent);
    border-color: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-tone-accent .lsp-timeline__arrow:hover:not([aria-disabled="true"]) {
    background: var(--lsp-dark);
    border-color: var(--lsp-dark);
    color: #ffffff;
}
.lsp .lsp-timeline .lsp-timeline__arrow[aria-disabled="true"] {
    opacity: .4;
    cursor: default;
}
.lsp .lsp-timeline__frame {
    position: relative;
    margin: 0 -24px;
}
.lsp .lsp-timeline__frame.has-overflow:not(.is-end)::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 28px;
    inset-inline-end: 0;
    width: 64px;
    pointer-events: none;
    background: linear-gradient(to left, var(--lsp-timeline-fade, var(--lsp-page-bg)), transparent);
}
[dir="rtl"] .lsp .lsp-timeline__frame.has-overflow:not(.is-end)::after {
    background: linear-gradient(to right, var(--lsp-timeline-fade, var(--lsp-page-bg)), transparent);
}
.lsp .lsp-timeline__frame.has-overflow:not(.is-start)::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 28px;
    inset-inline-start: 0;
    width: 40px;
    pointer-events: none;
    background: linear-gradient(to right, var(--lsp-timeline-fade, var(--lsp-page-bg)), transparent);
}
[dir="rtl"] .lsp .lsp-timeline__frame.has-overflow:not(.is-start)::before {
    background: linear-gradient(to left, var(--lsp-timeline-fade, var(--lsp-page-bg)), transparent);
}
.lsp .lsp-timeline.lsp-tone-soft {
    --lsp-timeline-fade: var(--lsp-accent-soft);
}
.lsp .lsp-timeline.lsp-tone-accent {
    --lsp-timeline-fade: var(--lsp-accent);
}
.lsp .lsp-timeline.lsp-tone-dark {
    --lsp-timeline-fade: var(--lsp-dark);
}
.lsp .lsp-timeline__scroller {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--lsp-timeline-line) transparent;
    padding: 8px 24px 48px;
    margin-bottom: -28px;
}
.lsp .lsp-timeline__scroller:focus-visible {
    outline: 3px solid var(--lsp-accent);
    outline-offset: -3px;
    border-radius: var(--lsp-r-lg);
}
.lsp .lsp-timeline__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 24px;
    min-width: 100%;
    width: max-content;
}
.lsp .lsp-timeline__stop {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    max-width: 380px;
    scroll-snap-align: start;
}
/* The line from a node to the next one. */
.lsp .lsp-timeline__stop:not(.lsp-timeline__stop--last)::before {
    content: "";
    position: absolute;
    top: calc(var(--lsp-timeline-size) / 2 - 1px);
    inset-inline-start: calc(var(--lsp-timeline-size) + 8px);
    inset-inline-end: -16px;
    height: 2px;
    border-radius: 2px;
    background: var(--lsp-timeline-line);
}
.lsp .lsp-timeline__stop--done:not(.lsp-timeline__stop--last)::before {
    background: var(--lsp-timeline-done);
}
.lsp .lsp-timeline__stop .lsp-timeline__card {
    flex: 1;
    padding: 24px;
}
.lsp .lsp-timeline__stop .lsp-timeline__status {
    margin-top: auto;
}
.lsp .lsp-timeline__stop .lsp-timeline__text + .lsp-timeline__status {
    margin-top: 6px;
}

/* Small screens. */
@media (max-width: 860px) {
    .lsp .lsp-timeline {
        --lsp-timeline-size: 40px;
        --lsp-timeline-gap: 22px;
    }
    .lsp .lsp-timeline__card {
        padding: 20px 22px;
    }
    .lsp .lsp-timeline__track {
        grid-auto-columns: minmax(250px, 78vw);
    }
}
@media (max-width: 520px) {
    .lsp .lsp-timeline__step {
        column-gap: 14px;
    }
    .lsp .lsp-timeline__head .lsp-timeline__nav {
        display: none;
    }
    .lsp .lsp-timeline__track {
        gap: 16px;
    }
    .lsp .lsp-timeline__stop:not(.lsp-timeline__stop--last)::before {
        inset-inline-end: -10px;
    }
}

/* Motion. */
@media (prefers-reduced-motion: reduce) {
    .lsp .lsp-timeline__pulse::after {
        animation: none;
    }
    .lsp .lsp-timeline__scroller {
        scroll-behavior: auto;
    }
}
.lsp-anim-reduced .lsp-timeline__pulse::after {
    animation: none;
}
@media print {
    .lsp .lsp-timeline__nav {
        display: none;
    }
    .lsp .lsp-timeline__scroller {
        overflow: visible;
    }
    .lsp .lsp-timeline__track {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: auto;
    }
}

/* styles/custom.css */
/**
 * Letstudy Pages, custom colours of a section.
 *
 * The renderer (section_style) puts the colours of the section settings bgcolor, bgimage, textcolor,
 * accentcolor and cardcolor on the section root as custom properties, with the class lsp-custom and:
 * - lsp-custom--bg: custom background colour or image, with lsp-custom--light or lsp-custom--dark;
 * - lsp-custom--image: background image, darkened by --lsp-c-overlay;
 * - lsp-custom--text: text colours (--lsp-text, --lsp-muted) are set;
 * - lsp-custom--card: card colours (--lsp-card-bg, --lsp-card-text, --lsp-card-muted, --lsp-card-ink);
 * - lsp-custom--adjusted: the chosen text colour was changed to stay readable;
 * - lsp-custom--shifted: the accent was too close to the background, a darker or lighter shade of it is used.
 * Cards also get --lsp-card-accent and --lsp-card-on-accent, the accent shifted the same way for the card colour.
 * A custom background also picks the light or dark tone, so the rules of the tones keep working.
 *
 * This file is loaded after every section stylesheet. The [style] attribute selector, always present
 * on a custom section, gives the root rules the specificity to win over the tone and variant colours.
 *
 * @package    local_letstudypages
 * @copyright  2026 LetStudy Group
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Root: background, background image and text. */
.lsp .lsp-section.lsp-custom--bg[style] {
    background: var(--lsp-c-bg);
}
.lsp .lsp-section.lsp-custom--image[style] {
    background-color: var(--lsp-c-bg);
    background-image: linear-gradient(var(--lsp-c-overlay), var(--lsp-c-overlay)), var(--lsp-c-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.lsp .lsp-section.lsp-custom--text[style] {
    color: var(--lsp-text);
}

/* Cards follow the card colour, with their own readable text. */
.lsp .lsp-custom--card[style] :is(
    .lsp-course, .lsp-mini, .lsp-tile:not(.lsp-tile--lead), .lsp-rownav__btn, .lsp-clist,
    .lsp-news__mini, .lsp-news__card, .lsp-awards__band, .lsp-badges__card, .lsp-catalogue__card, .lsp-catchip,
    .lsp-countdown__card, .lsp-event, .lsp-faq__item, .lsp-form__card, .lsp-form__shell, .lsp-form__box,
    .lsp-herobento__tile:not(.lsp-herobento__tile--action), .lsp-instructors__card, .lsp-linkcards__card,
    .lsp-logos__logo, .lsp-tabs__panel, .lsp-testimonials__stage, .lsp-comparison__card, .lsp-comparison__frame,
    .lsp-map__card, .lsp-mycourse, .lsp-pricing__card:not(.lsp-pricing__card--recommended), .lsp-pricing__frame,
    .lsp-timeline__card, .lsp-glass__card, .lsp-news__lead,
    .lsp-builder__box, .lsp-builder__card:not(.lsp-builder__card--accent):not(.lsp-builder__card--soft)
) {
    background-color: var(--lsp-card-bg);
    color: var(--lsp-card-text);
    --lsp-text: var(--lsp-card-text);
    --lsp-muted: var(--lsp-card-muted);
    --lsp-accent-ink: var(--lsp-card-ink);
    --lsp-accent-soft: var(--lsp-card-soft);
    --lsp-soft-ink: var(--lsp-card-soft-ink);
    --lsp-heading: var(--lsp-card-text);
    --lsp-border: var(--lsp-card-border);
    --lsp-surface-2: var(--lsp-card-soft);
    --lsp-timeline-ink: var(--lsp-card-ink);
    --lsp-accent: var(--lsp-card-accent);
    --lsp-on-accent: var(--lsp-card-on-accent);
}
.lsp .lsp-custom--card[style] :is(.lsp-catalogue__panel, .lsp-catalogue__side) {
    color: var(--lsp-card-text);
    --lsp-text: var(--lsp-card-text);
    --lsp-muted: var(--lsp-card-muted);
    --lsp-catalog-chip: var(--lsp-card-soft);
    --lsp-catalog-chip-text: var(--lsp-card-text);
    --lsp-catalog-field: color-mix(in srgb, var(--lsp-card-text) 6%, var(--lsp-card-bg));
    --lsp-catalog-field-border: var(--lsp-card-border);
}
.lsp .lsp-custom--bg[style] .lsp-news__pin {
    color: var(--lsp-c-bg);
}
.lsp .lsp-custom--card[style] :is(.lsp-news__mini, .lsp-news__card, .lsp-news__lead) .lsp-news__pin {
    color: var(--lsp-card-bg);
}
/* Outside a card (the list of announcements) the pin keeps the colour of what it stands on, not of the cards. */
.lsp .lsp-custom--card[style]:not(.lsp-custom--bg) .lsp-news__entry .lsp-news__pin {
    color: var(--lsp-page-bg);
}
/* The selected tab of the vertical tabs is drawn as a card: it takes the card text too. */
.lsp .lsp-custom--card[style] .lsp-tabs--vertical .lsp-tabs__tab[aria-selected="true"],
.lsp .lsp-tabs--vertical.lsp-custom--card[style] .lsp-tabs__tab[aria-selected="true"] {
    color: var(--lsp-card-text);
    --lsp-text: var(--lsp-card-text);
    --lsp-muted: var(--lsp-card-muted);
}

/* The course spotlight paints its own dark background on the default and dark tones: without a custom background,
   the accent and text colours computed for a light section are put back to the light ones of that background. */
.lsp .lsp-courses--spotlight:is(.lsp-tone-default, .lsp-tone-dark).lsp-custom[style]:not(.lsp-custom--bg) > .lsp-container {
    color: #f3f5f8;
    --lsp-text: #f3f5f8;
    --lsp-muted: #a9b0bc;
    --lsp-heading: #f3f5f8;
    --lsp-accent-ink: var(--lsp-accent-light);
}

/* What the section stands on: knockouts and edge fades follow the custom background. */
.lsp .lsp-section.lsp-custom--bg[style] {
    --lsp-page-bg: var(--lsp-c-bg);
    --lsp-timeline-fade: var(--lsp-c-bg);
}
.lsp .lsp-section.lsp-custom--dark[style] {
    --lsp-dark: var(--lsp-c-bg);
}

/* Heroes painted with their own backdrop: the custom background tints the backdrop. */
.lsp .lsp-hero--editorial.lsp-custom--bg .lsp-hero__bg--blur {
    background: var(--lsp-c-bg);
    filter: none;
}
.lsp .lsp-hero--editorial.lsp-custom--image .lsp-hero__bg--blur {
    display: none;
}
.lsp .lsp-hero--editorial.lsp-custom--bg .lsp-hero__shade {
    background:
        linear-gradient(0deg, color-mix(in srgb, var(--lsp-c-bg) 85%, transparent), transparent 45%),
        linear-gradient(90deg, color-mix(in srgb, var(--lsp-c-bg) 82%, transparent) 0%,
            color-mix(in srgb, var(--lsp-c-bg) 50%, transparent) 50%, transparent 100%);
}
.lsp .lsp-hero--editorial.lsp-custom--image .lsp-hero__shade {
    background: none;
}
.lsp .lsp-hero--video.lsp-custom--bg .lsp-herovideo__shade {
    background: linear-gradient(180deg, color-mix(in srgb, var(--lsp-c-bg) 72%, transparent),
        color-mix(in srgb, var(--lsp-c-bg) 90%, transparent));
}
.lsp .lsp-hero--video.lsp-custom--image .lsp-herovideo__media {
    background: var(--lsp-c-image) center / cover no-repeat;
}
.lsp .lsp-hero--video.lsp-custom--image .lsp-herovideo__shade {
    background: var(--lsp-c-overlay);
}

/* Dark heroes on a light custom background: buttons, lines and glass turn dark. */
.lsp .lsp-hero--editorial.lsp-custom--light .lsp-btn--primary,
.lsp .lsp-hero--editorial.lsp-custom--light .lsp-btn--primary:hover {
    background: var(--lsp-accent);
    color: var(--lsp-on-accent);
}
.lsp .lsp-custom--light :is(.lsp-numbered) {
    border-top-color: var(--lsp-border);
}
.lsp .lsp-hero--video.lsp-custom--light {
    --lsp-hv-glass: rgba(255, 255, 255, .6);
    --lsp-hv-edge: rgba(18, 21, 27, .12);
}

/* Badges and pills drawn as small white cards take the card colours. */
.lsp .lsp-custom--card[style] .lsp-badge {
    background: var(--lsp-card-bg);
    color: var(--lsp-card-ink);
}

/* Aurora on a light custom background. */
.lsp .lsp-hero--aurora.lsp-custom--light .lsp-badge {
    background: color-mix(in srgb, var(--lsp-text) 6%, transparent);
    border-color: var(--lsp-border);
    color: var(--lsp-text);
}
.lsp .lsp-hero--aurora.lsp-custom--light .lsp-glass {
    background: color-mix(in srgb, var(--lsp-text) 4%, transparent);
    border-color: var(--lsp-border);
}
.lsp .lsp-hero--aurora.lsp-custom--light .lsp-btn--secondary {
    border-color: currentColor;
    background: transparent;
}
.lsp .lsp-custom--card[style] .lsp-glass__text span {
    color: var(--lsp-card-muted);
}
.lsp .lsp-custom--card[style] .lsp-glass__icon {
    color: var(--lsp-card-ink);
}

/* Editorial highlights. */
.lsp .lsp-hero--editorial.lsp-custom--text[style] .lsp-numbered__text span {
    color: var(--lsp-muted);
}
.lsp .lsp-hero--editorial.lsp-custom--light .lsp-numbered__number {
    color: var(--lsp-accent-ink);
}

