/* Brand aliases for OnlineVisit Details (designer CSS uses primary/accent tokens).
   Markup still uses brand-blue / brand-green from the Index-era class names. */

.hamrah-teb-online,
.hamrah-reference-landing {
  --primary: #1a9de6;
  --primary-foreground: #ffffff;
  --primary-soft: #e8f6fd;
  --accent: #8fd400;
  --accent-foreground: #1f3d0a;
  --accent-soft: #eef9d9;
  --success: #16a34a;
  --success-foreground: #ffffff;
  --warning: #f59e0b;
  --warning-foreground: #422006;
  --background: #ffffff;
  --foreground: #142033;
  --card: #ffffff;
  --card-foreground: #142033;
  --popover: #ffffff;
  --popover-foreground: #142033;
  --secondary: #eef2f6;
  --secondary-foreground: #142033;
  --muted: #eef2f6;
  --muted-foreground: #64748b;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --border: #e5edf3;
  --input: #e5edf3;
  --ring: #1a9de6;
  --surface-blue: #f5f9fc;
  --surface-green: #f7fbf0;
  --surface-mint: #f3faf7;
  --radius: 1.25rem;
  --brand-blue: #1a9de6;
  --brand-green: #8fd400;
  --brand-blue-soft: #e8f6fd;
  --brand-green-soft: #eef9d9;
}

.hamrah-teb-online .bg-brand-blue,
.hamrah-reference-landing .bg-brand-blue { background-color: var(--brand-blue) !important; }
.hamrah-teb-online .bg-brand-blue-soft,
.hamrah-reference-landing .bg-brand-blue-soft { background-color: var(--brand-blue-soft) !important; }
.hamrah-teb-online .bg-brand-green,
.hamrah-reference-landing .bg-brand-green { background-color: var(--brand-green) !important; }
.hamrah-teb-online .bg-brand-green-soft,
.hamrah-reference-landing .bg-brand-green-soft { background-color: var(--brand-green-soft) !important; }
.hamrah-teb-online .bg-brand-green\/40,
.hamrah-reference-landing .bg-brand-green\/40 { background-color: color-mix(in srgb, var(--brand-green) 40%, transparent) !important; }

.hamrah-teb-online .text-brand-blue,
.hamrah-reference-landing .text-brand-blue { color: var(--brand-blue) !important; }
.hamrah-teb-online .text-brand-green,
.hamrah-reference-landing .text-brand-green { color: var(--brand-green) !important; }
.hamrah-teb-online .text-brand-blue\/25,
.hamrah-reference-landing .text-brand-blue\/25 { color: color-mix(in srgb, var(--brand-blue) 25%, transparent) !important; }
.hamrah-teb-online .text-brand-blue\/80,
.hamrah-reference-landing .text-brand-blue\/80 { color: color-mix(in srgb, var(--brand-blue) 80%, transparent) !important; }

.hamrah-teb-online .border-brand-blue,
.hamrah-reference-landing .border-brand-blue { border-color: var(--brand-blue) !important; }
.hamrah-teb-online .border-brand-blue\/20,
.hamrah-reference-landing .border-brand-blue\/20 { border-color: color-mix(in srgb, var(--brand-blue) 20%, transparent) !important; }
.hamrah-teb-online .border-brand-blue\/30,
.hamrah-reference-landing .border-brand-blue\/30 { border-color: color-mix(in srgb, var(--brand-blue) 30%, transparent) !important; }
.hamrah-teb-online .border-brand-blue\/40,
.hamrah-reference-landing .border-brand-blue\/40 { border-color: color-mix(in srgb, var(--brand-blue) 40%, transparent) !important; }

.hamrah-teb-online .ring-brand-blue-soft,
.hamrah-reference-landing .ring-brand-blue-soft { --tw-ring-color: var(--brand-blue-soft); }

.hamrah-teb-online .from-brand-blue,
.hamrah-reference-landing .from-brand-blue { --tw-gradient-from: var(--brand-blue); --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); }
.hamrah-teb-online .via-brand-blue,
.hamrah-reference-landing .via-brand-blue { --tw-gradient-via: var(--brand-blue); --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-via-stops); }
.hamrah-teb-online .to-brand-green,
.hamrah-reference-landing .to-brand-green { --tw-gradient-to: var(--brand-green); --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); }

.hamrah-teb-online .hover\:border-brand-blue\/30:hover,
.hamrah-reference-landing .hover\:border-brand-blue\/30:hover { border-color: color-mix(in srgb, var(--brand-blue) 30%, transparent) !important; }
.hamrah-teb-online .hover\:border-brand-blue\/40:hover,
.hamrah-reference-landing .hover\:border-brand-blue\/40:hover { border-color: color-mix(in srgb, var(--brand-blue) 40%, transparent) !important; }
.hamrah-teb-online .hover\:bg-brand-blue-soft:hover,
.hamrah-reference-landing .hover\:bg-brand-blue-soft:hover { background-color: var(--brand-blue-soft) !important; }
.hamrah-teb-online .hover\:bg-brand-green-soft:hover,
.hamrah-reference-landing .hover\:bg-brand-green-soft:hover { background-color: var(--brand-green-soft) !important; }
.hamrah-teb-online .hover\:text-brand-blue:hover,
.hamrah-reference-landing .hover\:text-brand-blue:hover { color: var(--brand-blue) !important; }
.hamrah-teb-online .hover\:text-brand-blue\/80:hover,
.hamrah-reference-landing .hover\:text-brand-blue\/80:hover { color: color-mix(in srgb, var(--brand-blue) 80%, transparent) !important; }
.hamrah-teb-online .focus\:border-brand-blue:focus,
.hamrah-reference-landing .focus\:border-brand-blue:focus { border-color: var(--brand-blue) !important; }

/* Contain designer base reset to this page surface */
.hamrah-teb-online {
  font-family: Vazirmatn, Tahoma, sans-serif !important;
  background: var(--background);
  color: var(--foreground);
}

/* Designer base sets list-style:none — restore for CMS body */
.hamrah-teb-online .service-content ul {
  list-style: disc;
  padding-inline-start: 1.25rem;
  margin-block: 0.75rem;
}
.hamrah-teb-online .service-content ol {
  list-style: decimal;
  padding-inline-start: 1.25rem;
  margin-block: 0.75rem;
}
.hamrah-teb-online .service-content li { margin-bottom: 0.35rem; }
.hamrah-teb-online .service-content p { margin-bottom: 0.75rem; }
.hamrah-teb-online .service-content img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

/* Utilities used by Details markup but missing from designer CSS scan */
.hamrah-teb-online .text-white { color: #fff !important; }
.hamrah-teb-online .border-warning\/30 { border-color: color-mix(in srgb, var(--warning) 30%, transparent); }
.hamrah-teb-online .bg-muted\/40 { background-color: color-mix(in srgb, var(--muted) 40%, transparent); }
.hamrah-teb-online .rounded-\[2rem\] { border-radius: 2rem; }
.hamrah-teb-online .my-10 { margin-block: 2.5rem; }
.hamrah-teb-online .mb-10 { margin-bottom: 2.5rem; }
.hamrah-teb-online .ms-4 { margin-inline-start: 1rem; }
.hamrah-teb-online .max-w-4xl { max-width: 56rem; }
.hamrah-teb-online .max-h-28 { max-height: 7rem; }
.hamrah-teb-online .object-contain { object-fit: contain; }
.hamrah-teb-online .leading-\[1\.4\] { line-height: 1.4; }
.hamrah-teb-online .divide-y > :not([hidden]) ~ :not([hidden]) {
  border-top-width: 1px;
  border-color: var(--border);
}
.hamrah-teb-online .divide-border > :not([hidden]) ~ :not([hidden]) { border-color: var(--border); }
.hamrah-teb-online .last\:border-0:last-child { border-width: 0; }
.hamrah-teb-online .last\:pb-0:last-child { padding-bottom: 0; }

@media (min-width: 768px) {
  .hamrah-teb-online .md\:my-14 { margin-block: 3.5rem; }
  .hamrah-teb-online .md\:p-8 { padding: 2rem; }
  .hamrah-teb-online .md\:py-14 { padding-block: 3.5rem; }
  .hamrah-teb-online .md\:pb-20 { padding-bottom: 5rem; }
  .hamrah-teb-online .md\:shrink-0 { flex-shrink: 0; }
  .hamrah-teb-online .md\:w-\[180px\] { width: 180px; }
  .hamrah-teb-online .md\:w-\[220px\] { width: 220px; }
  .hamrah-teb-online .md\:\!w-auto { width: auto !important; }
}

@media (min-width: 1024px) {
  .hamrah-teb-online .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .hamrah-teb-online .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .hamrah-teb-online .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hamrah-teb-online .lg\:px-8 { padding-inline: 2rem; }
  .hamrah-teb-online .lg\:gap-8 { gap: 2rem; }
}
