/* =========================================================
   HERO
   ========================================================= */

.universe-hero {
    position: relative;
    min-height: min(720px, 78vh);
    overflow: hidden;
    isolation: isolate;
    background: #080d16;
}

.universe-hero__slides {
    position: absolute;
    inset: 0;
    display: flex;
    transform: translate3d(0, 0, 0);
    transition: transform 700ms ease;
    will-change: transform;
}

.universe-hero__slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
}

.universe-hero__slide picture,
.universe-hero__slide img {
    display: block;
    width: 100%;
    height: 100%;
}

.universe-hero__slide img {
    object-fit: cover;
}

.universe-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
   pointer-events:none;
    background:
        linear-gradient(
            90deg,
            rgba(4, 8, 15, .86) 0%,
            rgba(4, 8, 15, .60) 38%,
            rgba(4, 8, 15, .16) 72%,
            rgba(4, 8, 15, .42) 100%
        );
}

.universe-hero__content {
    position: relative;
    z-index: 2;
    width: min(1120px, 92%);
    min-height: min(720px, 78vh);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 0;
}

.universe-hero__content h1 {
    max-width: 760px;
    margin: 0 0 18px;
}

.universe-hero__content > p {
    max-width: 680px;
}

.universe-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.universe-hero__controls {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
}

.universe-hero__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.universe-hero__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition:
        transform 200ms ease,
        background-color 200ms ease;
}

.universe-hero__dot:hover {
    transform: scale(1.25);
}

.universe-hero__dot.is-active {
    transform: scale(1.25);
    background: #ffffff;
}

.universe-hero__dot:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

.universe-hero__prev,
.universe-hero__next,
.universe-hero__pause {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.universe-hero__prev:hover,
.universe-hero__next:hover,
.universe-hero__pause:hover {
    background: rgba(0, 0, 0, 0.55);
}

.universe-hero__prev:focus-visible,
.universe-hero__next:focus-visible,
.universe-hero__pause:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.universe-gateway {
    padding: 5rem 1.5rem;
}

.universe-gateway__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.universe-gateway__intro {
    max-width: 720px;
    margin-bottom: 3rem;
}

.universe-gateway__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.universe-gateway-card {
    overflow: hidden;
    border-radius: 1.25rem;
}

.universe-container img{

    object-fit: cover;


}

.universe-gateway-card__media {
    aspect-ratio: 900 / 520;
    overflow: hidden;
}

.universe-gateway-card__media img {
   
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.universe-gateway-card__body {
    padding: 1.5rem;
}

.universe-gateway-card__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.universe-gateway-card h3 {
    margin: 0.4rem 0 0.75rem;
}

.universe-gateway-card p {
    margin-bottom: 1.25rem;
}

@media (max-width: 900px) {

    .universe-gateway__grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .universe-gateway__grid {
        grid-template-columns: 1fr;
    }

}

.trilogy-hero {
    position: relative;
    min-height: min(720px, 78vh);
    overflow: hidden;
    isolation: isolate;
    background: #080d16;
}


/* =========================
   IMAGE LAYER
   ========================= */

.trilogy-hero__banner {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;
}

.trilogy-hero__slide {
    position: relative;

    width: 100%;
    height: 100%;
}

.trilogy-hero__slide picture {
    display: block;

    width: 100%;
    height: 100%;
}

.trilogy-hero__slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* =========================
   OVERLAY LAYER
   ========================= */

.trilogy-hero__overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(4, 8, 15, .86) 0%,
            rgba(4, 8, 15, .60) 38%,
            rgba(4, 8, 15, .16) 72%,
            rgba(4, 8, 15, .42) 100%
        );
}


/* =========================
   CONTENT LAYER
   ========================= */

.trilogy-hero__content {
    position: relative;
    z-index: 2;

    width: min(1120px, 92%);
    min-height: min(720px, 78vh);

    margin-inline: auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 80px 0;

    pointer-events: auto;
}


.trilogy-hero__content h1 {
    max-width: 760px;
    margin: 0 0 18px;
}


.trilogy-hero__content > p {
    max-width: 680px;
}


.trilogy-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

@media (max-width: 900px) {

    .universe-gateway__grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

}

@media (max-width: 767px) {
    .trilogy-hero__banner img {
        object-position: center center;
    }
}

.trilogy-gateway__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
   
    gap: 1.5rem;
}

@media (max-width: 900px) {

    .trilogy-gateway__grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

}

