/* Subpage Banner */
.page-banner {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.page-banner-text {
    position: relative;
    z-index: 2;
    color: #fff;
}

.page-banner-text h1 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.page-banner-text p {
    font-size: 16px;
    color: #ccc;
    letter-spacing: 2px;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 50px;
    padding-bottom: 30px;
}
.pagination a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border: 1px solid #333;
    color: #999;
    margin: 0 5px;
    text-align: center;
    border-radius: 4px;
    transition: 0.3s;
}
.pagination a:hover, .pagination a.active {
    background: #4192E7;
    color: #fff;
    border-color: #4192E7;
}

/* Category Tabs (New) */
.category-tabs { text-align: center; margin-bottom: 40px; }
.category-tabs a { display: inline-block; padding: 10px 30px; margin: 0 5px; background: #1a1a1a; color: #ccc; border: 1px solid #333; border-radius: 30px; transition: 0.3s; }
.category-tabs a.active, .category-tabs a:hover { background: #4192E7; color: #fff; border-color: #4192E7; }

/* Detail Page Styles (New) */
.detail-box { background: #1a1a1a; padding: 40px; border: 1px solid #333; margin-bottom: 40px; }
.detail-header { border-bottom: 1px solid #333; padding-bottom: 20px; margin-bottom: 30px; text-align: center; }
.detail-header h1 { font-size: 28px; color: #fff; margin-bottom: 15px; font-weight: bold; }
.detail-meta { font-size: 12px; color: #666; }
.detail-meta span { margin: 0 10px; }
.detail-content { color: #ccc; line-height: 1.8; font-size: 16px; }
.detail-content p { margin-bottom: 0px; text-indent: 2em; }
.detail-content img { margin: 20px auto; max-width: 100%; border-radius: 4px; }
.detail-nav { border-top: 1px solid #333; padding-top: 20px; margin-top: 40px; display: flex; justify-content: space-between; }
.detail-nav a { color: #666; font-size: 14px; }
.detail-nav a:hover { color: #4192E7; }

/* Team Detail Specific (New) */
.team-profile { display: flex; gap: 40px; }
.team-profile-img { width: 400px; flex-shrink: 0; }
.team-profile-img img { width: 100%; border-radius: 4px; }
.team-profile-info { flex: 1; }
.team-profile-info h2 { font-size: 32px; color: #fff; margin-bottom: 10px; border-left: 5px solid #4192E7; padding-left: 15px; line-height: 1; }
.team-profile-info .position { font-size: 18px; color: #4192E7; margin-bottom: 20px; padding-left: 20px; }
.profile-specs { background: #111; padding: 25px; border-radius: 4px; margin-bottom: 25px; border: 1px solid #222; }
.profile-specs li { margin-bottom: 12px; color: #999; font-size: 14px; border-bottom: 1px dashed #333; padding-bottom: 12px; }
.profile-specs li:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.profile-specs li strong { color: #fff; margin-right: 10px; display: inline-block; width: 80px; }
.skill-tags span { display: inline-block; padding: 4px 12px; background: #222; color: #ccc; border-radius: 4px; margin-right: 8px; margin-bottom: 8px; font-size: 12px; border: 1px solid #333; }

@media (max-width: 768px) {
    .page-banner { height: 100px; }
    .page-banner-text h1 { font-size: 28px; line-height: 28px;  margin-bottom: 0;}
    
    .category-tabs a { padding: 6px 15px; font-size: 12px; margin: 5px 2px; }
    
    .team-profile { flex-direction: column; gap: 20px; }
    .team-profile-img { width: 100%; }
    .detail-box { padding: 20px 10px; }
    .detail-header { border-bottom: 1px solid #333; padding-bottom: 10px; margin-bottom: 10px; text-align: center; }
    .detail-header h1 { font-size: 20px;  margin-bottom: 5px;}
    .detail-content{font-size: 14px;}
    .detail-nav { border-top: 1px solid #333; padding-top: 10px; margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; }
    .pagination {
        text-align: center;
        margin-top: 20px;
        padding-bottom: 0px;
    }
}