/* === Acıbadem International Offices App === */

/* In-page jumps (#links) glide instead of jumping; off when the visitor asks for less motion */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Scrollbar hiding */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Leaflet map customizations */
.custom-tooltip {
  background-color: rgba(255, 255, 255, 0.97) !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
  font-family: 'Inter', 'Noto Sans Arabic', 'Noto Sans Georgian', sans-serif !important;
  padding: 12px 16px !important;
  color: #0c2d74;
}
.custom-tooltip::before { display: none !important; }
.leaflet-container { font-family: 'Inter', 'Noto Sans Arabic', 'Noto Sans Georgian', sans-serif; direction: ltr; }

/* Card hover effects */
.office-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.office-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(12, 45, 116, 0.08);
}

/* Mobile input zoom prevention */
@media (max-width: 767px) {
  input[type=text], input[type=email], input[type=tel],
  input[type=number], input[type=search], input[type=password],
  select, textarea {
    font-size: 16px !important;
  }
}

/* Search highlight */
.country-highlight {
  background-color: #EFF6FF;
  box-shadow: 0 0 0 2px rgba(26, 75, 160, 0.4);
  border-radius: 16px;
}

/* Print styles */
@media print {
  header, footer, nav, .no-print { display: none !important; }
  body { background: white !important; }
  .print-break { page-break-before: always; }
}

/* Line clamp utilities */
.line-clamp-1 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* === Languages & mixed-direction content === */

/* Arabic/Persian letters join; letter-spacing breaks them apart */
.tracking-wide:lang(ar), .tracking-wider:lang(ar), .tracking-widest:lang(ar),
.tracking-wide:lang(fa), .tracking-wider:lang(fa), .tracking-widest:lang(fa) {
  letter-spacing: normal;
}
/* Georgian has no lowercase/uppercase pairs in running text */
.uppercase:lang(ka) { text-transform: none; }

/* Local-language event text (any script, any length) never overflows its card */
.event-text { overflow-wrap: anywhere; }
bdi { unicode-bidi: isolate; }
