/* ==========================================================================
   Unilib — Modern Academic Design System: Base & Utilities
   Pure Vanilla CSS Replacement for Tailwind CSS
   mbktech.org
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Fonts */
  --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-headings: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

  /* Teal Primary Palette */
  --color-teal-50: #f0faf8;
  --color-teal-100: #d7f4ee;
  --color-teal-200: #aee8dc;
  --color-teal-300: #79d4c5;
  --color-teal-400: #3fb9aa;
  --color-teal-500: #1f8f84;
  --color-teal-600: #0f766e;
  --color-teal-700: #0b4f4a;
  --color-teal-800: #083d38;
  --color-teal-900: #052b27;
  --color-teal-950: #021a17;

  /* Emerald / Green Palette */
  --color-emerald-50: #f0fdf4;
  --color-emerald-100: #dcfce7;
  --color-emerald-200: #bbf7d0;
  --color-emerald-300: #86efac;
  --color-emerald-400: #4ade80;
  --color-emerald-500: #10b981;
  --color-emerald-600: #059669;
  --color-emerald-700: #047857;
  --color-emerald-800: #065f46;
  --color-emerald-900: #064e3b;

  /* Amber Palette */
  --color-amber-50: #fffbeb;
  --color-amber-100: #fef3c7;
  --color-amber-200: #fde68a;
  --color-amber-500: #f59e0b;
  --color-amber-600: #d97706;
  --color-amber-700: #b45309;

  /* Rose Palette */
  --color-rose-50: #fff1f2;
  --color-rose-100: #ffe4e6;
  --color-rose-200: #fecdd3;
  --color-rose-300: #fda4af;
  --color-rose-500: #f43f5e;
  --color-rose-600: #e11d48;
  --color-rose-700: #be123c;
  --color-rose-800: #9f1239;
  --color-rose-900: #881337;

  /* Blue / Cyan / Purple / Pink */
  --color-blue-50: #eff6ff;
  --color-blue-200: #bfdbfe;
  --color-blue-600: #2563eb;
  --color-blue-700: #1d4ed8;
  --color-cyan-600: #0891b2;
  --color-purple-600: #9333ea;
  --color-pink-600: #db2777;

  /* Neutral tones */
  --color-stone-200: #e7e5e4;
  --color-stone-400: #a8a29e;
  --color-stone-900: #1c1917;
  --color-slate-200: #e2e8f0;
  --color-slate-400: #94a3b8;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;

  /* Spacing base */
  --spacing-base: 0.25rem;
}

/* --------------------------------------------------------------------------
   Modern Reset & Box Sizing
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  border: 0 solid transparent;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  margin: 0;
  line-height: inherit;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}

img, video {
  max-width: 100%;
  height: auto;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button, select {
  text-transform: none;
}

button, [type='button'], [type='reset'], [type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: inherit;
}

/* --------------------------------------------------------------------------
   Layout & Display Utilities
   -------------------------------------------------------------------------- */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none !important; }

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

/* Positioning */
.static { position: static; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }

.inset-0 { inset: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.top-0 { top: 0; }
.top-2 { top: 0.5rem; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.left-2 { left: 0.5rem; }
.right-0 { right: 0; }
.right-2 { right: 0.5rem; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* --------------------------------------------------------------------------
   Flexbox & Grid Alignment
   -------------------------------------------------------------------------- */
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-initial { flex: 0 1 auto; }
.flex-none { flex: none; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.self-start { align-self: flex-start; }
.self-end { align-self: flex-end; }
.self-center { align-self: center; }
.self-auto { align-self: auto; }

/* Grid Columns */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

/* Gaps */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-3\.5 { gap: 0.875rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Space-y utilities */
.space-y-0\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.125rem; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-3\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.875rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }

/* Divide */
.divide-y > :not([hidden]) ~ :not([hidden]) {
  border-top-width: 1px;
  border-bottom-width: 0px;
}
.divide-stone-200 > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--color-stone-200);
}

/* --------------------------------------------------------------------------
   Width & Height (Sizing)
   -------------------------------------------------------------------------- */
.w-1\.5 { width: 0.375rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-12 { width: 3rem; }
.w-full { width: 100%; }
.w-auto { width: auto; }

.h-1\.5 { height: 0.375rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-12 { height: 3rem; }
.h-full { height: 100%; }

.min-w-0 { min-width: 0; }
.min-h-0 { min-height: 0; }
.max-w-full { max-width: 100%; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-\[180px\] { max-width: 180px; }
.max-h-full { max-height: 100%; }

.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }

/* --------------------------------------------------------------------------
   Spacing: Padding & Margin
   -------------------------------------------------------------------------- */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-1\.5 { padding: 0.375rem; }
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }

.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }

.py-0\.2 { padding-top: 0.1rem; padding-bottom: 0.1rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

.pt-1 { padding-top: 0.25rem; }
.pt-1\.5 { padding-top: 0.375rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-2\.5 { padding-top: 0.625rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }

.pb-1 { padding-bottom: 0.25rem; }
.pb-1\.5 { padding-bottom: 0.375rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }

.pl-2\.5 { padding-left: 0.625rem; }
.pl-3 { padding-left: 0.75rem; }
.pl-8 { padding-left: 2rem; }
.pl-9 { padding-left: 2.25rem; }

.pr-1\.5 { padding-right: 0.375rem; }
.pr-2 { padding-right: 0.5rem; }
.pr-2\.5 { padding-right: 0.625rem; }
.pr-3 { padding-right: 0.75rem; }
.pr-6 { padding-right: 1.5rem; }
.pr-9 { padding-right: 2.25rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }

.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }

.mr-1 { margin-right: 0.25rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-auto { margin-left: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.font-headings { font-family: var(--font-headings); }
.font-mono { font-family: var(--font-mono); }
.font-sans { font-family: var(--font-sans); }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-\[8px\] { font-size: 8px; }
.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0em; }
.tracking-wider { letter-spacing: 0.05em; }

.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.underline { text-decoration-line: underline; }

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

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

/* --------------------------------------------------------------------------
   Colors: Backgrounds & Text
   -------------------------------------------------------------------------- */
/* Background Colors */
.bg-white { background-color: #ffffff; }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-black\/50 { background-color: rgba(0, 0, 0, 0.50); }
.bg-\[\#0f766e\] { background-color: #0f766e; }
.bg-\[\#f2f0ec\] { background-color: #f2f0ec; }

.bg-teal-50 { background-color: var(--color-teal-50); }
.bg-teal-50\/50 { background-color: rgba(240, 250, 248, 0.50); }
.bg-teal-50\/70 { background-color: rgba(240, 250, 248, 0.70); }
.bg-teal-100 { background-color: var(--color-teal-100); }
.bg-teal-700 { background-color: var(--color-teal-700); }

.bg-emerald-50 { background-color: var(--color-emerald-50); }
.bg-emerald-500 { background-color: var(--color-emerald-500); }
.bg-emerald-700 { background-color: var(--color-emerald-700); }

.bg-amber-50 { background-color: var(--color-amber-50); }
.bg-amber-600 { background-color: var(--color-amber-600); }

.bg-rose-50 { background-color: var(--color-rose-50); }
.bg-rose-100 { background-color: var(--color-rose-100); }

.bg-stone-900\/85 { background-color: rgba(28, 25, 23, 0.85); }

.bg-cover { background-size: cover; }
.bg-center { background-position: center; }
.object-contain { object-fit: contain; }

/* Text Colors */
.text-white { color: #ffffff; }
.text-\[\#0f766e\] { color: #0f766e; }

.text-teal-100 { color: var(--color-teal-100); }
.text-teal-600 { color: var(--color-teal-600); }
.text-teal-600\/60 { color: rgba(15, 118, 110, 0.60); }
.text-teal-600\/70 { color: rgba(15, 118, 110, 0.70); }
.text-teal-700 { color: var(--color-teal-700); }
.text-teal-700\/70 { color: rgba(11, 79, 74, 0.70); }
.text-teal-800 { color: var(--color-teal-800); }
.text-teal-800\/70 { color: rgba(8, 61, 56, 0.70); }
.text-teal-800\/80 { color: rgba(8, 61, 56, 0.80); }
.text-teal-900 { color: var(--color-teal-900); }
.text-teal-900\/80 { color: rgba(5, 43, 39, 0.80); }
.text-teal-950 { color: var(--color-teal-950); }

.text-emerald-600 { color: var(--color-emerald-600); }
.text-emerald-700 { color: var(--color-emerald-700); }
.text-emerald-800 { color: var(--color-emerald-800); }

.text-amber-600 { color: var(--color-amber-600); }

.text-rose-500 { color: var(--color-rose-500); }
.text-rose-600 { color: var(--color-rose-600); }
.text-rose-700 { color: var(--color-rose-700); }
.text-rose-800 { color: var(--color-rose-800); }
.text-rose-900 { color: var(--color-rose-900); }

.text-blue-600 { color: var(--color-blue-600); }
.text-cyan-600 { color: var(--color-cyan-600); }
.text-purple-600 { color: var(--color-purple-600); }
.text-pink-600 { color: var(--color-pink-600); }

/* --------------------------------------------------------------------------
   Borders & Radii
   -------------------------------------------------------------------------- */
.border { border-width: 1px; border-style: solid; border-color: rgba(15, 118, 110, 0.18); }
.border-0 { border-width: 0px; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }

.border-transparent { border-color: transparent; }
.border-teal-100 { border-color: var(--color-teal-100); }
.border-teal-200 { border-color: var(--color-teal-200); }
.border-teal-200\/60 { border-color: rgba(174, 232, 220, 0.60); }
.border-teal-200\/80 { border-color: rgba(174, 232, 220, 0.80); }

.border-emerald-200 { border-color: var(--color-emerald-200); }
.border-emerald-300 { border-color: var(--color-emerald-300); }

.border-amber-200 { border-color: var(--color-amber-200); }
.border-rose-200 { border-color: var(--color-rose-200); }
.border-rose-300 { border-color: var(--color-rose-300); }
.border-slate-200 { border-color: var(--color-slate-200); }

.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: 0.25rem; }
.rounded { border-radius: 0.375rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* --------------------------------------------------------------------------
   Shadows, Filters & Opacity
   -------------------------------------------------------------------------- */
.shadow-2xs { box-shadow: 0 1px rgb(0 0 0 / 0.05); }
.shadow-xs { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-sm { box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }

.blur-md { filter: blur(12px); }
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.opacity-15 { opacity: 0.15; }

/* --------------------------------------------------------------------------
   Transitions & Animations
   -------------------------------------------------------------------------- */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

.scale-110 { transform: scale(1.1); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease-out forwards;
}

/* --------------------------------------------------------------------------
   Hover & Focus Pseudo States
   -------------------------------------------------------------------------- */
.hover\:bg-\[\#0b4f4a\]:hover { background-color: #0b4f4a; }
.hover\:bg-\[\#0f766e\]:hover { background-color: #0f766e; }
.hover\:bg-\[\#dce5f0\]:hover { background-color: #dce5f0; }
.hover\:bg-teal-50:hover { background-color: var(--color-teal-50); }
.hover\:bg-teal-100:hover { background-color: var(--color-teal-100); }
.hover\:bg-teal-100\/60:hover { background-color: rgba(215, 244, 238, 0.60); }
.hover\:bg-emerald-700:hover { background-color: var(--color-emerald-700); }
.hover\:bg-emerald-800:hover { background-color: var(--color-emerald-800); }
.hover\:bg-rose-200:hover { background-color: var(--color-rose-200); }
.hover\:bg-rose-700:hover { background-color: var(--color-rose-700); }

.hover\:text-white:hover { color: #ffffff; }
.hover\:text-\[\#0f766e\]:hover { color: #0f766e; }
.hover\:text-teal-900:hover { color: var(--color-teal-900); }
.hover\:text-teal-900\/80:hover { color: rgba(5, 43, 39, 0.80); }
.hover\:text-teal-950:hover { color: var(--color-teal-950); }
.hover\:text-rose-800:hover { color: var(--color-rose-800); }

.hover\:border-\[\#0f766e\]:hover { border-color: #0f766e; }
.hover\:border-emerald-700:hover { border-color: var(--color-emerald-700); }
.hover\:border-rose-700:hover { border-color: var(--color-rose-700); }
.hover\:border-stone-400:hover { border-color: var(--color-stone-400); }

.group\/cover:hover .group-hover\/cover\:scale-110,
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.focus\:ring-\[\#162e4a\]:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #162e4a;
}

/* --------------------------------------------------------------------------
   Special Utilities & Helpers
   -------------------------------------------------------------------------- */
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.pointer-events-none { pointer-events: none; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.appearance-none { appearance: none; -webkit-appearance: none; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
/* Small Screens (sm: >= 640px) */
@media (min-width: 640px) {
  .sm\:flex-1 { flex: 1 1 0%; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:self-auto { align-self: auto; }
  .sm\:w-auto { width: auto; }
  .sm\:max-w-xs { max-width: 20rem; }
  .sm\:max-w-md { max-width: 28rem; }
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
}

/* Medium Screens (md: >= 768px) */
@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
}

/* Large Screens (lg: >= 1024px) */
@media (min-width: 1024px) {
  .lg\:hidden { display: none !important; }
  .lg\:sticky { position: sticky; }
  .lg\:top-20 { top: 5rem; }
  .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; }
}
