.footer-opening-hours {
    background: rgba(255,255,255,0.10);
    border-radius: 14px;
    padding: 24px;
    margin: 30px auto 16px auto;
    box-shadow: 0 2px 12px 0 rgba(60,60,60,0.06);
    max-width: 920px;
    overflow-x: auto;
}

.footer-opening-hours h5 {
    font-size: 1.13rem;
    letter-spacing: .2px;
    color: #fff;
    margin-bottom: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.footer-opening-hours .oh-clock {
    color: #ffe0b2;
    margin-right: 10px;
    font-size: 1.2em;
}

/* --- KEY CHANGES START HERE --- */

/* Use gap for modern, clean spacing between cards */
.footer-opening-hours .hours-table {
    display: flex;
    gap: 20px; /* Controls the space BETWEEN the male/female cards */
    width: 100%;
}

/* Treat each gender block as a self-contained card */
.footer-opening-hours .gender-block {
    flex: 1; /* Each card will take up equal space */
    min-width: 210px;
    /*background: rgba(0, 0, 0, 0.1); !* Darker background for contrast *!*/
    padding: 16px;
    border-radius: 8px; /* Rounded corners for the card */
    /* No border-right needed anymore */
}

.footer-opening-hours .gender-label {
    font-size: 1.02rem;
    font-weight: 700;
    color: #FFE0B2;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
    padding-left: 12px; /* Align with list items below */
}

.footer-opening-hours ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

/* Add consistent padding to ALL list items */
.footer-opening-hours li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px;
    padding: 4px 12px; /* Consistent padding prevents layout shift on highlight */
    margin-bottom: 2px;
    font-size: 1.01rem;
    color: #fff;
    transition: background 0.2s;
    white-space: nowrap;
}

/* The highlight now only changes colors, not size or padding */
.footer-opening-hours li.today {
    background: #fff3e0;
    color: #9d674d;
    font-weight: bold;
}

.footer-opening-hours li span:first-child {
    min-width: 80px;
}

/* --- RESPONSIVE ADJUSTMENTS --- */

@media (max-width: 991px) {
    .footer-opening-hours {
        padding: 20px 15px;
    }
}

@media (max-width: 767px) {
    .footer-opening-hours {
        padding: 15px 10px;
    }
    /* Switch to a vertical layout on mobile */
    .footer-opening-hours .hours-table {
        flex-direction: column;
        gap: 15px; /* Controls vertical space between cards */
    }
    .footer-opening-hours .gender-block {
        min-width: 100%; /* Ensure cards take full width */
    }
}
