/* ===================================
   INNER PAGES STYLES
   =================================== */

/* ===================================
   PAGE HEADER
   =================================== */

.page-header {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.header-content {
    max-width: 900px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    color: var(--text-muted);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-sm);
    line-height: 1.2;
}

.page-description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
    max-width: 800px;
}

/* ===================================
   CONTENT SECTION
   =================================== */

.content-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-light);
}

/* ===================================
   CARDS GRID
   =================================== */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.info-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 130, 0, 0.3);
}

.info-card.featured {
    grid-column: 1 / -1;
}

.card-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(245, 130, 0, 0.1);
    border: 1px solid rgba(245, 130, 0, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    width: fit-content;
    margin-bottom: var(--spacing-sm);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-sm);
    line-height: 1.3;
}

.card-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0 0 var(--spacing-md);
    flex-grow: 1;
}

.card-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: auto;
}

/* ===================================
   PROFILE LAYOUT
   =================================== */

.profile-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.profile-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--spacing-md));
}

.profile-photo {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-md);
}

.photo-placeholder {
    aspect-ratio: 3/4;
    border-radius: var(--border-radius);
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 700;
    border: 1px solid var(--border-light);
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.profile-meta {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--bg-light);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 600;
}

.profile-content {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}

.profile-heading {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-xs);
    line-height: 1.2;
}

.profile-role {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.profile-text {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.profile-text p {
    margin: 0 0 var(--spacing-md);
}

.profile-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-light);
}

/* ===================================
   TWO COLUMN LAYOUT
   =================================== */

.two-column-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.main-content {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.content-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    width: fit-content;
    margin-bottom: var(--spacing-sm);
}

.content-heading {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: var(--spacing-sm) 0;
    line-height: 1.2;
}

.content-text {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.content-text p {
    margin: 0 0 var(--spacing-md);
}

.content-signature {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px dashed var(--border-medium);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.signature-name {
    font-weight: 800;
    color: var(--text-primary);
}

.signature-role {
    font-weight: 600;
    color: var(--text-secondary);
}

/* ===================================
   SIDEBAR CARDS
   =================================== */

.sidebar-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.sidebar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(245, 130, 0, 0.2);
}

.sidebar-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background: rgba(245, 130, 0, 0.1);
    border: 1px solid rgba(245, 130, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.sidebar-card-title {
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.sidebar-card-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===================================
   TIMELINE
   =================================== */

.timeline {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.timeline-item {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    transition: all var(--transition-normal);
}

.timeline-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(245, 130, 0, 0.2);
}

.timeline-year {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(245, 130, 0, 0.1);
    border: 1px solid rgba(245, 130, 0, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #8a3f00;
    margin-bottom: var(--spacing-xs);
}

.timeline-title {
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.timeline-description {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* ===================================
   HERO CARD (for special layouts)
   =================================== */

.hero-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--spacing-lg);
    align-items: start;
    overflow: hidden;
    position: relative;
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(900px 320px at 18% 10%, rgba(245, 130, 0, 0.08), transparent 60%),
        radial-gradient(900px 320px at 85% 30%, rgba(0, 0, 0, 0.02), transparent 62%);
    pointer-events: none;
}

.hero-card > * {
    position: relative;
    z-index: 1;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-layout {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        position: static;
    }
    
    .two-column-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: var(--spacing-lg) 0;
    }
    
    .content-section {
        padding: var(--spacing-xl) 0;
    }
    
    .main-content,
    .profile-content {
        padding: var(--spacing-lg);
    }
    
    .content-signature {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .card-actions,
    .profile-actions {
        flex-direction: column;
    }
    
    .card-actions .btn,
    .profile-actions .btn {
        width: 100%;
    }
}