.single-team .team-hero {
    background: linear-gradient(180deg, rgba(0,5,5,1) 0%, rgba(0,13,50,1) 15%, rgba(0,13,50,1) 78%, rgba(255,255,255,1) 78%);
    padding-bottom: 0;
    padding-top: clamp(6.438rem, 4.609rem + 7.101vw, 11rem);
}

.single-team .team-hero .team-photo {
    display: block;
    height: 226px;
    width: 226px;
}

.single-team .team-content,
.single-team .team-content .et_pb_row_1 {
    padding-top: 0;
}

.single-team .team-content .et_pb_row_1 .entry-title {
    font-size: xx-large;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.5;
    padding-bottom: 7px;
}

.single-team .team-content .et_pb_row_2 {
    padding-top: 29px;
}

.single-team .team-content .et_pb_row_2 .et_pb_text p {
    font-size: 18px;
    line-height: 1.4em;
    font-weight: 500;
    color: black;
}

.single-team .team-content .et_pb_row_2 .et_pb_text p a {
    color: #000000;
    transition: color 300ms ease 0ms;
    text-decoration: underline;
    text-decoration-color: rgba(0,0,0,0.35);
}

.single-team .team-content .et_pb_row_2 .et_pb_text p a:hover {
    color: #38B2E6;
    text-decoration-color: #38B2E6;
}

.single-team .team-content .et_pb_row_2 .team-sidebar .sidebar-item-headline {
    color: #00CCFF;
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 16px;
    text-transform: uppercase;
}

.single-team .team-content .et_pb_row_2 .team-sidebar ul {
    font-size: 16px;
    padding-left: 16px;
}

.single-team .team-content .et_pb_row_2 .team-sidebar ul li {
    color: #666;
    list-style: disc;
    line-height: 1.7;
}

.single-team .team-content .et_pb_row_2 .team-sidebar ul li a {
    color:#746C6A;
    text-decoration-color: rgba(0,0,0,0.35);
    text-decoration: underline;
}

.single-team .team-archive-link .et_pb_row_3  p a {
    color: #38B2E6;
    font-size: 18px;
    line-height: 1.7em;
}

/* Team Archive */
.post-type-archive-team .team-grid .et_pb_row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 74px 24px;
}

.post-type-archive-team .team-grid .et_pb_row a {
    align-items: center;
    display: flex;
    flex-direction: column;
    grid-column: span 6 / span 6;
}

.post-type-archive-team .team-grid {
    padding-top: 3%;
    margin-top: -1px;
}

@media screen and (min-width: 900px) {
    .post-type-archive-team .team-grid .et_pb_row {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .post-type-archive-team .team-grid .et_pb_row a {
        grid-column: span 4 / span 4;
    }
}

@media screen and (min-width: 1240px) {
    .post-type-archive-team .team-grid .et_pb_row a {
        grid-column: span 3 / span 3;
    }
}

.post-type-archive-team .team-grid .et_pb_row a:hover img {
    transform: scale(0.9);
}

.post-type-archive-team .team-grid .et_pb_row a img {
    width: 202px;
    height: 202px;
    -moz-transition: all .4s ease-in-out;
	-ms-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}

.post-type-archive-team .team-archive-hero {
    background: linear-gradient(180deg, rgba(0,5,5,1) 0%, rgba(0,13,50,1) 70%);
    padding-bottom: 0 !important; // Necessary to overwrite Divi class styles.
}

.post-type-archive-team .team-archive-hero .entry-title {
    color: #00CCFF;
    font-family: 'Oswald',Helvetica,Arial,Lucida,sans-serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.5em;
    margin-bottom: 27px;
    padding-top: 10px;
    text-transform: uppercase;
}

.post-type-archive-team .team-archive-hero p {
    line-height: 1.3em;
    font-size: 25px;
    color: #FFFFFF;
}

.post-type-archive-team #et-boc .et-l .team-grid,
.post-type-archive-team #et-boc .et-l .team-disclaimer {
    background: #000D32;
}

.post-type-archive-team .team-grid .et_pb_row a h2 {
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    padding-top: 8px;
    padding-bottom: 10px;
    color: white;
    text-align:center;
}

.post-type-archive-team .team-grid .et_pb_row a p {
    font-size: 16px;
    text-align:center;
    color: #AAAAAA;
}

.post-type-archive-team #et-boc .et-l .team-disclaimer {
    padding-top: 0 !important; // Necessary to overwrite Divi class styles.
}

.post-type-archive-team #et-boc .et-l .team-disclaimer .et_pb_row {
    border-top: 1px solid #38b2e6;
    margin-top: -22px;
    padding-top: 52px;
}

.post-type-archive-team #et-boc .et-l .team-disclaimer .et_pb_row p {
    font-size: 14px;
    color: #a0a0a0;
}
