/* =====================================================================
 * Pages converted from Elementor (template-lr-full.php, .lr-pages)
 *
 * The converter carries layout as block attributes (columns, widths,
 * padding, backgrounds). This sheet supplies the look production got
 * from the Elementor kit, measured on link-resources.com.au 02/09/2026:
 * DM Sans 16/24, h2 38.4/700, h3 22.4/700 red, buttons 17.6/500 pill,
 * icon boxes on #F7F7F7 panels, counters 60.8/700 red, blockquotes with
 * a 7px red rule. Section padding comes inline from the page itself.
 * =================================================================== */

.lr-main--full { display: block; margin: 0; padding: 0; width: 100%; }
/* Production serves DM Sans through Elementor's font cache with the optical
   size pinned at 14; the theme loads the variable font with auto opsz, which
   draws large headings tighter and wraps them differently. Pin it. */
.lr-pages { color: var(--lr-ink); font-size: 16px; line-height: 24px; overflow-x: hidden; font-variation-settings: "opsz" 14; }

/* Sections, boxes, columns: flex stacks with Elementor's container gap
   (--lr-gap, set inline by the converter, 20px when the page left the
   default). A flex gap is read on the container, so a child carrying its
   own --lr-gap for its children never changes the spacing around it. */
.lr-pages { --lr-gap: 20px; }
.lr-pages .lr-el-section { margin: 0; }
.lr-pages .lr-el-section > .wp-block-group__inner-container,
.lr-pages .lr-el-box > .wp-block-group__inner-container,
.lr-pages .lr-el-lane > .wp-block-group__inner-container,
.lr-pages .lr-el-cover > .wp-block-cover__inner-container,
.lr-pages .wp-block-column.lr-el-col { display: flex; flex-direction: column; gap: var(--lr-gap, 20px); width: 100%; }
.lr-pages .lr-el-cover > .wp-block-cover__inner-container { width: 100%; }
.lr-pages .lr-el-cover > .wp-block-cover__inner-container > * { max-width: var(--lr-boxed, none) !important; margin-left: auto; margin-right: auto; }
/* Flex items with auto side margins shrink to fit; stretch them like block flow did. */
.lr-pages .lr-el-section > .wp-block-group__inner-container > :not(figure),
.lr-pages .lr-el-box > .wp-block-group__inner-container > :not(figure),
.lr-pages .lr-el-lane > .wp-block-group__inner-container > :not(figure),
.lr-pages .lr-el-cover > .wp-block-cover__inner-container > :not(figure),
.lr-pages .wp-block-column.lr-el-col > :not(figure) { width: 100%; }
.lr-pages .is-layout-constrained > * + *,
.lr-pages .is-layout-flow > * + *,
.lr-pages .wp-block-column > * + * { margin-block-start: 0; }
.lr-pages .lr-el-row { gap: 20px; }
/* A block Elementor gave its own width, placed by the parent's alignment. */
.lr-pages .is-layout-constrained > .lr-el-place--start, .lr-pages .lr-el-col > .lr-el-place--start { margin-left: 0 !important; margin-right: auto !important; }
.lr-pages .is-layout-constrained > .lr-el-place--end, .lr-pages .lr-el-col > .lr-el-place--end { margin-left: auto !important; margin-right: 0 !important; }
.lr-pages .lr-el-place--center { margin-left: auto !important; margin-right: auto !important; }

/* Columns: Elementor's 20px gutter, equal widths unless the page set one. */
.lr-pages .lr-el-columns { gap: 20px; margin: 0; }
.lr-pages .lr-el-columns > .wp-block-column { min-width: 0; }
#lr-main.lr-pages .lr-el-columns--wrap { flex-wrap: wrap !important; }
#lr-main.lr-pages .lr-el-columns--wrap > .wp-block-column { flex-grow: 0; }
.lr-pages .lr-el-columns--center { justify-content: center; }
.lr-pages .lr-el-columns--right { justify-content: flex-end; }
.lr-pages .lr-el-columns--space-between { justify-content: space-between; }
.lr-pages .lr-el-section, .lr-pages .lr-el-box, .lr-pages .lr-el-col, .lr-pages .lr-el-cover { position: relative; }
.lr-pages .lr-el-wrap.lr-el-abs { z-index: 1; }
.lr-pages .wp-block-column.is-vertically-aligned-center { align-self: center; }
.lr-pages .wp-block-column.lr-el-col--middle, .lr-pages .wp-block-column.lr-el-col--bottom { display: flex; flex-direction: column; justify-content: center; }
.lr-pages .wp-block-column.lr-el-col--bottom { justify-content: flex-end; }

/* Image panels: a cover that fills its column. */
.lr-pages .lr-el-cover { margin: 0; background-size: cover; background-repeat: no-repeat; }
.lr-pages .wp-block-column > .lr-el-fill { flex: 1 1 auto; min-height: 320px; }

/* A photo column beside copy (Elementor's full-bleed image panel, on the
   service, funded-courses and on-site pages): drawn the way the course pages
   draw their split sections instead. The pair sits in the 1140px box, the
   photo is a contained, rounded 4:3 panel, and both halves centre on each
   other. Padding the old layout put on the copy column (it was pushing the
   text in from a photo that ran to the viewport edge) goes; the copy's own
   boxes keep theirs. :has() so the editor canvas, whose columns sit inside
   inner-block wrappers, matches the same way; the id outweighs the page's
   own measurement classes (#lr-main .x.x.x). Only the sized photo column
   (Elementor gave it a width) is redrawn; the half-and-half panels on the
   on-site state pages, where a photo fills one side and a dark or grey
   card the other, keep their split. */
#lr-main.lr-pages .wp-block-columns.wp-block-columns:has(.wp-block-column[style*="flex-basis"] .lr-el-fill) {
    align-items: center;
    gap: 50px;
    margin-inline: auto;
    max-width: 1140px;
    width: 100%;
}

#lr-main.lr-pages .wp-block-columns.wp-block-columns:has(.wp-block-column[style*="flex-basis"] .lr-el-fill) .wp-block-column {
    flex-basis: 0 !important;
    flex-grow: 1;
    padding: 0 !important;
}

#lr-main.lr-pages .wp-block-columns.wp-block-columns:has(.wp-block-column[style*="flex-basis"] .lr-el-fill) .lr-el-fill {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    flex: 0 0 auto;
    min-height: 0;
    overflow: hidden;
    width: 100%;
}

/* The old layout padded one side of the section (typically 120px on the
   right, 0 on the left) to shove the copy away from the edge-to-edge photo.
   With the pair boxed and centred that padding only pushes the box off the
   page's centre line, so the sides go; the top and bottom stay. */
#lr-main.lr-pages .lr-el-section.lr-el-section:has(> .wp-block-group__inner-container > .wp-block-columns .wp-block-column[style*="flex-basis"] > .lr-el-fill) {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 1240px) {
    #lr-main.lr-pages .wp-block-columns.wp-block-columns:has(.wp-block-column[style*="flex-basis"] .lr-el-fill) { padding-inline: 20px; }
}

@media (max-width: 781px) {
    #lr-main.lr-pages .wp-block-columns.wp-block-columns:has(.wp-block-column[style*="flex-basis"] .lr-el-fill) { gap: 28px; }
}

/* Kit custom classes used inside headings and text */
.lr-pages .highlight { color: var(--lr-red); }
.lr-pages .colour-text { color: var(--lr-ink-deep); }

/* Type */
#lr-main.lr-pages h1, #lr-main.lr-pages h2, #lr-main.lr-pages h3, #lr-main.lr-pages h4 { margin: 0; letter-spacing: 0; }
#lr-main.lr-pages h1 { font-size: 51.2px; font-weight: 800; line-height: 1.1; color: var(--lr-ink); }
#lr-main.lr-pages h2 { font-size: 38.4px; font-weight: 700; line-height: 1.1; color: var(--lr-ink); }
/* The kit's heading scale: h3 1.9em/600, h4 1.5em/600, h5 1.25em/500, h6 1em/600, all 1.1 line-height. */
#lr-main.lr-pages h3 { font-size: 30.4px; font-weight: 600; line-height: 1.1; color: var(--lr-ink); }
#lr-main.lr-pages h4 { font-size: 24px; font-weight: 600; line-height: 1.1; color: var(--lr-ink); }
#lr-main.lr-pages h5 { font-size: 20px; font-weight: 500; line-height: 1.1; color: var(--lr-ink); }
#lr-main.lr-pages h6 { font-size: 16px; font-weight: 600; line-height: 1.1; color: var(--lr-ink); }
#lr-main.lr-pages p { font-size: 16px; line-height: 24px; margin: 0 0 0.8em; color: var(--lr-ink-deep); }
/* A text widget with its own font size hands it to its paragraphs and lists, as Elementor did (line-height 1.5em, paragraph gap 0.8em). */
#lr-main.lr-pages .lr-el-text--sized :is(p, ul, ol, li) { font-size: inherit; line-height: 1.5; }
#lr-main.lr-pages p:last-child { margin-bottom: 0; }
#lr-main.lr-pages .wp-block-image, #lr-main.lr-pages figure { margin-bottom: 0; }
#lr-main.lr-pages .lr-el-text--colour p, #lr-main.lr-pages .lr-el-text--colour li { color: inherit; }
/* Text editor widgets: their own paragraph/list rhythm, never the container gap. */
.lr-pages .lr-el-text > .wp-block-group__inner-container > * + *, .lr-pages .lr-el-text > * + * { margin-block-start: 0; }
#lr-main.lr-pages .lr-el-text ul, #lr-main.lr-pages .lr-el-text ol { font-size: 16px; line-height: 24px; letter-spacing: 0; margin: 0 0 0.8em; padding: 0 0 0 40px; }
#lr-main.lr-pages .lr-el-text ul:last-child, #lr-main.lr-pages .lr-el-text ol:last-child { margin-bottom: 0; }
#lr-main.lr-pages .lr-el-text li { margin: 0; padding: 0; font-size: 16px; line-height: 24px; }
.lr-pages a { color: var(--lr-red); }
.lr-pages .has-text-align-center { text-align: center; }
.lr-pages .has-text-align-right { text-align: right; }
.lr-pages .has-text-align-center .wp-block-image, .lr-pages .has-text-align-center .lr-el-buttons { justify-content: center; }
.lr-pages .lr-el-heading { font-weight: 700; }

/* Buttons: the kit's pill */
.lr-pages .lr-el-buttons { margin: 0; }
.lr-pages .lr-el-btn { font-size: 17.6px; }
.lr-pages .lr-el-btn .wp-block-button__link {
    background: var(--lr-btn-background, var(--lr-red));
    border-color: var(--lr-btn-border-color, var(--lr-red));
    border-style: solid;
    border-width: var(--lr-btn-border-width, 2px);
    border-radius: var(--lr-btn-radius, 40px);
    color: var(--lr-btn-color, #fff);
    display: inline-flex;
    align-items: center;
    gap: var(--lr-btn-gap, 5px);
    font-size: inherit;
    font-weight: 500;
    line-height: 1;
    padding: var(--lr-btn-padding, 18px 28px);
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s;
}
.lr-pages .lr-el-btn .wp-block-button__link:hover { background: var(--lr-btn-hover-background, var(--lr-red-dark)); border-color: var(--lr-btn-hover-border-color, var(--lr-red-dark)); color: var(--lr-btn-hover-color, #fff); }
.lr-pages .lr-el-btn__icon { display: inline-flex; align-items: center; }
.lr-pages .lr-el-btn__icon svg { width: 1em; height: auto; fill: currentColor; }
.lr-pages .lr-el-btn__icon svg *:not([fill="none"]) { fill: currentColor; }
.lr-pages .lr-el-btn.wp-block-button__width-100 { width: 100%; }
.lr-pages .lr-el-btn.wp-block-button__width-100 .wp-block-button__link { width: 100%; text-align: center; }
.lr-pages .lr-el-btn--ghost .wp-block-button__link,
.lr-pages .lr-el-btn--outline .wp-block-button__link { background: transparent; border-color: var(--lr-red); color: var(--lr-ink-deep, #0c0b0b); }
.lr-pages .lr-el-btn--ghost .wp-block-button__link:hover,
.lr-pages .lr-el-btn--outline .wp-block-button__link:hover { background: var(--lr-red); border-color: var(--lr-red); color: #fff; }

/* Icon box: production's panel card. Elementor stacks icon, title and
   text in a flex column: icon + icon_space, title with 8px/16px margins. */
#lr-main .lr-icon-box { --lr-gap: 0px; }
#lr-main .lr-icon-box > .wp-block-group__inner-container, #lr-main .lr-icon-box:not(:has(> .wp-block-group__inner-container)) { display: flex; flex-direction: column; gap: 0; }
#lr-main .lr-icon-box .lr-icon-box__icon { line-height: 1; height: var(--lr-icon-size, 50px); margin: 0 0 var(--lr-icon-space, 15px); }
#lr-main .lr-icon-box__icon i { color: #69727d; font-size: var(--lr-icon-size, 50px); }
#lr-main .lr-icon-box__icon img, #lr-main .lr-icon-box__icon svg { display: inline-block; height: var(--lr-icon-size, 50px); width: var(--lr-icon-size, 50px); }
#lr-main:is(.lr-main, .lr-pages) .lr-icon-box__title { font-size: 22.4px; font-weight: 700; line-height: 1.1; color: var(--lr-red); margin: 8px 0 16px; }
#lr-main:is(.lr-main, .lr-pages) .lr-icon-box__title a { color: inherit; text-decoration: none; }
#lr-main .lr-icon-box p { color: var(--lr-ink); margin: 0; }
#lr-main .lr-icon-box p + p { margin-top: 12.8px; }
/* Icon on the left: the icon in its own column, title and text beside it. */
#lr-main .lr-icon-box--left > .wp-block-group__inner-container, #lr-main .lr-icon-box--left:not(:has(> .wp-block-group__inner-container)) { display: grid; grid-template-columns: var(--lr-icon-size, 50px) minmax(0, 1fr); column-gap: var(--lr-icon-space, 15px); align-items: start; }
#lr-main .lr-icon-box--left .lr-icon-box__icon { grid-column: 1; margin: 0; }
#lr-main .lr-icon-box--left .lr-icon-box__title, #lr-main .lr-icon-box--left p { grid-column: 2; }
#lr-main .lr-icon-box--left .lr-icon-box__title:last-child { margin-bottom: 0; }

/* Counter */
#lr-main .lr-counter { text-align: center; }
#lr-main .lr-counter__num { color: var(--lr-counter-color, var(--lr-red)); display: block; font-size: 60.8px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
#lr-main .lr-counter__label { color: var(--lr-counter-label-color, var(--lr-ink)); display: block; font-size: 17.6px; line-height: 1.3; }

/* Testimonial carousel: Elementor's swiper at rest. Two slides in view,
   10px apart, 20px padding, 23px arrows just inside the container edges. */
#lr-main .lr-testimonials { position: relative; padding: 0 30px; }
#lr-main .lr-testimonials__track { display: flex; gap: var(--lr-tc-gap, 10px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
#lr-main .lr-testimonials__track::-webkit-scrollbar { display: none; }
#lr-main .lr-testimonial { flex: 0 0 calc((100% - var(--lr-tc-gap, 10px) * (var(--lr-tc-per, 1) - 1)) / var(--lr-tc-per, 1)); scroll-snap-align: start; padding: 20px; color: #333; font-size: 16px; line-height: 24px; }
#lr-main .lr-testimonial__text img { display: inline-block; width: 20px; height: 20px; vertical-align: text-bottom; margin-right: 5px; }
#lr-main .lr-testimonial__footer { margin-top: 25px; }
#lr-main .lr-testimonial__cite { display: block; font-size: 14px; font-style: normal; line-height: 1.5; }
#lr-main .lr-testimonial__name { font-weight: 700; }
#lr-main .lr-testimonial__title { display: block; }
#lr-main .lr-testimonials__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 23px; height: 23px; padding: 0; border: 0; background: none; color: #333; cursor: pointer; font-size: 23px; line-height: 1; display: flex; align-items: center; justify-content: center; }
#lr-main .lr-testimonials__nav--prev { left: 10px; }
#lr-main .lr-testimonials__nav--next { right: 10px; }
#lr-main .lr-testimonials--no-arrows { padding: 0; }
#lr-main .lr-testimonials--no-arrows .lr-testimonials__nav { display: none; }

/* Blockquote */
.lr-pages .lr-el-quote {
    border-left: 7px solid var(--lr-red);
    color: #3f444b;
    font-size: 16px;
    font-style: normal;
    line-height: 24px;
    margin: 0 0 12.8px; /* the quote's paragraph margin escapes the widget on production */
    padding: 0 0 0 20px;
}
.lr-pages .lr-el-quote p { color: #3f444b; font-weight: 500; }
.lr-pages .lr-el-quote cite { display: block; font-style: normal; font-weight: 700; margin-top: 12px; }

/* Icon list */
.lr-pages .lr-icon-list { list-style: none; margin: 0; padding: 0; }
.lr-pages .lr-icon-list li { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; font-size: 16px; line-height: 24px; }
.lr-pages .lr-icon-list li:last-child { margin-bottom: 0; }
.lr-pages .lr-icon-list__icon { color: var(--lr-red); flex: 0 0 auto; line-height: 24px; }
.lr-pages .lr-el-icon i { color: var(--lr-red); font-size: 40px; }

/* Gallery: Elementor's fixed-ratio grid, thumbnails painted as cover. */
.lr-pages .lr-el-gallery { gap: 10px; margin: 0; }
.lr-pages .lr-el-gallery .wp-block-image { aspect-ratio: var(--lr-gallery-ratio, 3 / 2); margin: 0; }
#lr-main.lr-pages .lr-el-gallery figure.wp-block-image:not(#individual-image) { flex-grow: 0; width: calc((100% - var(--lr-gallery-gap, 10px) * (var(--lr-gallery-cols, 4) - 1)) / var(--lr-gallery-cols, 4)); } /* Elementor keeps the last row's cells the same size; core only knows up to 8 columns */
.lr-pages .lr-el-gallery .wp-block-image img { height: 100%; width: 100%; object-fit: cover; }

/* Divider, spacer, map */
.lr-pages .lr-el-divider { border: 0; border-top: 1px solid var(--lr-border); margin: 0; width: 100%; height: 0; background: none; opacity: 1; }
.lr-pages .lr-el-map iframe { border: 0; display: block; width: 100%; }

/* Page banner: production's inner banner */
/* Elementor template 835: a row pulled 200px up under the header, 13%/3%
   vertical and 9% left padding, two 50% columns 120px apart, the image
   column hanging 44px past the right edge with its picture right-aligned. */
/* Page hero: the course hero's composition (.lr-hero/.rd-hero in site.css
   and redesign.css) with a breadcrumb where the course has its RTO line,
   and the contact call to action under the lede. The id-level type rules
   above would otherwise resize its heading and lede. */
#lr-main.lr-pages .lr-page-hero h1 { font-size: clamp(34px, 3.6vw, 44px); line-height: 1.08; letter-spacing: 0; margin: 0; text-wrap: balance; }
#lr-main.lr-pages .lr-page-hero .rd-hero-promise { color: #3a3a3a; font-size: 19px; line-height: 1.5; margin: 18px 0 0; max-width: 54ch; }
.lr-page-hero__crumb ol { color: var(--lr-ink-muted); display: flex; flex-wrap: wrap; font-size: 13px; font-weight: 700; gap: 4px 12px; letter-spacing: 1.6px; list-style: none; margin: 0 0 14px; padding: 0; text-transform: uppercase; }
.lr-page-hero__crumb li { display: inline-flex; align-items: center; gap: 12px; margin: 0; }
.lr-page-hero__crumb li + li::before { color: var(--lr-border-strong); content: "\203A"; font-size: 15px; line-height: 1; }
.lr-page-hero__crumb a { color: var(--lr-red); text-decoration: none; }
.lr-page-hero__crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lr-page-hero__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; }
/* The phone is an outline pill beside the red button (rd-btn--outline), red icon. */
.lr-pages .lr-page-hero__phone { font-weight: 700; gap: 9px; }
.lr-pages .lr-page-hero__phone svg { color: var(--lr-red); flex: none; }
.lr-pages a.lr-page-hero__phone:hover svg { color: #fff; }
.lr-page-hero .lr-hero__media img { height: 100%; }
/* Weighted past the editor's prefixed copy of redesign's .rd-hero .lr-hero__inner. */
.lr-hero.rd-hero.lr-page-hero--text .lr-hero__inner { grid-template-columns: minmax(0, 1fr); }
#lr-main.lr-pages .lr-page-hero--text .rd-hero-promise { max-width: 64ch; }
.lr-page-hero--text .lr-hero__text { max-width: 860px; }

/* Course grid (category landing pages): Elementor loop template 200510,
   three across with 50px gutters, a 257px photo with 15px corners, a red
   arrow badge on its corner, the title at 24/500. Post grid: the blog loop. */
#lr-main .lr-course-grid, #lr-main .lr-post-grid { display: grid; gap: 30px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
#lr-main .lr-course-grid { gap: 50px; }
#lr-main .lr-post-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#lr-main .lr-course-grid__card a, #lr-main .lr-post-grid__link { color: inherit; display: block; text-decoration: none; }
#lr-main .lr-course-grid__media { position: relative; }
#lr-main .lr-course-grid__media img { border-radius: 15px; display: block; height: 257px; object-fit: cover; width: 100%; }
#lr-main .lr-course-grid__badge { position: absolute; right: 0; bottom: 0; width: 54px; height: 54px; background: var(--lr-red); border-radius: 15px 0; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1; }
#lr-main:is(.lr-main, .lr-pages) .lr-course-grid__title { color: var(--lr-ink-deep); font-size: 24px; font-weight: 500; letter-spacing: 0; line-height: 1.1; margin: 20px 0 0; }
#lr-main .lr-course-grid__card a:hover .lr-course-grid__title { color: var(--lr-red); }
#lr-main .lr-post-grid__media img { aspect-ratio: 3 / 2; border-radius: 10px; display: block; object-fit: cover; width: 100%; }
#lr-main .lr-post-grid__date { color: var(--lr-ink-muted); font-size: 14px; margin: 14px 0 6px; }
#lr-main .lr-post-grid__title { color: var(--lr-ink); font-size: 25.6px; font-weight: 700; line-height: 1.2; margin: 0 0 10px; }
#lr-main .lr-post-grid__excerpt { margin: 0 0 12px; }
#lr-main .lr-post-grid__more { color: var(--lr-red); font-weight: 500; }

/* Training centres (contact page): loop template 203487 */
#lr-main .lr-location-grid { display: grid; gap: 30px; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
#lr-main .lr-location-grid__link { color: inherit; display: block; text-decoration: none; }
#lr-main .lr-location-grid__media img { border-radius: 15px; display: block; height: 165px; object-fit: cover; width: 100%; }
#lr-main .lr-location-grid__body { display: flex; gap: 16px; align-items: flex-start; margin-top: 20px; }
#lr-main .lr-location-grid__pin { color: var(--lr-ink-deep); font-size: 18px; line-height: 1; margin-top: 3px; }
#lr-main:is(.lr-main, .lr-pages) .lr-location-grid__title { color: var(--lr-red); font-size: 22.4px; font-weight: 700; line-height: 1.1; margin: 0 0 8px; }
#lr-main:is(.lr-main, .lr-pages) .lr-location-grid__address { color: #000; font-size: 14.4px; font-weight: 500; line-height: 1.5; margin: 0; }
/* The compact list: pin, name with an arrow, address; two columns. */
#lr-main:is(.lr-main, .lr-pages) ul.lr-location-list.lr-location-list { display: grid; gap: 22px 30px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 8px 0 0; padding: 0; }
#lr-main .lr-location-list__item { align-items: flex-start; display: flex; gap: 12px; }
#lr-main .lr-location-list__pin { color: var(--lr-red); font-size: 18px; line-height: 1; margin-top: 4px; }
#lr-main .lr-location-list__link { color: var(--lr-ink-deep, #0c0b0b); display: inline-flex; align-items: baseline; gap: 6px; font-size: 18px; font-weight: 600; line-height: 1.3; text-decoration: none; }
#lr-main .lr-location-list__link:hover { color: var(--lr-red); }
#lr-main .lr-location-list__arrow { color: var(--lr-red); font-size: 16px; transition: transform .15s; }
#lr-main .lr-location-list__link:hover .lr-location-list__arrow { transform: translateX(3px); }
#lr-main:is(.lr-main, .lr-pages) .lr-location-list__address { color: var(--lr-ink-muted, #5a5858); font-size: 14.4px; line-height: 1.45; margin: 3px 0 0; }
@media (max-width: 600px) { #lr-main .lr-location-list { grid-template-columns: 1fr; } }

@media (max-width: 1024px) { #lr-main .lr-location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { #lr-main .lr-location-grid { grid-template-columns: 1fr; } }

/* Elementor's responsive visibility switches */
@media (min-width: 1025px) { .lr-pages .lr-hide-desktop { display: none !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .lr-pages .lr-hide-tablet { display: none !important; } }
@media (max-width: 767px) { .lr-pages .lr-hide-mobile { display: none !important; } }

/* =====================================================================
 * The block editor.
 *
 * editor-canvas.js gives the canvas root the front end's id and class
 * (#lr-main.lr-pages, plus .lr-editor-canvas), so every rule above applies
 * there too. What differs is the DOM: the editor draws a group block
 * without the .wp-block-group__inner-container the front end wraps its
 * children in, so the stack rules keyed on that wrapper are repeated here
 * for a group that has none. Covers keep their inner container in both.
 * =================================================================== */
.lr-pages .lr-el-section:not(.wp-block-cover):not(:has(> .wp-block-group__inner-container)),
.lr-pages .lr-el-box:not(.wp-block-cover):not(:has(> .wp-block-group__inner-container)),
.lr-pages .lr-el-lane:not(.wp-block-cover):not(:has(> .wp-block-group__inner-container)) { display: flex; flex-direction: column; gap: var(--lr-gap, 20px); }
.lr-pages .lr-el-section:not(.wp-block-cover):not(:has(> .wp-block-group__inner-container)) > :not(figure),
.lr-pages .lr-el-box:not(.wp-block-cover):not(:has(> .wp-block-group__inner-container)) > :not(figure),
.lr-pages .lr-el-lane:not(.wp-block-cover):not(:has(> .wp-block-group__inner-container)) > :not(figure) { width: 100%; }

/* Editor-only: no header to tuck the banner under, no 1024px cap on
   blocks (the sections size themselves), sections flush like the page. */
.lr-editor-canvas .lr-hero { margin-top: 0; }
.lr-editor-canvas .rd-hero .lr-hero__inner { padding-top: 24px; }
/* The classic canvas's 28px block margins are cancelled in editor-reset.css
   (loaded before base.css, so element rules still win on courses/posts).
   Converted pages carry every margin in their own classes, so here the
   zeroing outweighs element rules. */
html body :where(.lr-editor-canvas.lr-pages .wp-block) { margin-top: 0; margin-bottom: 0; }
.lr-editor-canvas .block-list-appender { width: auto; }
/* Clean-template pages and posts sit in the 1140px rail on a grey ground
   (.lr-main--clean > .lr-container); the canvas gets the same box. */
.post-type-page .lr-editor-canvas.lr-main:not(.lr-pages):not(.lr-main--home),
.post-type-post .lr-editor-canvas.lr-main:not(.lr-pages) { margin: 0 auto; max-width: var(--rd-rail, 1140px); padding: 44px 0 20px; }
/* Posts: the 760px measure and 18px/1.65 copy of .lr-post__body (redesign.css). */
.post-type-post .lr-editor-canvas.lr-main:not(.lr-pages) { max-width: 760px; }
.post-type-post .lr-editor-canvas.lr-main :where(p, li) { font-size: 18px; line-height: 1.65; }
.post-type-post .lr-editor-canvas.lr-main img { border-radius: 12px; height: auto; max-width: 100%; }
.editor-styles-wrapper.post-type-page:has(.lr-editor-canvas.lr-main:not(.lr-pages):not(.lr-main--home)),
.editor-styles-wrapper.post-type-post:has(.lr-editor-canvas.lr-main:not(.lr-pages)) { background: #f7f7f7; }

/* Phones: Elementor's containers stacked and halved their padding. */
@media (max-width: 767px) {
    .lr-pages .lr-el-section { padding-left: 20px !important; padding-right: 20px !important; }
    .lr-pages .lr-el-columns { flex-wrap: wrap !important; }
    .lr-pages .lr-el-columns > .wp-block-column { flex-basis: 100% !important; }
    #lr-main.lr-pages h2 { font-size: 30px; }
    #lr-main .lr-counter__num { font-size: 44px; }
    .lr-page-hero__actions .rd-btn { width: 100%; justify-content: center; }
    #lr-main .lr-course-grid, #lr-main .lr-post-grid { grid-template-columns: 1fr; }
    /* The converter only carries Elementor's desktop widths (e.g. a 700px
       button box on the industry landing pages, tester screenshots
       17/09/2026), so on a phone nothing converted may be wider than its
       column. Testimonial strips drop to one card per view. */
    #lr-main.lr-pages .lr-el-wrap, #lr-main.lr-pages .lr-el-box, #lr-main.lr-pages .lr-el-lane, #lr-main.lr-pages .lr-el-columns, #lr-main.lr-pages .lr-el-col,
    #lr-main.lr-pages .lr-el-text, #lr-main.lr-pages .lr-el-buttons, #lr-main.lr-pages .wp-block-group__inner-container { max-width: 100% !important; min-width: 0 !important; }
    #lr-main.lr-pages .lr-el-box[class*="lr-s-"], #lr-main.lr-pages .lr-el-wrap[class*="lr-s-"], #lr-main.lr-pages .lr-el-lane[class*="lr-s-"] { width: auto !important; }
    #lr-main .lr-testimonial { flex-basis: 100% !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    /* Never more than two cards per view on a tablet; one-card strips stay one. */
    #lr-main .lr-testimonial { flex-basis: max(calc((100% - var(--lr-tc-gap, 10px)) / 2), calc((100% - var(--lr-tc-gap, 10px) * (var(--lr-tc-per, 1) - 1)) / var(--lr-tc-per, 1))) !important; }
    #lr-main .lr-course-grid, #lr-main .lr-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.lr-pages .rd-btn--solid { color: #fff; }
.lr-pages .rd-btn--solid:hover { color: #fff; }


/* "Need something different? Call us on <number>": the number is an outline
   pill like the button row above it (phone glyph drawn, not typed). */
#lr-main.lr-pages .lr-el-text--call p { align-items: center; display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: inherit; }
#lr-main.lr-pages .has-text-align-center.lr-el-text--call p { justify-content: center; }
#lr-main.lr-pages .lr-el-text--call a[href^="tel:"] {
    align-items: center;
    background: transparent;
    border: 2px solid var(--lr-ink, #0c0b0b);
    border-radius: 40px;
    color: var(--lr-ink, #0c0b0b);
    display: inline-flex;
    font-size: 17.6px;
    font-weight: 500;
    gap: 8px;
    line-height: 1;
    padding: 16px 26px;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
#lr-main.lr-pages .lr-el-text--call a[href^="tel:"]::before {
    background: currentColor;
    content: "";
    height: 1em;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/%3E%3C/svg%3E") center / contain no-repeat;
    width: 1em;
}
#lr-main.lr-pages .lr-el-text--call a[href^="tel:"]:hover { background: var(--lr-ink, #0c0b0b); color: #fff; }

/* Content pages read in bands: plain sections alternate white and surface
   (the converter assigns the classes in page order; covers and coloured
   sections keep their own). The id outweighs the sections' own rules. */
#lr-main.lr-pages .lr-el-section.lr-band--white { background-color: #fff; }
#lr-main.lr-pages .lr-el-section.lr-band--surface { background-color: var(--lr-surface, #f7f7f7); }

/* ---------- BMA programme page (hand built 06/09/2026) ---------- */
.lr-pages .lr-bma--steps { background: var(--lr-surface, #f7f7f7); }
.lr-pages .lr-bma--courses { background: #fff; }
.lr-pages .lr-bma > .wp-block-group__inner-container { gap: 28px; }
.lr-pages .lr-bma--steps > .wp-block-group__inner-container { counter-reset: step; }
#lr-main.lr-pages .lr-bma__lede { color: var(--lr-ink-muted, #5a5858); font-size: 18px; line-height: 1.5; margin: -8px auto 12px; max-width: 60ch; }
.lr-pages .lr-bma__split { gap: 60px; }
/* Core gives columns a 1.75em trailing margin; the section padding is the spacing here. */
.lr-pages .lr-bma .wp-block-columns, .lr-pages .lr-bma .lr-steps { margin-bottom: 0; }
.lr-pages .lr-bma__logo { align-items: center; display: flex; justify-content: center; }
.lr-pages .lr-bma__logo img { max-width: 320px; width: 100%; height: auto; }
#lr-main.lr-pages .lr-bma__note { border-left: 3px solid var(--lr-red); color: var(--lr-ink); font-weight: 500; margin-top: 8px; padding: 6px 0 6px 18px; }
#lr-main.lr-pages .lr-bma--intro h2 { margin-bottom: 18px; }
#lr-main.lr-pages .lr-bma--intro p + p { margin-top: 0; }

/* Four numbered steps, two per row: the number is drawn, not typed. */
.lr-pages .lr-steps { gap: 40px; }
.lr-pages .lr-steps + .lr-steps { margin-top: 32px; }
.lr-pages .lr-steps .wp-block-column {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    counter-increment: step;
    display: grid;
    gap: 8px 22px;
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 30px 32px 30px 28px;
}
.lr-pages .lr-steps .wp-block-column::before {
    align-items: center;
    background: var(--lr-red);
    border-radius: 50%;
    color: #fff;
    content: counter(step);
    display: flex;
    font-size: 22px;
    font-weight: 700;
    grid-row: 1 / span 2;
    height: 56px;
    justify-content: center;
    line-height: 1;
    width: 56px;
}
#lr-main.lr-pages .lr-steps h3 { align-self: center; font-size: 24px; line-height: 1.15; }
#lr-main.lr-pages .lr-steps p { grid-column: 2; margin: 0; }
#lr-main.lr-pages .lr-steps p strong { color: var(--lr-red); font-weight: 600; }
.lr-pages .lr-bma__flyer .wp-block-button__link { --lr-btn-background: transparent; --lr-btn-color: var(--lr-ink); --lr-btn-border-color: var(--lr-ink); }
.lr-pages .lr-bma--steps .lr-el-buttons { margin-top: 12px; }
#lr-main.lr-pages .lr-bma__contact { margin-top: 12px; }
#lr-main.lr-pages .lr-bma__contact a { color: var(--lr-red); font-weight: 600; text-decoration: none; }
#lr-main.lr-pages .lr-bma__contact a:hover { text-decoration: underline; }
.lr-pages .lr-bma--courses .lrc-programme { margin-bottom: 0; }
/* The page carries the flyer button itself; the block's copy would double up. */
.lr-pages .lr-bma--courses .lrc-programme__flyer { display: none; }
/* One card, or a few: sit them in the middle rather than against the left edge. */
.lr-pages .lr-bma--courses .lrc-programme[data-skin="grid"] .lrc-programme__grid { grid-template-columns: repeat(auto-fit, 360px); justify-content: center; }

@media (max-width: 781px) {
    .lr-pages .lr-bma__split { gap: 28px; }
    .lr-pages .lr-steps + .lr-steps { margin-top: 24px; }
    .lr-pages .lr-steps { gap: 24px; }
    .lr-pages .lr-steps .wp-block-column { padding: 24px; }
}

/* ---- Home blocks dropped into a converted page keep the home skin (07/09/2026).
   The page-level type rules above (#lr-main.lr-pages h2, .lr-pages a) would
   otherwise recolour the companies band. ---- */
#lr-main.lr-pages .rd-hband h2 {
    color: #fff;
    font-size: clamp(36px, 4vw, 57.6px);
    font-weight: 800;
    margin: 0 0 28px;
}
#lr-main.lr-pages .rd-hband a.rd-btn--ghost { color: #fff; }
#lr-main.lr-pages .rd-hband a.rd-btn--ghost:hover { color: var(--lr-ink-deep, #0c0b0b); }
@media (max-width: 767px) {
    #lr-main.lr-pages .rd-hband h2 { font-size: 32px; }
}

/* ---- Callout block styles (patch 7, Jeremy 22/10/2026: the cancellation
   policy boxes). Pick "Callout green / amber / red" on a Group: a grey
   panel with a thick coloured top rule, its first line bold. "Note with
   warning icon" on a Paragraph or Group: a red warning triangle beside the
   text. Registered in functions-lr.php; this sheet is also the editor's,
   so the boxes look the same while editing. ---- */
.wp-block-group.is-style-lr-callout-green { --lr-callout: #4f9a55; }
.wp-block-group.is-style-lr-callout-amber { --lr-callout: #f0862f; }
.wp-block-group.is-style-lr-callout-red { --lr-callout: #b3282d; }
.wp-block-group[class*="is-style-lr-callout-"] {
    background: #f5f5f5;
    border-top: 5px solid var(--lr-callout);
    border-radius: 0;
    color: #333;
    padding: 18px 20px 20px;
}
.wp-block-group[class*="is-style-lr-callout-"] :is(p, h2, h3, h4, h5, h6) { color: #333; margin: 0 0 4px; text-align: left; }
.wp-block-group[class*="is-style-lr-callout-"] :is(p, h2, h3, h4, h5, h6):last-child { margin-bottom: 0; }
.wp-block-group[class*="is-style-lr-callout-"] :is(p, h2, h3, h4, h5, h6):first-child { font-weight: 700; }
.wp-block-group[class*="is-style-lr-callout-"] :is(h2, h3, h4, h5, h6) { font-size: 20px; line-height: 1.35; }

.is-style-lr-note-warning { padding-left: 54px; position: relative; }
.is-style-lr-note-warning::before {
    background: #b3282d;
    content: "";
    height: 30px;
    left: 0;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24v112c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0-64 0 32 32 0 1 0 64 0z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24v112c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0-64 0 32 32 0 1 0 64 0z'/%3E%3C/svg%3E") center / contain no-repeat;
    position: absolute;
    top: 0.15em;
    width: 34px;
}
