/*
Theme Name:  Astra Child
Description: Child Theme für Astra
Template:    astra
Version:     1.0.0
*/

.luxio-toggle .wp-block-uagb-faq-child .uagb-faq-questions-button .uagb-question {
    width: auto;
}

.luxio-toggle .uagb-ifb-title {
    margin-bottom: 10px !important;
}

/* First Footer Block CSS */
.site-footer-primary-section-1 .widget {
    margin-bottom: 0;
}

.site-footer-primary-section-1 .uagb-buttons__outer-wrap.uagb-btn__small-btn .uagb-buttons-repeater.wp-block-button__link:not(.is-style-outline),
.uagb-buttons__outer-wrap.uagb-btn__small-btn .uagb-buttons-repeater.ast-outline-button {
    padding: 0px 0px !important;
}

/* Time Table Footer CSS */
table.luxio-footer-timetable {
    border: none !important;
    width: auto !important;
    max-width: 100% !important;
}

table.luxio-footer-timetable td {
    border: none !important;
    padding: 0 5px 0 0;
}

/* ============================================
   Luxio Slider - Container & Image Styling
   ============================================ */

/* Figure element: Full width without restriction */
.luxio-slider-container figure {
    width: 100% !important;
    max-width: none !important;
}

/* Slider images: Block display, fixed height, image crop */
.luxio-slider-container img {
    display: block;
    width: 100% !important;
    height: 600px !important;
    object-fit: cover !important;
}

.luxio-slide-image-position-top img {
    object-position: top !important;
}

/* Responsive: Smaller image height on mobile devices */
@media only screen and (max-width: 767px) {
    .luxio-slider-container img {
        height: 400px !important;
    }
}

/* Changes for colored backgrounds */
#astra-footer-menu .menu-item>a,
.wp-block-button .wp-block-button__link,
.wp-block-search .wp-block-search__button,
body .wp-block-file .wp-block-file__button,
.site-footer-primary-section-1 .widget,
.luxio-light-bg {
    color: #1F2A37 !important;
}

#astra-footer-menu .menu-item:hover>a {
    color: #3B6FA1 !important;
}

/* Floating side widgets (Doctolib + Rezept)
   Header-HTML filtert display:flex aus Inline-Styles – Layout über Klassen. */
.uroteam-side-widgets {
    position: fixed;
    z-index: 100000000000000;
    top: 380px;
    right: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.uroteam-side-widgets__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    margin: 0;
    padding: 10px;
    width: 80px;
    min-width: 80px;
    max-width: 80px;
    flex-shrink: 0;
    text-align: center;
    opacity: 0.85;
    background-color: #075aae;
    color: #ffffff !important;
    font-size: 13px;
    text-decoration: none !important;
    border-radius: 4px 0 0 4px;
    line-height: 1.4;
    overflow: hidden;
}

.uroteam-side-widgets__btn:hover {
    color: #ffffff !important;
    opacity: 1;
}

.uroteam-side-widgets__btn--termin {
    justify-content: flex-start;
}

.uroteam-side-widgets__btn--rezept {
    justify-content: center;
}

.uroteam-side-widgets__line {
    display: block;
    width: 100%;
    font-size: 14px;
}

.uroteam-side-widgets__logo {
    display: block;
    height: 15px;
    width: auto;
    max-width: 100%;
    margin-top: 10px;
    flex-shrink: 0;
}

/* Video Lightbox - Play Button Overlay */
a.video-lightbox {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

a.video-lightbox img {
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

a.video-lightbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23075aae'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 55% 50%;
    background-size: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
}

a.video-lightbox:hover::after {
    transform: translate(-50%, -50%) scale(1.15);
    background-color: #075aae;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
    box-shadow: 0 6px 30px rgba(7, 90, 174, 0.5);
}

a.video-lightbox:hover img {
    transform: scale(1.03);
    filter: brightness(0.85);
}

.plyr__controls input[type=range]::-webkit-slider-runnable-track {
    box-shadow: none !important;
}

input[type=range]::-webkit-slider-thumb {
    box-shadow: none !important;
}