.yealdi-shell {
    max-width: 980px;
    margin: 0 auto;
    background: transparent;
    padding: 24px 28px 0;
    color: inherit;
    font-family: Georgia, "Times New Roman", serif;
}

.yealdi-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 26px;
    align-items: center;
}

.yealdi-hero-copy h1 {
    margin: 0 0 16px;
    font-size: 53px;
    line-height: 1.02;
    text-align: center;
}

.yealdi-hero-copy p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: inherit;
}

.yealdi-hero-image-wrap {
    position: relative;
    min-height: 0;
    background: #ffffff;
    align-self: center;
}

.yealdi-hero-image-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    opacity: 1 !important;
    filter: brightness(1.08) contrast(1.04) !important;
    mix-blend-mode: normal !important;
}

.yealdi-image-placeholder {
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    color: #4b5872;
    font-size: 16px;
}

.yealdi-development-areas {
    margin-top: 16px;
    background: #3f5e95;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
}

.yealdi-dev-label {
    font-size: 27px;
}

.yealdi-dev-items {
    flex: 1;
    overflow: hidden;
}

.yealdi-dev-ticker {
    width: 100%;
    overflow: hidden;
}

.yealdi-dev-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    gap: 12px;
    min-width: max-content;
    animation: yealdi-dev-ticker-scroll 85s linear infinite;
}

.yealdi-dev-word {
    color: #fff;
    font-size: 24px;
    line-height: 1.1;
    background: rgba(255, 255, 255, 0.22);
    padding: 6px 12px;
    border-radius: 2px;
}

.yealdi-dev-separator {
    color: rgba(255, 255, 255, 0.75);
    font-size: 20px;
    line-height: 1;
}

@keyframes yealdi-dev-ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.yealdi-media-strip {
    margin-top: 12px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.yealdi-media-carousel-shell {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.yealdi-media-carousel-shell .yealdi-media-strip {
    margin-top: 0;
}

.yealdi-media-strip--carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.yealdi-media-strip--carousel::-webkit-scrollbar {
    display: none;
}

.yealdi-media-strip--carousel .yealdi-media-tile {
    flex: 0 0 calc((100% - 32px) / 5);
}

.yealdi-media-scroll-btn {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: #36568e;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    flex: 0 0 32px;
}

.yealdi-media-tile {
    position: relative;
    aspect-ratio: 9 / 16;
    background: #c9d2df;
    overflow: hidden;
}

.yealdi-media-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.yealdi-media-link--video {
    position: relative;
}

.yealdi-video-tile-cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    pointer-events: none;
    transition: opacity 160ms ease;
}

.yealdi-media-link--video.is-video-preview-active .yealdi-video-tile-cover {
    opacity: 0;
}

.yealdi-media-tile > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: transparent;
    display: block;
}

.yealdi-media-tile video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    display: block;
    position: relative;
    z-index: 0;
    pointer-events: none;
}

.yealdi-media-tile.yealdi-media-tile-wide video {
    object-fit: cover;
    object-position: center;
}

.yealdi-play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 26px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 2;
}

.yealdi-media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #5f6b81;
}

.yealdi-copy-block {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: inherit;
}

.yealdi-copy-block p {
    margin: 0 0 8px;
}

.yealdi-slider-section {
    margin: 28px -28px 0;
    padding: 0;
    position: relative;
    transition: background-color 240ms ease-in-out;
}

.yealdi-slider {
    position: relative;
    min-height: 322px;
}

.yealdi-slide {
    display: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.275), rgba(255, 255, 255, 0.275)),
        var(--slide-bg);
    background-size: cover;
    background-position: center;
    padding: 24px 32px 92px;
    min-height: 322px;
}

.yealdi-slide.is-active {
    display: block;
}

.yealdi-slide h3 {
    margin: 0 0 20px;
    font-size: 23px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 1px rgba(0, 0, 0, 0.65);
    text-decoration: underline;
}

.yealdi-slide p,
.yealdi-slide-quote {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 1px rgba(0, 0, 0, 0.65);
}

.yealdi-slide-attribution {
    font-size: 16px;
    font-style: italic;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 1px rgba(0, 0, 0, 0.65);
}

.yealdi-slide--dark-text h3,
.yealdi-slide--dark-text p,
.yealdi-slide--dark-text .yealdi-slide-quote,
.yealdi-slide--dark-text .yealdi-slide-attribution {
    color: #12325d;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85), 0 0 1px rgba(0, 0, 0, 0.25);
}

.yealdi-slide-copy {
    position: relative;
    z-index: 1;
}

.yealdi-slide--left-half .yealdi-slide-copy {
    width: 50%;
    max-width: 50%;
}

.yealdi-slide--left-third .yealdi-slide-copy {
    width: 33.3333%;
    max-width: 33.3333%;
}

.yealdi-slide--right-half .yealdi-slide-copy {
    width: 50%;
    max-width: 50%;
    margin-left: auto;
}

.yealdi-slide--black-text h3,
.yealdi-slide--black-text p,
.yealdi-slide--black-text .yealdi-slide-quote,
.yealdi-slide--black-text .yealdi-slide-attribution {
    color: #000000;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.65), 0 0 1px rgba(255, 255, 255, 0.45);
}

.yealdi-slider-dots {
    display: none;
}

.yealdi-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
}

.yealdi-dot.is-active {
    background: #ffffff;
}

.yealdi-slider-controls {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.yealdi-slider-control-btn {
    width: 38px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: #36568e;
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

#yealdi-slider-pause {
    font-size: 15px;
    letter-spacing: -2px;
}

#yealdi-slider-pause.is-play-state {
    font-size: 14px;
    letter-spacing: 0;
    padding-left: 2px;
}

.yealdi-cta-section {
    margin: 12px -28px 0;
    padding: 44px 20px;
    background: #c5d4e1;
    text-align: center;
}

.yealdi-cta-section h2 {
    margin: 0 0 12px;
    font-size: 29px;
}

.yealdi-cta-section h3 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 400;
}

.yealdi-cta-section p {
    margin: 0 0 12px;
    font-size: 14px;
}

.yealdi-cta-section a {
    color: #223f69;
    text-decoration: underline;
}

:is([data-theme="dark"], [data-bs-theme="dark"]) .yealdi-cta-section {
    background: #1e3559;
    color: #f8fbff;
}

:is([data-theme="dark"], [data-bs-theme="dark"]) .yealdi-cta-section h2,
:is([data-theme="dark"], [data-bs-theme="dark"]) .yealdi-cta-section h3,
:is([data-theme="dark"], [data-bs-theme="dark"]) .yealdi-cta-section p {
    color: #f8fbff;
}

:is([data-theme="dark"], [data-bs-theme="dark"]) .yealdi-cta-section a {
    color: #d9e8ff;
}

.eald-slot-target {
    position: relative;
}

.eald-slot-marker {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 3;
    display: inline-block;
    padding: 2px 8px;
    background: rgba(23, 33, 52, 0.72);
    color: #f7f9ff;
    font-size: 11px;
    line-height: 1.2;
    border-radius: 999px;
}

@media (max-width: 1200px) {
    .yealdi-shell {
        max-width: 100%;
    }
    .yealdi-hero-copy h1 {
        font-size: 42px;
    }
    .yealdi-dev-label {
        font-size: 22px;
    }
    .yealdi-dev-word {
        font-size: 18px;
    }
    .yealdi-slide h3 {
        font-size: 17px;
    }
    .yealdi-slide p,
    .yealdi-slide h3 + .eald-slot-target:not(.yealdi-slide-attribution) {
        font-size: 16px;
    }
    .yealdi-slide-attribution {
        font-size: 12px;
    }
    .yealdi-cta-section h2 {
        font-size: 21px;
    }
    .yealdi-cta-section h3 {
        font-size: 16px;
    }
    .yealdi-cta-section p {
        font-size: 11px;
    }
}

@media (max-width: 900px) {
    .yealdi-shell {
        padding: 18px 16px 0;
    }
    .yealdi-hero {
        grid-template-columns: 1fr;
    }
    .yealdi-hero-image-wrap {
        max-width: 360px;
    }
    .yealdi-development-areas {
        flex-direction: column;
        align-items: flex-start;
    }
    .yealdi-dev-track { animation-duration: 65s; }
    .yealdi-media-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .yealdi-media-strip--carousel .yealdi-media-tile {
        flex-basis: calc((100% - 16px) / 3);
    }
    .yealdi-slider-section,
    .yealdi-cta-section {
        margin-left: -16px;
        margin-right: -16px;
    }
    .yealdi-slide {
        padding: 20px 16px 86px;
    }
}

@media (max-width: 620px) {
    .yealdi-media-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .yealdi-media-strip--carousel .yealdi-media-tile {
        flex-basis: calc((100% - 8px) / 2);
    }
}

.yealdi-video-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.yealdi-video-modal[hidden] {
    display: none;
}

.yealdi-video-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(15, 23, 42, 0.82);
    cursor: pointer;
}

.yealdi-video-modal__panel {
    position: relative;
    z-index: 1;
    width: min(960px, 96vw);
    max-height: 92vh;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: #111827;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.45);
}

.yealdi-video-modal__close {
    position: absolute;
    top: 0.35rem;
    right: 0.45rem;
    z-index: 2;
    border: 0;
    background: transparent;
    color: #f8fafc;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.yealdi-video-modal__player {
    display: block;
    width: 100%;
    max-height: calc(92vh - 2rem);
    border-radius: 0.5rem;
    background: #000000;
}

body.yealdi-video-modal-open {
    overflow: hidden;
}
