/**
 * Details Page Styles
 * For project, country, region, and sector detail pages
 */

.details-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
}

.breadcrumb {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.details-header {
    margin-bottom: 2rem;
}

.details-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.project-code {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.details-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.detail-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.detail-section p {
    color: var(--gray-700);
    line-height: 1.8;
}

.stakeholder-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stakeholder-item {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.org-type {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: var(--gray-200);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--gray-600);
}

.details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card,
.cta-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-card h3,
.cta-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--gray-700);
}

.info-value {
    color: var(--gray-600);
    text-align: right;
}

.cta-card p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

@media (max-width: 1024px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .details-container {
        padding: 1rem;
    }
    
    .details-header h1 {
        font-size: 2rem;
    }
    
    .detail-section {
        padding: 1.5rem;
    }
}
