/*
 * Modular Landing Page (page-lp-modular.php)
 * Styles for the modules in template-parts/modules/. Enqueued only on pages
 * using that template - see bclm_enqueue_module_styles() in functions.php.
 */

html {
    scroll-behavior: smooth;
}

.bclm-page {
    --bclm-navy: #001937;
    --bclm-purple: #61407E;
    --bclm-purple-tint: #f2edf7;
    --bclm-grey: #F7F7F7;
    --bclm-yellow: #fed400;
    --bclm-blue: #5A99FF;
}

/* ---------- section wrapper: background + text colour ---------- */
.bclm-section {
    position: relative;
    scroll-margin-top: 120px;
}

/* --bclm-bg-rgb lets overlays (hero fade, photo tint) match the section background */
.bclm-bg-white {
    background: #fff;
    --bclm-bg-rgb: 255, 255, 255;
}

.bclm-bg-grey {
    background: var(--bclm-grey);
    --bclm-bg-rgb: 247, 247, 247;
}

.bclm-bg-purple {
    background: var(--bclm-purple-tint);
    --bclm-bg-rgb: 242, 237, 247;
}

.bclm-bg-navy {
    background: var(--bclm-navy);
    --bclm-bg-rgb: 0, 25, 55;
}

.bclm-bg-gradient {
    background: linear-gradient(90deg, #001937, #61407E);
    --bclm-bg-rgb: 0, 25, 55;
}

.bclm-bg-black {
    background: #000;
    --bclm-bg-rgb: 0, 0, 0;
}

.bclm-dark {
    color: #fff;
}

/* Enfold colours headings with "#top #wrap_all .all_colors h1" - the extra class here out-ranks it */
#top #wrap_all .bclm-section.bclm-dark h1,
#top #wrap_all .bclm-section.bclm-dark h2,
#top #wrap_all .bclm-section.bclm-dark h3,
#top #wrap_all .bclm-section.bclm-dark h4 {
    color: #fff;
}

.bclm-dark .bclm-text-content a,
.bclm-dark .bclm-faq-answer a {
    color: var(--bclm-yellow);
}

/* light cards keep dark text even when the section itself is dark */
.bclm-dark .bclm-card,
.bclm-dark .bclm-option-card {
    color: #222;
}

#top #wrap_all .bclm-section.bclm-dark .bclm-card h3,
#top #wrap_all .bclm-section.bclm-dark .bclm-option-card h3 {
    color: var(--bclm-navy);
}

/* ---------- buttons ---------- */
.bclm-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.bclm-btns-center {
    justify-content: center;
}

.bclm-btns-end {
    justify-content: flex-end;
}

/* the theme hover turns buttons transparent, which hides white text on light backgrounds */
.bclm-light .bcl-btn:not(.bcl-btn-arrow-no-border):not(.bcl-white-border-btn):hover,
.bclm-sticky-btn-container .bcl-btn:hover {
    background: var(--bclm-navy);
    border-color: var(--bclm-navy);
    color: #fff;
}

.bclm-dark .bcl-yellow-btn:hover,
.bclm-dark .bcl-border-btn:hover {
    color: #fff;
}

/* ---------- hero: text + image ---------- */
.bclm-hero-inner {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.bclm-hero-img-wrap {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 62%;
    z-index: 1;
}

.bclm-hero-img-wrap img {
    object-position: right center;
}

/* fades the photo into the section background colour */
.bclm-hero-img-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgb(var(--bclm-bg-rgb)) 0%, rgba(var(--bclm-bg-rgb), .85) 20%, rgba(var(--bclm-bg-rgb), 0) 55%);
    z-index: 2;
    pointer-events: none;
}

.bclm-hero-content {
    position: relative;
    z-index: 3;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.bclm-hero-title {
    font-weight: 600;
}

#top #wrap_all .bclm-section.bclm-light .bclm-hero-title {
    color: var(--bclm-navy);
}

.bclm-hero-title span {
    font-weight: 900;
    display: block;
}

.bclm-hero-title.is-serif span {
    font-weight: 700;
}

.bclm-hero-subtitle {
    color: var(--bclm-purple);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.4;
    margin-top: .5rem;
}

.bclm-dark .bclm-hero-subtitle {
    color: var(--bclm-yellow);
}

.bclm-hero-intro p:last-child {
    margin-bottom: 0;
}

/* ---------- hero: full-width banner ---------- */
.bclm-banner-inner {
    height: auto;
    aspect-ratio: 16 / 6;
    min-height: 380px;
    max-height: min(640px, calc(100vh - 180px));
}

.bclm-banner-inner::before {
    height: 100%;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .2) 45%, rgba(0, 0, 0, .35) 100%);
}

.bclm-banner-inner .page-section-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bclm-banner-content {
    text-align: center;
}

.bclm-banner-content h1,
.bclm-banner-content h2 {
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.bclm-banner-sub {
    font-size: clamp(16px, 1.6vw, 22px);
    margin-top: 1rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}

/* ---------- icon badges ---------- */
.bclm-badges-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.bclm-badge {
    flex: 1 1 20%;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    text-align: center;
}

.bclm-badge + .bclm-badge {
    border-left: 1px solid #E1E1E1;
}

.bclm-dark .bclm-badge + .bclm-badge {
    border-left-color: rgba(255, 255, 255, .25);
}

.bclm-badge-icon svg {
    width: 32px;
    height: 32px;
    color: var(--bclm-purple);
}

.bclm-dark .bclm-badge-icon svg {
    color: #beadd0;
}

.bclm-badge-label {
    font-size: 14px;
    font-weight: 600;
}

/* ---------- story + why bcl ---------- */
.bclm-story-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.bclm-story-media {
    flex: 0 0 220px;
    border-radius: 12px;
    overflow: hidden;
}

.bclm-story-media video,
.bclm-story-media img {
    width: 100%;
    height: auto;
    display: block;
}

.bclm-story-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
}

.bclm-pillars {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.bclm-pillar {
    flex: 1 1 25%;
    min-width: 130px;
    text-align: center;
    padding: 0 .5rem;
}

.bclm-pillar-icon svg {
    width: 36px;
    height: 36px;
    color: var(--bclm-purple);
}

.bclm-dark .bclm-pillar-icon svg {
    color: #beadd0;
}

.bclm-pillar-title {
    font-weight: 700;
    margin-top: .5rem;
    font-size: 15px;
}

/* ---------- numbered steps ---------- */
.bclm-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    gap: 1rem 0;
}

.bclm-steps .bclm-step {
    flex: 1 1 0;
    min-width: 140px;
    text-align: center;
    padding: 0 .75rem;
    position: relative;
}

.bclm-step-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--bclm-purple-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.bclm-step-icon.bclm-step-icon-outline {
    background: #fff;
    border: 1px solid var(--bclm-navy);
}

.bclm-step-icon svg {
    width: 38px;
    height: 38px;
    color: var(--bclm-purple);
}

.bclm-step-icon-outline svg {
    color: var(--bclm-navy);
}

/* dotted connector between steps */
.bclm-steps .bclm-step::before {
    content: '';
    position: absolute;
    top: 42px;
    left: -50%;
    width: 100%;
    border-top: 2px dotted #AEAEAE;
    z-index: 1;
}

.bclm-steps .bclm-step:first-child::before {
    display: none;
}

.bclm-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bclm-purple);
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -13px auto 0;
    position: relative;
    z-index: 3;
}

.bclm-step-title {
    font-weight: 700;
    margin-top: .75rem;
    font-size: 15px;
}

.bclm-step-text {
    margin-top: .25rem;
    opacity: .8;
}

.bclm-note {
    opacity: .7;
}

/* ---------- testimonial ---------- */
.bclm-testimonial {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.bclm-testimonial.bclm-card {
    max-width: none;
    padding: 2.5rem 3rem;
}

.bclm-testimonial-reverse {
    flex-direction: row-reverse;
}

.bclm-testimonial-body {
    flex: 1 1 auto;
}

.bclm-round-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bclm-navy);
    flex-shrink: 0;
}

.bclm-dark .bclm-round-photo {
    border-color: var(--bclm-yellow);
}

.bclm-card .bclm-round-photo {
    width: 170px;
    height: 170px;
    border: 0;
}

.bclm-round-photo-sm {
    width: 90px;
    height: 90px;
    border-color: var(--bclm-yellow);
}

.bclm-testimonial-name {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 700;
    font-size: 22px;
}

.bclm-testimonial-quote {
    line-height: 1.618;
}

.bclm-testimonial-headline {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.5;
}

.bclm-light .bclm-testimonial-headline,
.bclm-card .bclm-testimonial-headline,
.bclm-light .bclm-testimonial-byline,
.bclm-card .bclm-testimonial-byline {
    color: var(--bclm-navy);
}

.bclm-testimonial-byline {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- shared cards / panels ---------- */
.bclm-card {
    border-radius: 16px;
}

.bclm-card-grey {
    background: var(--bclm-grey);
}

.bclm-card-purple {
    background: var(--bclm-purple-tint);
}

/* ---------- impact counters ---------- */
.bclm-impact-title {
    font-size: calc(2.5rem + 1.5vw);
    font-weight: 900;
    line-height: 1;
}

.bclm-impact-stats {
    display: flex;
    gap: 2rem;
}

.bclm-impact-stat {
    flex: 1 1 50%;
    text-align: center;
}

.bclm-impact-stat + .bclm-impact-stat {
    border-left: 1px solid rgba(127, 127, 127, .35);
}

.bclm-counter {
    font-size: 44px;
    font-weight: 900;
    color: var(--bclm-purple);
    font-family: 'raleway', Helvetica, Arial, sans-serif;
}

.bclm-dark .bclm-counter {
    color: var(--bclm-yellow);
}

.bclm-impact-stat-label {
    font-size: 14px;
}

.bclm-impact-quote {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bclm-impact-quote-text {
    font-style: italic;
}

.bclm-impact-quote-name {
    font-weight: bold;
    margin-top: .5rem;
}

/* ---------- statement banner ---------- */
.bclm-module-statement {
    overflow: hidden;
}

.bclm-statement-img-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* tints the photo with the section background so the copy stays readable */
.bclm-statement-img-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--bclm-bg-rgb), .78);
    z-index: 2;
}

.bclm-statement-content {
    position: relative;
    z-index: 3;
}

.bclm-statement-title {
    margin-bottom: 0;
    line-height: 1.1;
}

#top #wrap_all .bclm-section.bclm-light .bclm-statement-title,
.bclm-light .bclm-statement-text {
    color: var(--bclm-navy);
}

.bclm-statement-banner .bclm-statement-title,
.bclm-statement-closing .bclm-statement-title {
    font-size: calc(1.75rem + 1.25vw);
}

.bclm-statement-banner .bclm-statement-title {
    font-weight: 900;
}

.bclm-statement-closing .bclm-statement-title {
    font-weight: 600;
}

.bclm-statement-title span {
    font-weight: 900;
}

.bclm-statement-banner .bclm-statement-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 4px;
    background: var(--bclm-yellow);
    margin: 1.25rem auto 0;
}

.bclm-statement-left .bclm-statement-title {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 700;
    line-height: 1.3;
}

.bclm-statement-text {
    margin-top: 1.25rem;
}

.bclm-statement-banner .bclm-statement-text,
.bclm-statement-closing .bclm-statement-text {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .02em;
}

.bclm-statement-left .bclm-statement-text {
    font-size: clamp(18px, 1.9vw, 26px);
    line-height: 1.35;
    margin-top: .25rem;
}

.bclm-statement-text p:last-child {
    margin-bottom: 0;
}

/* ---------- faq ---------- */
.bclm-faq-item {
    border-bottom: 1px solid rgba(127, 127, 127, .35);
}

.bclm-faq-item summary {
    cursor: pointer;
    padding: 1.25rem 2.5rem 1.25rem 0;
    font-weight: 700;
    font-size: 18px;
    list-style: none;
    position: relative;
}

.bclm-faq-item summary::-webkit-details-marker {
    display: none;
}

.bclm-faq-item summary::after {
    content: '+';
    position: absolute;
    right: .5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 400;
    color: var(--bclm-purple);
}

.bclm-dark .bclm-faq-item summary::after {
    color: var(--bclm-yellow);
}

.bclm-faq-item[open] summary::after {
    content: '\2212';
}

.bclm-faq-item summary:focus-visible {
    outline: 2px solid var(--bclm-yellow);
    outline-offset: 4px;
}

.bclm-faq-answer {
    padding: 0 2.5rem 1.25rem 0;
}

/* ---------- form ---------- */
.bclm-form-card {
    padding: 0 15px;
}

.bclm-form-card .wpforms-container {
    margin-top: 0;
}

.bclm-dark .bclm-form-card .wpforms-container {
    --wpforms-label-color: #fff;
    --wpforms-label-sublabel-color: rgba(255, 255, 255, .75);
}

/* center the form fields */
.bclm-form-card .wpforms-form .wpforms-field,
.bclm-form-card .wpforms-form .wpforms-submit-container {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.bclm-form-card .wpforms-form .wpforms-field input.wpforms-field-medium,
.bclm-form-card .wpforms-form .wpforms-field select.wpforms-field-medium,
.bclm-form-card .wpforms-form .wpforms-field .wpforms-field-row.wpforms-field-medium {
    max-width: 100%;
    width: 100%;
}

/* yellow cta style for the submit button */
.bclm-form-card .wpforms-form button[type=submit].wpforms-submit {
    background-color: #fed400 !important;
    color: #000 !important;
    border: 1px solid transparent !important;
    border-radius: 4px;
    padding: 0.375rem 28px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s ease;
}

.bclm-dark .bclm-form-card .wpforms-form button[type=submit].wpforms-submit:hover {
    background-color: transparent !important;
    border-color: #fed400 !important;
    color: #fff !important;
}

.bclm-light .bclm-form-card .wpforms-form button[type=submit].wpforms-submit:hover {
    background-color: #001937 !important;
    color: #fff !important;
}

/* ---------- logos: carousel + static row ---------- */
.bclm-logo-swiper .swiper-wrapper {
    align-items: center;
    /* constant-speed scroll instead of the default ease */
    transition-timing-function: linear;
}

.bclm-logo-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
}

.bclm-logo-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.bclm-logo-slide img {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* static row: each logo once, centered */
.bclm-logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem 5rem;
}

.bclm-logo-row-item a {
    display: block;
}

.bclm-logo-row-item img {
    display: block;
    max-width: 240px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ---------- cta band ---------- */
.bclm-cta-text {
    max-width: 640px;
}

.bclm-module-cta p:last-child {
    margin-bottom: 0;
}

/* ---------- image tiles ---------- */
/* sits above the previous section when the tiles are pulled up over it */
.bclm-section.bclm-module-tiles {
    z-index: 4;
}

/* no fade-up entrance here; the overlap is opt-in instead of always on like the front page */
.bclm-page .bclm-tiles-row {
    animation: none;
    transform: none;
    grid-gap: 2.5vw;
    /* min() stops the 320px column from overflowing very small phones */
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
}

.bclm-page .bclm-tiles-row.is-overlap {
    transform: translateY(-5vw);
    margin-bottom: -5vw;
}

/* the front-page checkmark bullets are scoped to .home, so re-declare them here */
.bclm-page .tile-main ul {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

.bclm-page .tile-main li {
    margin-left: 1.5rem;
    line-height: 1.4;
    margin-bottom: 4px;
    list-style: none;
}

.bclm-page .tile-main li::before {
    content: url("data:image/svg+xml,%3Csvg width='15' height='13' viewBox='0 0 15 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.77273 7.68918L3.16254 4.77722C2.70407 4.26575 1.8783 4.35812 1.54419 4.95825L0.867265 6.17411C0.649917 6.5645 0.717928 7.0517 1.03388 7.36765L5.77273 12.1065L14.3134 3.56579C14.6958 3.18338 14.7049 2.56624 14.334 2.17273L13.4738 1.26033C13.0832 0.845924 12.4258 0.840984 12.0289 1.24947L5.77273 7.68918Z' fill='%23fff'/%3E%3C/svg%3E%0A");
    margin-right: .5rem;
    margin-left: -1.5rem;
}

/* ---------- text columns ---------- */
.bclm-columns-title {
    font-size: clamp(26px, 3.2vw, 44px);
    font-weight: 600;
    letter-spacing: .01em;
    margin: 0 0 2.5rem;
}

#top #wrap_all .bclm-section.bclm-light .bclm-columns-title {
    color: var(--bclm-navy);
}

.bclm-columns-grid {
    display: grid;
    grid-template-columns: repeat(var(--bclm-cols, 3), 1fr);
    gap: 3rem;
    align-items: start;
}

.bclm-column-title {
    font-size: clamp(22px, 2.1vw, 30px);
    line-height: 1.2;
    margin: 0 0 1.25rem;
}

.bclm-column-title span {
    /* box-decoration-break keeps the highlight tight to each wrapped line */
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.bclm-column-title.is-highlight span {
    background: #000;
    color: #fff;
    padding: 2px 8px;
    margin-left: -8px;
}

.bclm-dark .bclm-column-title.is-highlight span {
    background: var(--bclm-yellow);
    color: #000;
}

.bclm-column-text p {
    margin: 0 0 1rem;
    line-height: 1.55;
}

.bclm-column-text p:last-child {
    margin-bottom: 0;
}

/* ---------- option cards ---------- */
.bclm-option-card {
    background: #fff;
    border: 1px solid #E1E1E1;
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.bclm-option-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bclm-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.bclm-option-icon svg {
    width: 30px;
    height: 30px;
    color: #fff;
}

.bclm-option-title {
    font-size: 22px;
}

#top #wrap_all .bclm-section .bclm-option-card .bclm-option-title {
    color: var(--bclm-navy);
}

.bclm-option-tagline {
    color: var(--bclm-purple);
    font-weight: 700;
    margin: .5rem 0 1rem;
}

.bclm-option-text {
    margin-bottom: 1rem;
}

.bclm-option-list-label,
.bclm-option-price-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--bclm-purple);
    margin-bottom: .25rem;
}

.bclm-option-list ul {
    margin: 0 0 0 1.25rem;
    padding: 0;
}

.bclm-option-list li {
    margin-bottom: 2px;
}

.bclm-option-bottom {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #ECECEC;
    text-align: center;
}

.bclm-option-price {
    font-weight: 700;
    font-size: 18px;
    margin: .25rem 0 1rem;
}

/* ---------- icon grid ---------- */
.bclm-icon-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 0;
}

.bclm-icon-item {
    flex: 1 1 25%;
    min-width: 170px;
    text-align: center;
    padding: 0 1rem;
}

.bclm-icon-circle {
    width: 84px;
    height: 84px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bclm-icon-outline {
    border: 1px solid var(--bclm-purple);
}

.bclm-icon-tint {
    background: var(--bclm-purple-tint);
}

.bclm-icon-plain {
    height: auto;
}

.bclm-icon-circle svg {
    width: 38px;
    height: 38px;
    color: var(--bclm-purple);
}

.bclm-dark .bclm-icon-outline {
    border-color: rgba(255, 255, 255, .5);
}

.bclm-dark .bclm-icon-outline svg,
.bclm-dark .bclm-icon-plain svg {
    color: #beadd0;
}

.bclm-icon-item-title {
    font-weight: 700;
    margin-bottom: .5rem;
}

/* ---------- checklist + highlights panels ---------- */
.bclm-panel {
    padding: 2.5rem;
    width: 100%;
}

.bclm-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bclm-check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: .75rem;
    list-style: none;
}

.bclm-check-list li::before {
    content: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='16' r='13' fill='%23fed400'/%3E%3Cpath d='M10.5 16.5l3.5 3.5 7.5-8' stroke='%23001937' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    position: absolute;
    left: 0;
    top: 1px;
}

.bclm-highlight {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.bclm-highlight-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bclm-highlight-icon svg {
    width: 28px;
    height: 28px;
    color: var(--bclm-purple);
}

.bclm-highlight-title {
    font-weight: 700;
    margin-bottom: .25rem;
}

/* ---------- text block + image/text ---------- */
.bclm-text-inner.is-narrow {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.bclm-text-content > :last-child {
    margin-bottom: 0;
}

.bclm-text-content img {
    max-width: 100%;
    height: auto;
}

.bclm-media img,
.bclm-media video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* ---------- sticky side button ---------- */
.bclm-sticky-btn-container {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 12;
    transform: rotate(-90deg) translate(50%, -100%);
    transform-origin: top right;
}

.bclm-sticky-btn-container .bcl-btn {
    border-radius: 8px 8px 0 0;
    padding: 10px 24px;
    text-align: center;
}

/* ---------- responsive ---------- */
@media screen and (max-width: 991px) {
    .bclm-banner-inner {
        aspect-ratio: 4 / 3;
        min-height: 320px;
        max-height: 65vh;
    }

    .bclm-banner-inner > img {
        object-fit: cover;
        object-position: center;
    }

    .bclm-steps .bclm-step {
        flex: 1 1 33.33%;
    }

    .bclm-steps .bclm-step::before {
        display: none;
    }

    .bclm-module-story-why .col-lg-6 + .col-lg-6,
    .bclm-module-impact .col-lg-4 + .col-lg-4,
    .bclm-module-steps .col-lg-4 + .col-lg-8 {
        margin-top: 2rem;
    }

    .bclm-btns-end {
        justify-content: flex-start;
        margin-top: 1.5rem;
    }

    .bclm-columns-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .bclm-icon-item {
        flex: 1 1 50%;
        margin-bottom: 1.5rem;
    }

    .bclm-media-col {
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 767px) {
    .bclm-hero-inner {
        min-height: unset;
        display: block;
    }

    .bclm-hero-img-wrap {
        position: relative;
        width: 100%;
        height: 300px;
    }

    .bclm-hero-img-wrap::before {
        background: linear-gradient(0deg, rgb(var(--bclm-bg-rgb)) 0%, rgba(var(--bclm-bg-rgb), 0) 40%);
    }

    .bclm-hero-content {
        padding-top: 1rem;
        padding-bottom: 3rem;
    }

    .bclm-story-row {
        flex-direction: column;
    }

    .bclm-story-media {
        flex: 1 1 auto;
        width: 100%;
    }

    .bclm-pillar {
        flex: 1 1 50%;
        margin-bottom: 1.25rem;
    }

    .bclm-logo-slide {
        height: 64px;
    }

    .bclm-logo-slide img {
        max-height: 64px;
    }

    .bclm-logo-row {
        gap: 1.5rem 2.5rem;
    }

    .bclm-logo-row-item img {
        max-width: 140px;
        max-height: 72px;
    }

    .bclm-testimonial.bclm-card {
        padding: 2rem 1.5rem;
    }
}

@media screen and (max-width: 449px) {
    .bclm-badges-row {
        display: block;
    }

    .bclm-badge {
        flex-direction: row;
        padding: .25rem 1rem;
        text-align: left;
    }

    .bclm-badge + .bclm-badge {
        border-left: 0;
    }

    .bclm-impact-heading {
        text-align: center;
    }

    .bclm-impact-stats {
        gap: 1rem;
    }

    .bclm-steps .bclm-step,
    .bclm-icon-item {
        flex: 1 1 100%;
    }

    .bclm-testimonial,
    .bclm-testimonial-reverse {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .bclm-panel {
        padding: 1.5rem;
    }
}
