/* =================================================================
  SPECIAL ARCHIVE STYLES - CHO CHUYÊN MỤC ĐẶC BIỆT
  Dành cho "Thiết kế" và "Gia công bao bì"
  ================================================================= */

/* --- Special Archive Grid --- */
.special-archive-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}


@media (min-width: 1200px) {
  .special-archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.news-block-one .inner-box {
  position: relative;
  display: block;
  padding: 0px 9px;
  z-index: 1;
}
.news-block-one .inner-box:before {
  position: absolute;
  content: "";
  background: #fff;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.08);
  width: 100%;
  height: calc(100% - 20px);
  border: 1px dashed #d8d2d0;
  border-radius: 25px;
  z-index: -1;
  left: 0px;
  bottom: 0px;
}
.news-block-one .inner-box .image-box {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 25px;
}
.news-block-one .inner-box .image-box .image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 25px;
}
.news-block-one .inner-box .image-box .image img {
  width: 100%;
  border-radius: 25px;
  transition: all 500ms ease;
}
.news-block-one .inner-box .image-box .image-content {
  position: absolute;
  left: 10px;
  bottom: 30px;
  width: calc(100% - 20px);
  background: #fff;
  padding: 5px;
  border-radius: 30px;
  padding-right: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.news-block-one .inner-box .image-box .image-content .post-info {
  position: relative;
  display: flex;
  align-items: center;
}
.news-block-one .inner-box .image-box .image-content h6 {
  position: relative;
  display: inline-block;
  font-size: 12px;
  line-height: 24px;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  padding: 4px 15px;
  border-radius: 30px;
  margin-right: 10px;
  margin-bottom: 0px;
}
.news-block-one .inner-box .image-box .image-content h6 a {
  color: white;
}
.news-block-one .inner-box .image-box .image-content h6 {
  background: #fd6145;
}
.news-block-one
  .inner-box
  .image-box
  .image-content
  .post-info
  span:last-child {
  margin: 0px !important;
}
.news-block-one .inner-box .image-box .image-content .post-info span {
  position: relative;
  display: block;
  padding-left: 21px;
  font-size: 14px;
  line-height: 24px;
  font-family: "Urbanist", sans-serif;
  color: #7b7675;
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 10px;
}
.news-block-one .inner-box .image-box .image-content .share-box {
  position: absolute;
  top: 5px;
  right: 5px;
}
.news-block-one .inner-box .image-box .image-content .share-box .share-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  line-height: 36px;
  font-size: 14px;
  background: #faf1ef;
  color: #0c0c0c;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
  transition: all 500ms ease;
}
.news-block-one
  .inner-box
  .image-box
  .image-content
  .share-box:hover
  .share-icon {
  color: #fff;
}
.news-block-one
  .inner-box
  .image-box
  .image-content
  .share-box:hover
  .share-icon:before {
  transform: scale(1, 1);
}
.news-block-one
  .inner-box
  .image-box
  .image-content
  .share-box:hover
  .social-links {
  visibility: visible;
  opacity: 1;
  top: -64px;
}
.news-block-one
  .inner-box
  .image-box
  .image-content
  .share-box
  .social-links
  li
  a:hover {
  color: #fd6145;
}
.news-block-one
  .inner-box
  .image-box
  .image-content
  .share-box
  .share-icon:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  transform: scale(0, 0);
  border-radius: 50%;
  z-index: -1;
  transition: all 500ms ease;
}
.news-block-one
  .inner-box
  .image-box
  .image-content
  .share-box
  .share-icon:before {
  background: -webkit-linear-gradient(90deg, #fb981b, #fd6146 50%);
}

.news-block-one .inner-box .image-box .image-content .share-box .social-links {
  position: absolute;
  top: -44px;
  right: 0px;
  display: flex;
  background: #fff;
  border-radius: 5px;
  padding: 9px 12px 7px 12px;
  visibility: hidden;
  opacity: 0;
  transition: all 500ms ease;
}
.news-block-one
  .inner-box
  .image-box
  .image-content
  .share-box
  .social-links
  li {
  position: relative;
  display: inline-block;
  float: left;
  margin-right: 21px;
  margin-bottom: 0px;
  margin-left: 0px;
}
.news-block-one
  .inner-box
  .image-box
  .image-content
  .share-box
  .social-links
  li:before {
  position: absolute;
  content: "";
  background: #c9c1c1;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  top: 12px;
  right: -13px;
}
.news-block-one
  .inner-box
  .image-box
  .image-content
  .share-box
  .social-links
  li:last-child {
  margin: 0px !important;
}
.news-block-one
  .inner-box
  .image-box
  .image-content
  .share-box
  .social-links
  li
  a {
  position: relative;
  display: inline-block;
  font-size: 20px;
  color: #afa7a7;
}
.news-block-one .inner-box .lower-content {
  position: relative;
  display: block;
  padding: 23px 20px 0px 20px;
}
.news-block-one .inner-box .lower-content h3 {
  position: relative;
  display: block;
  font-size: 18px;
  line-height: 34px;
  font-weight: 700;
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
.news-block-one .inner-box .lower-content h3 a {
  display: inline-block;
  color: #0c0c0c;
}
.news-block-one .inner-box .lower-content .link-box {
  position: relative;
  display: block;
  padding: 16px 0px 18px 0px;
  border-top: 1px dashed #d8d2d0;
}
.news-block-one .inner-box .lower-content .link-box a {
  position: relative;
  display: inline-block;
  font-size: 14px;
  line-height: 24px;
  font-family: "Urbanist", sans-serif;
  font-weight: 800;
  color: #0c0c0c;
  text-transform: uppercase;
  padding-left: 30px;
}
.news-block-one .inner-box .lower-content .link-box a i {
  position: absolute;
  left: 0px;
  top: -1px;
  font-size: 24px;
  font-weight: 400;
}
.news-block-one .inner-box .lower-content .link-box a i {
  color: #fd6145;
}

.news-block-one
  .inner-box
  .image-box
  .image-content
  .share-box
  .social-links:before {
  position: absolute;
  content: "";
  background: #fff;
  width: 15px;
  height: 7px;
  right: 11px;
  bottom: -7px;
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%, 50% 100%, 0% 0%);
}
.news-block-one
  .inner-box
  .image-box
  .image-content
  .share-box
  .social-links
  li:last-child::before {
  display: none;
}

/* Fix: No Posts Found should be full width, not affected by grid */
.special-archive-grid .no-posts-found {
  grid-column: 1 / -1; /* Full width */
  text-align: center;
  padding: 3rem 2rem;
  background: #f8f9fa;
  border-radius: 15px;
  margin: 2rem 0;
}
