/* ================================= Blog Section Css Start ============================= */
.blog-section {
  padding: 40px 0;
}

.blog-section .my-120 {
  margin-top: 0;
  margin-bottom: 0;
}

.blog-section__item {
  margin-bottom: 0;
  transition: all 0.3s ease;
}

@media screen and (max-width: 991px) {
  .blog-section__item:last-child {
    padding-top: 24px;
  }
}

.blog-section__item:hover .blog-section__content {
  background-color: #6366f1;
  transform: translateY(-5px);
}

.blog-section__item:hover .blog-section__date {
  color: #ffffff;
}

.blog-section__item:hover .blog-section__title {
  color: #ffffff !important;
}

.blog-section__item:hover .blog-section__title a {
  color: #ffffff !important;
}

.blog-section__thumb {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.blog-section__thumb a {
  display: block;
  position: relative;
}

.blog-section__thumb a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  z-index: 1;
  background: rgba(0, 0, 0, 0);
  transition: all 0.3s ease;
}

.blog-section__item:hover .blog-section__thumb a::after {
  background: rgba(0, 0, 0, 0.1);
}

.blog-section__image {
  border-radius: 16px;
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: all 0.3s ease;
}

.blog-section__item:hover .blog-section__image {
  transform: scale(1.05);
}

.blog-section__content {
  padding: 24px 20px;
  background-color: #ffffff;
  border-radius: 16px;
  margin-top: -50px;
  margin-left: 12px;
  margin-right: 12px;
  transition: all 0.3s linear;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.blog-section__content:hover {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

@media screen and (max-width: 1399px) {
  .blog-section__content {
    padding: 20px 16px;
  }
}

@media screen and (max-width: 768px) {
  .blog-section__content {
    padding: 16px 12px;
    margin-left: 8px;
    margin-right: 8px;
  }
}

.blog-section__date {
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 8px;
  transition: all 0.3s linear;
  color: #6b7280;
  margin-bottom: 6px;
  display: block;
}

.blog-section__date:hover {
  color: #ffffff;
}

.blog-section__title {
  font-size: 18px;
  font-weight: 600;
  color: #000000 !important;
  margin: 0px;
  line-height: 1.3;
  transition: all 0.3s ease;
}

.blog-section__title a {
  color: #000000 !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-section__title:hover,
.blog-section__title a:hover {
  color: #ffffff !important;
}

@media screen and (max-width: 1399px) {
  .blog-section__title {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .blog-section__title {
    font-size: 15px;
  }
}

.blog-section__excerpt {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
  transition: all 0.3s ease;
}

.blog-section__item:hover .blog-section__excerpt {
  color: rgba(255, 255, 255, 0.9);
}

/* Grid Layout */
.blog-section .row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 0;
}

@media screen and (min-width: 768px) {
  .blog-section .row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media screen and (min-width: 992px) {
  .blog-section .row {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.blog-section .col-lg-4,
.blog-section .col-md-6 {
  width: 100%;
  padding: 0;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-aos="fade-up"] {
  animation: fadeInUp 0.6s ease-out;
}

/* ================================= Blog Section Css End ============================= */

/* ================================= Breadcrumb Section Start ============================= */
.breadcrumb {
  padding: 48px 0;
  background-color: #f9fafb;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.breadcrumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .breadcrumb {
    padding: 30px 0;
  }
}

.breadcrumb__title {
  text-align: center;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
  .breadcrumb__title {
    font-size: 28px;
  }
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list__item {
  display: flex;
  align-items: center;
}

.breadcrumb-list__item:not(:last-child)::after {
  content: "\f061";
  font-size: 1.25rem;
  font-family: "Line Awesome Free";
  font-weight: 900;
  display: inline-block;
  margin-left: 8px;
  line-height: 100%;
  color: #ffffff;
}

.breadcrumb-list__link,
.breadcrumb-list__text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 100%;
  text-align: center;
}

.breadcrumb-list__link {
  font-weight: 500;
  color: #6366f1;
  text-decoration: none;
}

.breadcrumb-list__link:hover {
  color: #818cf8;
}

.breadcrumb-list__text {
  color: #ffffff;
}

/* ================================= Breadcrumb Section End ============================= */

/* ================================= Blog Details Section Start ============================= */
.blog-details {
  width: 100%;
}

.blog-details__thumb {
  margin-bottom: 24px;
}

.blog-details__top-image {
  border-radius: 16px;
  width: 100%;
  height: auto;
  display: block;
}

.blog-details__content {
  padding: 0;
}

.blog-item__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 16px;
}

.blog-item__date-icon {
  color: #6366f1;
  font-size: 16px;
}

.blog-details__title {
  font-size: 32px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 24px;
  line-height: 1.3;
}

@media screen and (max-width: 768px) {
  .blog-details__title {
    font-size: 24px;
  }
}

.blog-details__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #374151;
}

.blog-details__desc p {
  margin-bottom: 16px;
}

.blog-details__desc h1,
.blog-details__desc h2,
.blog-details__desc h3,
.blog-details__desc h4,
.blog-details__desc h5,
.blog-details__desc h6 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 700;
  color: #000000;
}

.blog-details__desc ul,
.blog-details__desc ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.blog-details__desc img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
}

.blog-details__desc blockquote {
  background-color: rgba(99, 102, 241, 0.05);
  color: #374151;
  padding: 20px;
  border-left: 10px solid #6366f1;
  border-radius: 10px;
  margin: 24px 0;
  font-style: italic;
  font-size: 18px;
}

/* Tag & Share Section */
.tag-share {
  margin-top: 32px;
  background-color: #6366f1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-radius: 16px;
  flex-wrap: wrap;
  gap: 16px;
}

@media screen and (max-width: 768px) {
  .tag-share {
    flex-direction: column;
    align-items: flex-start;
  }
}

.share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.share-label {
  color: #ffffff;
  font-weight: 600;
  font-size: 20px;
  font-family: inherit;
  margin-right: 8px;
}

@media screen and (max-width: 424px) {
  .share-label {
    font-size: 18px;
  }
}

.share-icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-icon-button:hover {
  background-color: #000000;
  border-color: #000000;
  transform: scale(1.1);
}

/* Blog Sidebar */
.blog-sidebar {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-left: auto;
}

@media screen and (max-width: 991px) {
  .blog-sidebar {
    margin-top: 40px;
  }
}

.blog-sidebar__header {
  padding: 12px 16px;
  color: #1f2937;
  background-color: #f3f4f6;
}

.blog-sidebar__body {
  padding: 16px;
  background-color: #fafafa;
}

.blog-page__search-title {
  color: #1f2937;
  font-size: 16px;
  font-weight: 600;
  padding: 0;
  margin-bottom: 0;
}

/* Recent News Items */
.recant-news__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.recant-news__item:not(:last-child) {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.recant-news__thumb {
  width: 80px;
  min-width: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.recant-news__thumb img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 60px;
  transition: transform 0.3s ease;
}

.recant-news__item:hover .recant-news__thumb img {
  transform: scale(1.1);
}

.recant-news__content {
  flex: 1;
}

.recant-news__title {
  color: #000000;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.3;
}

.recant-news__title a {
  color: #000000;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.3s ease;
}

.recant-news__title a:hover {
  color: #6366f1;
}

@media screen and (max-width: 991px) {
  .recant-news__title {
    margin-bottom: 4px;
  }
}

.recant-news__date {
  font-size: 11px;
  font-weight: 400;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.recant-news__date i {
  font-size: 12px;
}

/* Responsive Layout */
@media screen and (max-width: 991px) {
  .blog-details {
    margin-bottom: 40px;
  }
}

/* ================================= Blog Details Section End ============================= */

/* ================================= Blog Full Layout Start ============================= */
.blog-full-layout__container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.blog-full-layout__content {
  flex: 1;
  min-width: 0; /* Fix for flexbox text overflow */
}

.blog-full-layout__sidebar {
  flex-shrink: 0;
}

@media screen and (max-width: 991px) {
  .blog-full-layout__container {
    flex-direction: column;
  }

  .blog-full-layout__content,
  .blog-full-layout__sidebar {
    width: 100% !important;
  }
}

/* Additional spacing for blog section */
.my-120 {
  margin-top: 40px;
  margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
  .my-120 {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}

/* Fit image class */
.fit-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ================================= Blog Full Layout End ============================= */

/* ================================= Blog Grid Layout Start ============================= */
.blog-grid-layout__container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.blog-grid-layout__content {
  flex: 1;
  min-width: 0;
}

.blog-grid-layout__sidebar {
  flex-shrink: 0;
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

/* Blog Grid specific adjustments when sidebar is shown */
.blog-grid-layout__container .blog-section__item {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-grid-layout__container .blog-section__thumb {
  flex-shrink: 0;
}

.blog-grid-layout__container .blog-section__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 991px) {
  .blog-grid-layout__container {
    flex-direction: column;
  }

  .blog-grid-layout__content,
  .blog-grid-layout__sidebar {
    width: 100% !important;
  }

  .blog-grid-layout__sidebar {
    position: static;
  }
}
/* ================================= Blog Grid Layout End ============================= */
