/* 09-footer-utilities.css | Drug Law India split CSS | generated from cleaned production CSS */
/* =========================================================
   16) Footer
========================================================= */

.site-footer {
  background: var(--dli-navy);
  color: #e8eef5;
  border-top: 5px solid var(--dli-gold);
}

.site-info {
  color: #e8eef5;
}

.site-footer a,
.site-info a {
  color: #ffffff;
}

.site-footer a:hover,
.site-info a:hover {
  color: var(--dli-gold);
}

/* =========================================================
   17) Back To Top Button
========================================================= */

#dli-back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--dli-navy);
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(11, 39, 66, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

#dli-back-to-top.dli-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#dli-back-to-top:hover {
  background: var(--dli-teal);
}

@media (max-width: 768px) {
  #dli-back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}

/* =========================================================
   18) Lecture CPT Fix
========================================================= */

/* Hide default WordPress/GeneratePress title only on single Lecture CPT pages */
body.single-lecture .entry-header .entry-title,
body.single-lecture h1.entry-title {
  display: none !important;
}

/* =========================================================
   19) Blog Tag Cleanup
========================================================= */

/* Hide old Show More / Show Fewer button if cached old JS ever created it */
body.blog .dli-tags-toggle,
body.home .dli-tags-toggle {
  display: none !important;
}

/* Improve mobile readability of post meta */
@media (max-width: 600px) {
  body.blog .entry-meta,
  body.blog footer.entry-meta,
  body.home .entry-meta,
  body.home footer.entry-meta {
    line-height: 1.65;
  }
}


/* =========================================================
   20) Reduced Motion
========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
