/* ------------------------------ */
/* Main Container and Layout */
/* ------------------------------ */
.csi-stadium-container {
    max-width: 1200px;
    margin: 10px auto;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #000;
    background-color: #fff;
}

.csi-main-content-area {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    align-items: stretch;
}

.csi-column-left {
    flex: 2;
    min-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.csi-column-right {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ------------------------------ */
/* Section Box Styling */
/* ------------------------------ */
.csi-image-address-box,
.csi-weather-widget-box,
.csi-about-box,
.csi-stats-item,
.csi-fixture-item {
    background-color: #fff;
    color: #000;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out;
}

.csi-image-address-box:hover,
.csi-weather-widget-box:hover,
.csi-about-box:hover,
.csi-stats-item:hover,
.csi-fixture-item:hover {
    transform: translateY(-3px);
}

/* ------------------------------ */
/* About and Image Sections */
/* ------------------------------ */
.csi-image-address-box {
    text-align: center;
}
.csi-thumbnail img {
    max-width: 100%;
    height: auto;
}
.csi-weather-widget-box {
    text-align: center;
}
.csi-about-box {
    text-align: center;
}
.csi-about-box h3 {
    font-size: 1.8em;
    color: #000;
    margin-bottom: 25px;
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
}
.csi-info-table {
    width: 100%;
    max-width: 650px;
    border-collapse: collapse;
    margin: 0 auto;
    font-size: 0.95em;
}
.csi-info-table th,
.csi-info-table td {
    padding: 12px 18px;
    border: 1px solid #ccc;
    text-align: left;
    color: #000;
}
.csi-info-table th {
    background-color: #f0f0f0;
    font-weight: 600;
    color: #000;
}
.csi-info-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* ------------------------------ */
/* Stats Grid Section */
/* ------------------------------ */
.csi-stats-section {
    margin-top: 5px;
    padding: 10px 0;
    text-align: center;
}
.csi-stats-section h3 {
    font-size: 2em;
    color: #000;
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 15px;
}
.csi-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}
.csi-stats-item {
    text-align: center;
}
.csi-stats-item h4 {
    font-size: 20px;
    color: #000;
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}
.csi-stats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.csi-stats-table th,
.csi-stats-table td {
    padding: 10px 15px;
    border: 1px solid #ccc;
    text-align: left;
    color: #000;
}
.csi-stats-table th {
    background-color: #f0f0f0;
    font-weight: normal;
    color: #000;
}
.csi-stats-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* ------------------------------ */
/* Weather Card Styling */
/* ------------------------------ */
.csi-weather-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    color: #000;
    border-radius: 6px;
    max-width: 300px;
    margin: 0 auto;
    max-height: 250px;
}
.csi-weather-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}
.csi-weather-icon {
    width: 80px;
    height: 80px;
}
.csi-weather-temp {
    font-size: 2.8em;
    font-weight: bold;
    color: #000;
}
.csi-weather-description {
    font-size: 1em;
    color: #555;
    text-transform: capitalize;
}
.csi-weather-details {
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding-top: 5px;
    border-top: 1px solid #ccc;
}
.csi-weather-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9em;
    color: #555;
}
.csi-weather-detail-item i {
    font-size: 1.8em;
    margin-bottom: 5px;
    color: #1a73e8;
}
.csi-icon-rain::before { content: "☔"; }
.csi-icon-humidity::before { content: "💧"; }
.csi-icon-wind::before { content: "🌬️"; }

/* ------------------------------ */
/* Format Stats + Weather Section */
/* ------------------------------ */
.csi-specific-stats-container {
    max-width: 750px;
    margin: 10px auto;
    padding: 0px;
    border-radius: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #000;
    background-color: #fff;
}
.csi-specific-stats-container h3 {
    font-size: 20px;
    color: #000;
    margin-bottom: 10px;
    text-align: center;
    border: none;
    padding-bottom: 0;
}
.csi-specific-stats-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}
.csi-specific-stats-column {
    flex: 1 1 calc(50% - 5px);
    min-width: 280px;
    max-width: calc(50% - 5px);
    border-right: 1px solid #ccc;
    padding-right: 10px;
}
.csi-weather-for-stats-column {
    flex: 1 1 calc(50% - 5px);
    min-width: 230px;
    max-width: calc(50% - 5px);
}
.csi-specific-format-stats {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 8px;
}
.csi-specific-format-stats h4 {
    font-size: 1.1em;
    color: #000;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
}
.csi-specific-format-stats .csi-stats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}
.csi-specific-format-stats .csi-stats-table th,
.csi-specific-format-stats .csi-stats-table td {
    padding: 10px 14px;
    border: none;
    background-color: #f5f5f5;
    text-align: left;
    color: #000;
}
.csi-specific-format-stats .csi-stats-table th {
    font-weight: 600;
}
.csi-specific-format-stats .csi-stats-table tr:nth-child(even) {
    background-color: #eaeaea;
}

/* ------------------------------ */
/* Responsive Adjustments */
/* ------------------------------ */
@media (max-width: 992px) {
    .csi-stadium-container {
        display: grid;
        background-color: #fff;
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 5px;
    }
    .csi-main-content-area {
        display: grid;
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 0;
        margin: 0;
    }
    .csi-column-left,
    .csi-column-right {
        min-width: unset;
        width: 100%;
    }
    .csi-stats-grid {
        grid-template-columns: 1fr;
        padding: 5px;
        gap: 5px;
    }

    .csi-weather-header,
    .csi-weather-updated {
        display: none;
    }
    .csi-specific-stats-layout {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 10px;
        gap: 5px;
        background-color: #fff;
    }

    .csi-specific-stats-column,
    .csi-weather-for-stats-column {
        flex: 1 1 100%;
        max-width: 100%;
        border-right: none;
        padding-right: 0;
        border-bottom: 2px solid #ccc;
    }

    .csi-specific-stats-container {
        max-width: 500px;
        padding: 5px;
        margin: 5px auto;
    }
}

@media (max-width: 576px) {
    .csi-specific-stats-container h3,
    .csi-specific-format-stats h4 {
        font-size: 1.2em;
    }
    .csi-weather-for-stats-column .csi-weather-card .csi-weather-temp {
        font-size: 1.6em;
    }
    .csi-weather-for-stats-column .csi-weather-card .csi-weather-detail-item {
        font-size: 0.65em;
    }
    .csi-specific-format-stats .csi-stats-table th,
    .csi-specific-format-stats .csi-stats-table td {
        font-size: 14px;
        padding: 6px 10px;
    }
}
