/* =====================================================================
   LIS Redesign – campus pages, inner pages, news and 404
   Loaded after lis-rd.css and uses the same tokens.
   ===================================================================== */

/* ---------- Main menu: campus panels (all campus pages live here) ---------- */
.lis-rd .lrd-nav__item.is-current > .lrd-nav__link { color: var(--lrd-blue); }
.lrd-mega.lrd-mega--campus { width: min(1120px, calc(100vw - 40px)); grid-template-columns: 270px 1fr; gap: 26px; padding: 20px 24px 20px 20px; }
.lis-rd .lrd-mega__tabs { display: grid; gap: 6px; align-content: start; padding-right: 22px; border-right: 1px solid var(--lrd-line); }
.lis-rd .lrd-mega__tab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 8px; color: var(--lrd-ink); }
.lrd-mega__tab strong { display: block; font: 700 15.5px/1.25 var(--lrd-head); }
.lrd-mega__tab small { display: block; margin-top: 3px; font-size: 13px; color: var(--lrd-muted); }
.lrd-mega__tab .lrd-ico { width: 16px; height: 16px; flex: none; color: var(--lrd-blue); opacity: 0; transition: opacity .2s ease; }
.lis-rd .lrd-mega__tab.is-on { background: var(--lrd-tint); }
.lis-rd .lrd-mega__tab.is-on strong { color: var(--lrd-blue); }
.lrd-mega__tab.is-on .lrd-ico { opacity: 1; }
.lis-rd .lrd-mega__photo { position: relative; display: block; min-height: 280px; border-radius: 6px; overflow: hidden; background: var(--lrd-sky); color: #fff; }
.lis-rd .lrd-mega__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.lrd-mega__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 30, 54, .85), rgba(11, 30, 54, 0) 60%); }
.lrd-mega__photo > span { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; }
.lrd-mega__photo strong { display: block; font: 700 17px/1.25 var(--lrd-head); color: #fff; }
.lrd-mega__photo small { display: block; margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.lrd-mega__photo:hover img { transform: scale(1.04); }
.lrd-mega__pane { display: none; flex-direction: column; min-height: 100%; }
.lrd-mega__pane.is-on { display: flex; }
.lis-rd .lrd-mega__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 26px; padding: 6px 0 18px; }
.lis-rd .lrd-mega__h { margin: 0 0 8px; font: 700 11.5px/1.2 var(--lrd-head); letter-spacing: .13em; text-transform: uppercase; color: var(--lrd-red); }
.lis-rd .lrd-mega__cols a { display: block; padding: 6px 0; font: 500 14.5px/1.35 var(--lrd-body); color: var(--lrd-ink); }
.lis-rd .lrd-mega__cols a:hover { color: var(--lrd-blue); }
.lrd-mega__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--lrd-line); }
.lis-rd .lrd-mega__foot a:not(.lrd-btn) { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1.2 var(--lrd-head); color: var(--lrd-ink); }
.lis-rd .lrd-mega__foot a.lrd-mega__home { color: var(--lrd-blue); }
.lis-rd .lrd-mega__foot a:not(.lrd-btn):hover { color: var(--lrd-red); }
.lrd-mega__foot .lrd-ico { width: 16px; height: 16px; color: var(--lrd-blue); }
.lis-rd .lrd-mega__foot .lrd-btn { margin-left: auto; }

/* Mobile menu: campus → its pages */
.lrd-sub { margin: 0 0 8px; border: 1px solid var(--lrd-line); border-radius: 8px; overflow: hidden; }
.lis-rd .lrd-acc .lrd-sub > summary { display: flex; align-items: center; justify-content: flex-start; gap: 14px; padding: 8px 12px 8px 8px; font: inherit; }
.lrd-sub > summary strong { display: block; font: 700 16px/1.25 var(--lrd-head); color: var(--lrd-ink); }
.lrd-sub > summary small { display: block; font-size: 13px; color: var(--lrd-muted); }
.lis-rd .lrd-acc .lrd-sub > summary .lrd-ico { margin-left: auto; transform: none; }
.lis-rd .lrd-acc .lrd-sub[open] > summary .lrd-ico { transform: rotate(180deg); }
.lrd-sub__body { padding: 2px 16px 14px; border-top: 1px solid var(--lrd-line); }
.lis-rd .lrd-sub__home { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 4px; font: 600 15px/1.2 var(--lrd-head); color: var(--lrd-blue); }
.lis-rd .lrd-sub__h { margin: 12px 0 2px; font: 700 11px/1.2 var(--lrd-head); letter-spacing: .13em; text-transform: uppercase; color: var(--lrd-red); }
.lis-rd .lrd-sub__links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.lis-rd .lrd-sub__links a { display: block; padding: 7px 0; font: 500 14.5px/1.3 var(--lrd-body); color: var(--lrd-ink); }
#lrd-main { scroll-margin-top: 100px; }

/* ---------- Campus hero: photo with a soft gradient, minimal text ---------- */
.lrd-hero--campus { height: min(54vw, calc(100vh - 84px - var(--lrd-admin))); min-height: 540px; }
.lrd-hero--campus .lrd-slides::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(to top, rgba(11, 30, 54, .86) 0%, rgba(11, 30, 54, .5) 26%, rgba(11, 30, 54, 0) 56%), linear-gradient(to right, rgba(11, 30, 54, .32), rgba(11, 30, 54, 0) 55%); }
.lrd-hero--campus .lrd-slide figcaption { display: none; }
.lrd-hero--campus .lrd-hero__in { padding-bottom: 56px; }
.lrd-hero__text { pointer-events: auto; max-width: 660px; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.lis-rd .lrd .lrd-hero--campus .lrd-hero__title { font-size: clamp(34px, 3.8vw, 52px); margin-bottom: 26px; }
.lis-rd .lrd-hero--campus .lrd-hero__kicker { color: #fff; font-size: 12.5px; }
.lrd-hero--campus .lrd-btn { text-shadow: none; }
.lrd-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.lis-rd .lrd-hero__link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font: 600 15.5px/1.2 var(--lrd-head); }
.lis-rd .lrd-hero__link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.lrd-hero__link .lrd-ico { width: 16px; height: 16px; }
.lrd-hero--campus .lrd-dots { bottom: 40px; }

/* ---------- Campus sections ---------- */
.lrd-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lrd-section--navy { background: var(--lrd-navy); color: rgba(255, 255, 255, .75); }
.lis-rd .lrd .lrd-section--navy h2, .lis-rd .lrd .lrd-section--navy h3 { color: #fff; }
.lis-rd .lrd-section--navy .lrd-lead { color: rgba(255, 255, 255, .82); }
.lis-rd .lrd-section--navy .lrd-link { color: #fff; }
.lis-rd .lrd-section--navy .lrd-link:hover { color: var(--lrd-red); }

/* Split: text + photo */
.lrd-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.lrd-split--rev .lrd-split__img { order: -1; }
.lis-rd .lrd-split__text h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 20px; }
.lis-rd .lrd-split__text p { font-size: 16.5px; line-height: 1.75; }
.lis-rd .lrd-split__text .lrd-lead { font-size: 19px; line-height: 1.6; }
.lrd-split__img { margin: 0; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--lrd-sky); box-shadow: var(--lrd-shadow); }
.lis-rd .lrd-split__img img { width: 100%; height: 100%; object-fit: cover; }
.lis-rd .lrd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--lrd-line); }
.lis-rd .lrd-stats dt { font: 700 26px/1.1 var(--lrd-head); letter-spacing: -0.01em; color: var(--lrd-blue); }
.lis-rd .lrd-stats dd { margin: 6px 0 0; font-size: 14px; line-height: 1.4; color: var(--lrd-muted); }
.lis-rd .lrd-linklist { margin-top: 26px; border-top: 1px solid var(--lrd-line); }
.lis-rd .lrd-linklist a { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--lrd-line); font: 600 16px/1.3 var(--lrd-head); color: var(--lrd-ink); }
.lis-rd .lrd-linklist a:hover { color: var(--lrd-blue); }
.lrd-linklist .lrd-ico { width: 18px; height: 18px; color: var(--lrd-blue); }

/* Numbered pillars */
.lis-rd .lrd-section--navy .lrd-head h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; }
.lis-rd .lrd-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.lis-rd .lrd-pillars--4 { grid-template-columns: repeat(4, 1fr); gap: 30px; }
.lrd-pillars li { padding-top: 24px; border-top: 2px solid var(--lrd-line); }
.lrd-section--navy .lrd-pillars li { border-top-color: rgba(255, 255, 255, .18); }
.lrd-pillars__num { display: block; margin-bottom: 14px; font: 700 14px/1 var(--lrd-head); letter-spacing: .1em; color: var(--lrd-red); }
.lis-rd .lrd-pillars h3 { font-size: 22px; margin-bottom: 10px; }
.lis-rd .lrd-pillars p { margin: 0; font-size: 15.5px; line-height: 1.65; }

/* Photo cards */
.lis-rd .lrd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lis-rd .lrd-cards--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lis-rd .lrd-card a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--lrd-line); border-radius: 6px; overflow: hidden; color: var(--lrd-ink); }
.lis-rd .lrd-card a:hover { box-shadow: var(--lrd-shadow); transform: translateY(-4px); }
.lrd-card__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--lrd-sky); }
.lis-rd .lrd-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.lrd-card a:hover .lrd-card__img img { transform: scale(1.04); }
.lrd-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px 22px 22px; }
.lrd-card__body strong { font: 700 20px/1.25 var(--lrd-head); letter-spacing: -0.015em; }
.lrd-card__body > span { font-size: 15px; line-height: 1.6; color: var(--lrd-text); }
.lrd-card__body em { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font: normal 700 14.5px/1.2 var(--lrd-head); color: var(--lrd-blue); }
.lrd-card__body em .lrd-ico { width: 15px; height: 15px; }
.lis-rd .lrd-tags--center { justify-content: center; margin-top: 30px; }

/* Learning platforms */
.lrd-platforms { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.lis-rd .lrd-platforms h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 18px; }
.lis-rd .lrd-platforms__logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lrd-platforms__logos li { display: flex; align-items: center; justify-content: center; height: 112px; padding: 20px; background: #fff; border: 1px solid var(--lrd-line); border-radius: 6px; }
.lis-rd .lrd-platforms__logos img { max-width: 100%; max-height: 58px; width: auto; object-fit: contain; }

/* Principal */
.lrd-leader { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: center; }
.lrd-campus--lenana .lrd-leader, .lrd-campus--mombasa .lrd-leader { grid-template-columns: 260px 1fr; } /* smaller originals – shown smaller to stay sharp */
.lrd-leader__img { margin: 0; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--lrd-sky); box-shadow: var(--lrd-shadow); }
.lis-rd .lrd-leader__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.lrd-leader blockquote { margin: 10px 0 24px; padding: 0; border: 0; }
.lrd-leader blockquote .lrd-ico { width: 34px; height: 34px; color: var(--lrd-red); margin-bottom: 10px; }
.lis-rd .lrd-leader blockquote p { margin: 0; font: 500 clamp(20px, 2vw, 25px)/1.45 var(--lrd-head); letter-spacing: -0.01em; color: var(--lrd-ink); }
.lis-rd .lrd-leader__name { margin: 0 0 18px; }
.lrd-leader__name strong { display: block; font: 700 17px/1.3 var(--lrd-head); color: var(--lrd-ink); }
.lrd-leader__name span { font-size: 14.5px; color: var(--lrd-muted); }

/* Quick links: tiles in the brand colours + contact panel */
.lrd-quick { display: grid; grid-template-columns: 1fr 340px; gap: 16px; }
.lis-rd .lrd-quick__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lis-rd .lrd-quick__tiles--two { grid-template-columns: repeat(2, 1fr); }
/* Soft brand tints, mixed so neighbouring tiles differ; solid blue only on hover */
.lis-rd .lrd-quick__tiles a { --qt-bg: #eaf2fb; --qt-ico: var(--lrd-blue); --qt-line: #d6e4f4; display: flex; align-items: center; gap: 14px; height: 100%; min-height: 78px; padding: 18px 20px; border-radius: 8px; background: var(--qt-bg); border: 1px solid var(--qt-line); color: var(--lrd-ink); font: 600 16px/1.3 var(--lrd-head); }
.lis-rd .lrd-quick__tiles li:nth-child(4n+2) a { --qt-bg: #fdefef; --qt-ico: var(--lrd-red); --qt-line: #f8dcdc; }
.lis-rd .lrd-quick__tiles li:nth-child(4n+3) a { --qt-bg: #f4f7fb; --qt-ico: var(--lrd-blue); --qt-line: #e3e9f1; }
.lis-rd .lrd-quick__tiles li:nth-child(4n) a { --qt-bg: #fff; --qt-ico: var(--lrd-red); --qt-line: #e3e9f1; }
.lis-rd .lrd .lrd-quick__tiles a:hover { background: var(--lrd-blue); border-color: var(--lrd-blue); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px -18px rgba(23, 104, 178, .8); }
.lrd-quick__tiles .lrd-ico { width: 22px; height: 22px; flex: none; color: var(--qt-ico); transition: color .2s ease; }
.lrd-quick__tiles a:hover .lrd-ico { color: #fff; }
.lrd-quick__ask { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 32px 30px; border-radius: 6px; background: var(--lrd-red); color: #fff; }
.lis-rd .lrd-quick__kicker { margin: 0; font: 600 12.5px/1.2 var(--lrd-head); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.lis-rd .lrd .lrd-quick__ask h3 { margin: 0 0 10px; font-size: 28px; line-height: 1.15; color: #fff; }
.lis-rd .lrd-quick__ask a:not(.lrd-quick__btn) { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 500 15.5px/1.3 var(--lrd-body); overflow-wrap: anywhere; }
.lis-rd .lrd-quick__ask a:not(.lrd-quick__btn):hover { text-decoration: underline; text-underline-offset: 3px; }
.lrd-quick__ask .lrd-ico { width: 18px; height: 18px; flex: none; }
.lis-rd .lrd-quick__btn { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 13px 22px; border-radius: 999px; background: #fff; color: var(--lrd-red); font: 700 15px/1.2 var(--lrd-head); }
.lis-rd .lrd-quick__btn:hover { background: var(--lrd-navy); color: #fff; }
.lrd-quick__ask .lrd-quick__btn { margin-top: 18px; }

/* Stages (Kindergarten to A Level) */
.lis-rd .lrd-stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.lis-rd .lrd-stages a { display: flex; flex-direction: column; height: 100%; padding: 24px 22px 22px; background: #fff; border: 1px solid var(--lrd-line); border-radius: 6px; color: var(--lrd-ink); }
.lis-rd .lrd-stages a:hover { border-color: var(--lrd-blue); box-shadow: var(--lrd-shadow); transform: translateY(-4px); }
.lrd-stages__num { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 50%; background: var(--lrd-blue); color: #fff; font: 700 16px/1 var(--lrd-head); transition: background .2s ease; }
.lrd-stages a:hover .lrd-stages__num { background: var(--lrd-red); }
.lrd-stages strong { font: 700 19px/1.25 var(--lrd-head); }
.lrd-stages small { margin-top: 4px; font-size: 14px; color: var(--lrd-muted); }
.lrd-stages .lrd-ico { width: 18px; height: 18px; margin-top: 16px; color: var(--lrd-blue); }

/* Accreditation strip under the hero */
.lrd-trust { background: #fff; border-bottom: 1px solid var(--lrd-line); }
.lrd-trust__in { display: flex; align-items: center; gap: 40px; padding-top: 26px; padding-bottom: 26px; }
.lis-rd .lrd-trust__label { flex: none; margin: 0; font: 600 12px/1.3 var(--lrd-head); letter-spacing: .14em; text-transform: uppercase; color: var(--lrd-muted); }
.lis-rd .lrd .lrd-accred--row { flex: 1; justify-content: space-between; gap: 18px 28px; margin: 0 !important; }
.lis-rd .lrd-accred--row img { height: 46px; max-width: 120px; }
.lrd-media--rev { grid-template-columns: 1fr 1.35fr; }
/* At a glance */
.lrd-facts { background: #fff; border-bottom: 1px solid var(--lrd-line); }
.lis-rd .lrd-facts__list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.lrd-facts__list > div { padding: 26px 24px; border-left: 1px solid var(--lrd-line); }
.lrd-facts__list > div:first-child { border-left: 0; padding-left: 0; }
.lis-rd .lrd-facts dt { margin: 0 0 6px; font: 600 12px/1.2 var(--lrd-head); letter-spacing: .14em; text-transform: uppercase; color: var(--lrd-muted); }
.lis-rd .lrd-facts dd { margin: 0; font: 600 17px/1.35 var(--lrd-head); color: var(--lrd-ink); }

/* Welcome + principal */
.lrd-welcome { display: grid; grid-template-columns: 1.25fr .85fr; gap: 72px; align-items: start; }
.lis-rd .lrd-welcome__text h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 20px; }
.lis-rd .lrd-welcome__text p { font-size: 16.5px; line-height: 1.75; }
.lis-rd .lrd-welcome__text .lrd-lead { font-size: 19px; line-height: 1.6; }
.lrd-principal { margin: 0; background: #fff; border: 1px solid var(--lrd-line); border-radius: 6px; overflow: hidden; box-shadow: var(--lrd-shadow); }
.lrd-principal__img { aspect-ratio: 4 / 3.2; background: var(--lrd-sky); overflow: hidden; }
.lis-rd .lrd-principal__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.lrd-principal blockquote { position: relative; margin: 0; padding: 28px 28px 8px; }
.lrd-principal blockquote .lrd-ico { width: 30px; height: 30px; color: var(--lrd-red); margin-bottom: 8px; }
.lis-rd .lrd-principal blockquote p { margin: 0; font: 500 18px/1.5 var(--lrd-head); color: var(--lrd-ink); letter-spacing: -0.01em; }
.lrd-principal figcaption { display: grid; gap: 2px; padding: 16px 28px 26px; }
.lrd-principal figcaption strong { font: 700 16px/1.3 var(--lrd-head); color: var(--lrd-ink); }
.lrd-principal figcaption span { font-size: 14px; color: var(--lrd-muted); margin-bottom: 12px; }

/* Explore cards */
.lis-rd .lrd-explore { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.lrd-explore__card { display: flex; flex-direction: column; padding: 30px 26px 22px; background: #fff; border: 1px solid var(--lrd-line); border-radius: 6px; transition: box-shadow .3s ease, transform .3s ease; }
.lrd-explore__card:hover { box-shadow: var(--lrd-shadow); transform: translateY(-4px); }
.lrd-explore__icon { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 8px; background: var(--lrd-sky); color: var(--lrd-blue); margin-bottom: 18px; }
.lrd-explore__icon .lrd-ico { width: 24px; height: 24px; }
.lis-rd .lrd-explore__card h3 { font-size: 22px; margin-bottom: 6px; }
.lis-rd .lrd-explore__card h3 a:hover { color: var(--lrd-blue); }
.lis-rd .lrd-explore__card > p { margin: 0 0 16px; font-size: 15px; }
.lis-rd .lrd-explore__card ul { margin-top: auto; border-top: 1px solid var(--lrd-line); }
.lis-rd .lrd-explore__card li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--lrd-line); color: var(--lrd-ink); font: 500 14.5px/1.3 var(--lrd-body); }
.lis-rd .lrd-explore__card li:last-child a { border-bottom: 0; }
.lrd-explore__card li .lrd-ico { width: 15px; height: 15px; color: var(--lrd-blue); opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .2s ease; }
.lis-rd .lrd-explore__card li a:hover { color: var(--lrd-blue); }
.lrd-explore__card li a:hover .lrd-ico { opacity: 1; transform: none; }

/* Video + documents */
.lrd-media { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.lis-rd .lrd-media__side h2 { font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 18px; }
.lis-rd .lrd-docs { display: grid; gap: 10px; }
.lis-rd .lrd-docs a { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--lrd-line); border-radius: 8px; background: #fff; color: var(--lrd-ink); }
.lis-rd .lrd-docs a:hover { border-color: var(--lrd-blue); box-shadow: 0 14px 28px -20px rgba(11, 30, 54, .5); }
.lrd-docs__ico { display: inline-flex; width: 42px; height: 42px; flex: none; align-items: center; justify-content: center; border-radius: 6px; background: #fdecec; color: var(--lrd-red); }
.lrd-docs strong { display: block; font: 600 15px/1.3 var(--lrd-head); }
.lrd-docs small { display: block; font-size: 13px; color: var(--lrd-muted); }

/* Accreditation logos */
.lrd-section--tight { padding: 64px 0; }
.lrd-center { text-align: center; }
.lis-rd .lrd-accred { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 44px; margin-top: 22px !important; }
.lis-rd .lrd-accred img { height: 54px; width: auto; max-width: 150px; object-fit: contain; transition: transform .3s ease; }
.lis-rd .lrd-accred li:hover img { transform: scale(1.06); }

/* Closing call to action */
.lrd-visit { position: relative; overflow: hidden; background: var(--lrd-navy); color: #fff; }

.lrd-visit__in { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.lis-rd .lrd-visit h2 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 10px; }
.lis-rd .lrd-visit p { margin: 0; max-width: 540px; font-size: 17px; color: #fff; }
.lrd-visit__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.lis-rd .lrd-visit__contact > a:not(.lrd-btn) { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .1); color: #fff; font: 600 16px/1.25 var(--lrd-head); }
.lis-rd .lrd-visit__contact > a:not(.lrd-btn):hover { background: rgba(255, 255, 255, .2); }
.lrd-visit__contact small { display: block; font: 500 11.5px/1.2 var(--lrd-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.lrd-visit__contact .lrd-ico { width: 20px; height: 20px; color: var(--lrd-red); }

/* ---------- Inner page header ---------- */
.lrd-phead { background: var(--lrd-tint); border-bottom: 1px solid var(--lrd-line); overflow: hidden; }
.lrd-phead__in { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
.lrd-phead__text { padding: 56px 0 52px; }
.lrd-phead--simple .lrd-wrap { padding-top: 56px; padding-bottom: 44px; }
.lrd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; font: 500 13.5px/1.3 var(--lrd-body); color: var(--lrd-muted); }
.lis-rd .lrd-crumbs a { color: var(--lrd-muted); }
.lis-rd .lrd-crumbs a:hover { color: var(--lrd-blue); }
.lrd-crumbs span { opacity: .5; }
.lis-rd .lrd .lrd-phead h1 { font-size: clamp(28px, 3.1vw, 42px); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 14px; }
.lis-rd .lrd-phead__campus { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px !important; font: 500 15px/1.3 var(--lrd-body); color: var(--lrd-text); }
.lrd-phead__campus .lrd-ico { width: 16px; height: 16px; color: var(--lrd-red); }
.lis-rd .lrd-phead__lead { margin: 0 0 22px; font-size: 18px; color: var(--lrd-text); max-width: 620px; }
.lis-rd .lrd-phead__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lis-rd .lrd-phead__pills a { display: inline-flex; padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--lrd-line); color: var(--lrd-ink); font: 500 14px/1.2 var(--lrd-body); }
.lis-rd .lrd-phead__pills a:hover { border-color: var(--lrd-blue); color: var(--lrd-blue); }
.lis-rd .lrd-phead__pills a[aria-current] { background: var(--lrd-navy); border-color: var(--lrd-navy); color: #fff; }
.lrd-phead__media { position: relative; align-self: end; height: 100%; min-height: 300px; }
.lrd-phead__arch { position: absolute; right: 0; bottom: -2px; width: min(380px, 100%); height: calc(100% - 36px); border-radius: 6px 6px 0 0; overflow: hidden; background: var(--lrd-sky); box-shadow: 14px 0 0 var(--tone, var(--lrd-blue)); }
.lis-rd .lrd-phead__arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* ---------- Old page content, restyled (Elementor) ---------- */
.lis-rd .wh-page-title-bar { display: none !important; }
.lrd-content--builder { padding: 24px 0 40px; }
.lrd-content--builder .elementor-section.elementor-top-section,
.lrd-content--builder .e-con.e-parent { background-color: transparent !important; background-image: none !important; padding-top: 40px !important; padding-bottom: 40px !important; border: 0 !important; }
.lrd-content--builder .elementor-top-section:nth-child(even),
.lrd-content--builder .e-con.e-parent:nth-child(even) { background-color: var(--lrd-tint) !important; }
.lrd-content--builder .elementor-section .elementor-section,
.lrd-content--builder .elementor-column > .elementor-widget-wrap,
.lrd-content--builder .e-con .e-con { background-color: transparent !important; background-image: none !important; box-shadow: none !important; }
.lrd-content--builder .elementor-background-overlay, .lrd-content--builder .elementor-shape { display: none !important; }
.lrd-content--builder .elementor-section.elementor-section-boxed > .elementor-container { max-width: 1384px !important; padding: 0 18px; }
.lrd-content--builder .e-con.e-parent > .e-con-inner { max-width: 1384px !important; }
.lrd-content--builder .elementor-column > .elementor-widget-wrap { padding: 10px 16px !important; }

/* Type */
.lrd-content--builder .elementor-heading-title { font-family: var(--lrd-head) !important; color: var(--lrd-ink) !important; letter-spacing: -0.01em !important; line-height: 1.25 !important; font-weight: 600 !important; text-shadow: none !important; }
.lrd-content--builder h1.elementor-heading-title { font-size: clamp(26px, 2.6vw, 34px) !important; }
.lrd-content--builder h2.elementor-heading-title { font-size: clamp(23px, 2.2vw, 28px) !important; }
.lrd-content--builder h3.elementor-heading-title { font-size: clamp(19px, 1.8vw, 22px) !important; }
.lrd-content--builder h4.elementor-heading-title { font-size: 20px !important; }
.lrd-content--builder :is(h5, h6, p, div, span).elementor-heading-title { font-size: 17px !important; }
.lrd-content--builder .elementor-heading-title a { color: inherit !important; }
.lrd-content--builder .elementor-heading-title a:hover { color: var(--lrd-blue) !important; }
.lrd-content--builder .elementor-widget-heading + .elementor-widget-text-editor { margin-top: -4px; }
.lrd-content--builder .elementor-widget-text-editor,
.lrd-content--builder .elementor-widget-text-editor :is(p, li, span, div, strong, em, b, td, th):not(.fluentform *) { font-family: var(--lrd-body) !important; color: var(--lrd-text) !important; font-size: 16.5px !important; line-height: 1.75 !important; text-align: left; }
.lrd-content--builder .elementor-widget-text-editor :is(strong, b):not(.fluentform *) { color: var(--lrd-ink) !important; font-weight: 600 !important; }
.lrd-content--builder .elementor-widget-text-editor a:not(.fluentform *) { color: var(--lrd-blue) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.lrd-content--builder .elementor-widget-text-editor :is(ul, ol) { padding-left: 1.3em; margin: 0 0 1em; }
.lrd-content--builder .elementor-widget-text-editor li { margin: 0 0 .35em; }
.lrd-content--builder .elementor-widget-text-editor li::marker { color: var(--lrd-red); }

/* Icon lists, icons, icon boxes */
.lrd-content--builder .elementor-icon-list-text { color: var(--lrd-text) !important; font-family: var(--lrd-body) !important; font-size: 16px !important; }
.lrd-content--builder a .elementor-icon-list-text { color: var(--lrd-ink) !important; font-weight: 500 !important; }
.lrd-content--builder a:hover .elementor-icon-list-text { color: var(--lrd-blue) !important; }
.lrd-content--builder .elementor-icon-list-icon i { color: var(--lrd-red) !important; }
.lrd-content--builder .elementor-icon-list-icon svg { fill: var(--lrd-red) !important; }
.lrd-content--builder .elementor-icon-list-item:not(:last-child) { padding-bottom: 8px !important; }
.lrd-content--builder .elementor-icon { color: var(--lrd-blue) !important; border-color: var(--lrd-blue) !important; }
.lrd-content--builder .elementor-icon svg { fill: var(--lrd-blue) !important; }
.lrd-content--builder .elementor-view-stacked .elementor-icon { background-color: var(--lrd-sky) !important; }
.lrd-content--builder .elementor-icon-box-title, .lrd-content--builder .elementor-image-box-title { font-family: var(--lrd-head) !important; color: var(--lrd-ink) !important; }
.lrd-content--builder .elementor-icon-box-description, .lrd-content--builder .elementor-image-box-description { color: var(--lrd-text) !important; }

/* Buttons */
.lrd-content--builder .elementor-button { background: var(--lrd-blue) !important; background-image: none !important; color: #fff !important; fill: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 13px 24px !important; font: 600 15px/1.2 var(--lrd-head) !important; letter-spacing: 0 !important; text-transform: none !important; box-shadow: 0 12px 24px -14px rgba(23, 104, 178, .8) !important; transition: background .2s ease, transform .2s ease !important; }
.lrd-content--builder .elementor-button:hover { background: var(--lrd-red) !important; transform: translateY(-1px); }
.lrd-content--builder .elementor-button * { color: #fff !important; }

/* Images, video, gallery */
.lrd-content--builder .elementor-widget-image img { border-radius: 6px; }
.lrd-content--builder .elementor-widget-image img[src$=".png"] { border-radius: 0; }
.lrd-content--builder .elementor-widget-video .elementor-wrapper { border-radius: 6px; overflow: hidden; box-shadow: var(--lrd-shadow); }
.lrd-content--builder .gallery-item img, .lrd-content--builder .elementor-image-gallery img { border-radius: 8px !important; border: 0 !important; }
.lrd-content--builder .elementor-widget-image .widget-image-caption { color: var(--lrd-muted) !important; font-size: 14px !important; }

/* Divider, counter */
.lrd-content--builder .elementor-divider-separator { border-color: var(--lrd-line) !important; }
.lrd-content--builder .elementor-counter-number-wrapper { color: var(--lrd-red) !important; font-family: var(--lrd-head) !important; font-weight: 700 !important; }
.lrd-content--builder .elementor-counter-title { color: var(--lrd-text) !important; font-family: var(--lrd-body) !important; }

/* Accordion and tabs */
.lrd-content--builder .elementor-accordion .elementor-accordion-item { border: 1px solid var(--lrd-line) !important; border-radius: 8px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.lrd-content--builder .elementor-accordion .elementor-tab-title { padding: 18px 22px !important; border: 0 !important; background: #fff !important; }
.lrd-content--builder .elementor-accordion .elementor-tab-title a, .lrd-content--builder .elementor-accordion .elementor-tab-title { color: var(--lrd-ink) !important; font: 600 16.5px/1.35 var(--lrd-head) !important; }
.lrd-content--builder .elementor-accordion .elementor-tab-title.elementor-active a { color: var(--lrd-blue) !important; }
.lrd-content--builder .elementor-accordion .elementor-tab-content { border: 0 !important; border-top: 1px solid var(--lrd-line) !important; padding: 18px 22px !important; color: var(--lrd-text) !important; }
.lrd-content--builder .elementor-accordion-icon { color: var(--lrd-red) !important; }
.lrd-content--builder .elementor-tab-title, .lrd-content--builder .elementor-tab-desktop-title { color: var(--lrd-ink) !important; font-family: var(--lrd-head) !important; }
.lrd-content--builder .elementor-tab-title.elementor-active { color: var(--lrd-blue) !important; }

/* Forms inside pages (application, contact) */
.lrd-content :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="url"], select, textarea):not(.fluentform *) { border: 1.5px solid var(--lrd-line) !important; border-radius: 6px !important; padding: 12px 14px !important; background: #fff !important; color: var(--lrd-ink) !important; font: 500 15px/1.4 var(--lrd-body) !important; box-shadow: none !important; }
.lrd-content :is(input, select, textarea):not(.fluentform *):focus { border-color: var(--lrd-blue) !important; outline: none; box-shadow: 0 0 0 4px rgba(23, 104, 178, .12) !important; }
.lrd-content :is(input[type="submit"], button[type="submit"], .wpcf7-submit):not(.fluentform *) { background: var(--lrd-blue) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 14px 28px !important; font: 600 15px/1.2 var(--lrd-head) !important; cursor: pointer; }
.lrd-content :is(input[type="submit"], button[type="submit"], .wpcf7-submit):not(.fluentform *):hover { background: var(--lrd-red) !important; }
.lrd-content label { color: var(--lrd-ink); font-weight: 500; }

/* Tables (fees, calendars) */
.lrd-content table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--lrd-line); border-radius: 8px; overflow: hidden; margin: 0 0 1.5em; }
.lrd-content th { background: var(--lrd-navy) !important; color: #fff !important; font: 600 14px/1.3 var(--lrd-head); text-align: left; padding: 12px 14px; }
.lrd-content td { padding: 12px 14px; border-top: 1px solid var(--lrd-line); color: var(--lrd-text); }
.lrd-content tr:nth-child(even) td { background: var(--lrd-tint); }

/* ---------- Plain (non-Elementor) content ---------- */
.lrd-content--prose { padding: 56px 0 80px; }
.lrd-prose { max-width: 820px; font-size: 17px; line-height: 1.8; color: var(--lrd-text); }
.lis-rd .lrd-prose :is(h2, h3, h4) { margin: 1.6em 0 .5em; font-family: var(--lrd-head); color: var(--lrd-ink); letter-spacing: -0.01em; line-height: 1.25; }
.lis-rd .lrd-prose h2 { font-size: 30px; }
.lis-rd .lrd-prose h3 { font-size: 23px; }
.lis-rd .lrd-prose h4 { font-size: 19px; }
.lis-rd .lrd-prose p { margin: 0 0 1.15em; }
.lis-rd .lrd-prose a { color: var(--lrd-blue); text-decoration: underline; text-underline-offset: 3px; }
.lis-rd .lrd-prose :is(ul, ol) { list-style: revert; padding-left: 1.3em; margin: 0 0 1.2em; }
.lis-rd .lrd-prose li::marker { color: var(--lrd-red); }
.lis-rd .lrd-prose img { height: auto; border-radius: 6px; margin: 8px 0 20px; }
.lis-rd .lrd-prose blockquote { margin: 1.5em 0; padding: 6px 0 6px 24px; border-left: 4px solid var(--lrd-red); font: 500 20px/1.5 var(--lrd-head); color: var(--lrd-ink); }
.lis-rd .lrd-prose figure { margin: 0 0 1.5em; }
.lis-rd .lrd-prose figcaption { font-size: 14px; color: var(--lrd-muted); }

/* ---------- News article ---------- */
.lrd-ahead { background: var(--lrd-tint); padding: 56px 0 0; }
.lrd-ahead__in { max-width: 900px; padding-bottom: 36px; }
.lis-rd .lrd .lrd-ahead h1 { font-size: clamp(28px, 3.1vw, 40px); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 16px; }
.lis-rd .lrd-ahead__meta { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 500 15px/1.3 var(--lrd-body); color: var(--lrd-muted); }
.lrd-ahead__meta .lrd-ico { width: 17px; height: 17px; color: var(--lrd-red); }
.lrd-ahead__img { position: relative; margin: 0 0 -64px; }
.lis-rd .lrd-ahead__img img { width: 100%; max-height: 620px; object-fit: cover; border-radius: 6px; box-shadow: var(--lrd-shadow); }
.lrd-article .lrd-content--prose { padding-top: 112px; }
.lrd-article .lrd-content--builder { padding-top: 88px; }
.lrd-ahead:not(:has(.lrd-ahead__img)) { padding-bottom: 8px; }
.lrd-article:has(.lrd-ahead:not(:has(.lrd-ahead__img))) .lrd-content--prose { padding-top: 48px; }
.lrd-article__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 10px; padding-bottom: 60px; max-width: 868px; }
.lrd-article__foot .lrd-link .lrd-ico { transform: rotate(180deg); }
.lis-rd .lrd-social--dark a { border-color: var(--lrd-line); color: var(--lrd-ink); }
.lis-rd .lrd-social--dark a:hover { color: #fff; }

/* ---------- News listing ---------- */
.lrd-news__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 !important; }
.lrd-news__meta time { font-size: 13px; font-weight: 600; color: var(--lrd-red); letter-spacing: .04em; text-transform: uppercase; }
.lrd-news__meta span { font-size: 12.5px; font-weight: 500; color: var(--lrd-muted); }
.lrd-news__meta span::before { content: '\00B7'; margin-right: 12px; }
.lrd-news__meta time + span::before { display: inline; }
.lrd-news__card--page .lrd-news__meta span::before { content: none; }
.lrd-news--grid { row-gap: 28px; }
.lrd-search { position: relative; display: flex; align-items: center; max-width: 560px; margin: 0 0 20px; background: #fff; border: 1.5px solid var(--lrd-line); border-radius: 8px; padding: 5px 5px 5px 46px; }
.lrd-search:focus-within { border-color: var(--lrd-blue); box-shadow: 0 0 0 4px rgba(23, 104, 178, .12); }
.lrd-search > .lrd-ico { position: absolute; left: 16px; width: 19px; height: 19px; color: var(--lrd-muted); }
.lis-rd .lrd-search input { flex: 1; min-width: 0; border: 0 !important; outline: 0; background: transparent; padding: 10px 6px !important; font: 500 16px/1.3 var(--lrd-body); color: var(--lrd-ink); box-shadow: none !important; }
.lis-rd .lrd-search button { border: 0; border-radius: 6px; background: var(--lrd-blue); color: #fff; padding: 11px 20px; font: 600 14.5px/1.2 var(--lrd-head); cursor: pointer; }
.lis-rd .lrd-search button:hover { background: var(--lrd-red); }
.lrd-pager { margin-top: 44px; }
.lis-rd .lrd-pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lis-rd .lrd-pager :is(a, span) { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 6px; border: 1px solid var(--lrd-line); background: #fff; color: var(--lrd-ink); font: 600 14.5px/1 var(--lrd-head); }
.lis-rd .lrd-pager a:hover { border-color: var(--lrd-blue); color: var(--lrd-blue); }
.lis-rd .lrd-pager .current { background: var(--lrd-navy); border-color: var(--lrd-navy); color: #fff; }
.lrd-empty { padding: 40px 0; text-align: center; }

/* ---------- 404 ---------- */
.lrd-404__in { max-width: 820px; }
.lis-rd .lrd .lrd-404 h1 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 14px; }
.lis-rd .lrd-404__campuses { display: grid; gap: 10px; margin-top: 30px; }
.lis-rd .lrd-404__campuses a { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid var(--lrd-line); border-left: 4px solid var(--tone); border-radius: 8px; color: var(--lrd-ink); }
.lis-rd .lrd-404__campuses a:hover { box-shadow: var(--lrd-shadow); }
.lrd-404__campuses strong { font: 700 18px/1.2 var(--lrd-head); }
.lrd-404__campuses small { color: var(--lrd-muted); }
.lrd-404__campuses .lrd-ico { margin-left: auto; color: var(--lrd-blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .lrd-hero--campus { height: min(60vw, calc(100vh - 74px - var(--lrd-admin))); }
    .lrd-welcome { gap: 44px; }
    .lrd-split, .lrd-platforms { gap: 48px; }
    .lrd-leader { gap: 48px; }
    .lis-rd .lrd-cards--4 { grid-template-columns: repeat(2, 1fr); }
    .lis-rd .lrd-stages { grid-template-columns: repeat(3, 1fr); }
    .lrd-quick { grid-template-columns: 1fr; }
    .lis-rd .lrd-pillars--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    .lis-rd .lrd .lrd-facts__list, .lis-rd .lrd-facts__list { grid-template-columns: 1fr 1fr; }
    .lrd-facts__list > div:nth-child(3) { border-left: 0; padding-left: 0; }
    .lrd-facts__list > div:nth-child(n+3) { border-top: 1px solid var(--lrd-line); }
    .lrd-welcome, .lrd-media, .lrd-media--rev, .lrd-split, .lrd-platforms { grid-template-columns: 1fr; }
    .lrd-media--rev .lrd-media__side { order: 2; }
    .lrd-split--rev .lrd-split__img { order: 0; }
    .lrd-split { gap: 36px; }
    .lrd-principal { max-width: 520px; }
    .lrd-leader, .lrd-campus--lenana .lrd-leader, .lrd-campus--mombasa .lrd-leader { grid-template-columns: 1fr; gap: 28px; }
    .lrd-leader__img { width: min(300px, 70%); }
    .lrd-campus--lenana .lrd-leader__img, .lrd-campus--mombasa .lrd-leader__img { width: min(240px, 60%); }
    .lis-rd .lrd-pillars { grid-template-columns: 1fr; gap: 24px; }
    .lis-rd .lrd-cards { grid-template-columns: 1fr; gap: 16px; }
    .lis-rd .lrd-card a { flex-direction: row; }
    .lrd-card__img { flex: 0 0 40%; aspect-ratio: auto; min-height: 190px; }
    .lis-rd .lrd-stages { grid-template-columns: 1fr; gap: 10px; }
    .lis-rd .lrd-stages a { flex-direction: row; align-items: center; gap: 16px; padding: 16px 18px; }
    .lrd-stages__num { margin: 0; flex: none; }
    .lrd-stages small { margin: 0 0 0 auto; }
    .lrd-stages .lrd-ico { margin: 0; }
    .lrd-trust__in { flex-direction: column; align-items: flex-start; gap: 16px; }
    .lis-rd .lrd .lrd-accred--row { justify-content: flex-start; }
    .lrd-phead__in { grid-template-columns: 1fr; gap: 0; }
    .lrd-phead__media { display: none; }
    .lrd-visit__in { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 640px) {
    /* Campus hero keeps the photo full-height with the text on the gradient */
    .lrd-hero.lrd-hero--campus { height: min(130vw, 600px); min-height: 0; background: var(--lrd-navy); }
    .lrd-hero--campus .lrd-slides { position: absolute; inset: 0; height: auto; }
    .lrd-hero--campus .lrd-hero__in { height: 100%; margin-top: 0; padding-bottom: 48px; }
    .lrd-hero--campus .lrd-dots { top: auto; bottom: 20px; right: 16px; }
    .lis-rd .lrd .lrd-hero--campus .lrd-hero__title { font-size: 34px; margin-bottom: 20px; }
    .lrd-hero--campus .lrd-slides::after { background: linear-gradient(to top, rgba(11, 30, 54, .9) 0%, rgba(11, 30, 54, .55) 35%, rgba(11, 30, 54, 0) 65%); }
    .lrd-facts__list > div { padding: 18px 14px; }
    .lis-rd .lrd-facts dd { font-size: 15.5px; }
    .lis-rd .lrd-stats { gap: 12px; }
    .lis-rd .lrd-stats dt { font-size: 20px; }
    .lis-rd .lrd-stats dd { font-size: 12.5px; }
    .lis-rd .lrd-card a { flex-direction: column; }
    .lrd-card__img { flex: none; aspect-ratio: 3 / 2; min-height: 0; }
    .lis-rd .lrd-cards--4 { grid-template-columns: 1fr; }
    .lis-rd .lrd-pillars--4 { grid-template-columns: 1fr; }
    .lis-rd .lrd-platforms__logos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .lrd-platforms__logos li { height: 92px; }
    .lis-rd .lrd-quick__tiles, .lis-rd .lrd-quick__tiles--two { grid-template-columns: 1fr 1fr; gap: 10px; }
    .lis-rd .lrd-quick__tiles li a { min-height: 68px; padding: 14px; gap: 10px; font-size: 14.5px; }
    .lrd-quick__tiles .lrd-ico { width: 19px; height: 19px; }
    .lrd-quick__ask { padding: 26px 22px; }
    .lis-rd .lrd-leader blockquote p { font-size: 21px; }
    .lis-rd .lrd-sub__links { grid-template-columns: 1fr; }
    .lrd-phead__text { padding: 36px 0 32px; }
    .lrd-phead--simple .lrd-wrap { padding-top: 36px; padding-bottom: 30px; }
    .lrd-content--builder .elementor-section.elementor-top-section, .lrd-content--builder .e-con.e-parent { padding-top: 26px !important; padding-bottom: 26px !important; }
    .lrd-content--builder .elementor-column > .elementor-widget-wrap { padding: 6px 4px !important; }
    .lrd-content--builder .elementor-section.elementor-section-boxed > .elementor-container { padding: 0 12px; }
    .lrd-visit__in { padding-top: 52px; padding-bottom: 52px; }
    .lrd-visit__contact { flex-direction: column; align-items: stretch; }
    .lis-rd .lrd-visit__contact .lrd-btn { width: 100%; }
    .lrd-ahead { padding-top: 36px; }
    .lis-rd .lrd-ahead__img img { border-radius: 6px; }
    .lrd-article__foot { flex-direction: column; align-items: flex-start; }
}

/* Fixes: no browser numbering on numbered lists, no theme box behind quotes */
.lis-rd .lrd ol.lrd-pillars, .lis-rd .lrd ol.lrd-stages { list-style: none; margin: 0; padding: 0; }
.lis-rd .lrd .lrd-leader blockquote, .lis-rd .lrd .lrd-leader blockquote p { background: none; border: 0; padding: 0; box-shadow: none; }
.lis-rd .lrd-leader blockquote::before, .lis-rd .lrd-leader blockquote::after { content: none; }
.lis-rd .lrd-platforms__logos img[alt="Coolsis"] { max-height: 84px; }

/* ---------- Main home page hero: same style as the campus pages – photo, soft gradient, minimal text ---------- */
.lrd-hero--home .lrd-slide::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to top, rgba(11, 30, 54, .88) 0%, rgba(11, 30, 54, .5) 30%, rgba(11, 30, 54, 0) 60%), linear-gradient(to right, rgba(11, 30, 54, .32), rgba(11, 30, 54, 0) 55%); }
.lrd-hero--home .lrd-slide figcaption { z-index: 2; }
.lis-rd .lrd-hero--home .lrd-hero__card { width: min(640px, 100%); padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.lrd-hero--home .lrd-hero__in { padding-bottom: 48px; }
.lis-rd .lrd .lrd-hero--home .lrd-hero__title { font-size: clamp(36px, 4.2vw, 56px); margin-bottom: 24px; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.lis-rd .lrd-hero--home .lrd-hero__kicker { color: #fff; font-size: 12.5px; text-shadow: 0 1px 12px rgba(0, 0, 0, .3); }
.lrd-hero--home .lrd-finder { max-width: 600px; }
.lrd-hero--home .lrd-dots { bottom: 40px; }
@media (max-width: 640px) {
    /* Phone: photo on top fading into navy, title and finder below it */
    .lrd-hero.lrd-hero--home { background: var(--lrd-navy); }
    .lrd-hero--home .lrd-slide::after { background: linear-gradient(to top, rgba(11, 30, 54, 1) 0%, rgba(11, 30, 54, 0) 40%); }
    .lis-rd .lrd-hero--home .lrd-hero__card { padding: 6px 0 20px; background: none; box-shadow: none; }
    .lis-rd .lrd .lrd-hero--home .lrd-hero__title { font-size: 34px; margin-bottom: 18px; }
    .lrd-hero--home .lrd-hero__in { padding-bottom: 8px; }
}
/* ---------- Campus menu panel, simplified: main sections only ---------- */
.lrd-mega.lrd-mega--campus { width: min(940px, calc(100vw - 40px)); grid-template-columns: 270px 1fr; gap: 24px; padding: 18px; }
.lrd-mega.lrd-mega--campus.is-single { width: min(780px, calc(100vw - 40px)); grid-template-columns: 280px 1fr; }
.lrd-mega--campus .lrd-mega__pane.is-on { display: grid; grid-template-columns: 1fr 230px; gap: 22px; align-items: stretch; }
.lrd-mega--campus.is-single .lrd-mega__pane.is-on { grid-template-columns: 1fr; }
.lrd-mega__main { display: flex; flex-direction: column; padding: 4px 0; }
.lis-rd .lrd-mega__keys { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.lis-rd .lrd-mega__keys a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 8px; color: var(--lrd-ink); font: 600 16px/1.25 var(--lrd-head); }
.lrd-mega__keys .lrd-ico { width: 16px; height: 16px; color: var(--lrd-blue); opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .2s ease; }
.lis-rd .lrd-mega__keys a:hover { background: var(--lrd-tint); color: var(--lrd-blue); }
.lrd-mega__keys a:hover .lrd-ico { opacity: 1; transform: none; }
.lis-rd .lrd-mega__main .lrd-mega__home { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 16px 16px 4px; border-top: 1px solid var(--lrd-line); font: 600 14.5px/1.2 var(--lrd-head); color: var(--lrd-blue); }
.lis-rd .lrd-mega__main .lrd-mega__home:hover { color: var(--lrd-red); }
.lrd-mega__main .lrd-mega__home .lrd-ico { width: 16px; height: 16px; }
.lrd-mega__pic { display: block; min-height: 250px; border-radius: 6px; overflow: hidden; background: var(--lrd-sky); }
.lis-rd .lrd-mega__pic img { width: 100%; height: 100%; object-fit: cover; }
.lis-rd .lrd-mega--campus .lrd-mega__photo { min-height: 250px; }
.lis-rd .lrd-mega__tabs { padding-right: 18px; }
.lis-rd .lrd-sub__links { grid-template-columns: 1fr 1fr; }
.lis-rd .lrd-sub__home { padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--lrd-line); }

/* ---------- Inner pages: half-empty sections get a photo beside the text ---------- */
.lrd-content--builder .lrd-aug { display: grid !important; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.lrd-content--builder .lrd-aug > .elementor-column, .lrd-content--builder .lrd-aug > .e-con { width: 100% !important; max-width: none !important; }
.lrd-content--builder .lrd-aug--rev .lrd-aug__img { order: -1; }
.lrd-content--builder .lrd-aug--rev { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.lrd-aug__img { margin: 0; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--lrd-sky); box-shadow: var(--lrd-shadow); }
.lis-rd .lrd-aug__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; border-radius: 0 !important; }
@media (max-width: 960px) {
    .lrd-content--builder .lrd-aug, .lrd-content--builder .lrd-aug--rev { grid-template-columns: 1fr; gap: 24px; }
    .lrd-content--builder .lrd-aug--rev .lrd-aug__img { order: 0; }
    .lrd-aug__img { aspect-ratio: 16 / 10; }
}
.lrd-content--builder .lrd-aug > .lrd-aug__hide { display: none !important; }
.lrd-content--builder .lrd-aug > :not(.lrd-aug__img) { width: 100% !important; max-width: none !important; }

/* Page header without a photo (used when a campus has no unused photo left, so none is repeated) */
.lrd-phead--plain .lrd-phead__in { grid-template-columns: 1fr; }
.lrd-phead--plain .lrd-phead__text { position: relative; max-width: 900px; padding-bottom: 60px; }
.lrd-phead--plain .lrd-phead__text::after { content: ''; position: absolute; left: 0; bottom: 30px; width: 72px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--lrd-blue) 0 50%, var(--lrd-red) 50% 100%); }
/* Consistent alignment: every builder block's text starts on the same edge as the page title (.lrd-wrap: 1384px text column).
   Elementor columns carry 10px padding and widgets ~6px, so boxed containers are 1216px with no padding of their own. */
.lis-rd .lrd-content--builder .elementor-section > .elementor-container { max-width: 1416px !important; margin-inline: auto; padding: 0 !important; }
.lrd-content--builder .e-con.e-parent.e-con-full { padding-left: max(16px, calc((100% - 1384px) / 2)) !important; padding-right: max(16px, calc((100% - 1384px) / 2)) !important; }
.lrd-content--builder .e-con.e-parent.e-con-full > .e-con { padding-left: 0 !important; padding-right: 0 !important; }
/* Lists in page text get real bullets (the global list reset removed them) */
.lis-rd .lrd-content--builder .elementor-widget-text-editor ul { list-style: disc; padding-left: 1.25em; margin: 0 0 1em; }
.lis-rd .lrd-content--builder .elementor-widget-text-editor ol { list-style: decimal; padding-left: 1.4em; margin: 0 0 1em; }
.lis-rd .lrd-content--builder .elementor-widget-text-editor li { padding-left: 4px; margin: 3px 0; }
@media (max-width: 640px) {
    .lis-rd .lrd-content--builder .elementor-section > .elementor-container { padding: 0 !important; }
}
/* Empty builder leftovers (e.g. a gallery with no images) should not leave blank bands */
.lrd-content--builder .elementor-widget:is(.elementor-widget-gallery, .elementor-widget-image-gallery, .elementor-widget-image):not(:has(img)) { display: none; }
.lrd-content--builder :is(.elementor-top-section, .e-con.e-parent):not(:has(img, iframe, video, p, h1, h2, h3, h4, h5, h6, li, a, input, form, table, svg, canvas)) { display: none !important; }/* Widgets placed straight in a full-width block fill the aligned text column; no forced heights leaving blank space */
.lrd-content--builder .e-con.e-parent.e-con-full > .elementor-widget { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; justify-self: stretch; }
.lrd-content--builder .e-con.e-parent { --min-height: 0px; min-height: 0 !important; --width: 100% !important; width: 100% !important; --e-con-grid-template-rows: none !important; grid-template-rows: none !important; }
.lrd-content--builder .elementor-section { min-height: 0 !important; }
.lrd-content--builder .elementor-section > .elementor-container { min-height: 0 !important; }
/* School fonts everywhere in page content: Montserrat headings, Poppins text (Elementor's own Roboto settings are overridden; icon fonts untouched) */
.lis-rd .lrd-content { --e-global-typography-primary-font-family: 'Montserrat'; --e-global-typography-secondary-font-family: 'Montserrat'; --e-global-typography-text-font-family: 'Poppins'; --e-global-typography-accent-font-family: 'Poppins'; }
.lis-rd .lrd-content :is(h1, h2, h3, h4, h5, h6) { font-family: var(--lrd-head) !important; }
.lis-rd .lrd-content :is(p, li, a, span, td, th, label, input, textarea, select, button, blockquote, figcaption, strong, em, b, small):not([class*="fa-"]):not([class*="eicon"]):not([class*="icon"]):not(i):not(.fluentform *) { font-family: var(--lrd-body) !important; }
.lis-rd .lrd-content :is(h1, h2, h3, h4, h5, h6) :is(span, a, strong, em, b) { font-family: inherit !important; }
/* Principal's message pages (same layout for every campus) */
.lrd-pmsg__in { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 72px; align-items: start; }
.lrd-pmsg__card { position: sticky; top: calc(108px + var(--lrd-admin)); padding: 14px 14px 22px; border-radius: 6px; background: #fff; border: 1px solid var(--lrd-line); box-shadow: var(--lrd-shadow); }
.lis-rd .lrd-pmsg__card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 8px; margin-bottom: 18px; box-shadow: 10px 10px 0 var(--tone, var(--lrd-blue)); }
.lis-rd .lrd-pmsg__name { margin: 0 8px 4px; font: 600 20px/1.25 var(--lrd-head); color: var(--lrd-ink); }
.lis-rd .lrd-pmsg__role { margin: 0 8px; font: 500 14.5px/1.4 var(--lrd-body); color: var(--lrd-muted); }
.lrd-pmsg__body { max-width: 760px; }
.lrd-pmsg__body > .lrd-ico { width: 44px; height: 44px; color: var(--lrd-red); margin-bottom: 12px; }
.lis-rd .lrd-pmsg__text p, .lis-rd .lrd-pmsg__text li { margin: 0 0 1.1em; font: 400 17px/1.8 var(--lrd-body); color: var(--lrd-text); }
.lis-rd .lrd-pmsg__text > p:first-child:not(.lrd-pmsg__hello), .lis-rd .lrd-pmsg__text > .lrd-pmsg__hello + p { font: 500 clamp(20px, 1.9vw, 24px)/1.45 var(--lrd-head); letter-spacing: -0.01em; color: var(--lrd-ink); margin-bottom: .9em; }
.lis-rd .lrd-pmsg__text ul { list-style: disc; padding-left: 1.25em; margin: 0 0 1.1em; }
.lis-rd .lrd-pmsg__text li::marker { color: var(--lrd-red); }
.lis-rd .lrd-pmsg__text a { color: var(--lrd-blue); text-decoration: underline; text-underline-offset: 3px; }
.lrd-pmsg__sign { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--lrd-line); display: flex; flex-direction: column; gap: 2px; }
.lis-rd .lrd-pmsg__sign p { margin: 0 0 6px; font: 500 15px/1.4 var(--lrd-body); color: var(--lrd-muted); }
.lis-rd .lrd-pmsg__sign strong { font: 600 19px/1.3 var(--lrd-head); color: var(--lrd-ink); }
.lis-rd .lrd-pmsg__sign span { font: 500 15px/1.4 var(--lrd-body); color: var(--lrd-text); }
@media (max-width: 960px) {
    .lrd-pmsg__in { grid-template-columns: 1fr; gap: 40px; }
    .lrd-pmsg__card { position: static; display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 0 18px; padding: 12px; max-width: 520px; }
    .lis-rd .lrd-pmsg__card img { grid-row: span 2; margin: 0; box-shadow: 6px 6px 0 var(--tone, var(--lrd-blue)); }
    .lis-rd .lrd-pmsg__name { align-self: end; margin: 0 0 2px; font-size: 18px; }
    .lis-rd .lrd-pmsg__role { align-self: start; margin: 0; }
}
/* Greeting line before the lead */
.lis-rd .lrd-pmsg__text > .lrd-pmsg__hello { font-weight: 500; color: var(--lrd-ink); margin-bottom: .6em; }
/* A heading widget emptied because it only repeated the page title */
.lrd-content--builder .elementor-widget-heading:not(:has(.elementor-heading-title)) { display: none; }
/* Administration team: leadership hierarchy, top level first, joined by connector lines */
.lrd-org__level { position: relative; }
.lrd-org__level + .lrd-org__level { margin-top: 30px; padding-top: 46px; }
.lrd-org__level + .lrd-org__level::before { content: ''; position: absolute; left: 50%; top: 0; width: 2px; height: 34px; margin-left: -1px; background: linear-gradient(var(--lrd-blue), var(--lrd-red)); }
.lis-rd .lrd-org__people { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 240px)); justify-content: center; gap: 26px; margin-top: 18px; }
.lis-rd .lrd-org__people.is-single { grid-template-columns: minmax(0, 280px); }
.lrd-org__card { padding: 12px 12px 18px; border-radius: 6px; background: #fff; border: 1px solid var(--lrd-line); box-shadow: var(--lrd-shadow); text-align: center; }
.lis-rd .lrd-org__card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 8px; margin-bottom: 14px; }
.lis-rd .lrd-org__name { margin: 0 0 4px; font: 600 17px/1.3 var(--lrd-head); color: var(--lrd-ink); }
.lis-rd .lrd-org__role { margin: 0; font: 500 14px/1.4 var(--lrd-body); color: var(--lrd-muted); }
.lrd-org__level:first-child .lrd-org__card { border-top: 4px solid var(--tone, var(--lrd-blue)); }
@media (max-width: 640px) { .lis-rd .lrd-org__people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .lis-rd .lrd-org__people.is-single { grid-template-columns: minmax(0, 240px); } }
/* Discover cards (Nairobi home) – photo cards with the text over a blue gradient */
.lrd-discover__head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 16px 48px; align-items: end; margin-bottom: 36px; }
.lis-rd .lrd-discover__head h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); }
.lis-rd .lrd-discover__head > p { margin: 0; color: var(--lrd-muted, #5b6676); font-size: 16px; line-height: 1.65; }
.lrd-discover__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.lrd-discover__grid > li { margin: 0; padding: 0; }
.lis-rd .lrd-discover__card { position: relative; display: flex; align-items: flex-end; height: 100%; min-height: 440px; border-radius: 6px; overflow: hidden; background: var(--lrd-sky); color: #fff; box-shadow: var(--lrd-shadow); transition: transform .3s ease, box-shadow .3s ease; }
.lrd-discover__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.lrd-discover__card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 104, 178, 0) 25%, rgba(16, 74, 128, .78) 62%, rgba(12, 58, 102, .94) 100%); }
.lrd-discover__card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--lrd-red); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.lrd-discover__body { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 26px; }
.lrd-discover__kicker { font: 600 11.5px/1.2 var(--lrd-head); letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: .9; }
.lrd-discover__kicker::before { content: ''; display: inline-block; width: 18px; height: 2px; margin-right: 8px; vertical-align: middle; background: var(--lrd-red); }
.lis-rd .lrd-discover__body strong { font: 600 clamp(21px, 1.8vw, 24px)/1.2 var(--lrd-head); color: #fff; }
.lrd-discover__text { font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.lrd-discover__body em { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font: 600 13px/1.2 var(--lrd-head); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.lrd-discover__body em .lrd-ico { width: 16px; height: 16px; transition: transform .3s ease; }
.lis-rd .lrd-discover__card:hover, .lis-rd .lrd-discover__card:focus-visible { color: #fff; transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 30, 54, .18); }
.lrd-discover__card:hover img { transform: scale(1.04); }
.lrd-discover__card:hover::after, .lrd-discover__card:focus-visible::after { transform: scaleX(1); }
.lrd-discover__card:hover em .lrd-ico { transform: translateX(4px); }
@media (max-width: 1100px) { .lrd-discover__grid { grid-template-columns: repeat(2, 1fr); } .lis-rd .lrd-discover__card { min-height: 380px; } }
@media (max-width: 760px) { .lrd-discover__head { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .lrd-discover__grid { grid-template-columns: 1fr; gap: 14px; } .lis-rd .lrd-discover__card { min-height: 340px; } }
/* Core values – one slim row */
.lrd-corevals { background: var(--lrd-sky, #f4f7fb); border-top: 1px solid var(--lrd-line); border-bottom: 1px solid var(--lrd-line); }
.lrd-corevals__in { display: flex; align-items: center; gap: 12px 32px; padding-top: 18px; padding-bottom: 18px; }
.lis-rd .lrd-corevals__label { flex: none; margin: 0; padding-right: 32px; border-right: 2px solid var(--lrd-red); font: 600 12px/1.3 var(--lrd-head); letter-spacing: .14em; text-transform: uppercase; color: var(--lrd-red); }
.lis-rd .lrd-corevals ul { display: flex; flex: 1; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.lis-rd .lrd-corevals li { display: inline-flex; align-items: center; gap: 9px; margin: 0; font: 500 15px/1.3 var(--lrd-head); color: var(--lrd-ink); }
.lrd-corevals .lrd-ico { width: 20px; height: 20px; flex: none; color: var(--lrd-blue, #1768B2); stroke-width: 1.8; }
@media (max-width: 960px) {
    .lrd-corevals__in { flex-direction: column; align-items: flex-start; }
    .lis-rd .lrd-corevals__label { padding: 0 0 0 10px; border-right: 0; border-left: 2px solid var(--lrd-red); }
    .lis-rd .lrd-corevals ul { justify-content: flex-start; gap: 10px 22px; }
    .lis-rd .lrd-corevals li { font-size: 14px; }
}
/* Mission, vision and motto (main home) */
.lrd-mvm__grid { display: grid; grid-template-columns: 1fr 1.45fr 1fr; gap: 20px; align-items: stretch; }
.lrd-mvm__card { position: relative; padding: 30px 28px; border: 1px solid var(--lrd-line); border-top: 3px solid var(--lrd-blue, #1768B2); border-radius: 6px; background: #fff; box-shadow: var(--lrd-shadow); }
.lrd-mvm__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 8px; background: #eaf2fb; color: var(--lrd-blue, #1768B2); }
.lrd-mvm__icon .lrd-ico { width: 22px; height: 22px; stroke-width: 1.8; }
.lis-rd .lrd-mvm__card .lrd-eyebrow { margin: 0 0 10px; }
.lis-rd .lrd-mvm__lead { margin: 0; font: 500 18px/1.55 var(--lrd-head); color: var(--lrd-ink); }
.lis-rd .lrd-mvm__list { margin: 0; padding: 0; list-style: none; }
.lis-rd .lrd-mvm__list li { position: relative; margin: 0; padding: 7px 0 7px 18px; border-bottom: 1px solid var(--lrd-line); font-size: 15px; line-height: 1.5; color: var(--lrd-ink); }
.lis-rd .lrd-mvm__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.lrd-mvm__list li::before { content: ''; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; border-radius: 2px; background: var(--lrd-red); }
.lrd-mvm__card--motto { display: flex; flex-direction: column; justify-content: center; border: 0; border-top: 3px solid var(--lrd-red); background: var(--lrd-blue, #1768B2); color: #fff; }
.lrd-mvm__card--motto .lrd-mvm__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.lis-rd .lrd-mvm__card--motto .lrd-eyebrow { color: #fff; }
.lis-rd .lrd-mvm__motto { margin: 0; font: 600 clamp(26px, 2.6vw, 34px)/1.15 var(--lrd-head); color: #fff; }
@media (max-width: 1024px) { .lrd-mvm__grid { grid-template-columns: 1fr 1fr; } .lrd-mvm__card:nth-child(2) { grid-row: span 2; grid-column: 2; grid-row-start: 1; } }
@media (max-width: 680px) { .lrd-mvm__grid { grid-template-columns: 1fr; } .lrd-mvm__card:nth-child(2) { grid-row: auto; grid-column: auto; } .lrd-mvm__card { padding: 24px 22px; } }
/* Builder "person" columns (photo + name + role), e.g. Students' Council – shown as profile cards */
.lrd-content .elementor-column:has(> .elementor-widget-wrap > .elementor-widget-image + .elementor-widget-heading + .elementor-widget-heading) > .elementor-widget-wrap { align-content: flex-start; height: 100%; margin: 0 10px 20px; padding: 10px 10px 18px !important; border: 1px solid var(--lrd-line); border-radius: 6px; background: #fff; box-shadow: var(--lrd-shadow); transition: transform .3s ease, box-shadow .3s ease; }
.lrd-content .elementor-column:has(> .elementor-widget-wrap > .elementor-widget-image + .elementor-widget-heading + .elementor-widget-heading) > .elementor-widget-wrap:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11, 30, 54, .14); }
.lrd-content .elementor-column:has(> .elementor-widget-wrap > .elementor-widget-image + .elementor-widget-heading + .elementor-widget-heading) .elementor-widget-image { margin: 0 0 14px !important; }
.lrd-content .elementor-column:has(> .elementor-widget-wrap > .elementor-widget-image + .elementor-widget-heading + .elementor-widget-heading) .elementor-widget-image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 6px; transform: none !important; }
.lrd-content .elementor-column:has(> .elementor-widget-wrap > .elementor-widget-image + .elementor-widget-heading + .elementor-widget-heading) .elementor-widget-heading { margin: 0 !important; padding: 0 6px; text-align: center; }
.lrd-content .elementor-column:has(> .elementor-widget-wrap > .elementor-widget-image + .elementor-widget-heading + .elementor-widget-heading) .elementor-widget-heading .elementor-heading-title { margin: 0; font: 600 15px/1.35 var(--lrd-head) !important; letter-spacing: .02em; text-transform: none; color: var(--lrd-ink) !important; }
.lrd-content .elementor-column:has(> .elementor-widget-wrap > .elementor-widget-image + .elementor-widget-heading + .elementor-widget-heading) .elementor-widget-heading + .elementor-widget-heading .elementor-heading-title { margin-top: 6px; font: 500 12px/1.4 var(--lrd-head) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--lrd-red) !important; }
.lrd-content .elementor-inner-section:has(.elementor-widget-image + .elementor-widget-heading + .elementor-widget-heading) > .elementor-container { margin-left: -10px; margin-right: -10px; width: calc(100% + 20px); max-width: none; }
.lrd-content .elementor-inner-section:has(.elementor-widget-image + .elementor-widget-heading + .elementor-widget-heading) > .elementor-container > .elementor-column > .elementor-widget-wrap { width: auto; }
@media (max-width: 767px) {
    .lrd-content .elementor-inner-section:has(.elementor-widget-image + .elementor-widget-heading + .elementor-widget-heading) > .elementor-container { display: grid; grid-template-columns: 1fr 1fr; }
    .lrd-content .elementor-inner-section:has(.elementor-widget-image + .elementor-widget-heading + .elementor-widget-heading) .elementor-column { width: 100% !important; }
    .lrd-content .elementor-column:has(> .elementor-widget-wrap > .elementor-widget-image + .elementor-widget-heading + .elementor-widget-heading) > .elementor-widget-wrap { margin: 0 6px 12px; }
}
/* "More in this section" – after the page content */
.lrd-more { border-top: 1px solid var(--lrd-line); }
.lis-rd .lrd-more .lrd-eyebrow { margin: 0 0 8px; }
.lis-rd .lrd-more__title { margin: 0 0 22px; font-size: clamp(22px, 2.2vw, 28px); }
.lis-rd .lrd-more__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.lis-rd .lrd-more__list li { margin: 0; padding: 0; }
.lis-rd .lrd-more__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; padding: 16px 18px; border: 1px solid var(--lrd-line); border-left: 3px solid var(--tone, var(--lrd-blue, #1768B2)); border-radius: 8px; background: #fff; color: var(--lrd-ink); font: 500 15.5px/1.35 var(--lrd-head); transition: background .2s ease, border-color .2s ease, color .2s ease; }
.lrd-more__list .lrd-ico { width: 18px; height: 18px; flex: none; color: var(--lrd-blue, #1768B2); transition: transform .2s ease; }
.lis-rd .lrd-more__list a:hover, .lis-rd .lrd-more__list a:focus-visible { background: #eaf2fb; color: var(--lrd-ink); }
.lrd-more__list a:hover .lrd-ico { transform: translateX(4px); }
/* Fixes – 2026-10-05 */
/* Core values: label and values on one line, centred */
.lis-rd .lrd .lrd-corevals__label, .lis-rd .lrd-corevals__label { margin: 0 !important; line-height: 20px; align-self: center; }
.lis-rd .lrd .lrd-corevals ul { margin: 0 !important; padding: 0 !important; align-items: center; }
.lis-rd .lrd .lrd-corevals li { margin: 0 !important; padding: 0 !important; line-height: 20px; }
.lis-rd .lrd .lrd-corevals li::before { content: none; }

/* Discover cards: text always readable */
.lrd-discover__card::before { background: linear-gradient(180deg, rgba(12, 58, 102, .05) 0%, rgba(12, 58, 102, .35) 35%, rgba(12, 58, 102, .86) 60%, rgba(10, 48, 86, .96) 100%); }
.lrd-discover__body { text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.lrd-discover__text { color: #fff; }
.lis-rd .lrd-discover__card { border-radius: 6px; }

/* News: newest story featured, the others as compact rows */
.lrd-news__excerpt { display: none; }
.lrd-news.lrd-news--feature { grid-template-columns: 1.3fr 1fr; grid-auto-rows: auto; gap: 18px 28px; align-items: start; }
.lrd-news--feature .lrd-news__card:first-child { grid-row: 1 / span 3; }
.lrd-news--feature .lrd-news__card:first-child .lrd-news__body { padding: 22px 26px 26px; }
.lis-rd .lrd-news--feature .lrd-news__card:first-child h3 { font-size: clamp(20px, 1.9vw, 24px); }
.lis-rd .lrd-news--feature .lrd-news__card:first-child .lrd-news__excerpt { display: block; margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--lrd-muted); }
.lrd-news--feature .lrd-news__card:not(:first-child) { display: grid !important; grid-template-columns: 150px 1fr; align-items: stretch; }
.lrd-news--feature .lrd-news__card:not(:first-child) .lrd-news__img { aspect-ratio: auto; height: 100%; min-height: 108px; }
.lrd-news--feature .lrd-news__card:not(:first-child) .lrd-news__body { padding: 14px 18px; align-self: center; }
.lis-rd .lrd-news--feature .lrd-news__card:not(:first-child) h3 { margin-top: 4px; font-size: 15.5px; line-height: 1.4; }
@media (max-width: 960px) {
    .lrd-news.lrd-news--feature { grid-template-columns: 1fr; }
    .lrd-news--feature .lrd-news__card:first-child { grid-row: auto; }
}
@media (max-width: 480px) { .lrd-news--feature .lrd-news__card:not(:first-child) { grid-template-columns: 110px 1fr; } }

/* Logos: every logo in the same-size tile */
.lis-rd .lrd-accred { gap: 14px !important; }
.lis-rd .lrd-accred li { display: flex; align-items: center; justify-content: center; width: 168px; height: 84px; margin: 0; padding: 12px 16px; border: 1px solid var(--lrd-line); border-radius: 6px; background: #fff; }
.lis-rd .lrd-accred img, .lis-rd .lrd-accred--row img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.lis-rd .lrd-accred--row li { width: 140px; height: 70px; padding: 10px 12px; }
@media (max-width: 600px) { .lis-rd .lrd-accred li { width: calc(50% - 7px); } }
.lrd-discover__card img { z-index: 0; }
.lrd-discover__card::before { z-index: 1; }
.lrd-discover__card::after { z-index: 3; }
.lrd-discover__body { z-index: 2; }
.lrd-news.lrd-news--feature { align-items: stretch; }
.lrd-news--feature .lrd-news__card:not(:first-child) .lrd-news__img { min-height: 0; }
.lis-rd .lrd-news--feature .lrd-news__card:not(:first-child) .lrd-news__img img { height: 100%; }
.lis-rd .lrd .lrd-more__title { margin: 0 0 24px !important; }

/* ---------- LIS Nairobi academic achievements (parts/achievements-nbo.php) ---------- */
.lrd-ach__intro { max-width: 760px; margin: 0 0 40px; }
.lis-rd .lrd .lrd-ach__intro h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 0 0 16px; }
.lrd-ach__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 56px !important; }
.lrd-ach__stats li { background: var(--lrd-tint); border: 1px solid var(--lrd-line); border-top: 4px solid var(--lrd-blue); border-radius: var(--lrd-radius); padding: 22px 20px; }
.lrd-ach__stats li:nth-child(even) { border-top-color: var(--lrd-red); }
.lrd-ach__stats strong { display: block; font: 700 clamp(26px, 2.4vw, 34px)/1.1 var(--lrd-head); color: var(--lrd-ink); margin-bottom: 8px; }
.lrd-ach__stats span { display: block; font: 600 15px/1.35 var(--lrd-head); color: var(--lrd-ink); }
.lrd-ach__stats small { display: block; margin-top: 4px; font-size: 14px; color: var(--lrd-muted); }
.lrd-ach__poster { margin: 0 0 48px; }
.lrd-ach__poster figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 16px; }
.lrd-ach__tag { flex-basis: 100%; color: var(--lrd-red); font: 700 13px/1.2 var(--lrd-head); letter-spacing: .14em; text-transform: uppercase; }
.lis-rd .lrd .lrd-ach__poster h3 { font-size: clamp(20px, 1.8vw, 25px); }
.lis-rd .lrd-ach__poster figcaption > a { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--lrd-blue); font: 600 14.5px/1.2 var(--lrd-head); }
.lis-rd .lrd-ach__poster figcaption > a:hover { color: var(--lrd-red); }
.lrd-ach__img { display: block; border-radius: var(--lrd-radius); overflow: hidden; border: 1px solid var(--lrd-line); box-shadow: var(--lrd-shadow); cursor: zoom-in; }
.lis-rd .lrd-ach__img img { width: 100%; height: auto; transition: transform .4s ease; }
.lrd-ach__img:hover img { transform: scale(1.01); }
.lrd-ach__next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 36px; border-radius: var(--lrd-radius); background: var(--lrd-sky); }
.lis-rd .lrd .lrd-ach__next h3 { font-size: 22px; margin: 0 0 6px; }
.lis-rd .lrd .lrd-ach__next p { margin: 0; }
.lrd-ach__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.lis-rd .lrd-btn.lrd-ach__btn2 { background: #fff; color: var(--lrd-blue) !important; box-shadow: inset 0 0 0 2px var(--lrd-blue); }
.lis-rd .lrd-btn.lrd-ach__btn2:hover { background: var(--lrd-red); color: #fff !important; box-shadow: none; }
@media (max-width: 960px) { .lrd-ach__stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
    .lrd-ach__stats { gap: 10px; }
    .lrd-ach__stats li { padding: 16px 14px; }
    .lis-rd .lrd-ach__poster figcaption > a { margin-left: 0; }
    .lrd-ach__next { padding: 24px 20px; }
}

/* ---------- Certificate verification (templates/cert.php) – QR access only ---------- */
.lrd-cert .hidden { display: none !important; }
.lis-rd .lrd-cert .lrd-eyebrow .lrd-ico { width: 16px; height: 16px; }
.lrd-cert__head .lrd-phead__text { padding-top: 56px; }
.lrd-cert__main { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.lrd-cert__card { max-width: 680px; background: #fff; border: 1px solid var(--lrd-line); border-radius: var(--lrd-radius); box-shadow: var(--lrd-shadow); padding: 28px; }
.lrd-cert__label { display: block; margin: 0 0 10px; font: 600 14px/1.3 var(--lrd-head); color: var(--lrd-ink); }
.lrd-search.lrd-cert__search { max-width: none; margin: 0; }
.lis-rd .lrd-cert__search input { text-transform: uppercase; font-weight: 500; letter-spacing: .02em; font-size: 16px !important; }
.lis-rd .lrd-cert__search input::placeholder { text-transform: none; font-weight: 500; letter-spacing: 0; }
.lis-rd .lrd-cert__search button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 104px; min-height: 44px; }
.lis-rd .lrd-cert__search button:disabled { opacity: .8; cursor: wait; }
.lrd-cert__spin { display: inline-block; width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: lrdCertSpin .8s linear infinite; }
@keyframes lrdCertSpin { to { transform: rotate(360deg); } }
.lrd-cert__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 18px 0 0 !important; }
.lrd-cert__trust li { display: inline-flex; align-items: center; gap: 7px; font: 500 13.5px/1.3 var(--lrd-body); color: var(--lrd-muted); }
.lrd-cert__trust .lrd-ico { width: 16px; height: 16px; color: var(--lrd-blue); }
.lis-rd .lrd .lrd-cert__note { margin: 16px 0 0; font-size: 14.5px; color: var(--lrd-muted); }

.lrd-cert__overlay { position: fixed; inset: 0; z-index: 100010; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(11, 30, 54, .78); backdrop-filter: blur(4px); }
.lrd-cert__overlay--light { background: rgba(245, 248, 252, .96); }
.lrd-cert__dialog { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 10px; border: 1px solid var(--lrd-line); box-shadow: 0 40px 100px -30px rgba(11, 30, 54, .6); animation: lrdCertIn .25s ease-out; }
@keyframes lrdCertIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.lrd-cert__dialog--login { max-width: 400px; padding: 32px 28px; text-align: center; }
.lis-rd .lrd-cert__logo { height: 56px; width: auto; margin: 0 auto 16px; }
.lis-rd .lrd .lrd-cert__dialog h2 { font-size: 22px; margin: 0 0 4px; }
.lis-rd .lrd .lrd-cert__sub { margin: 0 0 18px; font-size: 13.5px; color: var(--lrd-muted); }
.lis-rd .lrd-cert__input { width: 100%; padding: 14px 16px !important; border: 1.5px solid var(--lrd-line) !important; border-radius: 8px !important; background: var(--lrd-tint) !important; font: 500 16px/1.3 var(--lrd-body) !important; text-align: center; color: var(--lrd-ink); outline: 0; box-shadow: none !important; }
.lis-rd .lrd-cert__input:focus { border-color: var(--lrd-blue) !important; background: #fff !important; }
.lis-rd .lrd .lrd-cert__error { margin: 10px 0 0; color: var(--lrd-red); font: 500 13.5px/1.3 var(--lrd-body); }
.lis-rd .lrd-cert__dialog--login .lrd-btn--block { margin-top: 16px; }
.lis-rd .lrd-cert__textbtn { margin-top: 10px; border: 0; background: none; color: var(--lrd-muted); font: 500 14px/1.3 var(--lrd-body); padding: 8px; }
.lis-rd .lrd-cert__textbtn:hover { color: var(--lrd-blue); }

.lrd-cert__result { max-width: 540px; overflow: hidden; }
.lrd-cert__watermark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; user-select: none; font: 700 clamp(64px, 14vw, 110px)/.9 var(--lrd-head); text-transform: uppercase; text-align: center; color: var(--lrd-blue); opacity: .045; transform: rotate(-28deg); }
.lrd-cert__ok, .lrd-cert__nf { position: relative; z-index: 1; }
.lrd-cert__okbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: var(--lrd-blue); color: #fff; }
.lrd-cert__okbar > span { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1.2 var(--lrd-head); letter-spacing: .14em; text-transform: uppercase; }
.lrd-cert__okbar .lrd-ico { width: 20px; height: 20px; }
.lis-rd .lrd-cert__okbar button, .lis-rd .lrd-cert__x { display: inline-flex; border: 0; background: none; color: inherit; padding: 6px; border-radius: 6px; }
.lis-rd .lrd-cert__okbar button:hover { background: rgba(255,255,255,.18); }
.lrd-cert__okbody { padding: 28px 28px 8px; text-align: center; }
.lrd-cert__name { margin-bottom: 20px; }
.lrd-cert__namelabel { display: block; margin-bottom: 6px; font: 500 13px/1.2 var(--lrd-body); color: var(--lrd-muted); text-transform: uppercase; letter-spacing: .12em; }
.lrd-cert__name strong { display: block; font: 700 clamp(22px, 4vw, 30px)/1.2 var(--lrd-head); color: var(--lrd-ink); }
.lrd-cert__seal { padding: 22px 20px; border-radius: 8px; background: var(--lrd-tint); border: 1px solid var(--lrd-line); border-top: 4px solid var(--lrd-red); }
.lrd-cert__sealimg { position: relative; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: #fff; border: 1px solid var(--lrd-line); box-shadow: 0 8px 20px -10px rgba(11,30,54,.4); }
.lis-rd .lrd-cert__sealimg img { width: 46px; height: 46px; object-fit: contain; }
.lrd-cert__sealimg i { position: absolute; right: -4px; bottom: -4px; display: flex; padding: 4px; border-radius: 50%; background: #16a34a; color: #fff; border: 2px solid #fff; }
.lrd-cert__sealimg i svg { width: 12px; height: 12px; }
.lis-rd .lrd .lrd-cert__seal h3 { font-size: 18px; color: var(--lrd-blue); margin: 0 0 4px; }
.lrd-cert__no { display: block; margin-bottom: 8px; font: 600 12.5px/1.3 var(--lrd-head); letter-spacing: .1em; text-transform: uppercase; color: var(--lrd-muted); }
.lis-rd .lrd .lrd-cert__seal p { margin: 0; font-size: 14px; color: var(--lrd-text); }
.lrd-cert__okfoot { padding: 18px 28px 26px; }
.lis-rd .lrd-cert__okfoot .lrd-btn--block { margin-top: 0; }
.lis-rd .lrd .lrd-cert__okfoot p { margin: 12px 0 0; text-align: center; font: 600 10px/1.2 var(--lrd-head); letter-spacing: .3em; text-transform: uppercase; color: #94a3b8; }
.lrd-cert__nf { padding: 44px 28px 32px; text-align: center; }
.lrd-cert__x { position: absolute; top: 12px; right: 12px; color: var(--lrd-muted) !important; }
.lrd-cert__x .lrd-ico { width: 22px; height: 22px; }
.lrd-cert__nficon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: #fdeced; color: var(--lrd-red); }
.lrd-cert__nficon svg { width: 36px; height: 36px; }
.lis-rd .lrd .lrd-cert__nf h2 { font-size: 26px; margin: 0 0 10px; }
.lis-rd .lrd .lrd-cert__nf p { max-width: 340px; margin: 0 auto 22px; font-size: 15px; }
.lrd-cert__nf strong { color: var(--lrd-red); }

.lrd-cert__dialog--confirm { max-width: 340px; padding: 28px 24px; text-align: center; }
.lis-rd .lrd .lrd-cert__dialog--confirm h3 { font-size: 19px; margin: 0 0 6px; }
.lis-rd .lrd .lrd-cert__dialog--confirm p { margin: 0 0 20px; font-size: 14.5px; }
.lrd-cert__actions { display: flex; gap: 10px; }
.lis-rd .lrd-cert__btn2 { flex: 1; min-height: 44px; border: 0; border-radius: 8px; background: var(--lrd-tint); color: var(--lrd-ink); font: 600 14px/1.2 var(--lrd-head); }
.lis-rd .lrd-cert__btn2.is-danger { background: var(--lrd-red); color: #fff; }

.lrd-cert__admin { padding-top: clamp(32px, 5vw, 64px); }
.lrd-cert__adminhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.lrd-cert__admintitle { display: flex; align-items: center; gap: 14px; }
.lis-rd .lrd .lrd-cert__admintitle h2 { font-size: 24px; margin: 0; }
.lis-rd .lrd .lrd-cert__admintitle p { margin: 0; font-size: 14px; color: var(--lrd-muted); }
.lis-rd .lrd-cert__iconbtn { display: inline-flex; padding: 12px; border: 1px solid var(--lrd-line); border-radius: 8px; background: #fff; color: var(--lrd-muted); }
.lis-rd .lrd-cert__iconbtn:hover { color: var(--lrd-red); border-color: var(--lrd-red); }
.lrd-cert__stat { padding: 12px 20px; border: 1px solid var(--lrd-line); border-radius: 8px; background: #fff; text-align: right; }
.lrd-cert__stat span { display: block; font: 600 11px/1.2 var(--lrd-head); letter-spacing: .14em; text-transform: uppercase; color: var(--lrd-muted); }
.lrd-cert__stat strong { font: 700 24px/1.2 var(--lrd-head); color: var(--lrd-ink); }
.lrd-cert__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.lrd-cert__panel { padding: 24px; border: 1px solid var(--lrd-line); border-radius: 8px; background: #fff; }
.lis-rd .lrd .lrd-cert__panel h3 { font-size: 17px; margin: 0 0 6px; }
.lrd-cert__panel .lrd-cert__sub strong { color: var(--lrd-blue); }
.lrd-cert__drop { display: block; padding: 24px; border: 2px dashed var(--lrd-line); border-radius: 8px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.lrd-cert__drop:hover, .lrd-cert__drop.is-over { border-color: var(--lrd-blue); background: var(--lrd-sky); }
.lrd-cert__dropicon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 auto 8px; border-radius: 50%; background: var(--lrd-sky); color: var(--lrd-blue); font: 600 24px/1 var(--lrd-head); }
.lrd-cert__drop strong { display: block; font: 600 14px/1.3 var(--lrd-head); color: var(--lrd-ink); }
.lrd-cert__drop small { font-size: 12.5px; color: var(--lrd-muted); }
.lrd-cert__uploads { margin-top: 12px; }
.lrd-cert__up { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; margin-bottom: 4px; border-radius: 6px; background: var(--lrd-tint); font-size: 13px; }
.lrd-cert__up > span:first-child { font-weight: 600; color: var(--lrd-ink); }
.lrd-cert .is-busy { color: var(--lrd-blue); font-weight: 600; }
.lrd-cert .is-ok { color: #16a34a; font-weight: 600; }
.lrd-cert .is-err { color: var(--lrd-red) !important; font-weight: 600; }
.lrd-cert__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; margin-top: 12px; border-radius: 8px; background: var(--lrd-tint); }
.lrd-cert__row span { font: 600 12px/1.2 var(--lrd-head); letter-spacing: .12em; text-transform: uppercase; color: var(--lrd-muted); }
.lrd-cert__row strong { font: 700 24px/1 var(--lrd-head); color: var(--lrd-ink); }
.lrd-cert__row em { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--lrd-head); font-style: normal; text-transform: uppercase; color: #15803d; }
.lrd-cert__row em i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: lrdCertPulse 1.6s ease-in-out infinite; }
@keyframes lrdCertPulse { 50% { opacity: .35; } }
.lrd-cert__table { max-height: 420px; overflow: auto; border: 1px solid var(--lrd-line); border-radius: 8px; background: #fff; }
.lrd-cert__table table { width: 100%; min-width: 420px; border-collapse: collapse; margin: 0; }
.lrd-cert__table th { position: sticky; top: 0; padding: 12px 18px; background: var(--lrd-tint); border-bottom: 1px solid var(--lrd-line); text-align: left; font: 600 11px/1.2 var(--lrd-head); letter-spacing: .12em; text-transform: uppercase; color: var(--lrd-muted); }
.lrd-cert__table td { padding: 12px 18px; border-bottom: 1px solid var(--lrd-line); font-size: 14px; color: var(--lrd-text); }
.lrd-cert__table .is-id { font-weight: 600; color: var(--lrd-blue); white-space: nowrap; }
.lrd-cert__table .is-dim { color: var(--lrd-muted); }
.lrd-cert__table .is-right { text-align: right; }
.lrd-cert__table .is-empty { padding: 32px 18px; text-align: center; color: var(--lrd-muted); font-weight: 500; }
.lis-rd .lrd-cert__del { border: 0; background: none; padding: 4px 8px; color: var(--lrd-red); font: 600 12px/1.2 var(--lrd-head); letter-spacing: .1em; text-transform: uppercase; }
.lrd-cert__door { display: flex; justify-content: center; padding: 0 0 24px; }
.lis-rd .lrd-cert__door button { display: inline-flex; padding: 8px; border: 1px solid var(--lrd-line); border-radius: 50%; background: var(--lrd-tint); color: var(--lrd-muted); opacity: 0; transition: opacity .3s; }
.lis-rd .lrd-cert__door button:hover, .lis-rd .lrd-cert__door button:focus-visible { opacity: 1; color: var(--lrd-blue); }
.lrd-cert__door .lrd-ico { width: 14px; height: 14px; }
@media (max-width: 760px) { .lrd-cert__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
    .lrd-cert__card { padding: 18px; }
    .lrd-search.lrd-cert__search { flex-wrap: wrap; }
    .lis-rd .lrd-cert__search button { flex: 1 0 100%; margin: 6px 0 0 -41px; width: calc(100% + 41px); }
    .lrd-cert__okbody, .lrd-cert__okfoot { padding-left: 20px; padding-right: 20px; }
}
@media print { .lrd-cert__okfoot .lrd-btn, .lrd-header, .lrd-footer { display: none !important; } }

/* Achievements: results by qualification (grade bands, no student names) */
.lrd-ach__results { margin: 0 0 64px; }
.lis-rd .lrd .lrd-ach__resultstitle { font-size: clamp(22px, 2vw, 28px); margin: 0 0 20px; }
.lrd-ach__qual { padding: 28px 0 24px; border-top: 1px solid var(--lrd-line); }
.lrd-ach__qual:first-of-type { border-top: 2px solid var(--lrd-ink); }
.lrd-ach__qhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 22px; }
.lis-rd .lrd .lrd-ach__qhead h4 { margin: 0; font: 600 clamp(19px, 1.6vw, 22px)/1.25 var(--lrd-head); color: var(--lrd-red); }
.lrd-ach__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lrd-ach__chips li { padding: 7px 14px; border-radius: 999px; background: var(--lrd-tint); border: 1px solid var(--lrd-line); font: 500 14px/1.2 var(--lrd-body); color: var(--lrd-text); }
.lrd-ach__chips strong { font-weight: 600; color: var(--lrd-blue); }
.lrd-ach__bands { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 40px; }
.lrd-ach__bands li { display: flex; flex-direction: column; }
.lrd-ach__pc { font: 700 clamp(40px, 4.4vw, 56px)/1 var(--lrd-head); color: var(--lrd-blue); letter-spacing: -0.02em; }
.lrd-ach__bands li:nth-child(2) .lrd-ach__pc { color: var(--lrd-ink); }
.lrd-ach__bar { display: block; height: 6px; margin: 14px 0 12px; border-radius: 6px; background: var(--lrd-sky); overflow: hidden; }
.lrd-ach__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--lrd-blue), var(--lrd-red)); }
.lrd-ach__band { font: 500 17px/1.3 var(--lrd-head); color: var(--lrd-ink); }
.lrd-ach__bands small { margin-top: 3px; font-size: 14px; color: var(--lrd-muted); }
.lis-rd .lrd .lrd-ach__qnote { margin: 18px 0 0; font-size: 15px; color: var(--lrd-text); }
.lis-rd .lrd .lrd-ach__fine { margin: 6px 0 0; padding-top: 16px; border-top: 1px solid var(--lrd-line); font-size: 13.5px; color: var(--lrd-muted); }
@media (max-width: 520px) { .lrd-ach__bands { grid-template-columns: 1fr 1fr; gap: 18px 20px; } .lrd-ach__band { font-size: 15px; } }

/* ---------- Full-width arrangement of the old page content (2026-10-17) ---------- */
/* One calm background instead of alternating bands (bands left lone headings stranded); thin rules between blocks */
.lrd-content--builder .elementor-top-section:nth-child(even),
.lrd-content--builder .e-con.e-parent:nth-child(even) { background-color: transparent !important; }
.lrd-content--builder .elementor-top-section + .elementor-top-section,
.lrd-content--builder .e-con.e-parent + .e-con.e-parent { border-top: 1px solid var(--lrd-line) !important; }
.lrd-content--builder .elementor-top-section + .elementor-top-section > .elementor-container,
.lrd-content--builder .e-con.e-parent + .e-con.e-parent > .e-con-inner { position: relative; }
/* A block holding only a heading belongs to the block below it */
.lrd-content--builder .elementor-top-section:has(> .elementor-container > .elementor-column:only-child > .elementor-widget-wrap > .elementor-widget-heading:only-child),
.lrd-content--builder .e-con.e-parent:has(> .e-con-inner > .elementor-widget-heading:only-child),
.lrd-content--builder .e-con.e-parent:has(> .elementor-widget-heading:only-child) { padding-bottom: 0 !important; }
.lrd-content--builder .elementor-top-section:has(> .elementor-container > .elementor-column:only-child > .elementor-widget-wrap > .elementor-widget-heading:only-child) + .elementor-top-section,
.lrd-content--builder .e-con.e-parent:has(> .e-con-inner > .elementor-widget-heading:only-child) + .e-con.e-parent,
.lrd-content--builder .e-con.e-parent:has(> .elementor-widget-heading:only-child) + .e-con.e-parent { border-top: 0 !important; padding-top: 8px !important; }
/* Side-by-side columns line up at the top */
.lrd-content--builder .elementor-top-section > .elementor-container { align-items: flex-start; }
.lrd-content--builder .elementor-top-section > .elementor-container > .elementor-column > .elementor-widget-wrap { align-content: flex-start !important; }
/* Long single-column text keeps a readable line length; headings, images and grids use the full width */
.lrd-content--builder .elementor-col-100 > .elementor-widget-wrap > .elementor-widget-text-editor,
.lrd-content--builder .e-con.e-parent > .e-con-inner > .elementor-widget-text-editor,
.lrd-content--builder .e-con.e-parent.e-con-full > .elementor-widget-text-editor { max-width: 980px; }
@media (min-width: 1500px) {
    .lrd-content--builder .elementor-col-100 > .elementor-widget-wrap > .elementor-widget-text-editor,
    .lrd-content--builder .e-con.e-parent > .e-con-inner > .elementor-widget-text-editor { max-width: 1080px; }
}
/* Achievements intro uses the full width: heading left, text right */
.lrd-ach__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 72px; align-items: end; max-width: none; }
.lrd-ach__intro > .lrd-eyebrow { grid-column: 1; grid-row: 1; }
.lis-rd .lrd .lrd-ach__intro h2 { grid-column: 1; grid-row: 2; margin: 0; }
.lis-rd .lrd .lrd-ach__intro .lrd-lead { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
@media (max-width: 860px) { .lrd-ach__intro { grid-template-columns: 1fr; } .lrd-ach__intro > *, .lis-rd .lrd .lrd-ach__intro .lrd-lead, .lis-rd .lrd .lrd-ach__intro h2 { grid-column: 1; grid-row: auto; } .lis-rd .lrd .lrd-ach__intro h2 { margin: 0 0 16px; } }

/* Achievements intro, calmer (2026-10-17): one heading, one short line, a single strip of figures */
.lrd-section.lrd-ach { padding-top: clamp(44px, 5vw, 72px); }
.lrd-ach__intro { display: block; max-width: none; margin: 0 0 32px; }
.lis-rd .lrd .lrd-ach__intro h2 { margin: 0 0 10px; font-size: clamp(26px, 2.4vw, 34px); }
.lis-rd .lrd .lrd-ach__sub { margin: 0; font: 500 16px/1.4 var(--lrd-body); color: var(--lrd-muted); }
.lrd-ach__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 64px !important; border-top: 1px solid var(--lrd-line); border-bottom: 1px solid var(--lrd-line); }
.lrd-ach__stats li { display: flex; flex-direction: column; gap: 8px; padding: 26px 28px; background: none; border: 0; border-radius: 0; }
.lrd-ach__stats li:first-child { padding-left: 0; }
.lrd-ach__stats li + li { border-left: 1px solid var(--lrd-line); }
.lrd-ach__stats strong { margin: 0; font: 700 clamp(30px, 3vw, 42px)/1 var(--lrd-head); color: var(--lrd-blue); letter-spacing: -0.02em; }
.lrd-ach__stats li:nth-child(even) strong { color: var(--lrd-red); }
.lrd-ach__stats span { font: 500 15px/1.3 var(--lrd-body); color: var(--lrd-text); }
@media (max-width: 860px) {
    .lrd-ach__stats { grid-template-columns: 1fr 1fr; }
    .lrd-ach__stats li { padding: 20px 18px; }
    .lrd-ach__stats li:nth-child(odd) { padding-left: 0; border-left: 0; }
    .lrd-ach__stats li:nth-child(n+3) { border-top: 1px solid var(--lrd-line); }
}
