/* FAQ Repeater */

section.faq-repeater {
    margin: 40px 0;
}

.faq-repeater-wrapper {
    background: var(--white);
    z-index: 1;
    padding: clamp(25px, 5vw, 100px);
    border: solid 6px var(--border-green);
}

.faq-item {
    display: flex;
    flex-direction: column;
}

.faq-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    text-transform: capitalize;
    border-bottom: solid 1px var(--green);
    padding: 30px;
    cursor: pointer;
}

.faq-repeater-inner {
    border-top: solid 1px var(--green);
}

span.faq-item-icon.rotate {
    rotate: -90deg;
}

span.faq-item-icon {
    transition: ease 0.3s;
    rotate: 0deg;
}

.faq-item-content {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item-content-wrapper {
    padding: 30px;
}


.faq-item-content p {
    font-size: clamp(16px, 1.8vw, 18px);
}

h2.faq-item-title {
    color: var(--green);
    font-size: clamp(24px, 3vw, 30px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    text-transform: capitalize;
}

/* Team */

section.team-area {
    margin: 40px 0;
}

.team-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 0 40px;
}

.team-wrapper {
    background: var(--white);
    z-index: 1;
    position: relative;
    padding: clamp(25px, 5vw, 100px);
    border: solid 6px var(--border-green);
}

.team-members-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.team-member-item {
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.team-member-item:hover p.team-member-role{
    display: flex;
    opacity: 1;
    max-height: 50px;

}

.team-member-image {
    display: flex;
    width: 100%;
    height: 100%;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-image:before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(9, 32, 8, 0.48) 78.5%);
    mix-blend-mode: multiply;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    transition: ease 0.4s;
}

.team-member-item:hover .team-member-image:before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(9, 32, 8, 0.90) 69%);
}

.team-member-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 30px 40px;
    z-index: 2;
}

h3.team-member-name {
    color: var(--white);
    font-family: 'Instrument Sans';
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    text-transform: uppercase;
}

.team-member-details:after {
    content: '';
    width: calc(40% - 60px);
    height: 1px;
    position: absolute;
    z-index: 1;
    background: var(--white);
    bottom: 20px;
    transition: ease 0.4s;
}

.team-member-item:hover .team-member-details:after {
    width: calc(100% - 60px);
}

p.team-member-role {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    color: var(--white);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    transition: ease 0.4s;
}

.team-content h2 {
    color: var(--green);
    font-family: 'adobe-caslon-pro';
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    text-transform: capitalize;
}

.team-content p {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

/* Team Modal */

.team-member-modal.active {
    opacity: 1;
    pointer-events: all;
    z-index: 99;
}

.team-member-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: calc(100% - 120px);
    height: calc(100% - 120px);
    background: var(--white);
    padding: 60px;
    overflow-y: scroll;
}

.team-member-modal-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    padding: 40px;
}

button.team-member-modal-close {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    padding: 10px;
    margin: 0;
    cursor: pointer;
}

.team-member-modal-image {
    position: relative;
    display: flex;
    width: 100%;
    height: fit-content;
}

.team-member-modal-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    top: 0;
}

h3.team-member-modal-name {
    color: var(--green);
    font-family:'adobe-caslon-pro';
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; 
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

p.team-member-modal-role {
    color: var(--black);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}

.team-member-modal-text-content {
    margin-top: 60px;
    position: relative;
}

.team-member-modal-text-content:before {
    content: '';
    background: var(--black);
    width: 100%;
    height: 1px;
    top: -30px;
    left: 0;
    position: absolute;
}

