/* ================================================================
   OVR Overview — Frontend Styles  |  Prefix: ovr-fe-
================================================================ */

:root {
    --ovr-fe-color-label:        #333333;
    --ovr-fe-color-label-active: #0078d4;
    --ovr-fe-color-dot:          #bbbbbb;
    --ovr-fe-color-dot-active:   #0078d4;
    --ovr-fe-color-caption:      #555555;
}

/* ---- Wrapper ---- */
.ovr-fe-overview {
    width: 100%;
    box-sizing: border-box;
    padding: 40px 0;
    font-family: inherit;
}

/* ================================================================
   DESKTOP LAYOUT
================================================================ */
.ovr-fe-desktop-layout {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ovr-fe-mobile-layout {
    display: none;
}

/* ---- Label columns ---- */
.ovr-fe-labels {
    flex: 0 0 210px;
    display: flex;
    flex-direction: column;
}

.ovr-fe-labels-left  { text-align: right; }
.ovr-fe-labels-right { text-align: left; }

.ovr-fe-label {
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--ovr-fe-color-label);
    cursor: pointer;
    padding: 10px 0;
    /* currentColor = underline always matches the text */
    border-bottom: 1px solid currentColor;
    transition: color 0.2s ease;
    user-select: none;
    opacity: 0.65;
}

.ovr-fe-label:hover {
    color: var(--ovr-fe-color-label-active);
    opacity: 1;
}

.ovr-fe-label.ovr-fe-label-active {
    color: var(--ovr-fe-color-label-active);
    opacity: 1;
}

/* ---- Carousel wrap ---- */
.ovr-fe-carousel-wrap {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Row: prev | slides | next */
.ovr-fe-carousel-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

/* ---- Carousel ---- */
.ovr-fe-carousel {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.ovr-fe-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: ovrFeFadeIn 0.3s ease;
}

.ovr-fe-slide.ovr-fe-slide-active {
    display: flex;
}

@keyframes ovrFeFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ovr-fe-slide-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.ovr-fe-caption {
    margin: 14px 0 0;
    font-size: 0.9rem;
    color: var(--ovr-fe-color-caption);
    line-height: 1.6;
    font-family: inherit;
}

/* Force caption links to active color — override any theme styles */
.ovr-fe-caption a,
.ovr-fe-caption a:visited,
.ovr-fe-caption a:hover,
.ovr-fe-caption a:focus {
    color: var(--ovr-fe-color-label-active) !important;
    text-decoration: underline;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* ---- SVG Arrows ---- */
.ovr-fe-arrow {
    background: transparent;
    border: 1px solid rgba(128,128,128,0.3);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
}

.ovr-fe-arrow:hover {
    border-color: var(--ovr-fe-color-label-active);
    background: transparent;
}

.ovr-fe-arrow svg {
    width: 25px;
    height: 25px;
    display: block;
    flex-shrink: 0;
    fill: none;
    stroke: var(--ovr-fe-color-label);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s;
}

.ovr-fe-arrow:hover svg {
    stroke: var(--ovr-fe-color-label-active);
}

/* ---- Dots ---- */
.ovr-fe-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
}

/* Hard-reset: override any theme that might turn buttons into squares */
.ovr-fe-dot,
.ovr-fe-overview .ovr-fe-dot {
    display: inline-block !important;
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    border-radius: 50% !important;
    border: 2px solid var(--ovr-fe-color-dot) !important;
    background: transparent !important;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: background 0.2s, border-color 0.2s;
    box-sizing: border-box !important;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.ovr-fe-dot.ovr-fe-dot-active,
.ovr-fe-overview .ovr-fe-dot.ovr-fe-dot-active {
    background: var(--ovr-fe-color-dot-active) !important;
    border-color: var(--ovr-fe-color-dot-active) !important;
}

/* ================================================================
   MOBILE LAYOUT  (≤ 768px)
================================================================ */
@media (max-width: 768px) {
    .ovr-fe-desktop-layout { display: none; }

    .ovr-fe-mobile-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .ovr-fe-mobile-layout .ovr-fe-carousel-row {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 8px;
    }

    .ovr-fe-mobile-layout .ovr-fe-carousel {
        flex: 1;
    }

    .ovr-fe-mobile-layout .ovr-fe-dots {
        margin-top: 4px;
    }
}
button.ovr-fe-arrow.ovr-fe-arrow-next, button.ovr-fe-arrow.ovr-fe-arrow-prev {
    border: none !important;
	padding: 0px!important;
}
p.ovr-fe-caption a {
    font-size: 13px;
    text-decoration: underline;
    font-style: italic;
    font-weight: 400 !important;
}