/* ========================================
   LEADER CONTENT - FORMAL GOVERNMENT STYLE
   ======================================== */
.leader-content {
    padding: 3rem 0;
    background: #ffffff;
    min-height: 60vh;
}

/* ========================================
   LEADER LIST
   ======================================== */
.leader-list {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* ========================================
   LEADER ITEM - FORMAL STRUCTURE
   ======================================== */
.leader-item {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-left: 5px solid #2d5a9c;
    position: relative;
    transition: border-color 0.3s ease;
}

.leader-item-primary {
    border-left-color: #2d5a9c;
}

.leader-item-secondary {
    border-left-color: #059669;
}

.leader-item:hover {
    border-color: #2d5a9c;
    box-shadow: 0 2px 8px rgba(45, 90, 156, 0.1);
}

.leader-item-secondary:hover {
    border-color: #059669;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.1);
}

/* ========================================
   LEADER HEADER
   ======================================== */
.leader-header {
    background: #f8fafc;
    border-bottom: 2px solid #e5e7eb;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.leader-rank {
    width: 40px;
    height: 40px;
    background: #2d5a9c;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    border: 2px solid #1e3a5f;
    flex-shrink: 0;
}

.leader-item-secondary .leader-rank {
    background: #059669;
    border-color: #047857;
}

.leader-title-badge {
    background: #2d5a9c;
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid #1e3a5f;
    flex: 1;
    text-align: center;
}

.leader-item-secondary .leader-title-badge {
    background: #059669;
    border-color: #047857;
}

/* ========================================
   LEADER BODY
   ======================================== */
.leader-body {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    min-height: 400px;
}

/* ========================================
   LEADER PHOTO SECTION
   ======================================== */
.leader-photo-section {
    background: #f8fafc;
    border-right: 2px solid #e5e7eb;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leader-photo-wrapper {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 3/4;
    border: 3px solid #2d5a9c;
    background: #ffffff;
    padding: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.leader-item-secondary .leader-photo-wrapper {
    border-color: #059669;
}

.leader-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.leader-photo-placeholder {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 3/4;
    border: 3px solid #2d5a9c;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.leader-item-secondary .leader-photo-placeholder {
    border-color: #059669;
    background: #ecfdf5;
}

.leader-photo-placeholder i {
    font-size: 4rem;
    color: #9ca3af;
    opacity: 0.6;
}

/* ========================================
   LEADER DETAILS SECTION
   ======================================== */
.leader-details-section {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.leader-details-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.leader-name {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.leader-divider {
    height: 3px;
    width: 80px;
    background: #2d5a9c;
    margin-top: 0.75rem;
}

.leader-item-secondary .leader-divider {
    background: #059669;
}

/* ========================================
   LEADER DETAILS BODY
   ======================================== */
.leader-details-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.leader-detail-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
    align-items: start;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.leader-detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.leader-detail-row-full {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.leader-detail-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 0;
}

.leader-detail-label i {
    font-size: 1rem;
    color: #2d5a9c;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.leader-item-secondary .leader-detail-label i {
    color: #059669;
}

.leader-detail-value {
    font-size: 1rem;
    color: #1f2937;
    line-height: 1.6;
    font-weight: 500;
}

.leader-description {
    margin-top: 0.5rem;
}

.leader-description p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4b5563;
    margin: 0;
    text-align: justify;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991.98px) {
    .leader-content {
        padding: 2.5rem 0;
    }

    .leader-list {
        gap: 2.5rem;
    }

    .leader-body {
        grid-template-columns: 240px 1fr;
        min-height: 350px;
    }

    .leader-photo-section {
        padding: 1.5rem;
    }

    .leader-photo-wrapper,
    .leader-photo-placeholder {
        max-width: 200px;
    }

    .leader-details-section {
        padding: 1.5rem;
    }

    .leader-name {
        font-size: 1.625rem;
    }

    .leader-detail-row {
        grid-template-columns: 160px 1fr;
        gap: 1.25rem;
    }

    .leader-detail-label {
        font-size: 0.8rem;
    }

    .leader-detail-value {
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .leader-content {
        padding: 2rem 0;
    }

    .leader-list {
        gap: 2rem;
    }

    .leader-header {
        padding: 0.875rem 1.25rem;
        flex-wrap: wrap;
    }

    .leader-rank {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .leader-title-badge {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .leader-body {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .leader-photo-section {
        border-right: none;
        border-bottom: 2px solid #e5e7eb;
        padding: 1.5rem;
    }

    .leader-photo-wrapper,
    .leader-photo-placeholder {
        max-width: 180px;
    }

    .leader-photo-placeholder i {
        font-size: 3rem;
    }

    .leader-details-section {
        padding: 1.5rem;
    }

    .leader-details-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        text-align: center;
    }

    .leader-name {
        font-size: 1.5rem;
    }

    .leader-divider {
        margin: 0.75rem auto 0;
    }

    .leader-details-body {
        gap: 1.25rem;
    }

    .leader-detail-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding-bottom: 1.25rem;
    }

    .leader-detail-label {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }

    .leader-detail-value {
        font-size: 0.9rem;
    }

    .leader-description p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

@media (max-width: 575.98px) {
    .leader-content {
        padding: 1.5rem 0;
    }

    .leader-list {
        gap: 1.5rem;
    }

    .leader-item {
        border-left-width: 4px;
    }

    .leader-header {
        padding: 0.75rem 1rem;
    }

    .leader-rank {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .leader-title-badge {
        padding: 0.35rem 0.875rem;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .leader-photo-section {
        padding: 1.25rem;
    }

    .leader-photo-wrapper,
    .leader-photo-placeholder {
        max-width: 160px;
    }

    .leader-photo-placeholder i {
        font-size: 2.5rem;
    }

    .leader-details-section {
        padding: 1.25rem;
    }

    .leader-details-header {
        margin-bottom: 1.25rem;
        padding-bottom: 0.875rem;
    }

    .leader-name {
        font-size: 1.375rem;
    }

    .leader-divider {
        width: 60px;
        height: 2px;
    }

    .leader-details-body {
        gap: 1rem;
    }

    .leader-detail-row {
        padding-bottom: 1rem;
        gap: 0.5rem;
    }

    .leader-detail-label {
        font-size: 0.75rem;
        gap: 0.5rem;
    }

    .leader-detail-label i {
        font-size: 0.9rem;
        width: 18px;
    }

    .leader-detail-value {
        font-size: 0.875rem;
    }

    .leader-description p {
        font-size: 0.875rem;
        line-height: 1.6;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .leader-content {
        background: white;
        padding: 0;
    }

    .leader-item {
        border: 1px solid #000;
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }

    .leader-item:hover {
        box-shadow: none;
    }

    .leader-header {
        background: #f0f0f0;
        border-bottom: 2px solid #000;
    }

    .leader-photo-section {
        background: #f8f8f8;
        border-right: 1px solid #000;
    }

    .leader-details-header {
        border-bottom: 1px solid #000;
    }

    .leader-detail-row {
        border-bottom: 1px solid #ccc;
    }
}
