.loading-spinner {
  text-align: center;
  padding: 2rem;
  color: #666;
}

.topic_listing.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* policy page  */
.prvc_itm.prvc_itm_tick p {
  margin-bottom: 18px;
}

.prvc_itm.prvc_itm_tick ul li {
  padding-left: 24px;
}

.prvc_itm.prvc_itm_tick ul li::before {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: url(../images/tick_lst.svg) no-repeat center;
  background-color: #E0E4FB;
  left: 0;
  top: 5px;
}

.prvc_itm:last-child p {
  font-size: 18px;
  font-weight: 600;
}

.prvc_itm:last-child p:last-child {
  margin-top: 0;
}


.prvc_sctn a {
  color: var(--primary-color);
  text-decoration: unset;
}

.prvc_sctn a:hover {
  text-decoration: underline;
}

.page-id-385 .privacy_bnnr {
  padding: 204px 0 50px;
}

.page-id-385 .prvc_sctn {
  padding-bottom: 80px;
}

/* footer  */
.ftr_cnct_itms {
  display: flex;
  flex-direction: column;
  gap: 10px 0;
}

/* 12-11-2025 */

/* .work_sec_fr_finance {
  margin-bottom: 140px;
} */

/* 12-11-2025 */

/* 13-11-2025 */

.nav_bar .main_menu li.active a::after {
  width: 100%;
}

.ftr_lnks_wrp ul li.active a::after {
  transform: scale(1);
}

.error_page_cls {
  text-align: center;
  margin-top: 187px;
  margin-bottom: 130px;
}

.error_page_cls div h3:nth-of-type(2), .error_page_cls div a {
  margin-top: 20px;
}

.single_post_cls {
  margin-bottom: var(--sec-gap);
}

/* 13-11-2025 */

/* 14-11-2025 */

.archive_custom_cls {
  margin-top: 220px;
}

/* 14-11-2025 */

/* 24-11-2025 */

.single_post_cls .frtr_story_img img.no_img_cls {
  height: auto;
}


/* 01-12-25  */
/* Animation styles for topic listing */
.topic_listing {
  position: relative;
  min-height: 300px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

/* Grid layout for smooth animations */
.topic_listing .wrap {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
  transform: translateY(20px);
  width: 100% !important;
  /* Ensure full width of grid cell */
  margin: 0 !important;
  /* Remove any margins */
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animation delay - 3 column pattern */
.topic_listing .wrap {
  animation-delay: calc(var(--animation-order, 0) * 0.1s);
}

/* Loading state */
.topic_listing.loading {
  opacity: 0.7;
}

.topic_listing.loading .wrap {
  animation: none;
  opacity: 0.5;
}

/* Loading spinner */
.loading-spinner {
  text-align: center;
  padding: 50px;
  color: #333;
  font-size: 18px;
  position: relative;
  grid-column: 1 / -1;
  /* Span all columns */
}

.loading-spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border-radius: 50%;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Hover animations */
.topic_listing .wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.topic_listing .wrap figure {
  overflow: hidden;
  width: 100%;
}

.topic_listing .wrap img {
  transition: transform 0.5s ease;
  width: 100%;
  height: auto;
  display: block;
}

.topic_listing .wrap:hover img {
  transform: scale(1.05);
}

/* Button animations */
.topic_navlist {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.topic_navlist a {
  transition: all 0.3s ease;
  position: relative;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
}

/* .topic_navlist a.active_topic {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
} */

.topic_navlist a.active_topic:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background-color: currentColor;
  border-radius: 2px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    width: 0;
    opacity: 0;
  }

  to {
    width: 20px;
    opacity: 1;
  }
}



/* 01-12-25 */
.topic_listing .wrap {
  padding: 8px;
  border-radius: 10px;
}

.blog_categiries_sec .topic_navlist a.active_topic:after {
  display: none;
}

/* 01-12-25 */

/* Responsive Design - Always maintain 3 columns until mobile */
@media (max-width: 1024px) {
  .topic_listing {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .topic_listing {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .topic_listing {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 767px) {
  .blog_categiries_sec .topic_navlist {
    flex-wrap: nowrap;
  }
}

@media (max-width: 576px) {
  .topic_listing {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Exit animation for AJAX */
@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* Ensure content inside wrap is properly sized */
.topic_listing .wrap>* {
  width: 100%;
}

.topic_listing .wrap .con {
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
}

/* 01-12-25  */

/* 24-11-2025 */

.serv_work_sec .slide_hdng a::before {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 5px;
  content: "";
  background-color: var(--text-color);
}

.serv_work_sec .slide_hdng a {
  position: relative;
  display: inline-block;
  color: #33343f;
}

@media (max-width: 767px) {
  .single_post_cls.frtr_story_sec .container {
    flex-direction: column;
  }
}