.page-title{
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 8px;
    margin: 48px auto 48px;
    text-align: center;
}

.page-title img{
    width: 240px;
    height: 240px;
    margin-bottom: 24px;
}

.tab{
    display: flex;
    padding: 8px;
    align-items: center;
    width: 100%;
    max-width: 640px;
    margin: 0 auto 48px;
    position: relative;
    border-radius: 6px;
    background: #FFF;
    overflow: hidden;
}

.tab .option{
    display: flex;
    padding: 4px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: 1 0 0;
    color: var(--Eerie-Black-300);
    font-family: "Clash Grotesk";
    font-size: 16px;
    font-weight: 400;
    line-height: 140%; /* 22.4px */
    z-index: 2;
}

.tab .option.active{
    font-weight: 500;
    color: var(--Eerie-Black-1000);
}

.tab .option:hover{
    cursor: pointer;
    color: var(--Eerie-Black-1000);
}

.tab-bg{
    position: absolute;
    width: 25%;
    height: 30px;
    z-index: 1;
    object-fit: cover;
    border-radius: 4px;
}

.tab-bg.tn25{
    top: 8px;
    left: 8px;
    transition: all ease-out 300ms;
}

.tab-bg.tn24{
    top: 8px;
    left: calc(25% + 0px);
    transition: all ease-out 300ms;
}

.tab-bg.tn23{
    top: 8px;
    left: calc(50% - 4px);
    transition: all ease-out 300ms;
}

.tab-bg.tn22{
    top: 8px;
    left: calc(75% - 8px);
    transition: all ease-out 300ms;
}

.news-grid{
    display: none;
    grid-gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 160px;
}

.news-grid.active{
    display: grid;
}

.news-grid .news{
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background: #FFF;
    overflow: hidden;
}

.news video{
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    transition: all ease 300ms;
}

.news .content{
    display: flex;
    padding: 12px;
    flex-direction: column;
    align-self: stretch;
}

.news .content h2{
    margin-bottom: 12px;
}

.news .content p{
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    align-self: stretch;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%; /* 22.4px */
}

.news .content .caption-list{
    display: flex;
    column-gap: 18px;
}

.news .content .caption-list .caption{
    display: flex;
    align-items: center;
    gap: 4px;
}

.news .content .caption-list .caption img{
    width: 16px;
    height: 16px;
}

.news .content .caption-list .caption p{
    color: var(--Eerie-Black-300);
    font-family: "Clash Grotesk";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%; /* 20px */
    margin-bottom: 0;
}

/* RWD */

@media (max-width:1200px) {
    .page-title{
        row-gap: 8px;
        margin: 36px 0 36px;
    }
    .news-grid{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:1040px) {
    .news-grid{
        grid-gap:16px;
    }
    .news .content h2{
        font-size: 18px;
        margin-bottom: 8px;
    }
    .news img{
        height: 180px;
    }
}

@media (max-width:768px) {
    .page-title img{
        width: 160px;
        height: 160px;
        margin-bottom: 16px;
    }
    .tab{
        max-width: none;
        width: 100%;
    }
    .news-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .news .content{
        padding:12px;
    }
    .news .content h2{
        margin-bottom: 8px;
    }
    .news .content p{
        margin-bottom: 16px;
        -webkit-line-clamp: 2;
        font-size: 14px;
    }
    .news .content .caption-list{
        column-gap: 16px;
    }
    .news .content .caption-list .caption{
        gap: 4px;
    }
    .news .content .caption-list .caption p{
        font-size: 14px;
    }
}
@media (max-width:490px) {
    .news-grid{
        grid-template-columns: repeat(1, 1fr);
    }
    .news .content .caption-list{
        column-gap: 10px;
    }
}