.news-header {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../../resources/images/news/news-header-bg.png);
    background-size: cover;
    background-position: 0% 40%;
    background-repeat: no-repeat;
    background-size: 170%;
    width: 100%;
    height: 100vh;
    margin-top: calc(0px - var(--navbar-height));
    padding: 8% 5%;
    /* padding-top: 0; */
    padding-top: var(--navbar-height);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.news-header span:first-child {
    font-size: clamp(1rem, calc(2vw + 0.01rem), 2rem);
    font-weight: 400;
}

.news-header span:nth-child(2) {
    font-size: clamp(1.25rem, calc(2.5vw + 0.01rem), 2.5rem);
    font-weight: 700;
}

.news-header p {
    font-size: clamp(0.75rem, calc(1.25vw + 0.01rem), 1.25rem);
    font-weight: 400;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.news-container h1::before {
    content: '';
    display: inline-block;
    height: 20px;
    width: 20px;
    border-radius: 10px;
    background-color: var(--primary-color, #2D5FFE);
    transform: translateY(-50%);
    margin-right: 0.75rem;
}

.news-card-warpper {
    --gap : 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
}

.news-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    row-gap: 0.5rem;
    text-decoration: none;
}

.card-img {
    overflow: hidden;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
}

 .card-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    object-fit: cover;
    -o-object-fit: cover;
 }

.card-meta {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: max-content auto max-content;
    gap: 0.5rem;
    height: 100%;
}

.card-tag, .card-head, .card-date {
    color: var(--text-white);
    height: max-content;
}

.card-tag, .card-date {
    font-weight: 200;
    font-size: clamp(0.75rem, calc(1vw + 0.01rem), 1rem);
}

.card-head {
    font-weight: 700;
    font-size: clamp(0.75rem, calc(1vw + 0.01rem), 1rem);
}

.card-date {
    /* margin-block: 0.5rem; */
}

.abstract-holograph-video {
    width: 100%;
    aspect-ratio: 16 / 7;
    position: relative;
    color: var(--text-white);
    overflow: hidden;
}

.abstract-holograph-video video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    -o-object-fit: cover;
}

.text-fix {
    position: absolute;
    color: var(--text-white);
    top: 30%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.text-fix span {
    font-size: 1.5rem;
    white-space: nowrap;
    text-wrap: nowrap;
}

.text-flow {
    position: absolute;
    color: var(--text-white);
    display: flex;
    top: 50%;
    transform: translateY(-50%);
}

.text-flow-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    animation: sliding 20s infinite linear;
}

.text-flow-box:first-child {
    margin-right: 1rem;
}

.text-flow img {
    --size: 6rem;
    height: var(--size);
    width: var(--size);
    object-fit: contain;
    -o-object-fit: contain;
    object-position: center;
    -o-object-position: center;
}

.text-flow span {
    font-size: 8rem;
    font-weight: 500;
    white-space: nowrap;
    text-wrap: nowrap;
    text-transform: uppercase;
}

@keyframes sliding {
    from {transform: translateX(0);}
    to {transform: translateX(calc(-100% - 1rem));}
}

@media screen and (max-width: 1399px) {
    .news-container h1::before {height: 16px; width: 16px;}
}
@media screen and (max-width: 1199px) {
    .news-header {height: auto; gap: 0.5rem; padding-top: calc(var(--navbar-height) + 8%);}
    .news-card-warpper {grid-template-columns: repeat(2, minmax(0, 1fr));}
    .text-flow span {font-size: 6rem;}
    .text-flow img {--size: 5rem;}
    .text-fix span {font-size: 1.25rem;}
}
@media screen and (max-width: 991px) {
    .text-flow span {font-size: 4rem;}
    .text-flow img {--size: 3rem;}
    .text-fix span {font-size: 1rem;}
}
@media screen and (max-width: 767px) {
    .news-container h1::before {height: 12px; width: 12px;}
    .news-card-warpper {grid-template-columns: repeat(1, minmax(0, 1fr));}
    .text-flow span {font-size: 3rem;}
    .text-flow img {--size: 2.5rem;}
}
@media screen and (max-width: 575px) {
    .text-flow span {font-size: 2rem;}
    .text-flow img {--size: 1.75rem;}
    .text-fix span {font-size: 0.75rem;}
}