:root {
    --hero-primary-color: #ffffff;
    --hero-transition-speed: 0.5s;
    --hero-dot-size: 26px;
    --hero-link-color: #cccccc;
}

.hero-slider-scope {
    display: flex;
    justify-content: center;
    overflow: hidden;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.hero-slider-scope * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.slider-container {
    position: relative;
    width: 900px;
    min-width: 900px;
    max-width: 900px;
    height: 505px; /* 16:9=506.25 16:8(2:1,4:2)=450 9:4=400 16:7=393.75 5:2=360 16:6=337.5 3:1=300px */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    /* box-shadow: 0 20px 50px rgba(0,0,0,0.5); */
}

.image-viewport {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--hero-transition-speed) ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.controls-wrapper {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 10;
    pointer-events: auto;
}

.dots-container {
    display: flex;
    gap: 18px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.slider-container:hover .dots-container {
    opacity: 1;
    pointer-events: auto;
}

.dot {
    width: var(--hero-dot-size);
    height: var(--hero-dot-size);
    border-radius: 50%;
    border: 2px solid var(--hero-primary-color);
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    z-index: 20;
}

.dot.active {
    background: var(--hero-primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
}

.dot:hover {
    background: rgba(255,255,255,0.5);
}

.caption {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--hero-primary-color);
    font-size: 1.0rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
    /* -webkit-text-stroke: 2px rgba(0,0,0,1); */
    transition: opacity 0.5s ease;
    text-decoration: none;
    display: block;
    overflow-wrap: break-word;
    word-wrap: break-word;
}


main a.hero-link:link,
main a.hero-link:visited {
    color: var(--hero-link-color);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease, opacity 0.3s ease;
    /* cursor: pointer; */
}

main a.hero-link::after {
    content: none !important;
}



/* .hero-link, .caption a {
    color: var(--hero-link-color);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
} */

.hero-link:hover, .caption a:hover {
    color: #fff;
    opacity: 0.9;
}

.outside-stroke {
    color: white;
    text-shadow:
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px  1px 0 black,
        1px  1px 0 black,
        -1px  0   0 black,
        1px  0   0 black,
        0   -1px 0 black,
        0    1px 0 black;
}   