/* Stella shared rental editorial content */
.stella-rental-editorial {
    margin-top: 24px;
}

.stella-rental-editorial h2 {
    margin: 0 0 20px;
    color: var(--stella-primary-dark);
    font-size: 26px;
}

.stella-rental-editorial p {
    margin-bottom: 16px;
}

/* Stella V2 – Pressebeiträge ohne alte Listenstruktur */
.stella-press-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.stella-press-card {
    display: block;
    list-style: none;
    margin: 0;
    padding: 22px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 3px 14px rgba(30, 60, 90, 0.08);
}

.stella-press-card h3 {
    margin: 0 0 18px;
    color: var(--stella-primary-dark);
}

.stella-press-card img {
    max-width: 100%;
    height: auto;
}

.stella-press-empty {
    padding: 20px;
}


/* STELLA PRESS CSS – EXTERNAL */

/* Presse- und Referenzdesign */
.stella-press {
    width: 100%;
    max-width: 1050px;
    margin: 24px auto 40px;
    box-sizing: border-box;
}

.stella-press-list {
    display: grid;
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.stella-press-list > .stella-press-card {
    display: block;
    box-sizing: border-box;
    background: #fff;
    border: 0;
    border-left: 4px solid #006ba6;
    border-radius: 6px;
    padding: 24px 28px;
    margin: 0;
    text-align: left;
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
    overflow: hidden;
}

.stella-press-card h3 {
    color: #006ba6 !important;
    font-size: 23px !important;
    font-weight: 600 !important;
    text-align: left !important;
    line-height: 1.4;
    margin: 0 0 20px !important;
    padding: 0 !important;
}

.stella-press-card p {
    color: #444;
    font-size: 16px;
    line-height: 1.7;
    text-align: left !important;
    padding: 0 !important;
    margin: 0 0 14px !important;
}

.stella-press-card img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: min(100%,720px) !important;
    max-height: 750px;
    object-fit: contain;
    margin: 20px auto !important;
    border-radius: 3px;
}

.stella-press-card iframe {
    max-width: 100%;
}

.stella-press-card .video-embed {
    position: relative;
    width: 100%;
    max-width: 800px;
    padding-bottom: 56.25%;
    height: 0;
    margin: 20px auto;
}

.stella-press-card .video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    left: 0;
    border: 0;
}

.stella-press-card a {
    color: #006ba6 !important;
    text-decoration: underline !important;
}

.stella-press .pagination {
    margin: 28px 0;
    text-align: center;
}

@media (max-width: 700px) {

    .stella-press {
        margin-top: 16px;
        padding: 0 10px;
    }

    .stella-press-list > .stella-press-card {
        padding: 18px 16px;
    }

    .stella-press-card h3 {
        font-size: 20px !important;
    }

    .stella-press-card p {
        font-size: 15px;
    }

    .stella-press-card img {
        max-height: 600px;
    }
}

/* Presse-Bildergalerie und Lightbox */
.stella-press-gallery {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
    max-width: 900px;
    margin: 24px auto;
}

.stella-press-gallery a,
.stella-press-single a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f8fa;
    border-radius: 5px;
    overflow: hidden;
    cursor: zoom-in;
}

.stella-press-gallery img {
    display: block;
    width: 100% !important;
    height: 340px !important;
    max-width: 100% !important;
    object-fit: contain;
    margin: 0 !important;
}

.stella-press-single {
    margin: 20px auto;
    max-width: 900px;
}

.stella-press-single img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 750px;
    object-fit: contain;
    margin: 0 auto !important;
}

.stella-press-lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,.92);
    align-items: center;
    justify-content: center;
    padding: 55px 25px 25px;
    box-sizing: border-box;
}

.stella-press-lightbox-overlay.active {
    display: flex;
}

.stella-press-lightbox-overlay img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.stella-press-lightbox-close {
    position: absolute;
    top: 12px;
    right: 24px;
    color: #fff;
    background: transparent;
    border: 0;
    font-size: 42px;
    cursor: pointer;
}

@media(max-width:700px) {
    .stella-press-gallery {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .stella-press-gallery img {
        height: auto !important;
        max-height: 500px;
    }
}

