
/***
=============================================
    Team Style1 Area Css
=============================================
***/
.team-style1-area {
    position: relative;
    display: block;
    background: #ffffff;
    padding: 150px 0 120px;
}
.team-style1-area.pdbtm60 {
    padding-bottom: 60px;
}

.single-team-style1 {
    position: relative;
    display: block;
    margin-bottom: 30px;
}

/* img-holder wraps the entire card visual */
.single-team-style1 .img-holder {
    position: relative;
    display: block;
    border-radius: 15px;
    overflow: hidden;
    background-color: rgb(248, 245, 238);
}

/* .inner: person photo area */
.single-team-style1 .img-holder .inner {
    position: relative;
    display: block;
    overflow: hidden;
}

.single-team-style1 .img-holder .inner img {
    width: 100%;
    display: block;
    transition: transform 600ms ease;
}

.single-team-style1:hover .img-holder .inner img {
    transform: scale(1.08);
}

/* Dark overlay — shown on hover */
.single-team-style1 .img-holder .inner .overlay-bg {
    position: absolute;
    inset: 0;
    background-color: rgba(31, 32, 33, 0.85);
    border-radius: 0;
    opacity: 0;
    transition: opacity 400ms ease;
    z-index: 2;
}

.single-team-style1:hover .img-holder .inner .overlay-bg {
    opacity: 1;
}

/* Social links — centered, shown on hover */
.single-team-style1 .img-holder .inner .social-link-box {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 400ms ease;
    z-index: 3;
}

.single-team-style1:hover .img-holder .inner .social-link-box {
    opacity: 1;
}

.team-social-link {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-social-link li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    color: #1f2021;
    font-size: 15px;
    transition: background 300ms ease, color 300ms ease;
    text-decoration: none;
}

.team-social-link li a:hover {
    background: var(--thm-primary, #e53127);
    color: #ffffff;
}

/* border-box: wavy separator between image and title — uses team-border.png */
.single-team-style1 .img-holder .border-box {
    position: relative;
    display: block;
    height: 38px;
    background-color: rgb(248, 245, 238);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top center;
    margin-top: -2px;
    z-index: 1;
}

/* shape-bg & shape-bg-overlay: decorative card background PNGs — we keep for visuals */
.single-team-style1 .img-holder .shape-bg {
    display: none; /* card BG handled by .img-holder background-color */
}

.single-team-style1 .img-holder .shape-bg-overlay {
    display: none;
}

/* title-holder: name + role + share icon row */
.single-team-style1 .img-holder .title-holder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px 28px;
    background-color: rgb(248, 245, 238);
    transition: background-color 400ms ease;
    z-index: 1;
}

.single-team-style1:hover .img-holder .title-holder {
    background-color: var(--thm-primary, #e53127);
}

.single-team-style1 .img-holder .title-holder .title-inner {
    position: relative;
}

.single-team-style1 .img-holder .title-holder .title-inner h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 26px;
    margin: 0 0 3px;
    color: #1f2021;
    transition: color 400ms ease;
}

.single-team-style1 .img-holder .title-holder .title-inner h3 a {
    color: #1f2021;
    transition: color 400ms ease;
    text-decoration: none;
}

.single-team-style1:hover .img-holder .title-holder .title-inner h3,
.single-team-style1:hover .img-holder .title-holder .title-inner h3 a {
    color: #ffffff;
}

.single-team-style1 .img-holder .title-holder .title-inner p {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #777777;
    margin: 0;
    transition: color 400ms ease;
}

.single-team-style1:hover .img-holder .title-holder .title-inner p {
    color: rgba(255, 255, 255, 0.80);
}

/* Share icon — red circle */
.single-team-style1 .img-holder .title-holder .share-icon {
    flex-shrink: 0;
}

.single-team-style1 .img-holder .title-holder .share-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background-color: var(--thm-primary, #e53127);
    border-radius: 50%;
    color: #ffffff;
    font-size: 16px;
    transition: background-color 300ms ease, color 300ms ease;
    text-decoration: none;
}

.single-team-style1:hover .img-holder .title-holder .share-icon a {
    background-color: #ffffff;
    color: var(--thm-primary, #e53127);
}
