/* Modern Reviews V2 Styles */

/* Globální opravy v sekci - FORCE ORANGE STARS */
.reviews-modern-section .text-orange,
.reviews-modern-section .fa-star,
.reviews-modern-section .stars i {
    color: #f59e05 !important;
}

.review-card-modern-v2 {
    background: transparent;
    padding: 10px;
    height: 100%;
}

/* Hlavička a texty */
.sec-headline {
    font-family: "Katahdin Round Regular", sans-serif !important;
    font-size: 2.5em; /* Větší */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1.2;
}

.sec-headline img.palec-rec {
    max-width: 40px !important; /* Větší ikona */
    margin-right: 15px !important;
    margin-bottom: 5px;
}

.rating-badge .score {
    font-family: "Katahdin Round Regular", sans-serif !important;
    font-size: 2em !important;
}

.rating-badge .count {
    font-size: 0.9em;
    opacity: 0.8;
    margin-top: 5px;
}

.count a {
    text-decoration: underline;
    color: white; /* Ujistíme se, že odkaz je bílý */
}
.count a:hover {
    color: #f59e05;
}

@media (max-width: 768px) {
    .sec-headline {
        font-size: 1.8em; /* Menší na mobilu */
        flex-direction: column;
    }
    
    .sec-headline img.palec-rec {
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
}

/* Layout Karty - Flexbox Side-by-Side */
.review-card-row {
    display: flex;
    flex-direction: row;
    height: 230px; /* Zmenšeno (V3 design) */
    align-items: stretch; /* Aby byly oba sloupce stejně vysoké */
    background: white; /* Spojení pozadí */
    border-radius: 15px;
    overflow: hidden; /* Oříznutí rohů pro celý box */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Jemnější stín */
    margin: 10px; /* Odstup pro stín */
    position: relative;
}

.col-dog-photo {
    width: 40%; /* Menší šířka pro fotku (cca 2/5) */
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.col-review-content {
    width: 60%; /* Větší prostor pro text (cca 3/5) */
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

/* Fotka */
.dog-photo-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    /* Žádný border-radius tady, dědí od rodiče */
}

.dog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticker-name {
    position: absolute;
    bottom: 0px; /* Jméno dole */
    left: 0px;
    top: auto; /* Reset top */
    width: 100%; /* Přes celou šířku fotky */
    background: linear-gradient(0deg, rgba(245,158,5,0.9) 0%, rgba(245,158,5,0.8) 100%); 
    color: white;
    padding: 8px 10px;
    z-index: 10;
    transform: none; /* Reset rotace */
    clip-path: none; /* Reset tvaru */
    box-shadow: none;
    text-align: center;
    border-top-right-radius: 15px; /* Zakulacený roh pro stylový přechod */
}

.sticker-name span {
    font-family: "Katahdin Round Regular", sans-serif !important;
    font-size: 0.9em; 
    display: inline-block;
    line-height: 1.2;
}

.sticker-name strong {
    font-size: 1.1em; 
    margin-left: 5px;
}

/* Review Box */
.review-content-box {
    background: white;
    width: 100%;
    height: 100%;
    padding: 15px 20px; /* Kompaktnější padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Horizontální centr */
    text-align: center;
    position: relative;
}

/* Šipka (Bublina efekt) */
.review-content-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent; 
    border-right: 15px solid white; 
    z-index: 5;
    margin-left: -14px; 
}

.review-text {
    font-style: italic;
    color: #444; /* Jemnější barva textu */
    font-size: 0.85em; 
    line-height: 1.5;
    margin-bottom: 0;
    width: 100%;
}

.review-scroll {
    width: 100%;
    max-height: 120px; /* Zmenšeno kvůli nižší výšce karty */
    overflow-y: auto;
    scrollbar-width: thin;
    padding-right: 5px;
    margin-bottom: 8px;
}
/* Scrollbar styly */
.review-scroll::-webkit-scrollbar {
    width: 4px;
}
.review-scroll::-webkit-scrollbar-thumb {
    background-color: #f59e05;
    border-radius: 4px;
}

/* Metadata */
.author-name {
    font-weight: 800;
    margin-bottom: 0;
    font-size: 1em;
    color: #222;
}

.review-meta {
    margin-top: auto; /* Přitlačit dolů pokud je místo */
    width: 100%;
}

.review-meta .stars {
    font-size: 0.9em;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: #f59e05 !important; /* Force override */
}

.review-meta small {
    color: #999;
    font-size: 0.8em;
}

/* Navigace */
.nav-arrow-v2 {
    background: transparent;
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    margin: 0 15px;
}

.nav-arrow-v2:hover {
    opacity: 1;
    color: #f59e05;
}

/* Responsive */
@media (max-width: 991px) {
    .review-card-row {
        flex-direction: column;
        height: auto;
    }

    .col-dog-photo {
        width: 100%;
        height: 250px; 
    }

    .col-review-content {
        width: 100%;
        height: auto;
        min-height: 200px;
    }
    
    .review-content-box {
        padding: 30px;
    }
}

/* Reviews Page CTA Buttons (Replicating Homepage Header) */
.reviews-btn-info {
    color: #ffffff !important;
    text-decoration: none;
    margin-right: 0 !important;
    margin-left: 0 !important;
    font-weight: 400 !important;
}

.reviews-btn-cta {
    background: #ee9623 !important; /* Orange CTA */
    margin-left: 0 !important;
    color: #ffffff !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    font-weight: 400 !important;
}

.reviews-btn-cta:hover {
    color: #ffffff !important;
    opacity: 0.9;
}

.reviews-cta-icon {
    max-width: 1.5em; /* Match main-header-cta-icon size */
    margin-right: 15px; /* Spacing */
    vertical-align: middle;
}

.reviews-price-note {
    color: #ffffff;
    line-height: 3em; 
    font-size: 0.8em;
    margin-left: 2px;
    margin-top: -0.4em;
    display: inline-block;
}

.reviews-page-wrapper {
    background-color: #3d182c; /* Deep Purple */
}
