/* reset default */
:root {
    --default-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.10);
    --teal: #ffa274;
}

.site-main {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

.content-wrap {
    max-width: 1192px;
    margin: auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    font-family: Poppins, sans-serif;
}

.text-teal {
    color: var(--teal);
}

/* 
-------------------------------------------------------------------------------
dropdown section 
-------------------------------------------------------------------------------
*/
.custom-dropdown {
    position: relative;
    display: inline-block;
    font-family: sans-serif;
}

.custom-dropdown .dropdown-toggle {
    background-color: transparent;
    color: var(--black, #09100F);
    border: 1px solid var(--black, #09100F);
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 4px;
    font-family: Poppins, sans-serif;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-dropdown .dropdown-toggle:after {
    background-image: url('/assets/img/dropdown-16-16.svg');
    height: 16px;
    width: 16px;
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-left: auto;
    display: block;
}

.custom-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 260px;
    margin-top: 4px;
    border-radius: 12px;
    z-index: 1;
    font-family: Poppins, sans-serif;
    padding: 20px;
    flex-direction: column;
    gap: 8px;
}

.custom-dropdown .dropdown-item {
    cursor: pointer;
}

.custom-dropdown .dropdown-item:hover {
    background-color: #f0f0f0;
}

/* 
-------------------------------------------------------------------------------
checkboxes 
-------------------------------------------------------------------------------
*/

.checkbox-filter {
    grid-column-gap: 8px;
    grid-row-gap: 8px;
    white-space: nowrap;
    align-items: center;
    display: flex;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.checkbox-custom {
    border: 1px solid var(--black);
    width: 18px;
    height: 18px;
    margin-top: 0;
    border-radius: 5px;
    position: relative;
    background-color: transparent;
}

.checkbox-custom:after {
    content: "";
    position: absolute;
    inset: 14% 33%;
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
}

.checkbox-custom-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom-input:checked~.checkbox-custom {
    background-color: var(--black);
    background: var(--black);
}

/* 
-------------------------------------------------------------------------------
spinner 
-------------------------------------------------------------------------------
*/
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #ff5e57;
    /* coral spin! */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 
-------------------------------------------------------------------------------
banner section 
-------------------------------------------------------------------------------
*/
.banner-section {
    position: relative;
    padding: 80px 0px;
    overflow: visible;
}
.banner-section::before {
    content: '';
    width: 1300px;
    height: 1300px;
    background: url('/assets/img/peoples-hub/eclipse-coral-full.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -50px;
    left: -450px;
    z-index: 0;
}
.banner-section::after {
    content: '';
    width: 1300px;
    height: 1300px;
    background: url('/assets/img/peoples-hub/banner-decal-2.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -50px;
    right: -450px;
    z-index: 0;
}
.banner-section .content-wrap {
    position: relative;
    z-index: 2;
}

.banner-section .banner-content {
    display: flex;
    align-items: flex-end;
    margin-bottom: 96px;
    padding: 0;
    justify-content: space-between;
}

.banner-section .banner-content .text-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.banner-section .banner-content .btn {
    white-space: nowrap;
}

.banner-section .banner-content h1 {
    text-align: left;
    margin-bottom: 0;
}

.banner-section .banner-content p {
    width: min(80ch, 100%);
}

.banner-section .banner-content h1 .text-italic {
    padding-bottom: 20px;
}

.banner-section .banner-images img {
    width: 100%;
}


/* 
-------------------------------------------------------------------------------
peoples hub section 
-------------------------------------------------------------------------------
*/

.peoples-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.peoples-section::before {
    content: '';
    width: 1000px;
    height: 1000px;
    background: url('/assets/img/peoples-hub/eclipse-coral-full.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 20%;
    left: -300px;
    z-index: 0;
}
.peoples-section::after {
    content: '';
    width: 1000px;
    height: 1000px;
    background: url('/assets/img/peoples-hub/banner-decal-2.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 20%;
    right: -330px;
    z-index: 0;
}

.peoples-section .content-wrap {
    position: relative;
    z-index: 2;
}


.peoples-section .header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.peoples-section .people-contents {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.peoples-section .tab-contents-container {
    display: flex;
    gap: 32px;
    flex-direction: column;
    align-items: stretch;
}

.peoples-section .region-buttons {
    display: flex;
    min-height: 50px;
    padding: 8px;
    align-items: center;
    align-self: stretch;
    border-radius: 12px;
    border: 1px solid var(--black, #09100F);
    background: transparent;
    gap: 8px;
}

.peoples-section .region-button {
    display: flex;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    border-radius: 8px;
    border: none;
    background-color: transparent;
    font-weight: 300;
    cursor: pointer;
}

.peoples-section .region-button.active, 
.peoples-section .region-button:hover {
    color: var(--white, #F9F8F5);
    background: var(--black, #09100F);
}

.peoples-section .tab-content {
    display: none;
}

.peoples-section .tab-content.active {
    display: block;
}

.peoples-section .peoples-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: flex-start;
    gap: 16px;
}

.peoples-section .peoples-list .people-item {
    display: flex;
    padding: 24px;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    border-radius: 12px;
    background: var(--Pale, #F5F3ED);
    box-shadow: var(--default-shadow);
}

.peoples-section .people-item .people-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    flex: 1 0 0;
}

.peoples-section .people-item .people-image img {
    width: 100px;
    width: 100px;
    border-radius: 5px;
    object-fit: cover;
    object-position: center;
}

.peoples-section .people-item .people-name {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: normal;
}

.peoples-section .people-item .people-position {
    font-size: 14px;
}

.peoples-section .people-item .people-company-logo img {
    height: 37px;
}

.peoples-section .peoples-list-v2 .people-item {
    flex-direction: column;
}

.peoples-section .peoples-list-v2 .people-item .people-image {
    width: 100%;
}

.peoples-section .peoples-list-v2 .people-item .people-image img {
    width: 100%;
    border-radius: 12px;
    height: 240px;
    object-fit: cover;
    object-position: top center;
}

/* 
-------------------------------------------------------------------------------
get involve section 
-------------------------------------------------------------------------------
*/

.get-involve-section {
    background: var(--black);
    padding: 80px 0;
    color: var(--white);
    background-image: url('/assets/img/peoples-hub/Eclipse.svg?v=2');
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: cover;
}

.get-involve-section .cta-content {
    max-width: 1192px;
    margin: auto;
}

.get-involve-section h2 {
    margin-top: 0;
    margin-bottom: 24px;
}

.get-involve-section .cta-content img {
    margin-bottom: 24px;
}

.get-involve-section .cta-content p {
    width: 631px;
    display: block;
    font-family: Poppins, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    margin-bottom: 24px;
}

.get-involve-section .cta-content .btn {
    display: inline-block;
}

.get-involve-section.dark .text-italic {
    display: inline;
}

.get-involve-section .text-italic {
    display: block;
    font-family: IvyJournal !important;
    font-style: italic;
}



/* 
-------------------------------------------------------------------------------
modal section 
-------------------------------------------------------------------------------
*/
#authorModal .modal-content {
    display: flex;
    padding: 80px 124px;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
    flex: 1 0 0;
}

#authorModal .modal-content .left-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 330px;
}

#authorModal .modal-content .left-content h5 {
    color: var(--black, #09100F);
    font-family: Poppins;
    font-size: 42px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -0.84px;
}

#authorModal .modal-content .left-content img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
    object-position: center;
}

#authorModal .modal-content .left-content .modal-company-logo {
    width: auto;
    height: 48px;
    border-radius: 5px;
    object-fit: cover;
    object-position: center;
}

#authorModal .modal-content .right-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    flex: 1;
}

#authorModal .modal-content .right-content h6 {
    color: var(--black, #09100F);
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    /* 133.333% */
    letter-spacing: -0.48px;
}

#authorModal .modal-content .right-content .modal-social-link {
    font-size: 24px;
    color: var(--white);
    padding: 10px 12px;
    border-radius: 5px;
    background: var(--black, #09100F);
    display: inline-flex;
    text-decoration: none;
    opacity: .8;
}

#authorModal .modal-content .right-content .modal-social-link:hover {
    background: var(--black, #09100F);
    color: var(--white);
    text-decoration: none;
    opacity: 1;
}


/* 
-------------------------------------------------------------------------------
Media Queries
-------------------------------------------------------------------------------
*/

@media screen and (max-width: 1024px) {
    .content-wrap {
        max-width: 100%;
    }

    .get-involve-section .cta-content p {
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    .peoples-section .peoples-list {
        grid-template-columns: repeat(2, 1fr);
    }

}
@media all and (max-width: 992px){
    #authorModal .modal-content {
        padding: 80px;
        /* flex-direction: column; */
        max-height: 90%;
        overflow: scroll;
        gap: 24px;
    }
}
@media all and (max-width: 820px){
    #authorModal .modal-content {
        padding: 24px;
        flex-direction: column;
        max-height: 90%;
        overflow: scroll;
        gap: 24px;
    }
}

@media screen and (max-width: 768px) {
    .banner-section .banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 24px;
    }
    .peoples-section .peoples-list {
        grid-template-columns: 1fr 1fr;
    }
    
    .banner-section::before, .banner-section::after {
        width: 700px;
    }
    .banner-section::before {
        top: 100px;
        left: -300px;
    }
    .banner-section::after {
        top: 100px;
        right: -300px;
    }
    #authorModal .modal-content {
        padding: 40px;
        max-height: 90%;
        overflow: scroll;
        gap: 24px;
    }
    #authorModal .modal-content .left-content {
        width: 45%;
    }
}

@media screen and (max-width: 600px) {
    .peoples-section .peoples-list {
        grid-template-columns: 1fr;
    }
    
    .banner-section::before, .banner-section::after {
        width: 700px;
    }
    .banner-section::before {
        top: 500px;
        left: -300px;
    }
    .banner-section::after {
        top: 300px;
        right: -300px;
    }

    #authorModal .modal-content {
        padding: 24px;
        flex-direction: column;
        max-height: 90%;
        overflow: scroll;
        gap: 24px;
    }
    #authorModal .modal-content .left-content {
        width: 100%;
    }

    .peoples-section .header {
        flex-direction: column;
        align-items: start;
        gap: 24px;
    }
}
