/*
 * Southcare Medical home page styles.
 *
 * Loaded only on Pages using template-home.php.
 */

 /* ---------------------------------
   Home hero header positioning
   --------------------------------- */
.page-template-template-home .apollo-main {
    padding-top: 0;
}

.page-template-template-home .apollo-home-hero {
    margin-top: calc(
        var(--wp--preset--spacing--30) - var(--apollo-home-header-height)
    );
}

.page-template-template-home .apollo-home-hero__container {
    padding-top: calc(
        var(--apollo-home-header-height) + var(--wp--preset--spacing--40)
    );
}



/* ---------------------------------
   Home hero
   --------------------------------- */
.apollo-home-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - (var(--wp--preset--spacing--30) * 2));
    margin: var(--wp--preset--spacing--30);
    overflow: hidden;
    border-radius: var(--apollo-radius);
    background: var(--wp--preset--color--base);
    color: var(--wp--preset--color--contrast);
}

.apollo-home-hero__background {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.apollo-home-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: transparent;
    pointer-events: none;
}

.apollo-home-hero__container {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    padding-bottom: var(--wp--preset--spacing--60);
}

.apollo-home-hero__inner {
    width: 100%;
}

.apollo-home-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 52rem;
}

.apollo-home-hero__tagline {
    font-size: var(--wp--preset--font-size--hero-eyebrow);
    font-weight: 600;
}

.apollo-home-hero .apollo-home-hero__title {
    margin: var(--wp--preset--spacing--20) 0 0;
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--hero);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.04em;
    max-width: 50rem;
}

.apollo-home-hero__description {
    max-width: 36rem;
    margin: var(--wp--preset--spacing--50) 0 0;
    color: var(--wp--preset--color--contrast-muted);
    font-size: var(--wp--preset--font-size--body);
    font-weight: 400;
    line-height: 1.5;
}

.apollo-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--wp--preset--spacing--30);
    margin-top: var(--wp--preset--spacing--50);
}


/* ---------------------------------
   Translucent white information strip
   --------------------------------- */
.apollo-home-hero__strap {
    padding-block: var(--wp--preset--spacing--50);
    background: rgb(255 255 255 / 80%);
    color: var(--wp--preset--color--contrast);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.apollo-home-hero__quick-info {
    display: flex;
    align-items: stretch;
}

.apollo-home-hero__quick-item {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    min-width: 0;
    padding-inline: var(--wp--preset--spacing--60);
    border-right: 1px solid rgb(7 25 71 / 15%);
}

.apollo-home-hero__quick-item:first-child {
    padding-left: 0;
}

.apollo-home-hero__quick-item:last-child {
    padding-right: 0;
    border-right: 0;
}

.apollo-home-hero__quick-item > * + * {
    margin-top: var(--wp--preset--spacing--30);
}

.apollo-home-hero__quick-item > .apollo-home-hero__quick-heading + * {
    margin-top: var(--wp--preset--spacing--50);
}

.apollo-home-hero__quick-heading {
    display: flex;
    align-items: center;
    gap: var(--wp--preset--spacing--40);
}

.apollo-home-hero__quick-icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: var(--wp--preset--spacing--50);
    height: var(--wp--preset--spacing--50);
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--contrast);
}

.apollo-home-hero__quick-icon svg {
    width: 100%;
    height: 100%;
}

.apollo-home-hero .apollo-home-hero__quick-title {
    margin: 0;
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--title-lg);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.apollo-home-hero__quick-text {
    flex: 1 1 auto;
    margin: 0;
    color: var(--wp--preset--color--contrast-muted);
    font-size: var(--wp--preset--font-size--body);
    font-weight: 400;
    line-height: 1.5;
}

.apollo-home-hero__quick-text > span {
    display: block;
}

.apollo-home-hero__quick-link {
    align-self: flex-start;
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--link-xs);
    font-weight: 600;
    text-decoration: none;
}

.apollo-home-hero__quick-link:hover,
.apollo-home-hero__quick-link:focus-visible {
    color: var(--wp--preset--color--contrast);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}


/* Below 1600px */
@media (max-width: 99.99rem) {
    .apollo-home-hero .apollo-home-hero__quick-title {
        white-space: normal;
    }
}


/* Below 1280px */
@media (max-width: 79.99rem) {
    .apollo-home-hero__quick-item {
        padding-inline: var(--wp--preset--spacing--50);
    }

    .apollo-home-hero__quick-item:first-child {
        padding-left: 0;
    }

    .apollo-home-hero__quick-item:last-child {
        padding-right: 0;
    }

    .apollo-home-hero__quick-heading {
        gap: var(--wp--preset--spacing--30);
    }

    .apollo-home-hero__quick-item > .apollo-home-hero__quick-heading + * {
        margin-top: var(--wp--preset--spacing--40);
    }
}


/* Below 992px */
@media (max-width: 61.99rem) {
    .apollo-home-hero__background {
        object-position: 70% center;
    }

    .apollo-home-hero__overlay {
        background: rgb(255 255 255 / 75%);
    }

    .apollo-home-hero__container {
        padding-bottom: var(--wp--preset--spacing--50);
    }

    .apollo-home-hero__content {
        max-width: 46rem;
    }

    .apollo-home-hero__quick-info {
        flex-wrap: wrap;
    }

    .apollo-home-hero__quick-item,
    .apollo-home-hero__quick-item:first-child,
    .apollo-home-hero__quick-item:last-child {
        flex: 0 0 50%;
        padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
        border-right: 0;
        border-bottom: 1px solid rgb(7 25 71 / 15%);
    }

    .apollo-home-hero__quick-item:nth-child(odd) {
        padding-left: 0;
        border-right: 1px solid rgb(7 25 71 / 15%);
    }

    .apollo-home-hero__quick-item:nth-child(even) {
        padding-right: 0;
    }

    .apollo-home-hero__quick-item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}


/* Below 768px: retain all four items in two rows */
@media (max-width: 47.99rem) {
    .apollo-home-hero__description {
        margin-top: var(--wp--preset--spacing--40);
    }

    .apollo-home-hero__actions {
        gap: var(--wp--preset--spacing--20);
        margin-top: var(--wp--preset--spacing--40);
    }

    .apollo-home-hero__actions .apollo-button {
        max-width: 100%;
        min-width: 0;
        min-height: 2.75rem;
        padding: 0.75rem 1.25rem;
        white-space: normal;
    }

    .apollo-home-hero__strap {
        padding-block: var(--wp--preset--spacing--30);
    }

    .apollo-home-hero__quick-item,
    .apollo-home-hero__quick-item:first-child,
    .apollo-home-hero__quick-item:last-child {
        padding-block: var(--wp--preset--spacing--20);
    }

    .apollo-home-hero__quick-heading {
        align-items: flex-start;
    }

    .apollo-home-hero__quick-item > .apollo-home-hero__quick-heading + * {
        margin-top: var(--wp--preset--spacing--20);
    }
}


/* Below 560px:
   Mobile image is selected by <picture> in template-home.php.
   Shorten the hero and hide the information strip.
*/
@media (max-width: 34.99rem) {
    .apollo-home-hero {
        min-height: calc(
            100svh - (var(--wp--preset--spacing--20) * 33)
        );
        margin: var(--wp--preset--spacing--20);
    }

    .apollo-home-hero__actions {
        width: 100%;
    }

    .apollo-home-hero__strap {
        display: none;
    }

    .apollo-home-hero__quick-info {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .apollo-home-hero__quick-item,
    .apollo-home-hero__quick-item:first-child,
    .apollo-home-hero__quick-item:last-child,
    .apollo-home-hero__quick-item:nth-child(odd),
    .apollo-home-hero__quick-item:nth-child(even) {
        flex: 0 0 50%;
        width: auto;
        padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
    }

    .apollo-home-hero__quick-item:nth-child(odd) {
        padding-left: 0;
        border-right: 1px solid rgb(7 25 71 / 15%);
    }

    .apollo-home-hero__quick-item:nth-child(even) {
        padding-right: 0;
        border-right: 0;
    }

    .apollo-home-hero__quick-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--wp--preset--spacing--20);
    }
}


/* Below 400px */
@media (max-width: 24.99rem) {
    .apollo-home-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .apollo-home-hero__actions .apollo-button {
        width: 100%;
        padding-inline: var(--wp--preset--spacing--40);
    }

    .apollo-home-hero__quick-item,
    .apollo-home-hero__quick-item:first-child,
    .apollo-home-hero__quick-item:last-child,
    .apollo-home-hero__quick-item:nth-child(odd),
    .apollo-home-hero__quick-item:nth-child(even) {
        padding-block: var(--wp--preset--spacing--20);
    }
}



/* ---------------------------------
   Home why choose Southcare
   --------------------------------- */
.apollo-about-intro:has(+ .apollo-why-choose) {
    padding-bottom: 0;
}

.apollo-why-choose {
    margin-top: var(--wp--preset--spacing--70);
    padding-bottom: var(--wp--preset--spacing--80);
    background: var(--wp--preset--color--base);
}

.apollo-why-choose__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--wp--preset--spacing--60);
}

.apollo-why-choose__heading {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.apollo-why-choose__heading .apollo-eyebrow {
    margin-bottom: var(--wp--preset--spacing--20);
}

.apollo-why-choose__title {
    margin: 0;
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--display-sm);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.apollo-why-choose__description {
    flex: 0 1 28rem;
    min-width: 0;
    margin: 0;
    color: var(--wp--preset--color--contrast-muted);
    font-size: var(--wp--preset--font-size--body);
    font-weight: 400;
    line-height: 1.5;
}

.apollo-why-choose__header + .apollo-feature-cards {
    margin-top: var(--wp--preset--spacing--60);
}

/* Below 1280px */
@media (max-width: 79.99rem) {
    .apollo-why-choose {
        margin-top: var(--wp--preset--spacing--60);
        padding-bottom: var(--wp--preset--spacing--70);
    }
    .apollo-why-choose__header {
        gap: var(--wp--preset--spacing--50);
    }
}

/* Below 992px */
@media (max-width: 61.99rem) {
    .apollo-why-choose__heading {
        width: 100%;
    }
    .apollo-why-choose__heading .apollo-eyebrow {
        align-self: center;
        text-align: center;
    }
    .apollo-why-choose__header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--wp--preset--spacing--30);
    }
    .apollo-why-choose__description {
        flex: 0 0 auto;
        max-width: 38rem;
    }
    .apollo-why-choose__header + .apollo-feature-cards {
        margin-top: var(--wp--preset--spacing--50);
    }
}

/* Below 768px */
@media (max-width: 47.99rem) {
    .apollo-why-choose {
        margin-top: var(--wp--preset--spacing--50);
        padding-bottom: var(--wp--preset--spacing--60);
    }
    .apollo-why-choose__header + .apollo-feature-cards {
        margin-top: var(--wp--preset--spacing--40);
    }
}

/* Below 400px */
@media (max-width: 24.99rem) {
    .apollo-why-choose {
        margin-top: var(--wp--preset--spacing--40);
        padding-bottom: var(--wp--preset--spacing--50);
    }
}



/* ---------------------------------
   Team section
   --------------------------------- */
.apollo-team-section {
    position: relative;
    overflow: hidden;
    padding: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--80);
    background: var(--wp--preset--color--base);
}

.apollo-team-section__header {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-inline: auto;
    margin-bottom: var(--wp--preset--spacing--60);
    text-align: center;
}

.apollo-team-section__header .apollo-eyebrow {
    margin-bottom: var(--wp--preset--spacing--20);
}

.apollo-team-section__title {
    margin: 0;
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--display-sm);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.apollo-team-section__description {
    max-width: 38rem;
    margin: var(--wp--preset--spacing--30) 0 0;
    color: var(--wp--preset--color--contrast-muted);
    font-size: var(--wp--preset--font-size--body);
    font-weight: 400;
    line-height: 1.5;
}

.apollo-team-section__button {
    margin-top: var(--wp--preset--spacing--50);
}

.apollo-team-section__carousel {
    position: relative;
    z-index: 1;
}

.apollo-team-carousel .apollo-team-card__image {
    aspect-ratio: 1.9 / 1;
}


/* ---------------------------------
   Home featured doctors: booking buttons
   --------------------------------- */
.apollo-team-section .apollo-team-card__body {
    flex: 1 1 auto;
}

.apollo-team-section .apollo-team-card__booking {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding-top: var(--wp--preset--spacing--40);
}

.apollo-team-section .apollo-team-card__book-button {
    min-width: 8rem;
    min-height: 2.75rem;
    max-width: 100%;
    padding: 0.75rem 1.25rem;
    white-space: normal;
}

/* ---------------------------------
   Home doctors: shared card and actions
   --------------------------------- */
.apollo-team-section .apollo-team-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    height: 100%;
}

.apollo-team-section .apollo-team-item > .apollo-team-card {
    flex: 1 1 auto;
    height: auto;
}

.apollo-team-section .apollo-team-card__actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: var(--wp--preset--spacing--20);
    width: 100%;
    margin-top: var(--wp--preset--spacing--30);
}

.apollo-team-section
.apollo-team-card__actions > .apollo-team-card__button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    margin: 0;
    padding-inline: var(--wp--preset--spacing--30);
    white-space: normal;
}

/* Below 768px */
@media (max-width: 47.99rem) {
    .apollo-team-section .apollo-team-card__booking {
        padding-top: var(--wp--preset--spacing--30);
    }

    .apollo-team-section .apollo-team-card__book-button {
        min-width: 0;
        padding: 0.65rem 1rem;
    }
}


/* Below 400px */
@media (max-width: 24.99rem) {
    .apollo-team-section .apollo-team-card__book-button {
        width: 100%;
        padding-inline: var(--wp--preset--spacing--20);
    }
}


@media (min-width: 48rem) {
    .apollo-team-carousel .apollo-carousel__controls {
        position: absolute;
        top: 50%;
        right: -1.5rem;
        left: -1.5rem;
        z-index: 2;
        justify-content: space-between;
        margin-top: 0;
        transform: translateY(-50%);
        pointer-events: none;
    }
    .apollo-team-carousel .apollo-carousel__button {
        border-color: var(--wp--preset--color--primary);
        box-shadow: var(--wp--preset--shadow--sm);
        pointer-events: auto;
    }
}

.apollo-team-section__mark {
    position: absolute;
    top: -13rem;
    right: -10rem;
    z-index: -1;
    width: 18rem;
    height: 18rem;
    object-fit: contain;
    pointer-events: none;
}

@media (max-width: 79.99rem) {
    .apollo-team-section {
        padding: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--70);
    }
    .apollo-team-section__mark {
        top: -10rem;
        right: -7rem;
        width: 15rem;
        height: 15rem;
    }
}

@media (max-width: 61.99rem) {
    .apollo-team-section__header {
        max-width: 44rem;
        margin-bottom: var(--wp--preset--spacing--50);
    }
    .apollo-team-section__button {
        margin-top: var(--wp--preset--spacing--40);
    }
    .apollo-team-carousel .apollo-team-card__image {
        aspect-ratio: 1.6 / 1;
    }
    .apollo-team-section__mark {
        top: -7rem;
        right: -4rem;
        width: 12rem;
        height: 12rem;
    }
}

@media (max-width: 47.99rem) {
    .apollo-team-section {
        padding-block: var(--wp--preset--spacing--60);
    }
    .apollo-team-section__header {
        max-width: 100%;
        margin-bottom: var(--wp--preset--spacing--40);
    }
    .apollo-team-carousel .apollo-team-card__image {
        aspect-ratio: 1.35 / 1;
    }
    .apollo-team-section__mark {
        top: -5rem;
        right: -2rem;
        width: 9rem;
        height: 9rem;
    }
}

@media (max-width: 34.99rem) {
    .apollo-team-section__mark {
        top: -3rem;
        right: -1rem;
        width: 7rem;
        height: 7rem;
        opacity: 0.35;
    }
}

@media (max-width: 24.99rem) {
    .apollo-team-section {
        padding-block: var(--wp--preset--spacing--50);
    }
    .apollo-team-carousel .apollo-team-card__image {
        aspect-ratio: 1.1 / 1;
    }
    .apollo-team-section__mark {
        width: 5rem;
        height: 5rem;
    }
}



/* ---------------------------------
   Home services section
   --------------------------------- */
.apollo-services-section {
    position: relative;
    overflow: hidden;
    padding-block: var(--wp--preset--spacing--80);
    background: var(--wp--preset--color--surface);
}

.apollo-services-section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-inline: auto;
    margin-bottom: var(--wp--preset--spacing--60);
    text-align: center;
}

.apollo-services-section__header .apollo-eyebrow {
    margin-bottom: var(--wp--preset--spacing--20);
}

.apollo-services-section__title {
    margin: 0;
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--display-sm);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.apollo-services-section__description {
    max-width: 38rem;
    margin: var(--wp--preset--spacing--30) 0 0;
    color: var(--wp--preset--color--contrast-muted);
    font-size: var(--wp--preset--font-size--body);
    font-weight: 400;
    line-height: 1.5;
}

.apollo-services-section__cards {
    display: flex;
    gap: var(--wp--preset--spacing--30);
}

.apollo-services-section__cards > .apollo-service-card {
    flex: 1 1 0;
    min-width: 0;
}

.apollo-services-section .apollo-service-card__media {
    aspect-ratio: 1.4 / 1;
}

/* Service card title with a small right arrow. */
.apollo-services-section .apollo-service-card__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--wp--preset--spacing--20);
}

.apollo-services-section .apollo-service-card__title-text {
    flex: 1 1 auto;
    min-width: 0;
}

.apollo-services-section .apollo-service-card__title-arrow {
    display: block;
    flex: 0 0 auto;
    width: 1.125rem;
    height: 1.125rem;
}

@media (hover: hover) {
    .apollo-services-section .apollo-service-card__description {
        max-height: 0;
        margin-top: 0;
        overflow: hidden;
        opacity: 0;
        transition:
            max-height 350ms ease,
            margin-top 350ms ease,
            opacity 250ms ease;
    }
    .apollo-services-section .apollo-service-card:hover .apollo-service-card__description,
    .apollo-services-section .apollo-service-card:focus-within .apollo-service-card__description {
        max-height: 10rem;
        margin-top: var(--wp--preset--spacing--20);
        opacity: 1;
    }
}

@media (hover: hover) and (prefers-reduced-motion: reduce) {
    .apollo-services-section .apollo-service-card__description {
        transition: none;
    }
}
.apollo-services-section__actions {
    display: flex;
    justify-content: center;
    margin-top: var(--wp--preset--spacing--60);
}

/* Below 1280px */
@media (max-width: 79.99rem) {
    .apollo-services-section {
        padding-block: var(--wp--preset--spacing--70);
    }
    .apollo-services-section__cards {
        gap: var(--wp--preset--spacing--20);
    }
}

/* Below 992px */
@media (max-width: 61.99rem) {
    .apollo-services-section__header {
        margin-bottom: var(--wp--preset--spacing--50);
    }
    .apollo-services-section__cards {
        flex-wrap: wrap;
        gap: var(--wp--preset--spacing--30);
    }
    .apollo-services-section__cards > .apollo-service-card {
        flex: 0 0 calc(
            (100% - var(--wp--preset--spacing--30)) / 2
        );
    }
    .apollo-services-section .apollo-service-card__media {
        aspect-ratio: 1.3 / 1;
    }
    .apollo-services-section__actions {
        margin-top: var(--wp--preset--spacing--50);
    }
}

/* Below 768px */
@media (max-width: 47.99rem) {
    .apollo-services-section {
        padding-block: var(--wp--preset--spacing--60);
    }
    .apollo-services-section__header {
        margin-bottom: var(--wp--preset--spacing--40);
    }
    .apollo-services-section__cards {
        gap: var(--wp--preset--spacing--20);
    }
    .apollo-services-section__cards > .apollo-service-card {
        flex-basis: calc(
            (100% - var(--wp--preset--spacing--20)) / 2
        );
    }
    .apollo-services-section .apollo-service-card__media {
        aspect-ratio: 0.85 / 1;
    }
    .apollo-services-section__actions {
        margin-top: var(--wp--preset--spacing--40);
    }
}

/* Below 560px: compact 2 x 2 cards */
@media (max-width: 34.99rem) {
    .apollo-services-section__cards {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--wp--preset--spacing--20);
    }
    .apollo-services-section__cards > .apollo-service-card {
        flex: 0 0 calc(
            (100% - var(--wp--preset--spacing--20)) / 2
        );
        width: auto;
    }
    .apollo-services-section .apollo-service-card__media {
        aspect-ratio: 0.95 / 1;
    }
    .apollo-services-section .apollo-service-card__content {
        padding: var(--wp--preset--spacing--30);
    }
    .apollo-services-section .apollo-service-card__description,
    .apollo-services-section .apollo-service-card__title-arrow {
        display: none;
    }
    .apollo-services-section__actions .apollo-button {
        max-width: 100%;
        min-width: 0;
        white-space: normal;
    }
}


/* Below 400px */
@media (max-width: 24.99rem) {
    .apollo-services-section {
        padding-block: var(--wp--preset--spacing--50);
    }
    .apollo-services-section__header {
        margin-bottom: var(--wp--preset--spacing--30);
    }
    .apollo-services-section .apollo-service-card__media {
        aspect-ratio: 0.85 / 1;
    }
    .apollo-services-section .apollo-service-card__content {
        padding: var(--wp--preset--spacing--20);
    }
    .apollo-services-section__actions .apollo-button {
        width: 100%;
        padding: 0.75rem 1.25rem;
    }
}



/* ---------------------------------
   Home cosmetic feature
   --------------------------------- */
.apollo-home-cosmetic {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 33rem;
    overflow: hidden;
    background: var(--wp--preset--color--contrast);
}

.apollo-home-cosmetic__image,
.apollo-home-cosmetic__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.apollo-home-cosmetic__image {
    z-index: -2;
    display: block;
    object-fit: cover;
    object-position: center;
}

.apollo-home-cosmetic__overlay {
    z-index: -1;
    background: #00000080;
    pointer-events: none;
}

.apollo-home-cosmetic__container {
    width: 100%;
}

.apollo-home-cosmetic__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 60rem;
    margin-inline: auto;
    padding-block: var(--wp--preset--spacing--70);
    color: var(--wp--preset--color--base);
    text-align: center;
}

.apollo-home-cosmetic__eyebrow {
    color: var(--wp--preset--color--base);
}

.apollo-home-cosmetic__title {
    margin: var(--wp--preset--spacing--20) 0
        var(--wp--preset--spacing--60);
    color: var(--wp--preset--color--base);
    font-size: var(--wp--preset--font-size--display-sm);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}




