/* ========================================
   COMPONENT: Learn More Spotlight
   ======================================== */

.learn-more-spotlight {
    position: relative;
    overflow: hidden;
    padding: 120px 0 160px;
    background: linear-gradient(135deg, #bfe6e4 0%, #c9efea 100%);
}

.learn-more-spotlight__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
}

.learn-more-spotlight__eyebrow {
    margin: 0 0 16px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #0d2f36;
}

.learn-more-spotlight__title {
    margin: 0 0 20px;
    font-size: clamp(2.2rem, 3.6vw, 3.4rem);
    font-weight: 500;
    line-height: 1.15;
    color: #0a1f24;
    max-width: 16ch;
}

.learn-more-spotlight__copy {
    margin: 0 0 28px;
    font-size: 1.05rem;
    z-index: 5;
    color: #1f3c42;
    max-width: 54ch;
}

.learn-more-spotlight__soft {
    font-size: inherit;
    font-weight: inherit;
}

/* Thin cyan underline for highlighted phrases */
.learn-more-spotlight__underline {
    display: inline-block;
    border-bottom: 1.5px solid #009fb0;
    padding-bottom: 1px;
    line-height: inherit;
}

.learn-more-spotlight__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    background: #0b6d87;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 18px rgba(7, 45, 54, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.learn-more-spotlight__cta:hover {
    transform: translateY(-2px);
    background: #095b6f;
    box-shadow: 0 12px 24px rgba(7, 45, 54, 0.26);
}

.learn-more-spotlight__media {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.learn-more-spotlight__media--bottom {
    align-items: flex-end;
    transform: translate(72px, -44px);
    z-index: 0;
    isolation: isolate;
}

.learn-more-spotlight__media--bottom::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0.5%;
    width: 500px;
    height: 250px;
    background: rgb(79, 139, 145);
    border-radius: 0;
    filter: blur(0.5px);
    z-index: 0;
    pointer-events: none;
}

.learn-more-spotlight__image {
    width: min(520px, 100%);
    border-radius: 6px;
    display: block;
    object-fit: cover;
    box-shadow: 0 22px 46px rgba(7, 45, 54, 0.25);
    position: relative;
    z-index: 1;
}

.learn-more-spotlight__image--bottom {
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
    object-position: center bottom;
    background: transparent;
}

.learn-more-spotlight__quote {
    position: absolute;
    left: -10%;
    bottom: -30%;
    max-width: 560px;
    padding: 22px 24px;
    border-radius: 22px;
    background: #d7ebe8;
    color: #1a2c31;
    font-size: 0.82rem;
    line-height: 1.5;
    box-shadow: 0 16px 32px rgba(7, 45, 54, 0.16);
    z-index: 3;
}

/* Raised quote position for specific spotlight pages */
.learn-more-spotlight__quote--raised {
    bottom: -18%;
}

.learn-more-spotlight__quote-text {
    margin: 0;
    font-size: 0.78rem;
}

.learn-more-spotlight__quote-text--long {
    font-size: 0.96rem;
    line-height: 1.45;
}

.learn-more-spotlight__quote-cite {
    display: block;
    margin-top: 12px;
    font-size: 0.72rem;
    font-style: italic;
    color: #2c4a50;
    position: relative;
    z-index: 3;
}

html[data-theme="dark"] .learn-more-spotlight {
    background: linear-gradient(135deg, #0b2a31 0%, #0f3a42 100%);
}

html[data-theme="dark"] .learn-more-spotlight__eyebrow,
html[data-theme="dark"] .learn-more-spotlight__title,
html[data-theme="dark"] .learn-more-spotlight__copy {
    color: #eef6f7;
}

html[data-theme="dark"] .learn-more-spotlight__cta {
    background: #52b2c4;
    color: #072127;
}

html[data-theme="dark"] .learn-more-spotlight__cta:hover {
    background: #67c7d7;
}

html[data-theme="dark"] .learn-more-spotlight__quote {
    background: #143a43;
    color: #eef6f7;
}

html[data-theme="dark"] .learn-more-spotlight__quote-cite {
    color: rgba(238, 246, 247, 0.82);
}

@media (max-width: 980px) {
    .learn-more-spotlight {
        padding: 96px 0 120px;
    }

    .learn-more-spotlight__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .learn-more-spotlight__title {
        max-width: none;
    }

    .learn-more-spotlight__media {
        justify-content: flex-start;
    }

    .learn-more-spotlight__media--bottom {
        transform: none;
        align-items: center;
    }

    .learn-more-spotlight__image {
        max-width: 600px;
    }

    .learn-more-spotlight__quote {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: -36px;
        margin-left: 16px;
    }

    .learn-more-spotlight__quote--raised {
        margin-top: -64px;
    }
}

@media (max-width: 640px) {
    .learn-more-spotlight {
        padding: 80px 0 96px;
    }

    .learn-more-spotlight__inner {
        padding: 0 20px;
    }

    .learn-more-spotlight__copy {
        font-size: 0.98rem;
    }

    .learn-more-spotlight__image {
        width: 100%;
    }

    .learn-more-spotlight__quote {
        margin-left: 0;
        margin-top: 16px;
        max-width: 100%;
    }

    .learn-more-spotlight__quote--raised {
        margin-top: -8px;
    }
}
