@charset "UTF-8";
:root {
  --primary-blue: #004088;
  --hover-blue: #002d5c;
  --text-main: #1F2937;
}

a {
  color: var(--text-main);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 75px;
  margin-top: 58px;
}

.news-card {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
  padding: 20px;
  border-radius: 8px;
  text-decoration: none;
}

.news-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.card-img-wrap {
  height: 140px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: fill;
  object-fit: fill;
  transition: transform 0.4s ease;
}

.news-card:hover .card-img-wrap img {
  transform: scale(1.08);
}

.card-content {
  padding: 10px 0 0 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 8px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 19px;
  text-align: left;
  max-height: 41px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 8px;
  height: 25px;
}

.card-meta .date {
  align-self: flex-end;
  line-height: 19px;
  font-weight: 500;
}

.lock-icon {
  cursor: pointer;
  transition: color 0.2s;
  line-height: 19px;
}

.lock-icon img {
  width: 20px;
}

.read-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: 10px;
  border: 1px solid var(--primary-blue);
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 15px;
}

.read-btn .arrow {
  font-weight: bold;
}

.news-card:hover .read-btn {
  background-color: #ffffff;
  color: var(--primary-blue);
}

.load-more-btn {
  background-color: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s;
  width: 224px;
  height: 50px;
  font-weight: bold;
}

.load-more-btn:hover {
  background-color: var(--hover-blue);
}

.visual-overlay-box {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 660px;
  height: 180px;
  background-color: rgba(0, 0, 0, 0.1607843137);
  color: #FFFFFF;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  line-height: 38px;
  padding: 35px 0 35px 90px;
}

.main-img-pc {
  display: block;
}

.main-img-sp {
  display: none;
}

.pagination-wrapper {
  display: flex;
  justify-content: right;
  align-items: center;
  margin-bottom: 50px;
}

.pagination-wrapper .limit-selector {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: bold;
  color: #1F2937;
  margin: 0;
  display: flex;
  align-items: center;
}

.pagination-wrapper select {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: bold;
  color: #1F2937;
  border: 1px solid #D0D5DD;
  border-radius: 6px;
  height: 40px;
  outline: none;
  cursor: pointer;
  margin-left: 8px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23707070' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  padding-left: 12px;
  padding-right: 32px;
  width: 75px;
}

.pagination-wrapper .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pagination-wrapper .pagination .page-link {
  display: inline-block;
  padding: 2px 5px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 15px;
  border: none;
  background: transparent;
  transition: all 0.2s ease;
  font-weight: bold;
}

.pagination-wrapper .pagination .page-link.active {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--primary-blue);
}

.pagination-wrapper .pagination .page-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--primary-blue);
}

.pagination-wrapper .pagination .page-ellipsis {
  padding: 2px;
  color: var(--text-main);
  font-size: 15px;
  letter-spacing: 2px;
}

.pagination-wrapper .pagination .page-prev,
.pagination-wrapper .pagination .page-next {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 5px;
}

.pagination-wrapper .pagination .page-prev:hover,
.pagination-wrapper .pagination .page-next:hover {
  text-decoration: none;
  color: var(--primary-blue);
}

.pagination-wrapper .pagination .page-prev::after,
.pagination-wrapper .pagination .page-next::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 12px;
  background-color: #666666;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: background-color 0.2s ease;
}

.pagination-wrapper .pagination .page-prev:hover::after,
.pagination-wrapper .pagination .page-next:hover::after {
  background-color: var(--primary-blue);
}

.pagination-wrapper .pagination .page-prev::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 11L2 6l5-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 11L2 6l5-5'/%3E%3C/svg%3E");
}

.pagination-wrapper .pagination .page-next::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l5 5-5 5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l5 5-5 5'/%3E%3C/svg%3E");
}

.news-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  background-color: #f3f3f3;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
}

.news-grid {
  max-width: 1140px;
}

/* CSS ẩn bài viết ban đầu */
.news-card.hidden-item {
  display: none !important;
}

/* CSS cho nút Load More (dựa theo mockup) */
.load-more-wrap {
  text-align: center;
  margin-bottom: 48px;
}

.load-more-btn {
  background-color: #0b4585;
  /* Màu xanh giống mockup */
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.load-more-btn:hover {
  opacity: 0.8;
}

/* CSS cho bộ lọc Category */
.news-filter-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 65px 0;
  font-size: 20px;
  font-weight: bold;
}

.news-filter-wrap label {
  margin-right: 15px;
  color: #000;
}

.trigger-specialty-overlay {
  max-width: 264px;
  height: 52px;
}

.news-filter-wrap select {
  padding: 0 25px 0 33px;
  font-size: 20px;
  border: 2px solid #707070;
  border-radius: 9px;
  background-color: #fff;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: right 8px center;
  margin-right: 86px;
  height: 52px;
}

.trigger-specialty-overlay {
  margin: 0;
  cursor: pointer;
  font-weight: bold;
}

/* PC Specialty Overlay */
.specialty-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  overflow-y: auto;
  padding: 82px 20px 50px 20px;
}

.specialty-overlay-inner {
  width: 1141px;
  max-width: 100%;
  margin: 0 auto;
}

.news-card {
  position: relative;
}

.tooltip {
  position: absolute;
  top: 54%;
  left: 93%;
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #767676;
  padding: 5px;
  font-size: 12px;
  font-weight: normal;
  white-space: nowrap;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
  pointer-events: none;
  display: none;
}

.news-card:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.3s;
}

@media (max-width: 1181px) {
  .specialty-overlay-inner {
    width: 948px;
  }
}
/* 5 col */
@media (max-width: 988px) {
  .specialty-overlay-inner {
    width: 755px;
  }
}
/* 4 col */
@media (max-width: 795px) {
  .specialty-overlay-inner {
    width: 562px;
  }
}
/* 3 col */
@media (max-width: 602px) {
  .specialty-overlay-inner {
    width: 369px;
  }
}
/* 2 col */
@media (max-width: 409px) {
  .specialty-overlay-inner {
    width: 176px;
  }
}
/* 1 col */
.specialty-close-wrapper {
  text-align: right;
  margin-bottom: 42px;
}

.specialty-close-btn {
  font-size: 40px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  display: inline-block;
}

.specialty-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 17px;
  width: 100%;
}

.specialty-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 50px;
  border: 1px solid #fff;
  border-radius: 25px;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  text-align: center;
}

.specialty-pill:hover, .specialty-pill.is-active {
  background-color: #fff;
  color: #000000;
}

.contents_box {
  padding: 0;
}

@media (max-width: 1000px) {
  .pagination-wrapper {
    justify-content: center;
    margin-top: 25px;
  }
}
@media (max-width: 740px) {
  .main-img-pc {
    display: none;
  }
  .main-img-sp {
    display: block;
  }
  .main-visual-outer {
    margin-bottom: 0;
    background: none;
  }
  .visual-overlay-box {
    top: auto;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: auto;
    min-height: auto;
    font-size: 13px;
    padding: 9px 0 9px 13px;
    text-align: left;
    justify-content: flex-start;
    line-height: 21px;
  }
  /* 3. Text Subscription Badge Mobile */
  .subscription-badge {
    position: static;
    display: block;
    text-align: right;
    background-color: transparent;
    color: #004088;
    font-size: 15px;
    padding: 0 20px;
    margin: 10px 0 0 0;
    width: 100%;
  }
  /* 4. Grid to List View */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 10px;
    width: 100%;
  }
  .news-card {
    flex-direction: row;
    align-items: center;
    padding: 10px;
  }
  .news-card:hover .card-img-wrap img {
    transform: none;
  }
  .card-img-wrap {
    width: 110px;
    height: 70px;
    flex-shrink: 0;
  }
  .card-content {
    padding: 0 0 0 10px;
    height: -webkit-fill-available;
    height: -moz-available;
    height: stretch;
  }
  .card-title {
    margin-bottom: 5px;
    font-size: 15px;
    line-height: 19px;
  }
  .card-meta {
    margin-bottom: 0;
  }
  .read-btn {
    display: none;
  }
  .load-more-btn {
    width: 179px;
    height: 40px;
  }
  main .container {
    padding-top: 0 !important;
  }
  .pagination-wrapper {
    flex-wrap: wrap;
    font-size: 13px;
  }
  .pagination-wrapper .limit-selector {
    font-size: 13px;
  }
  .pagination-wrapper select {
    font-size: 13px;
    padding-left: 8px;
    width: 65px;
    height: 30px;
  }
  .pagination-wrapper .page-link {
    font-size: 13px !important;
    padding: 5px 8px !important;
  }
  .trigger-specialty-overlay {
    display: none;
  }
  .news-filter-wrap {
    margin: 20px 0;
  }
  .news-filter-wrap label {
    font-size: 16px;
    margin-right: 15px;
  }
  .news-filter-wrap select {
    margin-right: 0;
    font-size: 16px;
    height: 40px;
    background-position: right -5px center;
    padding: 5px;
  }
  .tooltip {
    display: none;
  }
  .news-filter-wrap {
    padding: 0 13px;
  }
  .news-container {
    padding: 0 13px;
    background-color: #ffffff;
  }
  .news-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
    border-radius: 6px;
  }
  .load-more-btn:hover {
    opacity: 1;
  }
  .contents_box {
    padding: 20px 0;
  }
  .mobile-specialty-bar {
    display: block;
    background-color: var(--primary-blue);
    width: 100%;
    position: fixed;
    top: 80px;
    z-index: 1000;
  }
  .mobile-specialty-scroll {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    height: 44px;
    gap: 20px;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    align-items: center;
    padding: 0 14px;
  }
  .mobile-specialty-scroll::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
  }
  .mobile-specialty-scroll a {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
  }
  .mobile-specialty-scroll a.is-active {
    opacity: 0.8;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  }
  #main_img_ctg {
    margin-top: 124px;
  }
}
/*# sourceMappingURL=newslist.css.map */