/*  ------------------ Green Header --------------------- */

.breadcrumb-section {
    position: relative;
    width: 100%;
    display: flex;
    height: 150px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 55px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.greenColor-wrapper {
    width: 100%;
    display: flex;
    position: absolute;
    height: 100%;
    z-index: 1;
    top: 0;
    inset-inline-end: 0;
    justify-content: flex-end;
}

.greenColor {
    width: 40%;
    height: 150px;
    position: relative;
    /* background-color: #4da05b; */
}

.active-title {
    font-weight: 400;
    color: #545454;
    font-size: 16px;
}

/* gray color */
.gray1,
.gray2,
.gray3 {
    position: absolute;
    height: 100%;
    background-color: #d8d8d8;
}

.gray1 {
    width: 8px;
    inset-inline-end: calc(39vw - 38px);
}

.gray2 {
    width: 16px;
    inset-inline-end: calc(39vw - 23px);
}

.gray3 {
    width: 22px;
    inset-inline-end: calc(39vw - 0px);
}

/* Green Header Title */
.greenTitle-wrapper {
    width: 100%;
    display: flex;
    height: 100%;
    z-index: 2;
    align-items: center;
}

.greenTitle {
    width: 100%;
    max-width: 1350px;
    margin: 20px auto;
}

.bread-crumb-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 156%;
    margin-bottom: 5px;
}

.greenTitle div p {
    color: #787878;
    font-weight: 400;
    font-size: 15px;
    line-height: 156%;
    text-align: start;
}

.greenTitle div p span {
    font-weight: 500;
    line-height: 156%;
    text-align: start;
    margin: auto 5px;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 5px;
    font-weight: 400;
    font-size: 15px;
    color: #787878;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li a {
    color: #545454;
    text-decoration: none;
    font-weight: 400;
    cursor: pointer;
}

.breadcrumb li a:hover {
    text-decoration: none;
}

.breadcrumb li span {
    margin: 0 5px;
    user-select: none;
}

.breadcrumb li.active-title {
    color: #545454;
    font-weight: 500;
    font-size: 15px;
    cursor: default;
    user-select: none;
}

/* Mobile screen */
@media (max-width: 767px) {

    .gray1,
    .gray2,
    .gray3 {
        display: none;
    }


    .greenColor {
        width: 40vw;
    }

    .greenTitle {
        margin: 20px auto;
    }

    .bread-crumb-title {
        font-weight: 600;
        font-size: 15px;
    }

    .greenTitle div p {
        font-size: 10px;
    }
}

/* Tablet Screen */
@media (min-width: 768px) and (max-width: 1024px) {

    .gray1 {
        width: 8px;
        inset-inline-end: calc(38vw - 38px);
    }

    .gray2 {
        width: 16px;
        inset-inline-end: calc(38vw - 23px);
    }

    .gray3 {
        width: 22px;
        inset-inline-end: calc(38vw - 0px);
    }

    .greenTitle {
        margin: 20px auto;
    }

    .bread-crumb-title {
        font-weight: 600;
        font-size: 20px;
    }

    .greenTitle div p {
        font-size: 15px;
    }
}

/* Small Laptop Screen */
@media (min-width: 1025px) and (max-width: 1280px) {
    .greenTitle div p {
        font-size: 20px;
        text-align: start;
    }
}

@media (min-width: 1281px) and (max-width: 1400px) {
    .greenTitle div p {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .gray1,
    .gray2,
    .gray3 {
        display: none;
    }
}

/* -------------- newsCard ------------ */

#news {
    margin-top: 40px;
    padding: 0 15px;
    overflow-x: hidden;
}

.newsCards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    justify-content: center;
}

/* Card Wrapper */
.newsCardLink {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* News Card */
.news-cards-content {
    width: 100%;
    padding: 18px;
    margin: 0;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 20px;
}

.news-cards-image {
    border-radius: 15px;
    width: 100%;
}

.news-card-text {
    margin: auto;
    margin-top: 10px;
}

.news-card-title {
    font-weight: 700;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.date {
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
    color: #8c8c8c;
}

.newsPara {
    font-weight: 400;
    font-size: 15px;
    margin-top: 5px;
    line-height: 178%;
    padding-bottom: 20px;
}

.newsPara span {
    color: #4da05b;
    font-weight: 300;
    font-size: 15px;
    word-break: break-word;
    white-space: nowrap;
}


/* Mobile: 1 card */
@media (max-width: 767px) {
    .newsCards {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-cards-content {
        width: 100%;
        margin-bottom: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .news-card-text {
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .newsPara {
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 160%;
    }

    .newsPara span {
        display: inline;
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: nowrap;
    }
}

/* Tablet: 2 cards */
@media (min-width: 768px) and (max-width: 1024px) {
    .newsCards {
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }

    .news-cards-content {
        width: 100%;
        margin-bottom: 10px;
    }

    .news-card-text {
        width: 100%;
        max-width: 372px;
        margin: auto;
    }
}

@media (max-width: 600px) {
    .newsCards {
        gap: 20px;
        grid-template-columns: repeat(1, 1fr);
        width: 100%;
    }

}


/* Large Screens: 3 cards */
@media (min-width: 1281px) {
    .newsCards {
        grid-template-columns: repeat(3, 1fr);
    }
}