/* =================================================================
   ClinixCore custom overrides
   Loaded AFTER assets/css/main.css to override theme behaviour.
   ================================================================= */

/* ----- Service slider (homepage modules carousel) -----
   Theme default: image hidden by dark overlay until hover.
   ClinixCore behaviour: image always visible at 85% brightness,
   100% on hover. A soft bottom gradient keeps the hover content readable. */

.service-item.style-1::before {
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0) 45%,
    rgba(0, 0, 0, 0.6) 100%) !important;
  opacity: 1 !important;
  transition: background 0.35s ease;
}

.service-item.style-1::after {
  display: none !important;
}

.service-item.style-1 .service-img img {
  filter: brightness(0.85);
  transition: filter 0.35s ease;
}

.service-item.style-1:hover .service-img img {
  filter: brightness(1);
}

.service-item.style-1:hover::before {
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.7) 100%) !important;
}


/* ===== ClinixCore footer overrides ===== */

/* Get in Touch contact list — match theme footer (dark text on light bg) */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--tj-color-text-body, #364e52);
  font-size: 0.95rem;
  line-height: 1.55;
}
.footer-contact-list li .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(30, 138, 138, 0.1);
  color: var(--tj-color-theme-primary, #1e8a8a);
  font-size: 0.9rem;
}
.footer-contact-list li .text,
.footer-contact-list li a.text {
  color: var(--tj-color-text-body, #364e52);
  text-decoration: none;
  transition: color 0.2s ease;
  padding-top: 4px;
}
.footer-contact-list li a.text:hover {
  color: var(--tj-color-theme-primary, #1e8a8a);
}

/* Award/compliance badge sizing in footer */
.tj-footer-section .award-logo-area {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
  align-items: center;
}
.tj-footer-section .award-logo {
  background: #ffffff;
  border-radius: 12px;
  padding: 8px 12px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tj-footer-section .award-logo img {
  height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

/* Copyright content row layout */
.tj-copyright-area .copyright-content-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-policy-links {
  font-size: 0.88rem;
  color: var(--tj-color-text-body-3, #67787a);
}
.footer-policy-links a {
  color: var(--tj-color-text-body, #364e52);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-policy-links a:hover {
  color: var(--tj-color-theme-primary, #1e8a8a);
}
@media (max-width: 768px) {
  .tj-copyright-area .copyright-content-area {
    flex-direction: column;
    text-align: center;
  }
}
