/**
 * Rooms Single Widget - Styles
 * 
 * @package BBAdria
 */

/* Related Rooms Section */
.rooms1 .box_cat_rooms {
    display: block;
    text-decoration: none;
}

.rooms1 .box_cat_rooms figure {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.rooms1 .box_cat_rooms .background-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.rooms1 .box_cat_rooms:hover .background-image {
    transform: scale(1.05);
}

.rooms1 .box_cat_rooms .info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--color-white);
}

.rooms1 .box_cat_rooms .info small {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--color-cta-secondary);
}

.rooms1 .box_cat_rooms .info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--color-white);
}

.rooms1 .box_cat_rooms .info span {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-section .accordion-item {
    border: 1px solid var(--color-grey-light);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-section .accordion-button {
    background: var(--color-white);
    color: var(--color-primary);
    font-weight: 600;
    padding: 20px;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--color-primary);
    color: var(--color-white);
}

.faq-section .accordion-body {
    padding: 20px;
    background: var(--color-white);
}

/* Parent Room Link (per sub-stanze) */
.parent-room-link {
    margin-top: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
}

.parent-room-link i {
    margin-right: 8px;
}

.parent-room-link a {
    color: var(--color-white);
    text-decoration: underline;
    font-weight: 500;
}

.parent-room-link a:hover {
    color: var(--color-cta-secondary);
}

/* Sub-rooms Section - usa stili grid-version */
.sub-rooms.rooms_section {
    background-color: var(--color-bg-secondary);
}

/* Related Rooms - altezza ridotta e padding */
.related-rooms.rooms_section {
    margin: 0;
    padding: 80px 0;
}

.related-rooms.rooms_section a.box_cat_rooms {
    height: 350px;
}

@media (max-width: 991px) {
    .related-rooms.rooms_section {
        padding: 50px 0;
    }
    
    .related-rooms.rooms_section a.box_cat_rooms {
        height: 300px;
    }
}

/* ======= Room Details Hero ======= */
.details {
    font-size: var(--font-size-normal);
    color: var(--color-white);
    margin-bottom: 0;
    margin-top: 15px;
}
.details span {
    margin-right: 21px;
}
.details span i {
    color: var(--color-white);
    margin-right: 7px;
    font-style: normal;
    font-weight: 100;
    font-size: var(--font-size-h5);
}

/* ======= Page List (Room amenities) ======= */
.page-list {
    position: relative;
}
.page-list li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--font-size-normal);
    font-weight: var(--font-weight-normal);
    padding-bottom: 10px;
    color: var(--color-text-main);
}
.page-list li:last-child {
    padding-bottom: 0;
}
.page-list-icon {
    flex-shrink: 0;
    color: var(--color-cta-secondary);
}
.page-list-icon i {
    font-size: var(--font-size-normal);
}
.page-list-text {
    flex: 1;
}
.page-list-text p {
    margin: 0;
}