.blog-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-title {
  font-size: 24px;
  color: #363636;
}

.blog-bot {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-bot-grv2 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f2ecfc;
  border-radius: 7px;
  transition: all 0.3s ease;
}
.blog-bot-grv2:hover {
  background: #e8d9f7;
  transform: translateY(-1px);
}
.blog-bot-grv2 .icon img {
  width: 15px;
  height: 15px;
}
.blog-bot-grv2 .text {
  font-size: 12px;
  color: #3a3a3a;
  font-weight: 500;
}

.content-v1 {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.content-left {
  flex: 1;
  max-width: calc(100% - 350px);
}
.content-left-v1 {
  background: #ffffff;
  border-radius: 10px;
  padding: 0;
}

.content-center {
  display: none;
}

.content-right {
  flex: 0 0 320px;
  max-width: 320px;
}
.content-right-v1 {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.content-body {
  transition: all 0.3s ease;
}

.sidebar-blog {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.sidebar-blog:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.sidebar-blog a {
  display: block;
  text-decoration: none;
}
.sidebar-blog a img {
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.sidebar-blog a:hover img {
  transform: scale(1.05);
}

@media (max-width: 1199px) {
  .content-v1 {
    flex-direction: column;
    gap: 20px;
  }
  .content-left {
    max-width: 100%;
  }
  .content-right {
    flex: none;
    max-width: 100%;
  }
  .content-right-v1 {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 20px;
  }
  .sidebar-blog {
    flex: 0 0 250px;
  }
}
@media (max-width: 991px) {
  .blog-top h1 {
    font-size: 24px;
  }
  .blog-authors {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .blog-bot {
    position: static;
    justify-content: flex-start;
  }
  .content-right-v1 {
    flex-direction: column;
  }
  .sidebar-blog {
    flex: none;
    display: none;
  }
  .content-v1 {
    flex-direction: column-reverse;
    margin-top: 16px;
  }
}
.related {
  padding: 48px 0;
  background: #f9f9f9;
}
.related__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.related__title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  position: relative;
  padding-bottom: 12px;
}
.related__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: #e60023;
  border-radius: 2px;
}
.related__search {
  flex-shrink: 0;
}
.related__search-input {
  height: 38px;
  width: 220px;
  padding: 0 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  background: #ffffff;
  outline: none;
  transition: all 0.3s ease;
}
.related__search-input::-moz-placeholder {
  color: #666;
}
.related__search-input::placeholder {
  color: #666;
}
.related__search-input:focus {
  border-color: #e60023;
  box-shadow: 0 0 0 3px rgba(230, 0, 35, 0.08);
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.related__item {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}
.related__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.related__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.related__image {
  overflow: hidden;
}
.related__image img {
  width: 100%;
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}
.related__item:hover .related__image img {
  transform: scale(1.06);
}
.related__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.related__name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related__desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 12px;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related__more {
  font-size: 13px;
  font-weight: 600;
  color: #e60023;
  margin-top: auto;
}
@media (max-width: 1199px) {
  .related__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 991px) {
  .related__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .related__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .related__search-input {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .related__grid {
    grid-template-columns: 1fr;
  }
}