.banner-blog {
    height: clamp(290px, 60vw, 50vh);
    background-image: url(../images/banner_news.png);
    background-repeat: round;
    background-size: cover;
}
.banner-slogan {
    font-size: clamp(20px, 4vw, 64px);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25);
    line-height: 1.2em;
    letter-spacing: 0.01em;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
.blog-layer {
    height: clamp(290px, 60vw, 50vh);
  }
.title-container{
    display: flex ;
    flex-direction: row;
}
.title-container .line {
    width: 70px;
    height: 2px;
    background-color: var(--primary-blue);
    margin: 0 10px;
    margin-top: 16px;
}

.news_container  {
    padding: 0 13vw;
}
.no-posts-message {
    text-align: center;
    margin-top: 5px; 
    font-size: 1.5vw;
    font-weight: bold;
    color: #294ba2;
}

.news_container .blog_option {
    display: flex;
    justify-content: space-evenly;
    margin: 5vw 0;
    flex-wrap: wrap;
    gap: 2vw;
}

.news_container .blog_option .option {
    border-radius: 15px;
    overflow: hidden;
}

.news_container .blog_option .option_img {
    width: 20vw;
    height: 10vw;
    object-fit: cover;
}
.blog_posts a {
    text-decoration: none;
}
.news_container .blog_option .option_text {
    background-color: #0066b3;
    color: #fff;
    font-weight: bold;
    font-size: clamp(16px, 2.5vw, 20px);
    text-transform: uppercase;
    text-align: center;
    padding: 5px 0;
}

.home-ja .blog_option .option_text {
    background-color: #0066b3;
    color: #fff;
    font-weight: bold;
    font-size: clamp(17px, 2.5vw, 20px);
    text-transform: uppercase;
    text-align: center;
    padding-top: 10px;
}


.news_container .blog_title {
    background: #0066b3;
    border-radius: 5px 51px 5px 5px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    padding: 1vh 1vw 1vh 2vw;
    margin-bottom: 4vw;
    font-size: clamp(20px, 3vw, 30px);
}

.blog-ja .blog_title {
    background: #0066b3;
    border-radius: 5px 51px 5px 5px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    padding: 1.5vh 1vw 1.5vh 2vw;
    margin-bottom: 4vw;
    font-size: clamp(18px, 3vw, 30px);
}

.news_container .link_button .button {
    min-width: 10vw;
}

.news_container .link_button {
    margin: auto;
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-end;
}

.news_container .hot_news {
    margin: 20px 0 20px;
}

.news_container .hot_news h2 {
    color: #0066AF;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin: 30px 0 15px 0;
}

.news_container .hot_news .hot_news_body {
    display: flex;
    overflow: hidden;
    justify-content: space-between;
}

.news_container .hot_news .hot_news_body .hot_content {
    position: relative;
    cursor: pointer;
}

.news_container .hot_news .hot_news_body .hot_content img {
    width: 34vw;
    max-height: 20vw;
    border-radius: 20px;
    cursor: pointer;
    object-fit: cover;
}

.news_container .hot_news .hot_news_body .hot_content .hot_content_text {
    position: absolute;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #2366B2 100%);
    bottom: 0px;
    left: 0px;
    border-radius: 20px;
}

.news_container .hot_news .hot_news_body .hot_content .hot_content_title {
    font-size: clamp(20px, 1.5vw, 28px);
    padding: 0 25px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    color: #FFFFFF;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 35px;
    cursor: pointer;
}

.news_container .hot_news .hot_news_body .hot_content .hot_content_body {       
    color: #FFFFFF;
    padding: 0 25px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    
}
.news_container .hot_news .hot_news_body .hot_content .hot_content_body p {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 400;
    line-height: 25px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.news_container .hot_news .hot_news_body .hot_content .hot_content_time {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 0 20px 25px;
    color: #FFFFFF;
}
.news_container .search_posts {
    display: flex;
    justify-content: space-between;
    /* margin: 30px 0; */
    margin-top: 30px;
    margin-bottom: 10px;
}


.title-news {
    display: flex;
}
.title-news h4 {
    font-size: 32px;
    color: #143676;
    font-weight: bold;
}




.slide-fade {
    position: relative;
    animation: slideFadeIn 0.7s ease-in-out;
    opacity: 1; 
}

@keyframes slideFadeIn {
    0% {
        transform: translateX(-50px); 
        opacity: 0;
    }
    100% {
        transform: translateX(0); 
        opacity: 1; 
    }
}

.news_container .search_posts .search__category .category_name {
    font-size: clamp(16px, 1.5vw, 20px);
    color: #828385;
    font-weight: 500;
    text-align: center;
}

.news_container .search_posts .search__category .category_name:hover {
    color: #2366B2 !important;
}

.news_container .search_posts .search__category .category_name:active {
    color: #2366B2 !important;
}

.news_container .search_posts_btn {
    display: flex;
    justify-content: flex-end;
    position: relative;
    align-items: center;
    width: 27vw;
    box-shadow: 0 0 10px rgba(198, 218, 255, 0.5); 
}

.search_posts_btn .btn__search {
    position: absolute;
    margin-right: 20px;
    cursor: pointer;
}

.search_posts_btn .btn__search path {
    color: #2366B2;
}
.search_posts_btn .btn__search path:hover
.search_posts_btn .btn__clear path:hover
{
    fill: #fff;
}
.search_posts_btn .btn__clear {
    position: absolute;
    margin-right: 20px;
    cursor: pointer;
}

.news_container .blog_posts {
    display: grid;
    column-gap: 10px;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    row-gap: 20px;
}

.news_container .news_card {
    position: relative;
    width: 100%;
    min-width: 10vw;
    padding: 0.3vw;
    border: 1px solid #C6DAFF !important;
    background: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
}

.news_card a {
    text-decoration: none;
}


.news_card .news_card_body {
    padding: 10px 7px 0px 7px;
    width: 100%;
}

.news_card .news_card_body a {
    text-decoration: none;
}


.news_card .news_card_body .news_card_body_text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 20vh;
}


.news_card_text_description  {
    width: 100%;
    color: #828385;
    font-size: 15px;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: unset;
    text-align: center;
}


/* START PAGINATION POSTS */
.paging {
    margin-top: 1vw;
}
.pagination_posts {
    grid-column: span 4;
}
.pagination_number_posts {
    width: 40px;
    height: 40px;
    align-items: center;
    display: flex;
    justify-content: center;
    color: #0066b3;
    text-decoration: none;
}

.pagination_posts_items {
    display: flex;
    list-style: none;
    gap: 1vw;
    padding: 0;
} 
.pagination_posts_items a {
    text-decoration: none;
}
.pagination_number_posts i
{
    border: 1px solid #C6DAFF; 
    border-radius: 5px; 
    padding: 6px; 
    color: #919191;
    margin-bottom: 5px;
    text-decoration: none;

}
.page-item i
{
    border: 1px solid #C6DAFF;
    border-radius: 5px;
    padding: 6px 10px;
    color: #919191
}

.page-item span[aria-current="page"] {
    color: #2D84FB
}
.paging .page-numbers {
    text-decoration: none;
    color: #919191;
    font-weight: 500;
}
/* END PAGINATION POSTS */
  
  .banner {
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2vw;
  }

  .banner-slogan {
    font-size: clamp(20px, 4vw, 64px);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25);
    line-height: 1.2em;
    letter-spacing: 0.01em;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 49px;
  }

  
  .paging {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-direction: row;
  }
  
  .paging .page-numbers {
    text-align: center;
    width: 2.5vw;
  }
  
  .paging .next,
  .paging .prev {
    width: 8vw;
    text-align: center;
    font-family: system-ui;
  } 


  .other_categories_container  {
    padding: 0 13vw;
}

.other_categories_container .blog_option {
    display: flex;
    justify-content: space-evenly;
    margin: 5vw 0;
    flex-wrap: wrap;
    gap: 2vw;
}

.other_categories_container .blog_option .option {
    border-radius: 15px;
    overflow: hidden;
}

.other_categories_container .blog_option .option_img {
    width: 20vw;
    height: 10vw;
    object-fit: cover;
}

.other_categories_container .blog_option .option_text {
    background-color: #0066b3;
    color: #fff;
    font-weight: bold;
    font-size: clamp(16px, 2.5vw, 20px);
    text-transform: uppercase;
    text-align: center;
    padding: 5px 0;
}

.home-ja .blog_option .option_text {
    background-color: #0066b3;
    color: #fff;
    font-weight: bold;
    font-size: clamp(17px, 2.5vw, 20px);
    text-transform: uppercase;
    text-align: center;
    padding-top: 10px;
}


.other_categories_container .blog_title {
    background: #0066b3;
    border-radius: 5px 51px 5px 5px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    padding: 1vh 1vw 1vh 2vw;
    margin-bottom: 4vw;
    font-size: clamp(20px, 3vw, 30px);
}

.blog-ja .blog_title {
    background: #0066b3;
    border-radius: 5px 51px 5px 5px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    padding: 1.5vh 1vw 1.5vh 2vw;
    margin-bottom: 4vw;
    font-size: clamp(18px, 3vw, 30px);
}

.other_categories_container .link_button .button {
    min-width: 10vw;
}

.other_categories_container .link_button {
    margin: auto;
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-end;
}

.other_categories_container .hot_news {
    margin: 20px 0 20px;
}

.other_categories_container .hot_news h2 {
    color: #0066AF;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin: 30px 0 15px 0;
}

.other_categories_container .hot_news .hot_news_body {
    display: flex;
    overflow: hidden;
    justify-content: space-between;
}

.other_categories_container .hot_news .hot_news_body .hot_content {
    position: relative;
    cursor: pointer;
}

.other_categories_container .hot_news .hot_news_body .hot_content img {
    width: 34vw;
    max-height: 20vw;
    border-radius: 20px;
    cursor: pointer;
    object-fit: cover;
}

.other_categories_container .hot_news .hot_news_body .hot_content .hot_content_text {
    position: absolute;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #2366B2 100%);
    bottom: 0px;
    left: 0px;
    border-radius: 20px;
}

.other_categories_container .hot_news .hot_news_body .hot_content .hot_content_title {
    font-size: clamp(20px, 1.5vw, 28px);
    padding: 0 25px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    color: #FFFFFF;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 35px;
    cursor: pointer;
}

.other_categories_container .hot_news .hot_news_body .hot_content .hot_content_body {       
    color: #FFFFFF;
    padding: 0 25px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    
}
.other_categories_container .hot_news .hot_news_body .hot_content .hot_content_body p {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 400;
    line-height: 25px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.other_categories_container .hot_news .hot_news_body .hot_content .hot_content_time {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 0 20px 25px;
    color: #FFFFFF;
}
.other_categories_container .search_posts {
    display: flex;
    justify-content: space-between;
    /* margin: 30px 0; */
    margin-top: 30px;
    margin-bottom: 10px;
}


.title-news {
    display: flex;
}
.title-news h4 {
    font-size: 32px;
    color: #143676
}
.line {
    width: 70px;  
  height: 2px;
  background-color: var(--primary-blue); 
  margin: 1vw 0.5vw; 
}



.slide-fade {
    position: relative;
    animation: slideFadeIn 0.7s ease-in-out;
    opacity: 1; 
}

@keyframes slideFadeIn {
    0% {
        transform: translateX(-50px); 
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1; 
    }
}

.other_categories_container .search_posts .search__category .category_name {
    font-size: clamp(16px, 1.5vw, 20px);
    color: #828385;
    font-weight: 500;
    text-align: center;
}

.other_categories_container .search_posts .search__category .category_name:hover {
    color: #2366B2 !important;
}

.other_categories_container .search_posts .search__category .category_name:active {
    color: #2366B2 !important;
}

.other_categories_container .search_posts_btn {
    display: flex;
    justify-content: flex-end;
    position: relative;
    align-items: center;
    width: 27vw;
    box-shadow: 0 0 10px rgba(198, 218, 255, 0.5); /* Áp dụng box shadow với màu C6DAFF */
}

.search_posts_btn .btn__search {
    position: absolute;
    margin-right: 20px;
}

.other_categories_container .blog_posts {
    display: grid;
    column-gap: 10px;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    row-gap: 20px;
}

.other_categories_container .news_card {
    position: relative;
    width: 100%;
    min-width: 10vw;
    padding: 0.3vw;
    border: 1px solid #C6DAFF !important;
    background: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
}

.news_card a {
    text-decoration: none;
}

.news_card_img img {
    border-radius: 10px 10px 0 0px;
    width: 100%;
    object-fit: cover;
    height: 11.25vw;
}

.news_card .news_card_body {
    padding: 10px 7px 0px 7px;
    width: 100%;
}

.news_card .news_card_body a {
    text-decoration: none;
}


.news_card .news_card_body .news_card_body_text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 20vh;
}

.news_card_text_title  {
    width: 100%;
    color: #000;
    font-size: 20px;
    font-weight: 640;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: unset;
    line-height: 25px;
    margin-bottom: 10px;
    text-align: center;
    height: 76px;
    margin-top: 10px;
}
.news_card_text_description  {
    width: 100%;
    color: #828385;
    font-size: 15px;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: unset;
    text-align: center;
}
.news_card_text_time {
    color: #828385;
    font-size: 15px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.5vw;
    border-top: 1px solid #D0E4FF;
    justify-content: center;
    margin-top: 1vw;

}


/* END PAGINATION POSTS */
@media screen and (max-width: 1400px) {
    .news_container {
        padding: 0 10vw;
    }
    .news_container .hot_news .hot_news_body .hot_content img {
        width: 38vw;
    }
}

@media screen and (max-width: 1200px) {
    .news_container .blog_option .option_text {
        padding: 12px 0 6px;
    }
    .news_container .blog_title {
        padding: 3.25vh 1vw 2.5vh 2vw;
    }
    .news_container .blog_posts {
        grid-template-columns: repeat(3, 1fr);
    }

    .news_card_text_title {
        font-size: 20px;
        font-weight: 500;
        line-height: 20px;
    }
    .news_card .news_card_body .news_card_body_text {
        height: 17vh;
    }

    .news_card_text_description {
        line-height: 22px;
        padding: 0 7px;
    }
}

@media screen and (max-width: 1024px) {
    .news_container {
        padding: 0 5vw;
    }
    .news_container .blog_title {
        padding: 2.5vh 1vw 1.75vh 2vw;
    }
    .news_container .blog_option .option_img {
        width: 24vw;
    }
    .news_container .blog_option .option_text {
        padding: 2vh 1vw 1.75vh 1vw;
    }
    .blog-ja .blog_option .option_text {
        padding: 1.5vh 1vw 1.5vh 1vw;
    }
    .blog-ja .blog_title {
        padding: 2vh 1vw 2vh 1vw;
    }
    .news_container .hot_news .hot_news_body .hot_content img {
        width: 43vw;
        max-height: 24vw;
    }
    .news_card .news_card_body .news_card_body_text {
        height: 11vh;
    }
  
    .news_card_text_title {
        height: 71px;
        line-height: 23px !important;
    }
    .news_card_img img {
        height: 18vw;
    }
    .news_container .search_posts_btn {
        width: 32vw;
    }

}

@media screen and (max-width: 912px) {

    .news_container .blog_option .option_img {
        width: 35vw;
        height: 17vw;
    }
    .news_container .blog_option .option_text {
        padding: 2vh 1vw 1.75vh 1vw;
    }

    .news_container .blog_title {
        padding: 2.5vh 1vw 1.75vh 1vw;
    }
    .news_container .hot_news .hot_news_body .hot_content .hot_content_title {
        line-height: 30px;
    }
    .news_container .blog_posts {
        grid-template-columns: repeat(2, 1fr);
    }
    /* .pagination_posts {
        grid-column: span 2;
    } */

    .news_container .news_card {
        max-width: 360px;
    }
    .news_container .search_posts .search__category .search__category__name {
        width: 90%;
    }
    .news_container .pagination_number_posts i {
        margin-bottom: 7px;
    }
    .news_container .search_posts_btn {
        width: 36vw;
    }
}

@media screen and (max-width: 820px) {
    .news_container {
        padding: 0 10vw;
    }
    .news_card_text_title {
        height: 76px !important;
        line-height: 25px !important;
    }
    .news_container .news_card {
        padding: 0.7vw;
    }
    .page-numbers {
        font-size: 19px;
    }
    .pagination_posts_items  {
        gap : 7vw
    }
    .paging {
        margin-top: 10px;
    }
    .news_container .blog_option .option_img {
        width: 27vw;
    }
    .news_container .hot_news .hot_news_body .hot_content img {
        width: 43vw;
        max-height: 29vw;
    }
    .news_card .news_card_body .news_card_body_text {
        height: 13vh;
    }
    .news_container .pagination_number_posts i {
        margin-bottom: 7px;
    }

    .news_container .news_card {
        padding: 1.5vw;
    }
    .news_card_text_title {
        line-height: 25px;
    }
    .banner-slogan {
        font-size: 35px;
    }
    .news_container .search_posts_btn {
        width: unset;
    }
    .news_container .form-control {
        padding: 1.55rem 1.75rem;
    }
    .news_card_img img {
        height: 25vw;
    }

}

@media screen and (max-width: 768px) {
    .news_container .search_posts_btn {
        width: unset;
        margin-bottom: 20px;
    }
    .news_container .blog_option .option_img {
        width: 40vw;
        height: 25vw;
    }
    .news_container .blog_title {
        padding: 2.5vh 1vw 1.75vh 2vw;
    }
    .news_container .hot_news .hot_news_body {
        flex-direction: column;
        gap: 20px;
    }
    .news_container .hot_news .hot_news_body .hot_content img {
        width: 100%;
        height: 100%;
        max-height: 20rem;
    }
    .news_container .hot_news .hot_news_body .hot_content .hot_content_title {
        line-height: 25px;
    }
    .news_container .hot_news .hot_news_body .hot_content .hot_content_body p {
        line-height: 20px;
    }
    .news_container .hot_news h2 {
        display: flex;
        justify-content: center;
    }
    .news_container .search_posts {
        flex-direction: column;
    }
    .news_container .search_posts .search__category {
        width: 100%;
        height: 4vh;
    }
    .news_container .search_posts .search__category .search__category__name {
        width: 100%;
        height: 4vh;
    }
    .news_card .news_card_body .news_card_body_text {
        height: 15vh;
    }
    .news_container .pagination_number_posts i {
        margin-bottom: 7px;
    }
    .banner-slogan {
        font-size: 35px;
    }
    .line {
        display: none;
    }
    .title-news {
        justify-content: center;
        margin-bottom: 10px;
    }
    .title-news  h4 {
        font-size: 30px;
        font-weight: bold;
    }
}

@media screen and (max-width: 650px) {
    .news_container .search_posts .search__category .search__category__name {
        flex-wrap: wrap;
        gap: 20px;
        margin:20px 0;
    }
    .news_container .search_posts .search__category .search__category__name .category_name {
        width: 200px;
    }
    .news_container .search_posts {
        /* margin: 30px 0 30px 0; */
        margin-bottom: 5px;
        margin-top: 30px;
    }
    .news_container .pagination_number_posts i {
        margin-bottom: 7px;
    }
    .banner-slogan {
        font-size: 35px;
    }
}

/* @media screen and (max-width: 490px) {
    .news_container .search_posts .search__category .search__category__name .category_name {
        width: 150px;
    }
    .news_card_img img {
        height: 220px;
    }
    .banner-slogan {
        font-size: 35px;
    }
} */

@media screen and (max-width: 540px) {
    .banner {
        margin-top: 5vw;
    }
    .news_container .blog_option .option_text {
        width: 80vw;
    }
    .news_container .blog_option .option_img {
        height: 40vw;
        width: 80vw;
    }
    .news_container .blog_title {
        padding: 2vh 1vw 1.75vh 1vw;
    }
    .news_container .blog_posts {
        grid-template-columns: repeat(1, 1fr);
    }
    .pagination_posts {
        grid-column: span 1;
    }
    .news_container .search_posts .search__category .category_name {
        width: 100px;
    }
    .news_card .news_card_body .news_card_body_text {
        height: 20vh;
    }
    .news_container .pagination_number_posts i {
        margin-bottom: 3px;
        font-size: 24px;
    }
    .news_card_img img {
        height: 220px;
    }
    .news_card_text_title {
        line-height: normal;
    }
    .news_card_text_description {
        -webkit-line-clamp: 2;
        line-height: 22px;
        padding: 0 7px;
    }
    .news_card  {
        padding: 1.75vw;
    }
    .banner-slogan {
        font-size: 35px;
    }
    .paging .page-numbers {
        font-size: 24px;
    }
    .page-item i {
        font-size: 23px;
    }
    .pagination_number_posts i {
        font-size: 23px;
        margin-bottom: 2px;
    }
    .no-posts-message {
        font-size: 6vw;
      }
}

@media screen and (max-width: 375px) {

    .news_card_img img {
        height: 220px;
    }
    .news_card_text_title {
        line-height: normal;
    }
    .news_card_text_description {
        -webkit-line-clamp: 2;
        line-height: 22px;
        padding: 0 7px;
    }
    .banner-slogan {
        font-size: 35px;
    }
}

/* other categories */
@media screen and (max-width: 1400px) {
  .other_categories_container {
        padding: 0 10vw;
    }
  .other_categories_container .hot_news .hot_news_body .hot_content img {
        width: 38vw;
    }
}

@media screen and (max-width: 1200px) {
  .other_categories_container .blog_option .option_text {
        padding: 12px 0 6px;
    }
  .other_categories_container .blog_title {
        padding: 3.25vh 1vw 2.5vh 2vw;
    }
  .other_categories_container .blog_posts {
        grid-template-columns: repeat(3, 1fr);
    }

    .news_card_text_title {
        font-size: 20px;
        font-weight: 500;
        line-height: 20px;
    }
    .news_card .news_card_body .news_card_body_text {
        height: 17vh;
    }

    .news_card_text_description {
        line-height: 22px;
    }
    .news_card_text_time {
        margin-top: 0;

    }
   
}

@media screen and (max-width: 1024px) {
  .other_categories_container {
        padding: 0 5vw;
    }
  .other_categories_container .blog_title {
        padding: 2.5vh 1vw 1.75vh 2vw;
    }
  .other_categories_container .blog_option .option_img {
        width: 24vw;
    }
  .other_categories_container .blog_option .option_text {
        padding: 2vh 1vw 1.75vh 1vw;
    }
    .blog-ja .blog_option .option_text {
        padding: 1.5vh 1vw 1.5vh 1vw;
    }
    .blog-ja .blog_title {
        padding: 2vh 1vw 2vh 1vw;
    }
  .other_categories_container .hot_news .hot_news_body .hot_content img {
        width: 43vw;
        max-height: 24vw;
    }
    .news_card .news_card_body .news_card_body_text {
        height: 11vh;
    }
}

@media screen and (max-width: 912px) {

  .other_categories_container .blog_option .option_img {
        width: 35vw;
        height: 17vw;
    }
  .other_categories_container .blog_option .option_text {
        padding: 2vh 1vw 1.75vh 1vw;
    }

  .other_categories_container .blog_title {
        padding: 2.5vh 1vw 1.75vh 1vw;
    }
  .other_categories_container .hot_news .hot_news_body .hot_content .hot_content_title {
        line-height: 30px;
    }
  .other_categories_container .blog_posts {
        grid-template-columns: repeat(2, 1fr);
    }
    /* .pagination_posts {
        grid-column: span 2;
    } */

  .other_categories_container .news_card {
        max-width: 360px;
    }
  .other_categories_container .search_posts .search__category .search__category__name {
        width: 90%;
    }
    .other_categories_container .search_posts_btn {
        width: 36vw;
    }
    .news_card_text_title {
        line-height: 24px;
        height: 77px;
    }
}

@media screen and (max-width: 820px) {
  .other_categories_container {
        padding: 0 10vw;
    }
    .news_card_text_title {
        height: 63px;
    }
  .other_categories_container .news_card {
        padding: 1.5vw;
    }
    .page-numbers {
        font-size: 19px;
    }
    .pagination_posts_items  {
        gap : 7vw
    }
    .paging {
        margin-top: 10px;
    }
  .other_categories_container .blog_option .option_img {
        width: 27vw;
    }
  .other_categories_container .hot_news .hot_news_body .hot_content img {
        width: 43vw;
        max-height: 29vw;
    }
    .news_card .news_card_body .news_card_body_text {
        height: 13vh;
    }
    .news_container .line, .other_categories_container .line {
        margin: 2vw 0.5vw;
    }

    .other_categories_container .search_posts_btn {
        width: unset;
    }
    .other_categories_container .form-control {
        padding: 1.55rem  1.75rem;
    }
}

@media screen and (max-width: 768px) {
  .other_categories_container .search_posts_btn {
        width: unset;
        margin-bottom: 20px;
    }
  .other_categories_container .blog_option .option_img {
        width: 40vw;
        height: 25vw;
    }
  .other_categories_container .blog_title {
        padding: 2.5vh 1vw 1.75vh 2vw;
    }
  .other_categories_container .hot_news .hot_news_body {
        flex-direction: column;
        gap: 20px;
    }
  .other_categories_container .hot_news .hot_news_body .hot_content img {
        width: 100%;
        height: 100%;
        max-height: 20rem;
    }
  .other_categories_container .hot_news .hot_news_body .hot_content .hot_content_title {
        line-height: 25px;
    }
  .other_categories_container .hot_news .hot_news_body .hot_content .hot_content_body p {
        line-height: 20px;
    }
  .other_categories_container .hot_news h2 {
        display: flex;
        justify-content: center;
    }
  .other_categories_container .search_posts {
        flex-direction: column;
    }
  .other_categories_container .search_posts .search__category {
        width: 100%;
        height: 4vh;
    }
  .other_categories_container .search_posts .search__category .search__category__name {
        width: 100%;
        height: 4vh;
    }
    .news_card .news_card_body .news_card_body_text {
        height: 15vh;
    }
}

@media screen and (max-width: 650px) {
  .other_categories_container .search_posts .search__category .search__category__name {
        flex-wrap: wrap;
        gap: 20px;
        margin:20px 0;
    }
  .other_categories_container .search_posts .search__category .search__category__name .category_name {
        width: 200px;
    }
  .other_categories_container .search_posts {
        /* margin: 30px 0 30px 0; */
        margin-bottom: 5px;
        margin-top: 30px;
    }
}
@media screen and (max-width: 540px) {
    .other_categories_container .blog_option .option_text {
          width: 80vw;
      }
    .other_categories_container .blog_option .option_img {
          height: 40vw;
          width: 80vw;
      }
    .other_categories_container .blog_title {
          padding: 2vh 1vw 1.75vh 1vw;
      }
    .other_categories_container .blog_posts {
          grid-template-columns: repeat(1, 1fr);
          /* padding-top: 15px; */
      }
      .pagination_posts {
          grid-column: span 1;
      }
    .other_categories_container .search_posts .search__category .category_name {
          width: 100px;
      }
      .news_card .news_card_body .news_card_body_text {
          height: 20vh;
      }
      .news_card_text_time {
          margin-top: 2vw;
      }
  
      .news_card_img {
          margin-bottom : 5px
      }
      .news_card_text_time {
          font-size: 18px;
          color: #919191;
      }
  }
@media screen and (max-width: 490px) {
  .other_categories_container .search_posts .search__category .search__category__name .category_name {
        width: 150px;
    }

}

