/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

/* Art & More – Sike Medium Gallery */

.fluidbox__wrap {
    position: relative;
}

.fluidbox__wrap .am-gallery-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    padding: 35px 14px 12px;

    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 0, 0, 0.78)
    );

    color: #fff;
    text-align: left;
    line-height: 1.4;
    pointer-events: none;
}

.am-gallery-caption strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.am-gallery-caption span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

/* Beim Öffnen der Bildvergrößerung ausblenden */
.fluidbox--opened .am-gallery-caption {
    display: none;
}

/* Vollständige Beschriftung in der Galerie */
.fluidbox__wrap .am-gallery-caption {
    display: block;
    bottom:20px;
    padding: 32px 14px 12px;
    box-sizing: border-box;
    line-height: 1.4;
}

.fluidbox__wrap .am-gallery-caption strong,
.fluidbox__wrap .am-gallery-caption span {
    display: block;
    margin: 0;
    padding: 0;
    white-space: normal;
}

/* Originalbeschriftung bei Vergrößerung ausblenden */
.fluidbox--opened .am-gallery-caption {
    display: none !important;
}

/* Separate Beschriftung für die Großansicht */
.am-fluidbox-caption {
    position: fixed;
    z-index: 1020;
    display: none;
    box-sizing: border-box;
    padding: 35px 16px 14px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 0, 0, 0.8)
    );
    color: #fff;
    text-align: left;
    line-height: 1.4;
    pointer-events: none;
}

.am-fluidbox-caption strong {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.am-fluidbox-caption span {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

