.employee-profile {
    --employee-ink: #172033;
    --employee-muted: #667085;
    --employee-line: #e6eaf0;
    --employee-soft: #f5f7fb;
    --employee-brand: #285BAD;
    --employee-brand-dark: #1F4788;
    --employee-brand-soft: #EDF3FB;
    --employee-brand-line: #B9C9E3;
    --employee-card: #ffffff;
    background: transparent;
    color: var(--employee-ink);
}

.employee-profile-header {
    position: relative;
}

.employee-profile-body {
    margin-top: 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.employee-profile-tabs-wrapper {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 24px 0;
}

.employee-profile-tabs {
    position: relative;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.employee-profile-tabs__track {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 16px;
}

.employee-profile-tabs__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #dce4f0;
    border-radius: 8px;
    background: #ffffff;
    color: #285BAD;
    font-size: 13.5px;
    font-weight: 600;
    line-height: normal;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none;
    vertical-align: middle;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.employee-profile-tabs__label {
    display: inline-block;
    line-height: normal;
    margin: 0;
    padding: 0;
}

.employee-profile-tabs__item:hover {
    border-color: #285BAD;
    background: #f4f8fd;
    color: #1F4788;
    box-shadow: none;
}

.employee-profile-tabs__item.is-active {
    border-color: #285BAD;
    background: #285BAD;
    color: #ffffff;
    font-weight: 600;
    box-shadow: none;
}

.employee-profile-tabs__item strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e9f2fd;
    border: 1px solid #cde0f8;
    color: #285BAD;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    flex: 0 0 auto;
    text-align: center;
    transition: all .2s ease;
}

.employee-profile-tabs__item.is-active strong {
    background: #ffffff;
    border-color: #ffffff;
    color: #285BAD;
}

.employee-profile-body__content {
    min-height: 220px;
    margin-top: 0;
    padding: 32px 28px;
    border: none;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
}

.employee-tab-pane {
    display: none;
    animation: fadeInTab .25s ease forwards;
}

.employee-tab-pane.is-active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.employee-content-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 22px;
    border-bottom: 1px solid #f1f5f9;
}

.employee-content-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 650;
    color: #1e293b;
    line-height: 1.4;
}

.employee-prose-rich {
    color: #334155;
    font-size: 15.5px;
    line-height: 1.8;
}

.employee-prose-rich p {
    margin-bottom: 1.25rem;
}

.employee-prose-rich ul, .employee-prose-rich ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.employee-prose-rich li {
    margin-bottom: 0.5rem;
}

.employee-prose-rich strong {
    color: #0f172a;
}

.employee-profile-body__prose {
    max-width: 100%;
}

.employee-profile-body__prose > :first-child {
    margin-top: 0;
}

.employee-profile-body__prose > :last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Ish tajribasi va Ta'lim — 2 ustunli minimalist layout (Timeline)
   ========================================================================== */
.employee-timeline-container {
    width: 100%;
}

.employee-timeline-table {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.employee-timeline-row {
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    border-bottom: 1px solid #e2e8f0;
    gap: 10px;
    transition: background-color .2s ease;
}

@media (min-width: 768px) {
    .employee-timeline-row {
        flex-direction: row;
        align-items: flex-start;
        gap: 32px;
    }
}

.employee-timeline-row:first-child {
    padding-top: 4px;
}

.employee-timeline-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.employee-timeline-years {
    flex-shrink: 0;
    width: 100%;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .employee-timeline-years {
        width: 20%;
        max-width: 220px;
    }
}

.employee-timeline-content {
    flex: 1 1 0%;
    width: 100%;
}

@media (min-width: 768px) {
    .employee-timeline-content {
        width: 80%;
    }
}

.employee-timeline-content h4,
.employee-timeline-content h5 {
    margin: 0 0 6px 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.employee-timeline-content p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

/* Fallback: agar eski <ul><li> formatida kelsa ham 2 ustunli tartibda ko'rsatish */
.employee-timeline-container > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.employee-timeline-container > ul > li {
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    border-bottom: 1px solid #e2e8f0;
    gap: 10px;
}

@media (min-width: 768px) {
    .employee-timeline-container > ul > li {
        flex-direction: row;
        align-items: flex-start;
        gap: 32px;
    }

    .employee-timeline-container > ul > li > strong:first-child {
        width: 20%;
        max-width: 220px;
        flex-shrink: 0;
    }
}

.employee-timeline-container > ul > li:first-child {
    padding-top: 4px;
}

.employee-timeline-container > ul > li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.employee-timeline-container > ul > li > strong:first-child {
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.employee-timeline-container > ul > li span {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.employee-profile-body__empty {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 120px;
    padding: 24px;
    border: 1px dashed #d0d5dd;
    border-radius: 14px;
    background: #f9fafb;
    color: #667085;
}

.employee-profile-body__empty > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #fff;
    color: var(--employee-brand);
    flex: 0 0 auto;
}

.employee-profile-body__empty svg {
    width: 22px;
    height: 22px;
}

.employee-profile-body__empty p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.employee-profile *,
.employee-profile *::before,
.employee-profile *::after {
    box-sizing: border-box;
}

.employee-profile__breadcrumbs {
    border-bottom: 1px solid var(--employee-line);
    background: #fff;
}

.employee-profile__breadcrumbs ol {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: #98a2b3;
    font-size: 14px;
    list-style: none;
}

.employee-profile__breadcrumbs li:last-child {
    min-width: 0;
    overflow: hidden;
    color: #475467;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employee-profile__breadcrumbs a {
    color: #667085;
    text-decoration: none;
}

.employee-profile__breadcrumbs a:hover {
    color: var(--employee-brand);
}

.employee-profile__hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0;
    background:
        radial-gradient(circle at 88% 18%, rgba(40, 91, 173, .13), transparent 28%),
        linear-gradient(135deg, #f8faff 0%, #f2f5fb 100%);
}

.employee-profile__hero::after {
    position: absolute;
    right: -80px;
    bottom: -140px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(40, 91, 173, .13);
    border-radius: 50%;
    content: "";
}

.employee-profile__hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) minmax(210px, 250px);
    gap: 48px;
    align-items: stretch;
}

.employee-profile__photo-wrap {
    overflow: hidden;
    min-height: 360px;
    border: 6px solid rgba(255, 255, 255, .9);
    border-radius: 24px;
    background: #e9edf5;
    box-shadow: 0 18px 48px rgba(16, 24, 40, .14);
}

.employee-profile__photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center top;
}

.employee-profile__identity {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.employee-profile__eyebrow,
.employee-profile__section-heading > span,
.employee-profile__section-heading > div > span {
    margin-bottom: 12px;
    color: var(--employee-brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.employee-profile__identity h1 {
    max-width: 780px;
    margin: 0 0 14px;
    color: var(--employee-ink);
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.employee-profile__position {
    margin: 0;
    color: #344054;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.45;
}

.employee-profile__department {
    margin: 8px 0 0;
    color: var(--employee-muted);
    font-size: 16px;
    line-height: 1.5;
}

.employee-profile__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.employee-profile__fact {
    min-width: 180px;
    padding: 13px 16px;
    border: 1px solid rgba(208, 213, 221, .85);
    border-radius: 12px;
    background: rgba(255, 255, 255, .65);
}

.employee-profile__fact span,
.employee-profile__fact strong {
    display: block;
}

.employee-profile__fact span {
    margin-bottom: 3px;
    color: #98a2b3;
    font-size: 12px;
}

.employee-profile__fact strong {
    color: #344054;
    font-size: 14px;
    font-weight: 600;
}

.employee-profile__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 26px;
}

.employee-profile__contacts a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: #344054;
    font-size: 15px;
    text-decoration: none;
}

.employee-profile__contacts a:hover {
    color: var(--employee-brand);
}

.employee-profile__contacts svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.employee-profile__summary {
    display: flex;
    flex-direction: column;
    align-self: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 18px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 14px 34px rgba(16, 24, 40, .08);
    backdrop-filter: blur(14px);
}

.employee-profile__summary-item {
    padding: 22px 24px;
}

.employee-profile__summary-item + .employee-profile__summary-item {
    border-top: 1px solid var(--employee-line);
}

.employee-profile__summary-item strong,
.employee-profile__summary-item span {
    display: block;
}

.employee-profile__summary-item strong {
    margin-bottom: 5px;
    color: var(--employee-brand-dark);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.employee-profile__summary-item span {
    color: var(--employee-muted);
    font-size: 13px;
    line-height: 1.4;
}

.employee-profile__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 56px;
    padding-top: 64px;
    padding-bottom: 88px;
}

.employee-profile__main-column,
.employee-profile__sidebar {
    min-width: 0;
}

.employee-profile__section + .employee-profile__section {
    margin-top: 72px;
}

.employee-profile__section-heading {
    margin-bottom: 28px;
}

.employee-profile__section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(260px, .65fr);
    gap: 40px;
    align-items: end;
}

.employee-profile__section-heading h2 {
    margin: 0;
    color: var(--employee-ink);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.employee-profile__section-heading p {
    margin: 0;
    color: var(--employee-muted);
    font-size: 15px;
    line-height: 1.65;
}

.employee-profile__prose {
    max-width: 860px;
    color: #475467;
    font-size: 17px;
    line-height: 1.8;
}

.employee-profile__prose > :first-child {
    margin-top: 0;
}

.employee-profile__prose > :last-child {
    margin-bottom: 0;
}

.employee-portfolio__filters {
    display: flex;
    gap: 10px;
    margin: 0 0 28px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.employee-portfolio__filters a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 13px;
    border: 1px solid var(--employee-line);
    border-radius: 10px;
    background: #fff;
    color: #475467;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.employee-portfolio__filters a:hover {
    border-color: var(--employee-brand-line);
    color: var(--employee-brand);
}

.employee-portfolio__filters a.is-active {
    border-color: var(--employee-brand);
    background: var(--employee-brand);
    color: #fff;
}

.employee-portfolio__filters strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--employee-soft);
    color: #667085;
    font-size: 11px;
}

.employee-portfolio__filters .is-active strong {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.employee-portfolio__filter-icon,
.employee-portfolio-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.employee-portfolio__filter-icon svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   Modern Compact Employee Hero Card
   ========================================================================== */
.employee-hero-card {
    position: relative;
    isolation: isolate;
    background: #285BAD;
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.employee-hero-card::before {
    position: absolute;
    top: 25%;
    right: 50px;
    transform: translateY(-50%);
    width: 220px;
    height: 220px;
    background-image: url('../img/logo_jd.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    content: '';
}

.employee-hero-card__body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(190px, 225px) minmax(0, 1fr);
    align-items: stretch;
    gap: 34px;
    padding: 32px;
}

.employee-hero-card__avatar {
    position: relative;
    align-self: center;
    width: 100%;
    height: 272px;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
}

.employee-hero-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    object-position: top center;
    display: block;
}

.employee-hero-card__info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.employee-hero-card__headline {
    position: relative;
    padding-bottom: 12px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.employee-hero-card__name {
    margin: 0 0 6px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.14;
    letter-spacing: -.025em;
    text-shadow: 0 2px 16px rgba(4, 26, 66, .16);
}

.employee-hero-card__position {
    margin: 0;
    font-size: 15.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, .84);
    line-height: 1.45;
}

.employee-hero-card__contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
}

.employee-hero-card__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}

.employee-hero-card__contact-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.employee-hero-card__contact-link svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.75;
}

.employee-hero-card__meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 10px;
}

.employee-meta-pill {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    backdrop-filter: blur(8px);
}

.employee-meta-pill__label {
    font-size: 10.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, .62);
    text-transform: uppercase;
    letter-spacing: .075em;
    line-height: 1;
}

.employee-meta-pill__val {
    overflow: hidden;
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employee-hero-card__profiles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.employee-academic-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 13px 0 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #ffffff;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all .2s ease;
    max-width: 100%;
}

.employee-academic-badge:hover {
    background: rgba(255, 255, 255, .2);
    border-color: rgba(255, 255, 255, .45);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
    text-decoration: none;
}

.employee-academic-badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .14);
    flex-shrink: 0;
    overflow: hidden;
}

.employee-academic-badge__icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.employee-academic-badge__title {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1;
    letter-spacing: .01em;
    white-space: nowrap;
}

.employee-academic-badge--orcid:hover {
    border-color: #A6CE39;
    box-shadow: 0 4px 14px rgba(166, 206, 57, .3);
}

.employee-academic-badge--scopus:hover {
    border-color: #EB7B22;
    box-shadow: 0 4px 14px rgba(235, 123, 34, .3);
}

.employee-academic-badge--scholar:hover {
    border-color: #4285F4;
    box-shadow: 0 4px 14px rgba(66, 133, 244, .3);
}

.employee-academic-badge--researcher:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 14px rgba(59, 130, 246, .3);
}

.employee-id-badge {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(7, 36, 84, .25);
    border: 1px solid rgba(255, 255, 255, .24);
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    gap: 6px;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.employee-id-badge:hover {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .54);
    color: #ffffff;
    transform: translateY(-1px);
}

.employee-id-badge__tag {
    font-weight: 700;
    color: #9fd0ff;
    font-size: 11px;
}

.employee-id-badge__val {
    overflow: hidden;
    color: rgba(255, 255, 255, .78);
    font-family: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employee-hero-card__stats {
    position: relative;
    z-index: 1;
    background: rgba(3, 26, 67, .16);
    border-top: 1px solid rgba(255, 255, 255, .16);
    padding: 12px 32px;
}

.employee-stats-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.employee-stats-strip__title {
    color: rgba(255, 255, 255, .72);
    font-weight: 600;
}

.employee-stats-strip__items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.employee-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    color: rgba(255, 255, 255, .9);
    font-size: 12.5px;
}

.employee-stat-chip strong {
    color: #b9ddff;
    font-weight: 700;
}

/* ==========================================================================
   Portfolio Grid & Compact Editorial Card
   ========================================================================== */
.employee-portfolio__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.employee-portfolio__grid--single {
    grid-template-columns: 1fr;
    max-width: 900px;
}

.employee-portfolio-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.employee-portfolio-card:hover {
    background: #285BAD;
    border-color: #285BAD;
    box-shadow: 0 10px 25px -5px rgba(40, 91, 173, 0.35);
    transform: translateY(-2px);
}

.employee-portfolio-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 12.5px;
    line-height: 1;
}

.employee-portfolio-card__badge {
    color: #285BAD;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: color .25s ease;
}

.employee-portfolio-card:hover .employee-portfolio-card__badge {
    color: #ffffff;
}

.employee-portfolio-card__dot {
    color: #94a3b8;
    transition: color .25s ease;
}

.employee-portfolio-card:hover .employee-portfolio-card__dot {
    color: rgba(255, 255, 255, 0.65);
}

.employee-portfolio-card__year {
    color: #64748b;
    font-weight: 500;
    transition: color .25s ease;
}

.employee-portfolio-card:hover .employee-portfolio-card__year {
    color: rgba(255, 255, 255, 0.88);
}

.employee-portfolio-card__title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.35;
}

.employee-portfolio-card__title a {
    color: #0f172a;
    text-decoration: none;
    transition: color .25s ease;
}

.employee-portfolio-card:hover .employee-portfolio-card__title a {
    color: #ffffff;
}

.employee-portfolio-card__source {
    margin: 0 0 8px;
    color: #475569;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.45;
    transition: color .25s ease;
}

.employee-portfolio-card:hover .employee-portfolio-card__source {
    color: rgba(255, 255, 255, 0.92);
}

.employee-portfolio-card__excerpt {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    transition: color .25s ease;
}

.employee-portfolio-card:hover .employee-portfolio-card__excerpt {
    color: rgba(255, 255, 255, 0.82);
}

.employee-portfolio-card__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f8fafc;
    transition: border-color .25s ease;
}

.employee-portfolio-card:hover .employee-portfolio-card__actions {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.employee-portfolio-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #285BAD;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: color .25s ease;
}

.employee-portfolio-card__link svg {
    transition: stroke .25s ease, transform .25s ease;
}

.employee-portfolio-card:hover .employee-portfolio-card__link {
    color: #ffffff;
}

.employee-portfolio-card:hover .employee-portfolio-card__link svg {
    stroke: #ffffff;
    transform: translateX(2px);
}

.employee-portfolio-card__external-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color .25s ease;
}

.employee-portfolio-card__external-link svg {
    transition: stroke .25s ease;
}

.employee-portfolio-card:hover .employee-portfolio-card__external-link {
    color: rgba(255, 255, 255, 0.88);
}

.employee-portfolio-card:hover .employee-portfolio-card__external-link svg {
    stroke: rgba(255, 255, 255, 0.88);
}

.employee-portfolio-card__external-link:hover {
    color: #ffffff;
}

.employee-portfolio-card__external-link:hover svg {
    stroke: #ffffff;
}

.employee-portfolio__empty {
    padding: 54px 28px;
    border: 1px dashed #cfd7e6;
    border-radius: 18px;
    background: var(--employee-soft);
    text-align: center;
}

.employee-portfolio__empty > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: #fff;
    color: var(--employee-brand);
}

.employee-portfolio__empty svg {
    width: 28px;
    height: 28px;
}

.employee-portfolio__empty h3 {
    margin: 0 0 8px;
    color: #344054;
    font-size: 19px;
}

.employee-portfolio__empty p {
    max-width: 520px;
    margin: 0 auto;
    color: var(--employee-muted);
    font-size: 14px;
    line-height: 1.6;
}

.employee-portfolio__pagination {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.employee-portfolio__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    margin: 0 3px;
    padding: 0 10px;
    border: 1px solid var(--employee-line);
    border-radius: 9px;
    color: #475467;
    text-decoration: none;
}

.employee-portfolio__pagination .current,
.employee-portfolio__pagination a:hover {
    border-color: var(--employee-brand);
    background: var(--employee-brand);
    color: #fff;
}

.employee-profile__sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.employee-profile__side-card {
    padding: 24px;
    border: 1px solid var(--employee-line);
    border-radius: 16px;
    background: #fff;
}

.employee-profile__side-card h2 {
    margin: 0 0 18px;
    color: #344054;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.35;
}

.employee-profile__profile-links {
    display: flex;
    flex-direction: column;
}

.employee-profile__profile-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid #eef1f5;
    color: #475467;
    font-size: 14px;
    text-decoration: none;
}

.employee-profile__profile-links a:first-child {
    padding-top: 0;
    border-top: 0;
}

.employee-profile__profile-links a:last-child {
    padding-bottom: 0;
}

.employee-profile__profile-links a:hover {
    color: var(--employee-brand);
}

.employee-profile__profile-links svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.employee-profile__social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.employee-profile__social-links a {
    padding: 8px 11px;
    border-radius: 8px;
    background: var(--employee-soft);
    color: #475467;
    font-size: 13px;
    text-decoration: none;
}

.employee-profile__social-links a:hover {
    background: var(--employee-brand-soft);
    color: var(--employee-brand);
}

.employee-profile__side-card--notice {
    display: flex;
    gap: 14px;
    border-color: var(--employee-brand-line);
    background: var(--employee-brand-soft);
}

.employee-profile__side-card--notice > svg {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--employee-brand);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.employee-profile__side-card--notice h2 {
    margin-bottom: 7px;
    color: var(--employee-brand-dark);
    font-size: 15px;
}

.employee-profile__side-card--notice p {
    margin: 0;
    color: #475467;
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 1199px) {
    .employee-profile-tabs__track {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .employee-profile__hero-grid {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 36px;
    }

    .employee-profile__summary {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .employee-profile__summary-item + .employee-profile__summary-item {
        border-top: 0;
        border-left: 1px solid var(--employee-line);
    }

    .employee-profile__body {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 36px;
    }
}

@media (max-width: 991px) {
    .employee-profile-tabs__track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .employee-profile__body {
        grid-template-columns: 1fr;
    }

    .employee-profile__sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .employee-profile__side-card--notice:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .employee-profile-tabs__item {
        min-height: 50px;
        padding: 9px 11px;
        font-size: 13px;
    }

    .employee-profile-body__content {
        margin-top: 14px;
        padding: 22px;
    }

    .employee-profile__hero {
        padding: 36px 0;
    }

    .employee-profile__hero-grid {
        grid-template-columns: 118px minmax(0, 1fr);
        gap: 24px;
    }

    .employee-profile__photo-wrap,
    .employee-profile__photo {
        min-height: 150px;
    }

    .employee-profile__photo-wrap {
        align-self: start;
        border-width: 4px;
        border-radius: 18px;
    }

    .employee-profile__identity h1 {
        font-size: clamp(26px, 7vw, 38px);
    }

    .employee-profile__position {
        font-size: 17px;
    }

    .employee-profile__facts,
    .employee-profile__contacts {
        grid-column: 1 / -1;
    }

    .employee-profile__fact {
        flex: 1 1 180px;
    }

    .employee-profile__summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .employee-profile__summary-item {
        padding: 17px 14px;
    }

    .employee-profile__summary-item strong {
        font-size: 24px;
    }

    .employee-profile__body {
        padding-top: 48px;
        padding-bottom: 64px;
    }

    .employee-profile__section-heading--split {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .employee-portfolio__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .employee-profile-tabs-wrapper {
        padding: 10px 10px 0;
    }

    .employee-profile-tabs {
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .employee-profile-tabs__track {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        margin-bottom: 0;
        gap: 6px;
        scrollbar-width: none;
    }

    .employee-profile-tabs__track::-webkit-scrollbar {
        display: none;
    }

    .employee-profile-tabs__item {
        flex-shrink: 0;
        scroll-snap-align: start;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 35px;
        height: 35px;
        padding: 0 12px;
        font-size: 13px;
        line-height: normal;
        border-radius: 7px;
        background: #ffffff;
        border: 1px solid #dce4f0;
        color: #285BAD;
        box-shadow: none;
    }

    .employee-profile-tabs__item strong {
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        font-size: 10px;
    }

    .employee-profile-tabs__item.is-active {
        border-color: #285BAD;
        background: #285BAD;
        color: #ffffff;
        box-shadow: none;
    }

    .employee-profile-body__content {
        padding: 20px 16px;
        margin-top: 0;
    }

    .employee-content-header {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .employee-content-header h4 {
        font-size: 16px;
    }

    .employee-prose-rich {
        font-size: 14.5px;
    }
}

@media (max-width: 767px) {
    .employee-hero-card__body {
        grid-template-columns: 1fr;
        align-items: center;
        justify-items: center;
        text-align: center;
        padding: 24px 18px;
        gap: 22px;
    }

    .employee-hero-card__avatar {
        width: 165px;
        height: 204px;
    }

    .employee-hero-card__info {
        width: 100%;
        align-items: center;
        gap: 18px;
    }

    .employee-hero-card__name {
        font-size: 26px;
    }

    .employee-hero-card__meta-grid {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .employee-hero-card__profiles {
        justify-content: center;
    }

    .employee-hero-card__stats {
        padding: 12px 18px;
    }

    .employee-stats-strip {
        justify-content: center;
    }

    .employee-stats-strip__items {
        justify-content: center;
    }

    .employee-portfolio__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .employee-hero-card {
        border-radius: 8px;
    }

    .employee-hero-card__body {
        padding: 20px 14px;
    }

    .employee-hero-card__meta-grid {
        grid-template-columns: 1fr;
    }

    .employee-meta-pill__val {
        white-space: normal;
    }
}

@media (max-width: 575px) {
    .employee-profile-body {
        padding-top: 4px;
    }

    .employee-profile-body__empty {
        align-items: flex-start;
        padding: 18px;
    }

    .employee-profile__breadcrumbs ol {
        min-height: 50px;
        font-size: 12px;
    }

    .employee-portfolio-card {
        min-height: 0;
        padding: 16px;
    }
}
