/* Side-by-side layout for fixtures and rankings */
.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 2rem;
    width: 100%;
}

.flex-column {
    flex: 1 1 400px;
    min-width: 0;
    width: 100%;
}

.flex-column .section {
    margin-bottom: 20px;
    width: 100%;
}

.fixtures-section,
.nexus-rankings-section {
    width: 100%;
    margin: 0;
}

.home-fixtures-container {
    width: 100%;
    height: 100%;
}

/* Mobile styles */
@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
        gap: 10px;
    }

    .flex-column {
        flex: 1 1 100%;
        width: 100%;
    }

    .flex-column .section {
        margin-bottom: 15px;
    }

    .scrollable-content {
        max-height: 400px;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
}

/* Adjustments for embedded content */
.embed-mode .site-header,
.embed-mode .site-footer,
.embed-mode .page-header,
.embed-mode .view-all-link {
    display: none;
}

.embed-mode .container {
    width: 100%;
    padding: 0;
    margin: 0;
}

.embed-mode .main-content {
    padding: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
    }
    
    .flex-column {
        width: 100%;
    }
}

/* Compact view adjustments */
.compact-view .section-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.compact-view .nexus-rankings-table th,
.compact-view .nexus-rankings-table td,
.compact-view .fixtures-table th,
.compact-view .fixtures-table td {
    padding: 5px 8px;
    font-size: 0.85rem;
}

.compact-view .hide-compact {
    display: none;
}

/* Ensure container heights match */
.equal-height {
    height: 100%;
}

.home-fixtures-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Scrollable content areas */
.scrollable-content {
    overflow-y: auto;
    max-height: 500px;
}
