/* Hero */
.hero.hero-news .hero-text h1 {
    width: 500px;
}

.hero.hero-news .hero-text p {
    width: 550px;
}
/* End Hero */

.author-box img {
    width: 100px;
    height: 100px;
    max-width: 200px;
    max-height: 200px;
}

/* News */
.news {
    padding: 100px 0px 200px;
    margin: 0px auto;
    width: 1400px;
}

.news .news-text {
    text-align: center;
    width: 100%;
    max-width: 988px;
    margin: 0 auto;
}

.news .more-news-text {
    max-width: 988px;
    margin-left: 55px;
}

.news .news-text h2 {
    font-family: 'Satoshi', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 64px;
    letter-spacing: -0.02em;
    color: #1F2666;
    margin-bottom: 24px;
}

.news .news-text p {
    font-family: 'Work Sans', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 32px;
    color: #858585;
    margin: 0 auto;
    max-width: 688px;
    padding-bottom: 24px;
}

.news .news-content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin: 48px 0px;
}

.news .news-content a {
    text-decoration: none;
}

.news-card {
    width: 100%;
    max-width: 365px;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0px 6px 6px 0px #e3e3e38f;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-card-img {
    width: 100%;
    object-fit: contain;
}

.news-card-text {
    padding: 16px 24px;
    background-color: #FFFFFF;
    color: #283382;
    width: 100%;
    max-width: 365px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.news-card .title {
    font-family: 'Satoshi', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    flex-grow: 1;
}

.news-card-text .description {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    margin: 0;
    color: #283382;
    opacity: 68%;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4; /* Ganti 3 dengan jumlah baris yang diinginkan */
    text-overflow: ellipsis; /* Untuk menambahkan "..." jika teks terpotong */
}

.news-card:hover .news-card-text {
    background-color: #283382;
    color: #FFFFFF;
    transition: background-color 0.3s, color 0.3s;
}

.news-card:hover .news-card-text .description {
    color: #FFFFFF;
    transition: color 0.3s;
}

.news-button {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.news-button a {
    font-size: 18px;
    padding: 15px 24px;
    border-radius: 8px;
}


.news-detail {
    padding: 48px 64px 0px 64px;
    gap: 64px;
    opacity: 0px;
}

.news-detail .news-title h1 {
    font-family: 'Satoshi', sans-serif;
    font-size: 54px;
    font-weight: 700;
    line-height: 74px;
    letter-spacing: -0.02em;
    text-align: left;
    color: #143054;
}

.news-detail .news-title p {
    font-family: 'Satoshi', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: -0.02em;
    text-align: left;
    color: #BFBFBF;
}

.news-detail .news-tag ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0px 0px 20px;
    margin: 0px;
}

.news-detail .news-tag ul li a {
    font-family: 'Work Sans', sans-serif;
    border-radius: 24px;
    color: #C93326;
    border: 2px solid #C93326;
    padding: 8px;
    text-decoration: none;
}

.news-detail .news-tag ul li a:hover {
    color: #96261C;
    border: 2px solid #96261C;
}

.news-detail .news-body img {
    width: 100%;
    /* height: 520px;
    object-fit: cover;
    object-position: 25% 25%; */
    border-radius: 8px;
}

.news-detail .news-content {
    margin: 24px 0px;
}

.news-detail .news-content h1,
.news-detail .news-content h2,
.news-detail .news-content h3,
.news-detail .news-content h4,
.news-detail .news-content h5,
.news-detail .news-content h6 {
    font-family: 'Satoshi', sans-serif;
    letter-spacing: -0.02em;
    text-align: left;
    color: #143054;
}

.news-detail .news-content p {
    font-family: 'Work Sans', sans-serif;
    /* font-weight: 500; */
    font-size: 1.125rem; 
    line-height: 1.60rem;
    /* line-height: 30px; */
    text-align: left;
    color: #1e1e1e;
    /* color: #858585; */
    text-align: justify;
}

.news-detail .line {
    height: 2px;
    background-color: #D0D5DD;
    margin-top: 20px;
}

/* End News */

/* More News */

.more-news {
    padding: 70px 0px 200px;
}

.more-news .more-news-text {
    max-width: 988px;
    margin-left: 55px;
}

.more-news .news-text h2 {
    font-family: 'Satoshi', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 64px;
    letter-spacing: -0.02em;
    color: #1F2666;
    margin-bottom: 24px;
}

.more-news .news-text p {
    font-family: 'Work Sans', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 32px;
    color: #858585;
    margin: 0 auto;
    max-width: 688px;
    padding-bottom: 24px;
}

.more-news .news-content {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin: 48px 0px;
}

.more-news .news-content a {
    text-decoration: none;
}

.more-news .news-card {
    width: 100%;
    max-width: 365px;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0px 6px 6px 0px #e3e3e38f;
}

.more-news .news-card:hover {
    transform: translateY(-10px);
}

.more-news .news-card-img {
    width: 100%;
    object-fit: contain;
}

.more-news .news-card-text {
    padding: 16px 24px;
    background-color: #FFFFFF;
    color: #283382;
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.more-news .news-card .title {
    font-family: 'Satoshi', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    flex-grow: 1;
}

.more-news .news-card-text .description {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    margin: 0;
    color: #283382;
    opacity: 68%;
    display: -webkit-box;
    overflow: auto;
}

/* End More News */

@media only screen and (max-width: 360px) {

    .hero.news .hero-text h1 {
        width: 100%;
    }

    .hero.news .hero-text p {
        width: 100%;
    }

    .news {
        padding: 64px 24px;
    }

    .news .news-text {
        text-align: center;
        width: 100%;
        max-width: 988px;
        margin: 0 auto;
    }

    .news .news-text h2 {
        font-size: 35px;
        line-height: 52px;
        margin-bottom: 14px;
    }

    .news .news-text p {
        font-size: 16px;
        line-height: 22px;
        max-width: 100%;
    }

    .news .news-content {
        gap: 24px;
        margin: 48px 0px;
    }

    .news-card {
        width: 100%;
        /* max-width: 385px; */
        /* height: 424px; */
    }

    .news-card .title {
        font-size: 20px;
        line-height: 32px;
        flex-grow: 1;
    }

    .news-card-text .description {
        font-size: 16px;
        display: -webkit-box;
        overflow: hidden;
    }

    .news-detail {
        padding: 48px 24px 0px 24px;
        gap: 64px;
    }

    .news-detail .news-body img {
        width: 100%;
        /* height: 320px; */
    }

    .more-news .news-content {
        gap: 24px;
        margin: 48px 24px;
    }

    .news-detail .news-title h1 {
        font-size: 35px;
        line-height: 52px;
    }

    .news-detail .news-title p {
        font-size: 16px;
    }

    .more-news .more-news-text {
        margin-left: 24px;
    }

}

@media only screen and (min-width: 361px) and (max-width: 576px) {

    .hero.news .hero-text h1 {
        width: 100%;
    }

    .hero.news .hero-text p {
        width: 100%;
    }

    .news {
        padding: 64px 24px;
    }

    .news .news-text {
        text-align: center;
        width: 100%;
        max-width: 988px;
        margin: 0 auto;
    }

    .news .news-text h2 {
        font-size: 35px;
        line-height: 52px;
        margin-bottom: 14px;
    }

    .news .news-text p {
        font-size: 16px;
        line-height: 22px;
        max-width: 100%;
    }

    .news .news-content {
        gap: 24px;
        margin: 48px 0px;
    }

    .news-card {
        width: 100%;
        /* max-width: 385px; */
        /* height: 424px; */
    }

    .news-card .title {
        font-size: 20px;
        line-height: 32px;
        flex-grow: 1;
    }

    .news-card-text .description {
        font-size: 16px;
        font-weight: 500;
        line-height: 22px;
        display: -webkit-box;
        overflow: hidden;
    }

    .news-detail {
        padding: 48px 24px 0px 24px;
        gap: 64px;
        opacity: 0px;
    }

    .news-detail .news-body img {
        width: 100%;
        /* height: 320px; */
    }

    .more-news .news-content {
        gap: 24px;
        margin: 48px 24px;
    }

    .news-detail .news-title h1 {
        font-size: 35px;
        line-height: 52px;
    }

    .news-detail .news-title p {
        font-size: 16px;
    }

    .more-news .more-news-text {
        margin-left: 24px;
    }

}

@media only screen and (min-width: 768px) and (max-width: 992px) {

    .hero.news .hero-text h1 {
        width: 100%;
    }

    .hero.news .hero-text p {
        width: 100%;
    }

    .news {
        padding: 64px 24px;
    }

    .news .news-text {
        text-align: center;
        width: 100%;
        max-width: 988px;
        margin: 0 auto;
    }

    .news .news-text h2 {
        font-size: 35px;
        line-height: 52px;
        margin-bottom: 14px;
    }

    .news .news-text p {
        font-size: 16px;
        line-height: 22px;
        max-width: 100%;
    }

    .news .news-content {
        gap: 24px;
        margin: 48px 0px;
    }

    .news-card {
        width: 100%;
        /* max-width: 385px; */
        /* height: 424px; */
    }

    .news-card .title {
        font-size: 20px;
        line-height: 32px;
        flex-grow: 1;
    }

    .news-card-text .description {
        font-size: 16px;
        font-weight: 500;
        line-height: 22px;
        margin: 0;
        display: -webkit-box;
        overflow: hidden;
    }

    .news-detail {
        padding: 48px 24px 0px 24px;
        gap: 64px;
        opacity: 0px;
    }

    .news-detail .news-body img {
        width: 100%;
        /* height: 320px; */
    }

    .more-news .news-content {
        gap: 24px;
        margin: 48px 24px;
    }

    .news-detail .news-title h1 {
        font-size: 35px;
        line-height: 52px;
    }

    .news-detail .news-title p {
        font-size: 16px;
    }

    .more-news .more-news-text {
        margin-left: 24px;
    }

}

@media only screen and (min-width: 993px) and (max-width: 1100px) {

    .hero.hero-news .hero-text h1 {
        width: 100%;
    }

    .hero.hero-news .hero-text p {
        width: 100%;
    }

    .news {
        padding: 64px 24px;
    }

    .news .news-text {
        text-align: center;
        width: 100%;
        max-width: 988px;
        margin: 0 auto;
    }

    .news .news-text h2 {
        font-size: 35px;
        line-height: 52px;
        margin-bottom: 14px;
    }

    .news .news-text p {
        font-size: 16px;
        line-height: 22px;
        max-width: 100%;
    }

    .news .news-content {
        gap: 24px;
        margin: 48px 0px;
    }

    .news-card {
        width: 100%;
        /* max-width: 385px; */
        /* height: 424px; */
    }

    .news-card .title {
        font-size: 20px;
        line-height: 32px;
        flex-grow: 1;
    }

    .news-card-text .description {
        font-size: 16px;
        font-weight: 500;
        line-height: 22px;
        margin: 0;
        opacity: 0.8;
        display: -webkit-box;
        overflow: hidden;
    }

    .news-detail {
        padding: 48px 24px 0px 24px;
        gap: 64px;
        opacity: 0px;
    }

    .news-detail .news-body img {
        width: 100%;
        /* height: 320px; */
    }

    .more-news .news-content {
        gap: 24px;
        margin: 48px 24px;
    }

    .news-detail .news-title h1 {
        font-size: 35px;
        line-height: 52px;
    }

    .news-detail .news-title p {
        font-size: 16px;
    }

    .more-news .more-news-text {
        margin-left: 24px;
    }

}

.search-box-page {
    width: 100%;
    max-width: 1150px;
    height: 56px;

    display: flex;
    align-items: center;

    background: #fff;
    border-radius: 999px; /* full rounded */

    padding: 0 16px;
    gap: 10px;

    border: 1px solid #ddd;
}

.search-box-page form {
    flex: 1;
}

.search-box-page input {
    border: none;
    outline: none;
    background: transparent;

    width: 100%;
    font-size: 24px;
    color: #333;
    font-family: 'Work Sans', sans-serif;
}

.search-box-page input::placeholder {
    color: #9CA3AF;
}

.search-box-page:focus-within {
    border-color: #1f2666;
    background: #fff;
}
