.list_sec_dm_1.searching {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 768px) {
  .list_sec_dm_1.searching {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .list_sec_dm_1.searching {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
.mb-block {
  display: none;
}
.mb-none {
  display: block;
}
@media (max-width: 480px) {
  .mb-block {
    display: block;
  }
  .mb-none {
    display: none;
  }
}
.title {
  display: block;
  padding: 14px 24px;
  color: #fff;
  background-color: #cc0b19;
  border-radius: 40px 0 40px 0;
  margin-bottom: 30px;
}
ul.departments {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
ul.departments > li.full {
  grid-column: 1 / -1;
}
.departments .full .title {
  width: auto !important;
}
.departments .title {
  width: 100%;
}
ul.departments ul,
ul.departments li ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
ul.departments ul {
  gap: 30px;
}
ul.departments li ul li {
  gap: 10px;
}
ul.departments > li.full > ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: start;
  justify-content: center;
}
ul.departments > li.full > ul > li {
  flex: 0 0 33.333333%;
}
ul.departments > li.full > ul > li:first-child {
  flex: 0 0 100%;
}
.col_ns > li.spc {
  flex: 0 0 33.4%;
}
@media (max-width: 480px) {
  ul.departments > li.full > ul {
    grid-template-columns: 1fr;
  }
  ul.departments {
    grid-template-columns: 1fr;
  }
  ul.departments > li.full > ul > li {
    flex: 0 0 100%;
  }
  .ct_ns_1.new {
    padding: 2rem 0;
  }
  .col_ns > li.spc {
    flex: 0 0 50%;
  }
}
.nd_list_ckns_1 {
  text-align: end;
}
.f-detail table {
  width: 100%;
}
.f-detail iframe {
  width: 100% !important;
  height: 100dvh;
}
.wrap_table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.wrap_table table {
  width: max-content; /* giữ width tự nhiên theo nội dung */
  max-width: unset;
  min-width: 100%; /* nếu ít cột thì vẫn full khung */
  border-collapse: collapse;
}
.wrap_table table td,
.wrap_table table th {
  border: 1px solid #cecece;
  max-width: 400px;
}
.text_scroll marquee {
  display: flex;
  align-items: center;
  gap: var(--gap08);
}
.text_scroll marquee a {
  color: var(--color-1);
}
.text_scroll marquee a::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  position: relative;
  top: -0.2rem;
  display: inline-block;
  margin: 0 0.4rem 0 0.8rem;
  background-color: var(--color-2);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.text_scroll marquee a:last-child:after {
  display: none;
}
.text_scroll marquee a:hover {
  color: var(--PrimaryColor);
}

.marquee-wrap {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-text {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 30s linear infinite;
}

.marquee-text a {
  color: #222;
}
.f-detail iframe,
.pdf-iframe {
  width: 100% !important;
  height: 80vh !important;
  min-height: 600px !important;
  max-width: 100% !important;
  border: 1px solid #ddd !important;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

@supports (-webkit-touch-callout: none) {
  .pdf-iframe {
    height: 100vh !important;
    position: relative !important;
  }
}

#pdf-iframe-wrapper {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

.pdf-viewer-container {
  width: 100%;
  height: 80vh;
  min-height: 600px;
  max-width: 100%;
  border: 1px solid #ddd;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
}

.pdf-viewer-container canvas {
  margin: 0 auto;
  display: block;
}

.pdf-page {
  margin: 10px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: white;
}

.pdf-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  background: #f0f0f0;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
}

.pdf-controls button {
  padding: 6px 12px;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
}

.pdf-controls button:hover {
  background: #e0e0e0;
}

.pdf-controls input {
  width: 60px;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align: center;
}

.pdf-page-info {
  color: #666;
  font-size: 14px;
  white-space: nowrap;
}

tr:has(td:empty) td,
tr:has(td:-moz-only-whitespace) td {
  border: none !important;
}

.f-detail table {
  border: 1px solid #cecece;
}

@media (max-width: 768px) {
  .pdf-viewer-container {
    height: 60vh;
  }

  .pdf-controls {
    gap: 5px;
  }

  .pdf-controls button {
    padding: 4px 8px;
    font-size: 12px;
  }
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@media (max-width: 480px) {
  .nd_list_ckns_1 {
    text-align: end;
  }
  .mb-col {
    display: flex;
  }
  .mb-col .na_list_ckns_1 {
    flex-basis: 50%;
  }
}
.slide_album,
.slide_video {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 0.2rem;
  -webkit-border-radius: 0.2rem;
  -moz-border-radius: 0.2rem;
  -ms-border-radius: 0.2rem;
}
.slide_video iframe {
  width: 100% !important;
  height: 100% !important;
  border-radius: 0.2rem;
  -webkit-border-radius: 0.2rem;
  -moz-border-radius: 0.2rem;
  -ms-border-radius: 0.2rem;
  -o-border-radius: 0.2rem;
}
.slide_album .swiper6 .swiper-slide {
  aspect-ratio: 16 / 9;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slide_album .swiper6 .swiper-slide a {
  display: block;
  cursor: zoom-in;
  height: 100%;
}
.slide_album .swiper6 .swiper-slide img {
  height: 100%;
}
.f_cont_D .ct_page {
  min-width: 0.1rem;
}
