/* ==================================================
   TEAM
   Generated modular CSS split
================================================== */

.profile-hero {
    display: grid;
    grid-template-columns: 16rem 1fr 21rem;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.profile-photo {
    overflow: hidden;
    border-radius: 1.5rem;
}

.profile-photo img {
    width: 100%;
    aspect-ratio: 1 / 1.18;
    object-fit: cover;
    display: block;
}

.profile-info h1 {
    margin: 0 0 .4rem;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

.profile-info h2 {
    margin-bottom: 1.15rem;
    font-size: 1.2rem;
    color: var(--site-primary);
    font-weight: 700;
}

.profile-info p {
    max-width: 43rem;
    margin-bottom: 1.4rem;
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(var(--site-dark-rgb), .7);
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: .85rem;
    padding: .55rem 1rem;
    border-radius: 999px;
    background: rgba(var(--site-primary-rgb), .1);
    color: var(--site-primary);
    font-weight: 700;
    font-size: .85rem;
}

.profile-socials {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.profile-socials a {
    width: 2.45rem;
    height: 2.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--site-body-color);
    background: var(--site-white);
    border: 1px solid rgba(var(--site-dark-rgb), .08);
    text-decoration: none;
}

.profile-socials a:hover {
    color: var(--site-white);
    background: var(--site-primary);
    transform: translateY(-3px);
}

.profile-contact-card,
.profile-card,
.recent-posts-section {
    background: var(--site-bg-light);
    border-radius: 1.5rem;
}

.profile-contact-card {
    padding: 1.6rem;
}

.profile-contact-card div {
    display: grid;
    grid-template-columns: 3rem 1fr;
    column-gap: 1rem;
    row-gap: .15rem;
    align-items: center;
    padding: .95rem 0;
}

.profile-contact-card div:not(:last-child) {
    border-bottom: 1px solid rgba(var(--site-dark-rgb), .06);
}

.profile-contact-card span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.profile-contact-card i {
    grid-row: span 2;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--site-primary);
    border-radius: 50%;
    background: var(--site-white);
    border: 1px solid rgba(var(--site-dark-rgb), .08);
}

.profile-contact-card div:hover i {
    transform: translateY(-2px);
    background: var(--site-primary);
    color: var(--site-white);
    border-color: var(--site-primary);
}

.profile-contact-card span {
    font-size: .8rem;
    color: rgba(var(--site-dark-rgb), .6);
}

.profile-contact-card strong {
    font-size: .9rem;
}

.profile-card {
    height: 100%;
    padding: 2rem;
}

.profile-card h3,
.recent-posts-section h3 {
    position: relative;
    margin-bottom: 1.6rem;
    font-size: 1.35rem;
    font-weight: 800;
}

.profile-card h3::after,
.recent-posts-section h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -.55rem;
    width: 2.2rem;
    height: .18rem;
    border-radius: 999px;
    background: var(--site-secondary);
}

.profile-card p {
    color: rgba(var(--site-dark-rgb), .7);
    line-height: 1.85;
}

.education-box {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(var(--site-dark-rgb), .08);
}

.education-box i {
    color: var(--site-primary);
    font-size: 1.45rem;
}

.education-box h4,
.expertise-list h4,
.timeline h4,
.certificate-list h4 {
    margin-bottom: .35rem;
    font-size: 1rem;
    font-weight: 800;
}

.education-box p {
    margin-bottom: .35rem;
    font-size: .92rem;
}

.education-box strong {
    color: var(--site-body-color);
}

.skill-item:not(:last-child) {
    margin-bottom: 1.1rem;
}

.skill-item > div:first-child {
    display: flex;
    justify-content: space-between;
    margin-bottom: .45rem;
    font-size: .9rem;
    font-weight: 700;
}

.skill-item strong {
    color: var(--site-primary);
}

.progress {
    height: .45rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(var(--site-dark-rgb), .08);
}

.progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--site-primary);
}

.expertise-list {
    display: grid;
    gap: 1.4rem;
}

.expertise-list > div {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 1rem;
}

.expertise-list i {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--site-primary);
    font-size: 1.2rem;
}

.expertise-list ul {
    margin: 0;
    padding-left: 1.15rem;
    color: rgba(var(--site-dark-rgb), .7);
    line-height: 1.75;
}

.timeline {
    position: relative;
    display: grid;
    gap: 1.5rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8.2rem;
    top: .4rem;
    bottom: .4rem;
    width: 1px;
    background: rgba(var(--site-primary-rgb), .3);
}

.timeline > div {
    position: relative;
    display: grid;
    grid-template-columns: 7.4rem 1fr;
    gap: 1.8rem;
}

.timeline > div::before {
    content: "";
    position: absolute;
    left: 7.88rem;
    top: .35rem;
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: var(--site-primary);
    box-shadow: 0 0 0 .35rem rgba(var(--site-primary-rgb), .2);
    z-index: 1;
}

.timeline span {
    font-size: .82rem;
    color: rgba(var(--site-dark-rgb), .6);
}

.timeline p {
    margin: 0;
    font-size: .9rem;
}

.certificate-list {
    display: grid;
    gap: 1rem;
}

.certificate-list > div {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: 1rem;
    background: var(--site-white);
}

.certificate-list i {
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--site-primary);
    background: rgba(88, 139, 116, .1);
}

.certificate-list span {
    color: rgba(var(--site-dark-rgb), .6);
    font-size: .85rem;
}

.recent-posts-section {
    padding: 2rem;
    background: var(--site-bg-light);
    margin-bottom: 3rem;
}

.recent-posts-section .section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.post-card {
    height: 100%;
    overflow: hidden;
    border-radius: 1.25rem;
    background: var(--site-white);
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card img {
    width: 100%;
    height: 10rem;
    object-fit: cover;
    display: block;
}

.post-card div {
    padding: 1.15rem;
}

.post-card h4 {
    margin-bottom: 1rem;
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.55;
}

.post-card h4 a {
    color: var(--site-body-color);
    text-decoration: none;
}

.post-card p {
    margin: 0;
    font-size: .82rem;
    color: rgba(var(--site-dark-rgb), .6);
}

.stats-sm {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 2rem;
    padding: 1.8rem 1rem;
    border: 1px solid rgba(var(--site-dark-rgb), .08);
    border-radius: 1.5rem;
    background: var(--site-white);
}

.stats-sm div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .8rem 1rem;
}

.stats-sm div:not(:last-child) {
    border-right: 1px solid rgba(var(--site-dark-rgb), .08);
}

.stats-sm i {
    display: block;
    margin-bottom: .65rem;
    color: var(--site-primary);
    font-size: 1.65rem;
}

.stats-sm strong {
    display: block;
    color: var(--site-primary);
    font-size: 1.75rem;
    line-height: 1;
}

.stats-sm span {
    display: block;
    margin-top: .45rem;
    font-size: .85rem;
    color: rgba(var(--site-dark-rgb), .7);
}

@media (max-width: 1199.98px) {
.profile-hero {
        grid-template-columns: 14rem 1fr;
    }
.profile-contact-card {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
.profile-contact-card div {
        border-bottom: 0 !important;
    }
}
@media (max-width: 991.98px) {
.profile-hero {
        grid-template-columns: 1fr;
    }
.profile-photo {
        max-width: 18rem;
    }

.profile-contact-card,
.stats-sm {
    grid-template-columns: repeat(2, 1fr);
    }

.stats-sm div:nth-child(2) {
    border-right: 0;
    }

.stats-sm div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(var(--site-dark-rgb), .08);
    }
}
@media (max-width: 575.98px) {
.profile-card,
    .recent-posts-section {
        padding: 1.35rem;
    }
.timeline::before {
        left: .35rem;
    }
.timeline > div {
        grid-template-columns: 1fr;
        gap: .4rem;
        padding-left: 1.8rem;
    }
.timeline > div::before {
        left: 0;
    }

.profile-contact-card,
.stats-sm {
    grid-template-columns: 1fr;
    }

.stats-sm div {
    border-right: 0 !important;
    }

.stats-sm div:not(:last-child) {
    border-bottom: 1px solid rgba(var(--site-dark-rgb), .08);
    }
}
