/*--------------------------------------------------------------
# Top Slide Section
--------------------------------------------------------------*/
.top-contents {
  padding-top: 15px;
  padding-bottom: 15px;
  /* background-color: var(--surface-color); */
}

.top-contents .top-content-item {
  /* background-color: var(--surface-color); */
  /* box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1); */
  box-sizing: content-box;
  /* padding: 30px;
  margin: 30px 15px; */
  position: relative;
  height: 100%;
}

.top-contents .slide-post {
  display: flex;
  gap: 20px;
  padding: 10px;
  /* background: var(--surface-color); */
  border-radius: 5px;
  /* border: 1px solid #dad9d9; */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-contents .slide-post:hover {
  background-color: rgba(21, 33, 91, 0.1);
  /* transform: translateX(5px); */
  /* border: 1px solid var(--accent-color); */
  /* box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 92%); */
}

.top-contents .slide-post .post-img {
  flex: 0 0 100px;
}

.top-contents .slide-post .post-img img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
}

.top-contents .slide-post .post-content {
  flex: 1;
}

.top-contents .slide-post .post-category {
  display: inline-block;
  /* background: color-mix(in srgb, var(--accent-color), transparent 90%); */
  background: rgba(21, 33, 91, 0.1);
  color: var(--accent-color);
  padding: 4px 6px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.top-contents .slide-post .title {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.top-contents .slide-post .title a {
  color: var(--heading-color);
  transition: color 0.3s ease;
  text-decoration: none;
}

.top-contents .slide-post .title a:hover {
  color: var(--accent-color);

}

.top-contents .slide-post .post-meta {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.top-content nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 20px 0;
}

.top-content nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.top-content nav ol li+li {
  padding-left: 10px;
}

.top-content nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}


.bg-top-content-5010 {
  background: rgba(21, 33, 91, 4.35);
  background: linear-gradient(360deg, rgba(21, 33, 91, 0.1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 50%, rgba(21, 33, 91, 0.1) 100%);
}


@media (max-width: 767px) {
  .top-content .top-content-wrap {
    padding-left: 0;
  }

  /* .top-content .top-content-item {
    padding: 30px;
    margin: 15px;
  } */

  .top-content .top-content-item .top-content-img {
    position: static;
    left: auto;
  }
}








/*--------------------------------------------------------------
# Featured Posts Section
--------------------------------------------------------------*/
.featured-posts {
  padding: 60px 0 0;
  background: transparent;
  /* background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 95%) 100%); */
}

.featured-posts .blog-posts-slider .swiper-wrapper {
  height: auto !important;
}

.featured-posts .blog-posts-slider .swiper-pagination {
  position: relative;
  margin-top: 10px;
}

.featured-posts .blog-posts-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: color-mix(in srgb, var(--default-color), transparent 70%);
  opacity: 1;
  transition: all 0.3s ease;
}

.featured-posts .blog-posts-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--accent-color);
  transform: scale(1.2);
}

.featured-posts .blog-card {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  border-radius: 5px;
  overflow: hidden;
  /* box-shadow: 0 10px 40px color-mix(in srgb, var(--default-color), transparent 90%); */
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-posts .blog-card:hover {
  transform: translateY(-10px);
  /* box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%); */
}

.featured-posts .blog-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.featured-posts .blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-posts .blog-image .category-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.featured-posts .blog-image:hover img {
  transform: scale(1.05);
}

.featured-posts .blog-content {
  padding: 10px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .featured-posts .blog-content {
    padding: 25px;
  }
}

.featured-posts .author-info {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.featured-posts .author-info .author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.featured-posts .author-info .author-details {
  display: flex;
  flex-direction: column;
}

.featured-posts .author-info .author-details .author-name {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 14px;
  margin-bottom: 2px;
}

.featured-posts .author-info .author-details .publish-date {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.featured-posts h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .featured-posts h3 {
    font-size: 18px;
  }
}

.featured-posts h3 a {
  color: var(--heading-color);
  transition: color 0.3s ease;
  text-decoration: none;
}

.featured-posts h3 a:hover {
  color: var(--accent-color);
}

.featured-posts p {
  font-size: 15px;
  line-height: 1.2;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 15px;
  flex: 1;
}

.featured-posts .blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

@media (max-width: 576px) {
  .featured-posts .blog-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

.featured-posts .reading-time {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.featured-posts .reading-time i {
  margin-right: 5px;
  font-size: 14px;
}

.featured-posts .btn-read-more {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(45deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 10%));
  color: var(--contrast-color);
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 15px;
  font-weight: 500;
  /* text-transform: uppercase; */
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.featured-posts .btn-read-more span {
  margin-right: 5px;
}

.featured-posts .btn-read-more i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.featured-posts .btn-read-more:hover {
  transform: translateX(5px);
  background: linear-gradient(45deg, color-mix(in srgb, var(--accent-color), #000 10%), var(--accent-color));
  color: var(--contrast-color);
}

.featured-posts .btn-read-more:hover i {
  transform: translateX(3px);
}

@media (max-width: 576px) {
  .featured-posts .btn-read-more {
    align-self: flex-end;
  }
}












/*--------------------------------------------------------------
# Latest Posts Section
--------------------------------------------------------------*/
.latest-posts {
  background: transparent;
  --card-radius: 5px;
  --soft-border: color-mix(in srgb, var(--default-color), transparent 85%);
  --soft-shadow: 0 12px 30px color-mix(in srgb, var(--default-color), transparent 92%);
  padding-top: 20px;
}

.latest-posts .featured-post {
  border-radius: var(--card-radius);
  overflow: hidden;
  position: relative;
  min-height: 420px;
  background-color: var(--surface-color);
  box-shadow: var(--soft-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.latest-posts .featured-post .featured-media {
  height: 100%;
}

.latest-posts .featured-post .featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.4s ease;
  display: block;
}

.latest-posts .featured-post .featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--default-color), transparent 70%) 5%, color-mix(in srgb, var(--default-color), transparent 85%) 40%, transparent 75%);
  pointer-events: none;
}

.latest-posts .featured-post .featured-content {
  position: absolute;
  inset-inline: 20px;
  bottom: 18px;
  color: var(--contrast-color);
  z-index: 2;
}

.latest-posts .featured-post .featured-content .date-badge {
  position: absolute;
  top: -14px;
  left: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
  box-shadow: var(--soft-shadow);
}

.latest-posts .featured-post .featured-content .date-badge .day {
  display: block;
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
}

.latest-posts .featured-post .featured-content .date-badge .mon {
  display: block;
  font-size: 12px;
  opacity: 0.95;
}

.latest-posts .featured-post .featured-content .cat-badge {
  margin-left: 72px;
  margin-bottom: 10px;
}

.latest-posts .featured-post .featured-content .title {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  margin: 4px 0 10px 72px;
  color: var(--contrast-color);
}

.latest-posts .featured-post .featured-content .excerpt {
  margin: 0 0 14px 72px;
  color: color-mix(in srgb, var(--contrast-color), transparent 10%);
}

.latest-posts .featured-post .featured-content .meta {
  margin-left: 72px;
  margin-bottom: 10px;
}

.latest-posts .featured-post .featured-content .meta i {
  color: var(--accent-color);
  font-size: 16px;
}

.latest-posts .featured-post .featured-content .meta span {
  font-size: 14px;
  color: color-mix(in srgb, var(--contrast-color), transparent 10%);
}

.latest-posts .featured-post .featured-content .meta .sep {
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
}

.latest-posts .featured-post .featured-content .readmore {
  margin-left: 72px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--contrast-color), transparent 60%);
  color: var(--contrast-color);
  transition: 0.3s;
}

.latest-posts .featured-post .featured-content .readmore i {
  font-size: 16px;
}

.latest-posts .featured-post .featured-content .readmore:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.latest-posts .featured-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px color-mix(in srgb, var(--default-color), transparent 88%);
}

.latest-posts .featured-post:hover .featured-media img {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .latest-posts .featured-post {
    min-height: 360px;
  }

  .latest-posts .featured-post .featured-content .title {
    font-size: 22px;
  }
}

.latest-posts .compact-post {
  background-color: var(--surface-color);
  border: 1px solid var(--soft-border);
  border-radius: var(--card-radius);
  padding: 14px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.latest-posts .compact-post .thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: transform 0.3s ease;
}

.latest-posts .compact-post .content .meta {
  margin-bottom: 6px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
}

.latest-posts .compact-post .content .meta .date,
.latest-posts .compact-post .content .meta .category {
  white-space: nowrap;
}

.latest-posts .compact-post .content .meta .dot {
  margin-inline: 6px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.latest-posts .compact-post .content .title {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.latest-posts .compact-post .content .readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
  transition: color 0.3s ease, transform 0.3s ease;
}

.latest-posts .compact-post .content .readmore i {
  font-size: 16px;
}

.latest-posts .compact-post:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 30%);
  box-shadow: var(--soft-shadow);
  transform: translateY(-2px);
}

.latest-posts .compact-post:hover .content .title,
.latest-posts .compact-post:hover .content .readmore {
  color: var(--accent-color);
}

.latest-posts .compact-post:hover .thumb img {
  transform: scale(1.03);
}

@media (max-width: 576px) {
  .latest-posts .compact-post {
    grid-template-columns: 90px 1fr;
  }
}

.latest-posts .card-post {
  background-color: var(--surface-color);
  border: 1px solid var(--soft-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.latest-posts .card-post .post-img img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.latest-posts .card-post .content {
  padding: 10px 18px 18px;
}

.latest-posts .card-post .content .meta {
  margin-bottom: 5px;
}

.latest-posts .card-post .content .meta i {
  color: var(--accent-color);
  font-size: 14px;
}

.latest-posts .card-post .content .meta span {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.latest-posts .card-post .content .title {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.latest-posts .card-post .content .readmore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 40%);
  color: var(--accent-color);
  transition: 0.3s;
  text-decoration: none;
}

.latest-posts .card-post .content .readmore i {
  font-size: 14px;
}

.latest-posts .card-post .content .readmore:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-color: var(--accent-color);
}

.latest-posts .card-post:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 25%);
  box-shadow: var(--soft-shadow);
  transform: translateY(-3px);
}

.latest-posts .card-post:hover .post-img img {
  transform: scale(1.06);
  margin-bottom: 0px;
  ;
}

.latest-posts .card-post:hover .content .title {
  color: var(--accent-color);
}

@media (max-width: 576px) {
  .latest-posts .card-post .post-img img {
    height: 190px;
  }
}

.latest-posts .cat-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1;
  border-radius: 999px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
}

.latest-posts .cat-badge.inverse {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}




/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  margin: 60px 0 30px 0;
  /* margin: 30px 0 30px 0; */
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 600;
  padding: 0 0 10px 0;
  margin: 0 0 20px 0;
  position: relative;
}

.widget-title:before {
  content: "";
  position: absolute;
  display: block;
  height: 2px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  left: 0;
  right: 0;
  bottom: 1px;
}

.widget-title:after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
  left: 0;
  bottom: 1px;
}

.widget-item {
  margin-bottom: 40px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
  padding: 3px 10px;
  position: relative;
  border-radius: 50px;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px 10px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: none;
  color: var(--default-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 16px;
  transition: 0.3s;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  color: var(--accent-color);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  background-color: color-mix(in srgb, var(--default-color), transparent 94%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 50px;
  font-size: 14px;
  padding: 5px 15px;
  margin: 0 6px 8px 0;
  display: inline-block;
  transition: 0.3s;
  text-decoration: none;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.tags-widget ul a:hover span {
  color: var(--contrast-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}

/* .tags-widget ul a .tw-span:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
} */





.widgets-container .sidebar-posts {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* .widgets-container .sidebar-posts .sidebar-post-box {
  margin: 0px;
} */

.widgets-container .sidebar-post {
  display: flex;
  gap: 15px;
  padding: 10px;
  /* background: var(--surface-color); */
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widgets-container .sidebar-post:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 92%);
  border-left: 6px solid var(--accent-color);

}

.widgets-container .sidebar-post .post-img {
  flex: 0 0 80px;
}

.widgets-container .sidebar-post .post-img img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
}

.widgets-container .sidebar-post .post-content {
  flex: 1;
}

.widgets-container .sidebar-post .post-category {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.widgets-container .sidebar-post .title {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.widgets-container .sidebar-post .title a {
  color: var(--heading-color);
  transition: color 0.3s ease;
  text-decoration: none;
}

.widgets-container .sidebar-post .title a:hover {
  color: var(--accent-color);
}

.widgets-container .sidebar-post .post-meta {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}