/* ============================================================
   Noakhali Zila Samity — Person Page Styles
   ============================================================ */

/* ---------- Person Section ---------- */
.person-section {
    background: var(--bg-body);
    min-height: 80vh;
    padding-top: 30px;
    padding-bottom: 40px;
}

.person-header {
    margin-bottom: 30px;
    text-align: center;
}

.breadcrumb-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

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

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

.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-family: "Poppins", "Noto Sans Bengali", sans-serif;
}

.page-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Profile Card ---------- */
.profile-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-col);
    margin-bottom: 30px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.profile-image-wrapper {
    flex-shrink: 0;
    width: 280px;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--primary-green);
    padding: 4px;
    background: var(--bg-soft);
}

.profile-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-family: "Poppins", "Noto Sans Bengali", sans-serif;
}

.profile-designation {
    font-size: 1.1rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-col);
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.profile-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f0fdf4;
    border-radius: 10px;
    border: 1px solid #d1fae5;
    transition: all var(--transition-fast);
}

.profile-detail-item:hover {
    background: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.profile-detail-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-top: 2px;
    flex-shrink: 0;
}

.profile-detail-item>div {
    flex: 1;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.detail-label {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    white-space: nowrap;
}

.detail-value {
    display: inline-block;
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.detail-value:hover {
    color: var(--primary-green);
    transform: translateX(3px);
    display: inline-block;
}

/* Style for clickable links in profile details */
.profile-detail-item a.detail-value {
    color: var(--primary-green);
    font-weight: 600;
    display: inline-block;
}

.profile-detail-item a.detail-value:hover {
    color: var(--dark-green);
}

/* ---------- Biography Section ---------- */
.biography-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-col);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-family: "Poppins", "Noto Sans Bengali", sans-serif;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary-green);
}

.biography-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.biography-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-family: "Poppins", "Noto Sans Bengali", sans-serif;
}

.biography-text {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

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

@media (max-width: 1024px) {
    .page-title {
        font-size: 2.2rem;
    }

    .profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px;
    }

    .profile-image-wrapper {
        width: 240px;
        height: auto;
    }

    .profile-name {
        font-size: 1.8rem;
    }

    .profile-detail-item {
        align-items: center;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .person-section {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .profile-card {
        padding: 24px;
        gap: 24px;
    }

    .profile-image-wrapper {
        width: 200px;
        height: auto;
    }

    .profile-name {
        font-size: 1.5rem;
    }

    .profile-designation {
        font-size: 1rem;
    }

    .biography-section {
        padding: 24px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .biography-subtitle {
        font-size: 1.1rem;
    }

    .biography-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
    }

    .profile-card {
        padding: 20px;
    }

    .profile-image-wrapper {
        width: 160px;
        height: auto;
    }

    .profile-name {
        font-size: 1.3rem;
    }

    .profile-detail-item {
        padding: 12px;
        gap: 8px;
    }

    .profile-details {
        grid-template-columns: 1fr;
    }

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

    .detail-value {
        font-size: 0.9rem;
    }

    .profile-detail-item i {
        font-size: 1.2rem;
    }

    .biography-section {
        padding: 20px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .biography-subtitle {
        font-size: 1rem;
    }

    .biography-text {
        font-size: 0.9rem;
    }
}

/* ============================================================
   DARK MODE SUPPORT
   ============================================================ */

[data-theme="dark"] .profile-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .profile-image-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(24, 169, 87, 0.4);
}

[data-theme="dark"] .profile-detail-item {
    background: rgba(24, 169, 87, 0.1);
    border: 1px solid rgba(24, 169, 87, 0.2);
}

[data-theme="dark"] .profile-detail-item:hover {
    background: rgba(24, 169, 87, 0.15);
}

[data-theme="dark"] .biography-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .profile-designation {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}