html, body {
    background-image: url("../images/bg2.png");
    background-size: cover;
}

/* FIRST SECTION  */
.insights-sec1 {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-start;
    width: auto;
    height: 100vh;
    gap: 4rem;
    position: relative;
    background-color: black;
}

.insights-text {
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 0 4rem 4rem;
    filter: drop-shadow(0 0 4px black);
    gap: 2rem;
    z-index: 5;
    h4 {
        font-weight: 200;
        color: var(--orange);
    }
    a {
        font-weight: 200;
        color: var(--orange);
        transition: all 0.2s ease;
    }
    a:hover {
        font-weight: bold;
        color: white;
    }
}

.insights-bg {
    position: absolute;
    width: 100%;
    outline: 2px dotted white;
    mask-image: linear-gradient(to bottom,
    rgba(0,0,0,1) 35%,
    rgba(0,0,0,0)); 
    z-index: 1;
    img{
        object-fit: cover;
        opacity: 70%;
        height: 100vh;
        width: 100vw;
    }
}

.insights-sec2 {
    padding: 2rem;
}

.article-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 1rem;
    gap: 2rem;
}

.article {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    text-decoration: none;
    padding: 2rem;
    max-width: 500px;
    gap: 1rem;
    background-color: white;
    flex: 1;
}

.lead-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8rem 1rem 0;
    gap: 4rem;
}

.lead-team {
    display: flex;
    flex-direction: row;
    padding: 3rem 2rem 2rem;
    gap: 2rem;
    height: 100%;
    max-width: 1200px;
    background-color: white;
}

.lead-left {
    display: flex;
    flex: 1 1 400px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
    gap: 2rem;
    img {
        height: auto;
        width: clamp(200px, 25vw, 300px);
        border-radius: 100%;
    }
    h3 {
        color: var(--orange);
        font-weight: 400;
    }
    span {
        font-weight: 200;
    }
}

.lead-right {
    display: flex;
    flex: 1 1 800px;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    p { 
        margin:0;
    }
    a {
        align-self: end;
    }
    img {
        height: 50px;
        width: 50px;
        transition: transform 0.2s ease;
    }
    img:hover {
        transform: scale(1.2);
    }
}


/* FIRST SECTION  */
.article-sec1 {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-start;
    width: auto;
    height: 100vh;
    gap: 4rem;
    position: relative;
    background-color: black;
}

.article-text {
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 0 4rem 4rem;
    filter: drop-shadow(0 0 4px black);
    gap: 2rem;
    z-index: 5;
    h2 {
        font-weight: 200;
    }
    h4 {
        font-weight: 200;
        color: var(--orange);
    }
}

.article-bg {
    position: absolute;
    width: 100%;
    outline: 2px dotted white;
    mask-image: linear-gradient(to bottom,
    rgba(0,0,0,1) 35%,
    rgba(0,0,0,0)); 
    z-index: 1;
    img{
        object-fit: cover;
        opacity: 70%;
        height: 100vh;
        width: 100vw;
    }
}

/* SECOND SECTION */
.article-sec2 {
    display: flex;
    padding: 2rem 4rem;
}

.text-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.text-sec {
    display: flex;
    flex-direction: column;
    width: 40vw;
    p {
        margin: 0 0 1rem;
    }
}

@media (max-width: 1024px) {
    .text-sec {
        width: 100%;
    }
}

@media (max-width: 940px) {
    .insights-text {
        padding: 0 2rem 4rem;
    }
    .insights-sec2 {
        padding: 2rem 1rem;
    }
    .article-wrapper {
        gap: 1rem;
    }
    .lead-wrap {
        padding: 6rem 1rem 0rem;
        gap: 2rem;
    }
    .lead-team {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    .lead-left {
        flex: 0;
        gap: 1rem;
    }
    .lead-right {
        flex: 0;
        gap: 1rem;
        img {
            height: 40px;
            width: 40px;
        }
    }
    .article-text {
        padding: 0 2rem 4rem;
    }
    .article-sec2 {
        padding: 2rem;
    }
    .text-wrapper {
        gap: 1rem;
    }
}

@media (max-width: 764px) {
    .article {
        padding: 1rem;
        img {
            width: 70vw !important;
        }
    }
    .article-text {
        padding: 0 1rem 4rem;
    }
    .article-sec2 {
        padding: 2rem 1rem;
    }
}

@media (max-width: 546px) {
    .insights-text {
        padding: 0 1rem 4rem;
        br {
            display: none;
        }
    }
    .lead-wrap {
        padding: 4rem 1rem 0rem;
    }
    .lead-team {
        padding: 1rem;
    }
    .lead-right {
        img {
            height: 30px;
            width: 30px;
        }
    }
}
