.pimb {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0b2340;
}
.pimb__track {
    position: relative;
    width: 100%;
}
.pimb__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 500ms ease;
}
.pimb__slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.pimb__slide > .pimb__link,
.pimb__slide > img,
.pimb__slide > .pimb__link > img {
    display: block;
    width: 100%;
    height: auto;
}
.pimb__img { display: block; width: 100%; height: auto; }

.pimb__overlay {
    position: absolute;
    left: 5%;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    max-width: 55%;
    color: #fff;
    padding: 1rem 1.25rem;
    text-shadow: 0 1px 3px rgba(0,0,0,.35);
    z-index: 2;
}
.pimb__heading {
    font-size: clamp(1.5rem, 3.5vw, 2.75rem);
    line-height: 1.1;
    margin: 0 0 .5rem;
    color: #fff;
}
.pimb__subheading {
    font-size: clamp(.95rem, 1.6vw, 1.25rem);
    margin: 0 0 1rem;
}
.pimb__cta {
    display: inline-block;
    padding: .6rem 1.4rem;
    border-radius: 999px;
    background: #f0a923;
    color: #0b2340;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: .02em;
    transition: transform 150ms ease, background 150ms ease;
}
.pimb__cta:hover { background: #ffbb3a; transform: translateY(-1px); }
.pimb__cta--nolink { cursor: default; }

.pimb__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.35);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 150ms ease;
}
.pimb__nav:hover { background: rgba(0,0,0,.55); }
.pimb__nav--prev { left: 12px; }
.pimb__nav--next { right: 12px; }

.pimb__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3;
}
.pimb__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    transition: background 150ms ease, transform 150ms ease;
}
.pimb__dot.is-active { background: #fff; transform: scale(1.15); }
.pimb__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 640px) {
    .pimb__overlay { max-width: 90%; left: 5%; right: 5%; }
    .pimb__nav { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    .pimb__slide { transition: none; }
}
