/*!
 * OpenBus Ischia — Theme styles (Tailwind CSS v3 utility build).
 *
 * This file is the compiled output you ship in production. The source SCSS lives in /assets/src/scss/.
 * To rebuild: `npm install && npm run build` (uses Tailwind + cssnano).
 *
 * NOTE: This shipped build inlines Tailwind via the CDN runtime to guarantee identical look
 * to the React/Tailwind prototype across all WP environments — including those without Node tooling.
 * Replace this file with a fully purged build for production performance gains.
 */

/* Tailwind Preflight (subset) + JIT shim via CDN runtime injected at runtime. */
/* Body baseline already set by Preflight (margin: 0; font-family: inherit). */
:root{--obi-green:#15A249;--obi-green-dark:#11823a;--obi-green-deeper:#0e7534;--obi-slate-900:#0f172a;}

html{-webkit-text-size-adjust:100%;font-family:'Inter',ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;line-height:1.5;}
body{margin:0;font-family:inherit;line-height:inherit;color:#0f172a;background:#f8fafc;}
*,::before,::after{box-sizing:border-box;border:0 solid #e2e8f0;}
img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle;}
img,video{max-width:100%;height:auto;}
[x-cloak]{display:none !important;}

::selection{background-color:var(--obi-green);color:#fff;}

/* Custom utilities for animations referenced in prototype */
.animate-in{animation-duration:300ms;animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-fill-mode:both;}
.fade-in{animation-name:obiFadeInAnim;}
.zoom-in-95{animation-name:obiZoomIn95;}
.slide-in-from-bottom-4{animation-name:obiSlideInFromBottom4;}
.slide-in-from-right-8{animation-name:obiSlideInFromRight8;}
.duration-200{animation-duration:200ms;}
.duration-300{animation-duration:300ms;}
.duration-500{animation-duration:500ms;}
.duration-700{animation-duration:700ms;}

@keyframes obiFadeInAnim{from{opacity:0;}to{opacity:1;}}
@keyframes obiZoomIn95{from{transform:scale(.95);opacity:0;}to{transform:scale(1);opacity:1;}}
@keyframes obiSlideInFromBottom4{from{transform:translateY(1rem);opacity:0;}to{transform:translateY(0);opacity:1;}}
@keyframes obiSlideInFromRight8{from{transform:translateX(2rem);opacity:0;}to{transform:translateX(0);opacity:1;}}

/* Skip link */
.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;}
.skip-link:focus{position:fixed;top:.5rem;left:.5rem;width:auto;height:auto;padding:.5rem 1rem;background:#fff;border-radius:.5rem;box-shadow:0 4px 6px -1px rgb(0 0 0/.1);z-index:9999;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.focus\:not-sr-only:focus{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal;}

/* Print-friendly tickets */
@media print{nav,footer,.obi-print-hide{display:none !important;}}
