body {
  font-family: "Lexend", sans-serif;
  scroll-behavior: smooth;
}

/* Global link reset: remove default underline styling. */
a,
a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none;
}

.gradient-blue {
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.branch-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.branch-slider::-webkit-scrollbar,
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.branch-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.news-card-shadow {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  outline: none;
  transition: all 0.3s;
  font-size: 0.875rem;
}

.form-input:focus {
  border-color: #2563eb;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.label-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.tab-active {
  color: #2563eb;
  border-bottom: 2px solid #2563eb;
}

.badge-count {
  background-color: #ffedd5;
  color: #f7941d;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 0.75rem;
  margin-left: 6px;
}

.doctor-card:hover .doctor-image {
  transform: scale(1.05);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.auth-card {
  transition: all 0.5s ease-in-out;
}

.hidden-form {
  display: none;
}

.post-content p {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.post-content h3 {
  color: #111827;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.bg-cyan-custom {
  background-color: #00aeef;
}

.sidebar-item-active {
  background-color: #eff6ff;
  color: #2563eb;
  border-right: 4px solid #2563eb;
}

.timeline-line::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #e2e8f0;
  z-index: 0;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li + li {
  margin-top: 0.75rem;
}

.footer-menu a {
  color: #94a3b8;
  transition: color 0.25s ease;
}

.footer-menu a:hover {
  color: #60a5fa;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.page-numbers {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  transition: all 0.2s ease;
}

.page-numbers.current,
.page-numbers:hover {
  border-color: #2563eb;
  background-color: #2563eb;
  color: #fff;
}

.aimedis-pagination__list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.aimedis-pagination__item {
  display: block;
  width: auto;
  flex: 0 0 auto;
}

.aimedis-honeypot-field {
  position: absolute;
  left: -10000px;
  opacity: 0;
  pointer-events: none;
}

.aimedis-map-frame {
  border: 0;
}

/* Keep archive/search card links clean (no browser default underline). */
body.search main a,
body.archive main a,
body.post-type-archive-doctor main a,
body.post-type-archive-branch main a {
  text-decoration: none;
}

body.search main a:hover,
body.archive main a:hover,
body.post-type-archive-doctor main a:hover,
body.post-type-archive-branch main a:hover {
  text-decoration: none;
}
.container .post-content p {
  text-align: justify;
  text-justify: inter-word;
}
