/* Sports Fund Page - Compact Layout */

/* Reduce overall spacing and margins */
.hero {
    padding: 1.5rem 0 1rem;
}

.hero-content {
    max-width: 1000px;
    padding: 0 1.5rem;
}

.hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.hero-stats {
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    padding: 0.75rem 1rem;
}

.stat-number {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.75rem;
}

/* Compact main content */
.main-content {
    padding: 1.5rem 0;
}

.container {
    padding: 0 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Reduce section spacing */
.content-section {
    margin-bottom: 2.5rem;
}

.section-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-title {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    text-align: center;
}

.section-subtitle {
    font-size: 0.85rem;
    margin: 0;
    text-align: center;
}

/* Compact cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Fund Overview - Specific 2-card centered layout */
.fund-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

/* Smaller card dimensions */
.card {
    padding: 1rem;
    border-radius: 0.4rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: left;
}

.card.highlight-card {
    padding: 1.25rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
    padding-bottom: 0;
    border-bottom: none;
}

.card-header i {
    font-size: 1rem;
    color: var(--primary-red);
    min-width: 16px;
}

.card-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

.card-content p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: var(--text-medium);
}

/* Compact stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem;
    background: var(--light-red);
    border-radius: 0.4rem;
}

.stat-icon {
    font-size: 1rem;
    min-width: 16px;
}

.stat-content {
    min-width: 0;
}

.stat-value {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

.stat-desc {
    display: block;
    font-size: 0.7rem;
    color: var(--text-medium);
    line-height: 1.2;
}

/* Compact combined content */
.combined-content-vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 1rem;
}

.content-section-part {
    padding: 0.75rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.content-section-part:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}



.card-header h3,
.content-section-part h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    padding-bottom: 0;
    border-bottom: none;
}

.content-section-part p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
    color: var(--text-medium);
}

/* Compact investment banner */
.investment-banner {
    background: linear-gradient(135deg, var(--primary-red), #c41e3a);
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    margin: 1.5rem auto;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
    max-width: 750px;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.banner-content i {
    font-size: 1.2rem;
    color: white;
}

.banner-text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.1rem;
}

.banner-text span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

/* Compact comparison table */
.comparison-table-container {
    margin: 2rem auto 4rem auto;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 900px;
    padding: 0 1rem;
}

.comparison-table-container h3 {
    text-align: center;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.comparison-table-container table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    font-size: 0.8rem;
    margin: 0 auto;
}

.comparison-table-container th,
.comparison-table-container td {
    padding: 0.9rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-gray);
}

.comparison-table-container th {
    background: var(--light-red);
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-table-container th:last-child {
    background: var(--primary-red);
    color: white;
    font-weight: 700;
}

.comparison-table-container td:first-child {
    text-align: left;
    font-weight: 500;
    padding-left: 1.2rem;
}

.comparison-table-container td:last-child {
    background: rgba(220, 38, 38, 0.05);
}

.comparison-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-medium);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Focus areas - more compact 4-column layout */
.focus-areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 1rem auto 0 auto;
    justify-content: center;
}

/* Investor information - horizontal layout */
.investor-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 1rem auto 0 auto;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .cards-grid.competitive-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .fund-overview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .investment-banner {
        max-width: 100%;
        margin: 1rem 0;
        padding: 0.75rem 1rem;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .banner-text span {
        font-size: 0.8rem;
        white-space: normal;
        line-height: 1.4;
    }
    
    .fund-structure-text {
        gap: 0.75rem;
    }
    
    .funding-gap-text {
        gap: 0.75rem;
    }
    
    .economic-terms-text {
        gap: 0.75rem;
    }
    
    .comparison-table-container {
        padding: 0;
        margin: 1rem 0 2rem 0;
    }
    
    .comparison-table-container table {
        font-size: 0.7rem;
    }
    
    .comparison-legend {
        flex-direction: column;
        gap: 0.75rem;
        font-size: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .investor-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .economic-terms-text {
        gap: 0.75rem;
    }
    
    .focus-areas-grid {
        grid-template-columns: 1fr;
    }
    
    .investor-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table-container {
        overflow-x: auto;
    }
    
    .comparison-legend {
        flex-direction: row;
        gap: 0.75rem;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        font-size: 0.7rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Mobile font size optimizations for Fund pages */
    .hero-title {
        font-size: 1.4rem !important;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.85rem !important;
        line-height: 1.5;
    }
    
    .card h3, .card-header h3 {
        font-size: 0.95rem !important;
        line-height: 1.3;
    }
    
    .card-content p, .fund-structure-text, .economic-terms-text {
        font-size: 0.8rem !important;
        line-height: 1.4;
    }
    
    .stat-value, .stat-number {
        font-size: 0.95rem !important;
    }
    
    .stat-desc, .stat-label {
        font-size: 0.7rem !important;
    }
    
    .structure-label, .terms-label {
        font-size: 0.75rem !important;
    }
    
    .structure-value, .terms-value {
        font-size: 0.8rem !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .fund-overview-grid {
        gap: 1rem;
        max-width: 750px;
    }
}

@media (min-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .focus-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Competitive Cards - 6 cards in 3x2 grid layout */
.cards-grid.competitive-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1200px;
}

/* Fund Structure - Clean Text Layout */
.fund-structure-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.structure-row {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: left;
}

.structure-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: left;
}

.structure-value {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 400;
    text-align: left;
}

/* Funding Gap - Similar Clean Text Layout */
.funding-gap-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.gap-row {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: left;
}

.gap-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: left;
}

.gap-value {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 400;
    text-align: left;
}

/* Economic Terms - Similar Clean Text Layout */
.economic-terms-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.terms-row {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: left;
}

.terms-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: left;
}

.terms-value {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 400;
    text-align: left;
}

/* Remove excessive margins from lists */
.card-content ul {
    margin: 0;
    padding-left: 1rem;
}

.card-content li {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

/* Ensure proper alignment balance */
.hero-content,
.section-header {
    text-align: center;
}

.card-content,
.combined-content-vertical,
.fund-structure-text,
.economic-terms-text,
.funding-gap-text {
    text-align: left;
}

.stats-grid {
    justify-content: center;
}

.stat-box {
    text-align: center;
}

/* Investment banner should be center aligned */
.investment-banner .banner-content {
    justify-content: center;
}

.investment-banner .banner-text {
    text-align: center;
}

/* Compact footer */
.footer {
    margin-top: 2rem;
}