/* Capital Page - Compact Optimized Layout */

/* Reduce overall spacing */
.hero-banner {
    padding: 1.5rem 2rem 1rem;
}

.container {
    padding: 1rem 2rem;
}

/* Compact section spacing */
.about-section,
.philosophy-section,
.focus-section,
.edge-section,
.team-section,
.fund-section {
    padding: 1.5rem 0;
}

.section-intro {
    margin-bottom: 1rem;
}

.section-intro h2 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.section-intro p {
    font-size: 0.85rem;
    margin: 0 auto;
}

/* Compact hero statistics */
.visual-stats {
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.stat-card {
    padding: 0.75rem;
}

.stat-value {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

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

/* Mixed layout grids for better space utilization */
.philosophy-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.philosophy-card {
    padding: 1rem;
}

.philosophy-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.philosophy-card p {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

/* Focus section - 2x2 grid */
.focus-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.focus-card {
    padding: 1rem;
}

.card-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.focus-tags {
    gap: 0.3rem;
    margin-bottom: 0.75rem;
}

.tag {
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
}

/* Compact about section */
.about-content {
    max-width: 100%;
}

.about-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.vision-mission-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.vision-card,
.mission-card {
    padding: 1.25rem;
}

.vm-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.75rem;
}

/* Edge cards - rectangular layout for better data display */
.edge-timeline {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    position: static !important;
    counter-reset: none !important;
}

/* Override circular timeline styles */
.edge-timeline::before {
    display: none !important;
}

.timeline-item {
    background: var(--white) !important;
    border-radius: 0.5rem !important;
    padding: 1.5rem !important;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray) !important;
    border-left: 4px solid var(--primary-red) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    position: static !important;
}

/* Remove circular styling and numbering */
.timeline-item::before {
    display: none !important;
}

.timeline-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.15) !important;
    border-color: var(--primary-red) !important;
    background: var(--white) !important;
}

.timeline-content {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    position: static !important;
}

.timeline-content h3 {
    font-size: 1.1rem !important;
    font-weight: 600;
    margin-bottom: 0.75rem !important;
    color: var(--text-dark) !important;
    line-height: 1.2;
}

.timeline-content p {
    color: var(--text-medium) !important;
    margin-bottom: 1rem !important;
    line-height: 1.4;
    font-size: 0.85rem !important;
}

.timeline-metric {
    font-size: 0.8rem !important;
    font-weight: 600;
    color: var(--primary-red) !important;
    background: rgba(220, 38, 38, 0.1) !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 0.25rem !important;
    display: inline-block !important;
}

/* Compact team sections - Cleaner founder layout */
.founder-spotlight {
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: var(--white);
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-red);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.founder-image {
    width: 140px;
    height: 140px;
    border: 4px solid var(--primary-red);
    border-radius: 50%;
    overflow: hidden;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.founder-info {
    flex: 1;
}

.founder-header {
    margin-bottom: 1.5rem;
}

.founder-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.founder-title {
    color: var(--text-medium);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.founder-badge {
    background: var(--primary-red);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.founder-summary {
    margin-bottom: 1.5rem;
}

.founder-summary p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin: 0;
}

.founder-summary strong {
    color: var(--text-dark);
    font-weight: 600;
}

.founder-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.highlight-item i {
    font-size: 1rem;
}

/* Team grid - exact alignment with founder width */
.core-team {
    width: 900px;
    margin: 0 auto;
    margin-bottom: 0;
    padding: 0;
}

.team-grid {
    display: flex;
    gap: 8px;
    width: 900px;
    margin: 0 auto;
    padding: 0;
    justify-content: center;
}

.team-card {
    background: var(--white);
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-red);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 1rem 2.5rem;
    display: block;
    width: 650px;
    box-sizing: border-box;
}

/* Team member layout - horizontal design */
.team-member-layout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.team-image {
    width: 65px;
    height: 65px;
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-basic-info {
    flex: 1;
}

.team-basic-info h4 {
    font-size: 1.05rem;
    margin-bottom: 0.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.team-title {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: var(--primary-red);
    font-weight: 600;
}

.team-description {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: var(--text-medium);
}

.team-strengths {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    margin-bottom: 0;
}

.strength-tag {
    background: rgba(220, 38, 38, 0.1);
    color: var(--primary-red);
    padding: 0.15rem 0.5rem;
    border-radius: 0.2rem;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Advisory team - 4 column compact layout */
.advisory-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.advisory-card {
    padding: 1rem;
}

.advisory-image {
    width: 45px;
    height: 45px;
    margin-bottom: 0.75rem;
}

.advisory-image i {
    font-size: 1.2rem;
}

.advisory-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.advisory-title {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
}

.advisory-description {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.advisory-expertise {
    gap: 0.2rem;
}

.expertise-tag {
    padding: 0.15rem 0.4rem;
    font-size: 0.65rem;
}

/* Value-add section - 2x2 grid */
.value-add-section {
    margin-top: 1.5rem;
    padding: 1.5rem;
}

.value-add-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.value-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.value-item {
    padding: 0.75rem;
}

.value-item i {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.value-item h5 {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.value-item p {
    font-size: 0.75rem;
}

/* Fund comparison - compact horizontal layout */
.fund-comparison {
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
    justify-content: center;
}

.fund-card {
    padding: 1.5rem 1rem;
    max-width: 250px;
    flex: 0 0 auto;
}

.fund-amount {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.detail-item {
    padding: 0.4rem;
    font-size: 0.75rem;
}

.fund-arrow {
    flex: 0 0 auto;
    min-width: 80px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .focus-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .advisory-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .team-grid {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }
    
    .team-card {
        width: 100%;
        max-width: 400px;
        padding: 1rem 1.5rem;
    }
    
    .team-member-layout {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .team-image img {
        width: 80px;
        height: 80px;
    }
    
    .team-strengths {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
    }
    
    .strength-tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
    
    .team-member-layout {
        text-align: center;
    }
    
    .team-basic-info {
        text-align: center;
    }
}

/* Ensure consistent alignment on capital page */
.section-header {
    text-align: center;
}

.team-description {
    text-align: left;
}

.team-strengths {
    justify-content: center;
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .fund-comparison {
        flex-direction: column;
    }
    
    .founder-spotlight {
        flex-direction: column;
        text-align: center;
    }
    
    .edge-timeline {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .advisory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .edge-timeline {
        grid-template-columns: 1fr;
    }
}

/* Remove excessive margins from original design */
.hero-content {
    max-width: 900px;
}

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

.hero-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}