/* Hero 1 ---------- */

.z-news-hero1 {
    position: relative;
    z-index: 1;
    width: 50%;
    height: calc(100vh - 240px);
    margin: auto;
    padding: 60px 0 100px;
}

@media screen and (max-width: 1128px) {
    .z-news-hero1 {
        width: 90%;
        height: 63vh;
        padding: 0 0 40px;
    }
}

@media screen and (max-width: 560px) {
    .z-news-hero1 {
        height: fit-content;
        padding: 80px 0 120px;
    }
}



/* SEARCH ------------------ */

.z-news-search {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (max-width: 560px) {
    .z-news-search {
        width: 100%;
    }
}

#searchNewsInput {
    color: #222;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 30px;
    padding: 0 15px 4px;
    width: 100%;
    height: 46px;
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 25px;
    box-sizing: border-box;
    text-align: center;
}

#noNewsMessage {
    margin: 50px 0 80px;
    text-align: center;
}

.z-news-commontag-c {
    width: 100%;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.z-news-commontag-c p { /* Common Tags */
    font-size: 0.9rem;
    font-weight: 600;
    width: 120px;
    margin: 0 0 10px;
}

.z-news-commontag-c div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
}

.z-news-commontag-c a {
    color: #1c459a;
    font-size: 0.9rem;
    text-decoration: underline;
    transition: 0.6s ease;
}

.z-news-commontag-c a:hover {
    color: #999;
}



/* Pinned News Container ------------------ */

.z-news-pinned-container {
    position: relative;
    width: 50%;
    margin: auto;
    padding: 31px 0 1px;
}

@media screen and (max-width: 1128px) {
    .z-news-pinned-container {
        width: 90%;
    }
}

.z-news-pinned-thenews {
    position: relative;
    width: 100%;
    padding: 30px 23px;
    margin-bottom: 30px;
    background: #abb4c7;
    border-radius: 2px;
    box-sizing: border-box;
    list-style: none;
}

.z-news-pinned-thenews h6 {
    font-weight: 600;
    padding: 8px 22px 9px;
    background: #e6e6e6;
    border-radius: 2px;
}

.z-news-pinned-tag {
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    position: absolute;
    top: -26px;
    left: 23px;
    background: #ea5455;
    border-radius: 2px;
    padding: 2px 10px 3px;
}

.z-news-pinned-p {
    color: #222;
    font-weight: 500;
}

.z-news-pinned-date {
    color: #222;
    font-size: 0.85rem;
}



/* News Container ------------------ */

.z-news-container {
    width: 50%;
    margin: auto;
    padding: 30px 0 1px;
    list-style: none;
}

@media screen and (max-width: 1128px) {
    .z-news-container {
        width: 90%;
    }
}

.z-news-thenews {
    position: relative;
    width: 100%;
    padding-bottom: 50px;
    margin-bottom: 30px;
    box-sizing: border-box;
    list-style: none;
}

.z-news-thenews h6 {
    font-weight: 600;
    padding: 8px 22px 9px;
    background: white;
    border-radius: 2px;
}

.z-news-thenews-p {
    color: #333;
    font-weight: 500;
}

.z-news-date {
    position: absolute;
    bottom: 5px;
    left: 0;
    color: #333;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 2px 10px;
    background: #a1e3d5;
    border-radius: 2px;
}

.z-news-tag {
    color: #999;
    font-size: 0.85rem;
}

.z-news-thenews a {
    color: #1c459a;
    font-size: 0.85rem;
    text-decoration: underline;
    transition: 0.6s ease;
}

.z-news-thenews a:hover {
    color: #999;
}