/* ------------------------------------------------ */
/* Sidebar Container */
/* ------------------------------------------------ */
.main-layout-sidebar {
    flex: 1; 
    max-width: 300px;
    min-width: 250px;
}
/* ------------------------------------------------ */
/* Container für die Liste der neuesten Reviews */
/* ------------------------------------------------ */
.side-reviews-container {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem; 
}
.side-reviews-container h2 {
    font-size: 1.4em;
    color: #e0e0e0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #555566;
}
/* ------------------------------------------------ */
/* Link-Struktur und Inhalt der Vorschau */
/* ------------------------------------------------ */
.side-review-link {
    text-decoration: none;
    display: block;
}
.side-review-content {
    display: flex;
    gap: 1rem;
    border-radius: 0.6rem;
    transition: all 0.2s ease-in-out;
    border: 1px solid #555;
}
/* ------------------------------------------------ */
/* Hover-Effekt */
/* ------------------------------------------------ */
.side-review-link:hover .side-review-content {
    background-color: #555566;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
    border-color: #73dadd;
}
/* ------------------------------------------------ */
/* Bild-Styling */
/* ------------------------------------------------ */
.side-review-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.4rem;
    flex-shrink: 0;
}
/* ------------------------------------------------ */
/* Text-Bereich */
/* ------------------------------------------------ */
.side-review-text {
    flex-grow: 1;
    min-width: 0;
}
.side-review-title {
    margin: 0 0 3px 0;
    font-size: 1.5rem;
    color: #e0e0e0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.side-review-description {
    margin: 0;
    font-size: 1.3rem;
    color: #e0e0e0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}
/* ------------------------------------------------ */
/* Media Query für kleine Bildschirme */
/* ------------------------------------------------ */
@media (max-width: 975px) {
    .main-layout-sidebar {
        margin-top: 30px; 
        max-width: 100%;
        min-width: auto;
    }
}
/* ------------------------------------------------ */
/* Hauptcontainer für das Layout */
/* ------------------------------------------------ */
.review-page-layout {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;

}
/* ------------------------------------------------ */
/* Inhaltsbereich der Bewertung */
/* ------------------------------------------------ */
.review-page h1 {
    margin-bottom: 0;
    font-size: 2.5em;
    border-bottom: 2px solid #555566;
}
.review-page p:not(.review-page-date) {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
/* ------------------------------------------------ */
/* Bildergalerie (Hauptbild und Thumbnails) */
/* ------------------------------------------------ */
.review-page_image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 1.6rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    position: relative;
}
.review-page_image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--image-url); 
    background-size: cover;
    background-position: center;
    filter: blur(7px);
    z-index: 0;
}
.review-page-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain; 
    position: relative; 
    z-index: 1;
    display: block;
    margin: 0; 
}
/* Alte version des mainbildes der gallery
.review-page-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    border-radius: 0.6rem;
    display: block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}*/
.thumbnail-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid #666;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
    border-radius: 4px;
}
.thumbnail:hover, .thumbnail:focus {
    border-color: #73dadd;
    transform: scale(1.05);
}
/* ------------------------------------------------ */
/* Haupt-Review-Inhalt und Datum */
/* ------------------------------------------------ */
.review-content {
    border-top: 1px solid #555566;
    line-height: 1.7;
    font-size: 1.05em;
}
.review-page-date {
    margin-top: 25px;
    font-size: 0.9em;
    text-align: right;
    color: #aaaaaa;
}
/* ------------------------------------------------ */
/* Media Query (Responsives Design) */
/* ------------------------------------------------ */
@media (max-width: 975px) {
    .review-page-layout {
        flex-direction: column; 
    }
    
    .main-layout-content,
    .main-layout-sidebar {
        flex: none;
        max-width: 100%;
        min-width: auto;
    }
    
    .review-page {
        padding: 20px;
    }
}