/* Container styling */
.pub-pagination-wrapper {
    background: #f8f9fa;
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.pagination-info {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.pub-pagination-wrapper .pagination {
    margin-bottom: 0;
    gap: 5px;
}

.pub-pagination-wrapper .page-item .page-link {
    border: none;
    padding: 8px 14px;
    color: var(--Theme-Color, #083b4f);
    background: #fff;
    border-radius: 8px !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
}

.pub-pagination-wrapper .page-item .page-link:hover {
    background: var(--Theme-Color, #083b4f);
    color: #fff;
    transform: translateY(-2px);
}

.pub-pagination-wrapper .page-item.active .page-link {
    background: var(--Theme-Color, #083b4f);
    color: #fff;
    box-shadow: 0 4px 10px rgba(8, 59, 79, 0.3);
}

.pub-pagination-wrapper .page-item.disabled .page-link {
    background: #f1f3f5;
    color: #adb5bd;
    opacity: 0.7;
    cursor: not-allowed;
}

.pagination-container .pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.pagination-container .page-link {
    color: var(--Theme-Color);
    border-radius: 5px;
    padding: 8px 16px;
    border: 1px solid #dee2e6;
}

.pagination-container .page-item.active .page-link {
    background-color: var(--Theme-Color);
    border-color: var(--Theme-Color);
    color: #fff;
}

.profile_information h3::before .expertise-list {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.profile.sections .container-fluid>.main_row .row.extra_space.tb_space.sm {
    align-items: stretch;
}

.profile.sections .container-fluid>.main_row .row.extra_space.tb_space.sm>.col-xxl-6 {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.profile.sections .container-fluid>.main_row .row.extra_space.tb_space.sm>.col-xxl-6>.profile_information,
.profile.sections .container-fluid>.main_row .row.extra_space.tb_space.sm>.col-xxl-6>.col-lg-12.custom_height {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.profile.sections .container-fluid>.main_row .row.extra_space.tb_space.sm>.col-xxl-6>.col-lg-12.custom_height .profile_information {
    flex: 1;
}

.profile.sections .container-fluid>.main_row .row.extra_space.tb_space.sm>.col-xxl-6>.col-lg-12.custom_height .profile_information .tab-content {
    flex: 1;
    overflow: auto;
    min-height: 0;
}

.expertise-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    color: #4a5568;
}

.expertise-list li::before {
    content: "*";
    color: var(--Theme-Color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.my_btn {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--Theme-Color);
    text-decoration: none;
    transition: 0.2s;
}

.my_btn:hover {
    color: var(--Theme-Color);
    text-decoration: underline;
}

.experty {
    max-height: 170px;
    overflow-y: auto;
}

.experty li {
    display: none;
}

.experty li:nth-child(-n + 5) {
    display: list-item;
}

.profile-inline-style-001 {
    filter: brightness(0) invert(1);
}

.profile-inline-style-002 {
    position: relative;
    min-height: 180px;
}

.profile-inline-style-003 {
    height: 180px;
}

.profile-inline-style-004 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px dashed #cbd5e0;
    border-radius: 10px;
    background-color: #f8fafc;
}

.profile-inline-style-005 {
    font-style: italic;
}

.profile-inline-style-006 {
    max-height: 450px !important;
    overflow-y: auto !important;
    display: block !important;
}

.profile-inline-style-007 {
    margin-bottom: 15px;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.profile-inline-style-008 {
    font-weight: bold;
    margin-bottom: 5px;
}

.profile-inline-style-009 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-inline-style-010 {
    font-size: 0.9em;
    color: #666;
}

.profile-inline-style-011 {
    font-style: italic;
    font-size: 0.9em;
}

.profile-inline-style-012 {
    height: auto;
}

.profile-inline-style-013 {
    height: auto;
}

.profile-inline-style-014 {
    font-size: 0.65rem;
    letter-spacing: 0.06em;
}

.profile-inline-style-015 {
    font-size: 0.82rem;
}

.profile-inline-style-016 {
    color: var(--Theme-Color);
    font-size: 0.5rem;
}

.profile-inline-style-017 {
    white-space: nowrap;
}

.profile-inline-style-018 {
    max-height: 450px !important;
    overflow-y: auto !important;
    display: block !important;
    padding-right: 5px;
}

.profile-inline-style-019 {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.profile-inline-style-020 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #eee;
}

.profile-inline-style-021 {
    margin-left: 12px;
}

.profile-inline-style-022 {
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
}

.profile-inline-style-023 {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.profile-inline-style-024 {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.profile-inline-style-025 {
    display: inline-block;
    margin-right: 10px;
}

/* Custom View All button matching Portal Theme */
.btn_theme_view_all_new {
    background-color: var(--Theme-Color) !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 3px;
    border: 1px solid var(--Theme-Color);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Enhanced styling for expertise section */
/* Light background for accordion headers */
.accordion-header {
    background-color: rgba(0, 123, 255, 0.1);
    /* Light blue shade */
    border-radius: 4px;
    padding: 0.5rem 1rem;
}

/* Adjust accordion button text color */
.accordion-button {
    color: #333;
    font-weight: 600;
}

/* Title background for expertise card */
.bio_card h3 {
    /* Light amber */
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Light background for accordion body (expertise list) */
.accordion-body {
    background-color: rgba(240, 240, 240, 0.2);
    padding: 0.75rem 1rem;
}



.btn_theme_view_all_new:hover {
    background-color: #ffffff !important;
    color: var(--Theme-Color) !important;
    border-color: var(--Theme-Color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}