/* About Us - Dynamic Team */

.pwd-team-heading {
    max-width: 800px;
    margin: 0 auto 40px;
}
.single-post .pwd-team-grid{
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
}
#author{
	scroll-margin: 120px;
	margin-bottom:30px;
}
.pwd-team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.pwd-team-card {
    display: grid;
    grid-template-columns: 40% minmax(0, 1fr);
    background: #fff;
    border: 1px solid rgba(37, 99, 255, .26);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}

.pwd-team-image {
    background: #eaf2ff;
    min-height: 320px;
}

.pwd-team-image a {
    display: block;
    height: 100%;
}

.pwd-team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.pwd-team-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pwd-team-content h3 {
    font-size: 25px;
    margin: 0 0 8px;
}

.pwd-team-content h3 a {
    color: #081C3A;
}

.pwd-team-position {
    color: #2F80FF;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.pwd-team-description {
    color: #102B52;
    line-height: 1.7;
}

.pwd-team-experience {
    font-family: 'Satoshi-Bold';
    color: #081C3A;
    margin-bottom: 15px;
}

.pwd-team-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}

.pwd-team-expertise span {
    font-size: 12px;
    line-height: 1.5;
    padding: 5px 10px;
    border-radius: 30px;
    background: #e4edff;
    color: #06459e;
}

.pwd-team-content .button_group {
    margin-top: auto;
}

@media (max-width: 1199px) {
    .pwd-team-card {
        grid-template-columns: 1fr;
    }
    .pwd-team-image {
        height: 400px;
        min-height: 0;
    }
}
@media (max-width: 991px) {
    .pwd-team-image {
        height: 300px;
    }
}
@media (max-width: 767px) {
    .pwd-team {
        padding: 45px 0;
    }

    .pwd-team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pwd-team-content {
        padding: 22px;
    }

    .pwd-team-content h3 {
        font-size: 23px;
    }
    .pwd-team-image {
        height: fit-content;
        min-height: 0;
    }
}
