/*
  Utilities used by Pages/TenantPublic/_TenantPublicSite.cshtml that the pre-built marketing.css
  (a purged Tailwind build with no build pipeline in this repo) does not contain. Without them the
  page lost its large-screen grid and drew some icons at full size (found 2026-11-26).
  Values follow Tailwind v3 defaults. Guarded by TenantPublicSiteCssTests: every class the page
  uses must exist in marketing.css, marketing-theme.css, this file, or the page's own <style>.
*/
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.uppercase { text-transform: uppercase; }
.inline-block { display: inline-block; }
.list-none { list-style-type: none; }
.font-extrabold { font-weight: 800; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-\[1\.15\] { line-height: 1.15; }
.duration-200 { transition-duration: 200ms; }

.-top-3 { top: -0.75rem; }
.h-3\.5 { height: 0.875rem; }
.w-3\.5 { width: 0.875rem; }
.h-18 { height: 4.5rem; }
.max-w-md { max-width: 28rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-\[160px\] { max-width: 160px; }
.pt-3 { padding-top: 0.75rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }

.bg-white\/95 { background-color: rgb(255 255 255 / 0.95); }
.bg-emerald-600 { background-color: #059669; }
.text-emerald-400 { color: #34d399; }
.text-emerald-600 { color: #059669; }
.text-slate-800 { color: #1e293b; }
.border-slate-700 { border-color: #334155; }
.border-slate-200\/60 { border-color: rgb(226 232 240 / 0.6); }
.from-slate-50 {
    --tw-gradient-from: #f8fafc var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(248 250 252 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-white { --tw-gradient-to: #fff var(--tw-gradient-to-position); }

.hover\:bg-emerald-700:hover { background-color: #047857; }
.hover\:border-slate-400:hover { border-color: #94a3b8; }
.hover\:text-slate-900:hover { color: #0f172a; }
.hover\:shadow-md:hover {
    --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-blue-500:focus { --tw-ring-color: rgb(59 130 246); }
.selection\:bg-blue-100 *::selection, .selection\:bg-blue-100::selection { background-color: #dbeafe; }
.selection\:text-blue-900 *::selection, .selection\:text-blue-900::selection { color: #1e3a8a; }
.\[\&_svg\]\:open\:-rotate-180[open] svg { transform: rotate(-180deg); }

@media (min-width: 640px) {
    .sm\:inline-flex { display: inline-flex; }
    .sm\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
    .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
}
@media (min-width: 768px) {
    .md\:col-span-2 { grid-column: span 2 / span 2; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .lg\:col-span-5 { grid-column: span 5 / span 5; }
    .lg\:col-span-7 { grid-column: span 7 / span 7; }
}

/* Digital Branch pages (2026-11-26) */
.gap-y-2 { row-gap: 0.5rem; }
.tenant-legal-text { white-space: pre-line; overflow-wrap: anywhere; }
.overflow-x-auto { overflow-x: auto; }
.gap-5 { gap: 1.25rem; }
.whitespace-nowrap { white-space: nowrap; }
@media (min-width: 768px) { .md\:hidden { display: none; } }

/* Phase 2: uploaded hero image, behind the hero content with a light wash so text stays readable. */
.tenant-hero-bg { position: absolute; inset: 0; z-index: -10; width: 100%; height: 100%; object-fit: cover; opacity: 0.18; }

/* Phase 3: product detail & indicative calculator utilities */
.list-disc { list-style-type: disc; }
.pl-5 { padding-left: 1.25rem; }
.pt-2 { padding-top: 0.5rem; }
.text-red-600 { color: #dc2626; }
.text-right { text-align: right; }

/* Phase 4: online loan application wizard utilities */
.gx-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.border-slate-900 { border-color: #0f172a; }
.border-red-200 { border-color: #fecaca; }
.bg-red-50 { background-color: #fef2f2; }
.border-emerald-200 { border-color: #a7f3d0; }
.bg-emerald-50 { background-color: #ecfdf5; }
.text-emerald-800 { color: #065f46; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }

/* Phase 10: allow-listed Digital Branch website templates */
body[data-template="modern-split"] .tenant-btn-primary { border-radius: 9999px; }
body[data-template="community-warm"] { background-color: #faf8f5; }
body[data-template="corporate-slate"] header { background-color: #0f172a; color: #f8fafc; border-color: #1e293b; }
body[data-template="corporate-slate"] header a { color: #e2e8f0; }
