﻿/* Section Title */
.title-court {
    font-size: 2rem;
    font-weight: 500;
    color: #ba9044;
    border-bottom: 2px solid #f5e8c7;
    display: inline-block;
    padding-bottom: 5px;
}

/* List Icon */
.list-icon {
    color: #ba9044;
    margin-right: 8px;
}

/* Map Container */
.map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

    .map-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* Court Details List */
.court-details-list {
    margin: 20px 0;
}

    .court-details-list ul {
        padding: 0;
    }

.court-detail-item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fff;
    border-left: 4px solid #ba9044;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

    .court-detail-item:hover {
        background-color: #f5e8c7;
    }

.detail-label {
    font-weight: 600;
    color: #333;
    width: 150px;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
    color: #555;
}

/* Container Overflow Fix */
.container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .title-court {
        font-size: 1.5rem;
    }

    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .court-detail-item {
        flex-direction: column;
        padding: 10px;
        margin-bottom: 10px;
    }

    .detail-label {
        width: 100%;
        margin-bottom: 5px;
    }

    .detail-content {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .title-court {
        font-size: 1.3rem;
    }

    .court-detail-item {
        padding: 8px;
    }

    .detail-label,
    .detail-content {
        font-size: 0.9rem;
    }
}
