.oc-seen-around {
    overflow: hidden;
}

.oc-seen-around__inner {
    max-width: 1320px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.oc-seen-around .bc-square {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.oc-seen-around .bc-square__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.oc-seen-around__section-description>*:last-child,
.oc-seen-around__intro-description>*:last-child,
.oc-seen-around__modal-caption>*:last-child {
    margin-bottom: 0;
}

.oc-seen-around__intro-square {
    position: relative;
}

.oc-seen-around__intro-square--dark {
    --oc-seen-around-intro-text: #ffffff;
    --oc-seen-around-intro-muted: rgba(255, 255, 255, 0.9);

    --oc-seen-around-intro-button-color: #ffffff;
    --oc-seen-around-intro-button-border: rgba(255, 255, 255, 0.92);
    --oc-seen-around-intro-button-hover-color: #212529;
    --oc-seen-around-intro-button-hover-bg: #ffffff;
    --oc-seen-around-intro-button-hover-border: #ffffff;
    --oc-seen-around-intro-focus-ring: rgba(255, 255, 255, 0.45);
}

.oc-seen-around__intro-square--light {
    --oc-seen-around-intro-text: var(--bs-body-color, #212529);
    --oc-seen-around-intro-muted: var(--bs-secondary-color, rgba(33, 37, 41, 0.76));

    --oc-seen-around-intro-button-color: var(--bs-body-color, #212529);
    --oc-seen-around-intro-button-border: rgba(33, 37, 41, 0.55);
    --oc-seen-around-intro-button-hover-color: #ffffff;
    --oc-seen-around-intro-button-hover-bg: var(--bs-body-color, #212529);
    --oc-seen-around-intro-button-hover-border: var(--bs-body-color, #212529);
    --oc-seen-around-intro-focus-ring: rgba(33, 37, 41, 0.35);
}

.oc-seen-around__intro-title,
.oc-seen-around__intro-title a,
.oc-seen-around__intro-square h1,
.oc-seen-around__intro-square h2,
.oc-seen-around__intro-square h3,
.oc-seen-around__intro-square h4,
.oc-seen-around__intro-square h5,
.oc-seen-around__intro-square h6 {
    color: var(--oc-seen-around-intro-text) !important;
}

.oc-seen-around__intro-description,
.oc-seen-around__intro-description p,
.oc-seen-around__intro-description span,
.oc-seen-around__intro-description li,
.oc-seen-around__intro-description strong,
.oc-seen-around__intro-description em {
    color: var(--oc-seen-around-intro-muted) !important;
}

.oc-seen-around .oc-seen-around__intro-square .oc-seen-around__intro-cta,
.oc-seen-around .oc-seen-around__intro-square a.oc-seen-around__intro-cta,
.oc-seen-around .oc-seen-around__intro-square a.oc-seen-around__intro-cta:link,
.oc-seen-around .oc-seen-around__intro-square a.oc-seen-around__intro-cta:visited {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 44px !important;
    padding: 0.625rem 1.25rem !important;

    color: var(--oc-seen-around-intro-button-color, #ffffff) !important;
    background-color: transparent !important;
    border: 1px solid var(--oc-seen-around-intro-button-border, rgba(255, 255, 255, 0.92)) !important;
    border-radius: 999px !important;

    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;

    box-shadow: none !important;
    text-shadow: none !important;
    opacity: 1 !important;

    -webkit-appearance: none !important;
    appearance: none !important;

    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease !important;
}

.oc-seen-around .oc-seen-around__intro-square .oc-seen-around__intro-cta:hover,
.oc-seen-around .oc-seen-around__intro-square .oc-seen-around__intro-cta:focus {
    color: var(--oc-seen-around-intro-button-hover-color, #212529) !important;
    background-color: var(--oc-seen-around-intro-button-hover-bg, #ffffff) !important;
    border-color: var(--oc-seen-around-intro-button-hover-border, #ffffff) !important;
    text-decoration: none !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.16) !important;
    opacity: 1 !important;
    transform: translateY(-1px);
}

.oc-seen-around .oc-seen-around__intro-square .oc-seen-around__intro-cta:active {
    color: var(--oc-seen-around-intro-button-hover-color, #212529) !important;
    background-color: var(--oc-seen-around-intro-button-hover-bg, #ffffff) !important;
    border-color: var(--oc-seen-around-intro-button-hover-border, #ffffff) !important;
    box-shadow: none !important;
    transform: translateY(0);
}

.oc-seen-around .oc-seen-around__intro-square .oc-seen-around__intro-cta:focus-visible {
    outline: 3px solid var(--oc-seen-around-intro-focus-ring, rgba(255, 255, 255, 0.45)) !important;
    outline-offset: 3px !important;
}

.oc-seen-around__modal-image {
    max-height: 80vh;
    object-fit: contain;
    background-color: #000000;
}

.oc-seen-around .oc-seen-around__more-overlay,
.oc-seen-around .oc-seen-around__more-overlay:link,
.oc-seen-around .oc-seen-around__more-overlay:visited {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 36px !important;
    padding: 0.5rem 1rem !important;

    color: #ffffff !important;
    background-color: rgba(0, 0, 0, 0.68) !important;
    border: 1px solid rgba(255, 255, 255, 0.58) !important;
    border-radius: 999px !important;

    font-size: 0.875rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: none !important;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease !important;
}

.oc-seen-around .oc-seen-around__more-overlay:hover,
.oc-seen-around .oc-seen-around__more-overlay:focus {
    color: #212529 !important;
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.22) !important;
    transform: translateY(-1px);
}

.oc-seen-around .oc-seen-around__more-overlay:active {
    color: #212529 !important;
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateY(0);
}

.oc-seen-around .oc-seen-around__more-overlay:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.7) !important;
    outline-offset: 3px !important;
}

.oc-seen-around__modal-heading {
    min-width: 0;
}

.oc-seen-around__modal-description {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.9375rem;
    line-height: 1.45;
}

.oc-seen-around__modal-description > *:last-child {
    margin-bottom: 0;
}

.oc-seen-around__modal .modal-title {
    color: var(--bs-primary, inherit);
}

/* Custom background utilities copied from the established Upendo full-width CTA pattern. */
.bg-off-white {
    background-color: #f8f7f3 !important;
}

.bg-warm-white {
    background-color: #f7f3ed !important;
}

.bg-cream {
    background-color: #f4efe6 !important;
}

.bg-soft-beige {
    background-color: #e9ddd1 !important;
}

.bg-sand {
    background-color: #ddd0bf !important;
}

.bg-light-sage {
    background-color: #dfe8dd !important;
}

.bg-sage {
    background-color: #b8c6b1 !important;
}

.bg-pale-green {
    background-color: #e5eee3 !important;
}

.bg-mist {
    background-color: #edf1ef !important;
}

.bg-soft-gray {
    background-color: #f1f1ee !important;
}

.bg-forest-green {
    background-color: #173f35 !important;
}

@media (prefers-reduced-motion: no-preference) {
    .oc-seen-around .oc-seen-around__image-link .bc-square__img {
        transition: transform 0.35s ease;
        transform: scale(1);
        will-change: transform;
    }

    .oc-seen-around .oc-seen-around__image-link:hover .bc-square__img,
    .oc-seen-around .oc-seen-around__image-link:focus-visible .bc-square__img {
        transform: scale(1.08);
    }

    .oc-seen-around .oc-seen-around__image-link {
        transition: transform 0.18s ease, box-shadow 0.18s ease;
    }

    .oc-seen-around .oc-seen-around__image-link:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 575.98px) {
    .oc-seen-around__inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .oc-seen-around__intro-cta {
        width: 100%;
    }

    .oc-seen-around__more-overlay {
        top: 0.75rem;
        right: 0.75rem;
    }
}