

:root {
    --eilda-black: #111111;
    --eilda-white: #ffffff;
    --eilda-red: #951528;
    --eilda-grey: #666666;
    --eilda-light-grey: #f2f2f2;
    --eilda-border: #e7e7e7;

    --page-width: 1400px;
    --content-width: 1240px;

    --transition-fast: 0.25s ease;
}



@font-face {
    font-family: "Doran";
    src: url("fonts/Doran-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Doran";
    src: url("fonts/Doran-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}



*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;

    font-family: "Doran", sans-serif;
    font-weight: 400;

    color: var(--eilda-black);
    background-color: var(--eilda-white);

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    -webkit-appearance: none;
    appearance: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--eilda-red);
    outline-offset: 4px;
}

.our-team-page {
    width: 100%;
    min-width: 0;
    background-color: var(--eilda-white, #ffffff);
    color: var(--eilda-black, #111111);
}


.our-team-media {
 
        position: relative;
    width: 100%;
    max-width: none;
    height: clamp(190px, 23vw, 280px);
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--eilda-light-grey);
}

.our-team-media-image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
    border: none;
}

.our-team-media::after {
    content: none;
}



.our-team-intro {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 44px 32px 38px;
    box-sizing: border-box;
    text-align: center;
    border: none;
    box-shadow: none;
}



.our-team-title {
           margin: 25px auto 35px;

    color: var(--eilda-black, #111111);
    font-family: "Bodoni Moda", "Didot", "Times New Roman", serif;
    font-size: clamp(32px, 3.2vw, 44px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    overflow-wrap: break-word;
}



.our-team-subtitle {

    
    max-width: 680px;
        margin: 45px auto 40px;

    color: var(--eilda-grey, #707070);
    font-family: "Doran", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
    text-align: center;
    overflow-wrap: anywhere;
}




.our-team-listing {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 38px 60px 0;
    box-sizing: border-box;
}




.team-section {
    position: relative;
    width: 100%;
    padding: 35px 5% 65px;
    background-color: #ffffff;
    color: #111111;
    overflow: hidden;
    box-sizing: border-box;
}


.team-section > h1,
.team-section > h2 {
    margin: 0 0 22px;
    text-align: center;
    font-family: "Bodoni Moda", "Didot", "Times New Roman", serif;
    font-size: clamp(34px, 3.5vw, 46px);
    font-weight: 400;
    line-height: 1.2;
}

.team-description {
    max-width: 600px;
    margin: 0 auto 65px;
    color: #666666;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    width: 100%;
    max-width: 1100px;
    margin: 0 auto;

    column-gap: 35px;
    row-gap: 48px;
}


.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;
    text-align: center;
}


.team-photo-link {
    display: block;
    width: clamp(90px, 8vw, 115px);
    aspect-ratio: 1 / 1;

    margin-bottom: 13px;
    border-radius: 50%;
    overflow: hidden;

    background-color: #f2f2f2;
}

.team-photo {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: 50%;
    transition: transform 0.35s ease;
}

.team-photo-link:hover .team-photo {
    transform: scale(1.04);
}


.team-name {
    margin: 0 0 5px;

    color: #111111;

    font-family: "Bodoni Moda", "Didot", "Times New Roman", serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}


.team-role {
    max-width: 180px;
    margin: 0;

    color: #444444;

    font-family: "Times New Roman", serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
}


.team-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 45px;

    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(0, 0, 0, 0.08)
    );

    pointer-events: none;
}


@media (max-width: 768px) {

    .team-section {
        padding: 30px 4% 50px;
    }

    .team-description {
        margin-bottom: 45px;
    }

    .team-grid {
        column-gap: 18px;
        row-gap: 38px;
    }

    .team-photo-link {
        width: clamp(72px, 10vw, 90px);
    }

    .team-name {
        font-size: 12px;
    }

    .team-role {
        font-size: 10px;
    }
}


@media (max-width: 480px) {

    .team-section {
        padding: 25px 14px 40px;
    }

    .team-section > h1,
    .team-section > h2 {
        font-size: 32px;
    }

    .team-description {
        margin-bottom: 35px;
        font-size: 13px;
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 18px;
        row-gap: 35px;
    }

    .team-photo-link {
        width: 90px;
        max-width: 100%;
        margin-bottom: 10px;
    }

    .team-name {
        font-size: 12px;
    }

    .team-role {
        font-size: 10px;
    }
}


@media (max-width: 340px) {

    .team-grid {
        column-gap: 10px;
        row-gap: 28px;
    }

    .team-photo-link {
        width: 75px;
    }

    .team-name {
        font-size: 11px;
    }

    .team-role {
        font-size: 9px;
    }
}
  

.our-team-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 54px 20px 58px;
    box-sizing: border-box;
}

.our-team-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}



.our-team-pagination .prev,
.our-team-pagination .next {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    min-width: 176px;
    min-height: 50px;
    padding: 13px 18px;

    box-sizing: border-box;
    border: 1px solid #951528;

    background-color: #951528;
    color: #ffffff;

    font-family: "Bodoni Moda", "Didot", "Times New Roman", serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.4;

    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    transition: background-color 0.25s ease, color 0.25s ease;
}



.our-team-pagination .prev:hover,
.our-team-pagination .next:hover {
    background-color: transparent;
    color: #951528;
}



.our-team-pagination .prev:focus-visible,
.our-team-pagination .next:focus-visible {
    outline: 2px solid #951528;
    outline-offset: 4px;
}



.our-team-pagination .page-numbers:not(.prev):not(.next) {
    display: none !important;
}



@media (max-width: 768px) {

    .our-team-pagination {
        padding: 44px 20px 48px;
    }

}



@media (max-width: 560px) {

    .our-team-pagination {
        padding: 38px 20px 42px;
    }

    .our-team-pagination .prev,
    .our-team-pagination .next {
        min-width: 165px;
        min-height: 48px;
        font-size: 15px;
    }

}
