/* Special detail extras — view_special.htm (related blogs + product cards) */

.special-related-blogs .seo-blog-type,
.special-blog-item .seo-blog-type {
  background: #f8f1e3;
  color: #9a7a3a;
  margin-bottom: 8px;
}

.special-related-blogs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.special-blog-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 14px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-top: 3px solid #d6dee8;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.special-blog-item:hover {
  border-top-color: #c5a059;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
}

.special-blog-item__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

.special-blog-item:hover .special-blog-item__title {
  color: #9a7a3a;
}

.special-blog-item__desc {
  margin: 0;
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .special-related-blogs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .special-related-blogs {
    grid-template-columns: 1fr;
  }
}

.global_product figure,
.global_featureed_item figure {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f0f0;
}

.global_product .img,
.global_featureed_item .img {
  position: relative;
  overflow: hidden;
  background: #f9f9f9;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.global_product .img img,
.global_featureed_item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.global_product .fancybox,
.global_featureed_item .fancybox {
  display: none;
}

.global_product figcaption,
.global_featureed_item figcaption {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-top: 1px solid #f0f0f0;
  min-height: 80px;
}

.global_product .product-title,
.global_featureed_item .product-title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  color: #333333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.global_product .product-title a,
.global_featureed_item .product-title a {
  color: #333333;
  text-decoration: none;
  font-weight: 500;
}

.global_product .product-title a:hover,
.global_featureed_item .product-title a:hover {
  color: #2563eb;
}

@media (max-width: 768px) {
  .global_product figure,
  .global_featureed_item figure {
    border-radius: 6px;
  }

  .global_product figcaption,
  .global_featureed_item figcaption {
    padding: 14px;
    min-height: 70px;
  }

  .global_product .product-title,
  .global_featureed_item .product-title {
    font-size: 13px;
  }
}
