/* ═══════════════════════════════════════
   SL PATCH — закриває всі missing Tailwind класи
   Підключається через wp_enqueue_style після style.css
═══════════════════════════════════════ */

/* ── HERO GRADIENT ── */
.forest-gradient {
  background: linear-gradient(150deg, var(--hero-from) 0%, var(--hero-mid) 50%, var(--hero-to) 100%) !important;
}

/* ── GLASS CARD ── */
.glass-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ── SURFACES ── */
.bg-surface-container-lowest { background-color: var(--surface) !important; }
.bg-surface-container-low    { background-color: var(--bg2) !important; }
.bg-surface-container        { background-color: var(--bg2) !important; }

/* ── TEXT COLORS ── */
.text-on-surface         { color: var(--ink) !important; }
.text-on-surface-variant { color: var(--ink2) !important; }
.text-on-background      { color: var(--ink) !important; }
.text-primary-fixed      { color: var(--accent2) !important; }
.text-primary-fixed-dim  { color: var(--accent2) !important; }
.text-white              { color: #f0ede4 !important; }
.text-stone-300          { color: rgba(240,237,228,.7) !important; }
.text-stone-400          { color: rgba(240,237,228,.45) !important; }
.text-stone-500          { color: var(--ink3) !important; }
.text-primary            { color: var(--accent) !important; }

/* ── BACKGROUNDS ── */
.bg-background   { background-color: var(--bg) !important; }
.bg-primary      { background-color: var(--accent) !important; }
.bg-primary\/10  { background-color: var(--accent3) !important; }
.bg-primary-container { background-color: var(--accent) !important; }
.hover\:bg-primary-container:hover { background-color: var(--accent2) !important; }
.hover\:bg-primary:hover { background-color: var(--accent2) !important; }

/* ── BORDER ── */
.border-primary        { border-color: var(--accent) !important; }
.border-primary\/20    { border-color: rgba(107,140,82,.2) !important; }
.border-l-4            { border-left-width: 4px; border-left-style: solid; }

/* ── HEADER ── */
header.fixed {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(12,16,8,.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 60px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* ── CATBAR ── */
.catbar-fade {
  position: absolute;
  top: 60px; left: 0; right: 0;
  background: #0c1208;
  border-top: 1px solid rgba(255,255,255,.05);
  z-index: 199;
}
#catbar {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  height: 42px;
  align-items: center;
}
#catbar::-webkit-scrollbar { display: none; }

/* ── MOBILE DRAWER ── */
#mob-drawer {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
}
#mob-drawer.open { display: block; }
#mob-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}
#mob-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(320px, 85vw);
  background: #0e1a0c;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── BURGER LINES ── */
.bl {
  display: block;
  width: 18px; height: 1.5px;
  background: rgba(240,237,228,.75);
  border-radius: 2px;
}

/* ── HERO LAYOUT ── */
.hero-two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
@media (max-width: 1024px) {
  .hero-two-col { grid-template-columns: 1fr; }
  .hero-card { display: none !important; }
}

/* ── A-CARD (article card) ── */
.a-card {
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.a-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}

/* ── FONTS ── */
.font-serif { font-family: 'Fraunces', serif !important; }
.font-body  { font-family: 'DM Sans', sans-serif !important; }
.font-black { font-weight: 900 !important; }
.font-bold  { font-weight: 700 !important; }
.font-light { font-weight: 300 !important; }
.font-medium{ font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.italic     { font-style: italic !important; }

/* ── SPACING HELPERS ── */
.mt-\[102px\] { margin-top: 102px; }

/* ── LINE CLAMP ── */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── NO SCROLLBAR ── */
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ── GRID ── */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
@media (min-width: 640px) {
  .sm\:gap-6 { gap: 24px; }
}

/* ── ASPECT RATIO ── */
.aspect-video { aspect-ratio: 16/9; }

/* ── ROUNDED ── */
.rounded-xl { border-radius: 12px; }
.rounded-lg { border-radius: 8px; }
.rounded-full { border-radius: 9999px; }
.rounded-sm { border-radius: 4px; }

/* ── OVERFLOW ── */
.overflow-hidden { overflow: hidden; }

/* ── OBJECT FIT ── */
.object-cover { object-fit: cover; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* ── FLEX HELPERS ── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-8 { gap: 32px; }
.gap-12{ gap: 48px; }
.min-w-0 { min-width: 0; }

/* ── POSITIONING ── */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0  { inset: 0; }
.z-10 { z-index: 10; }
.top-3 { top: 12px; }
.left-3{ left: 12px; }
.ml-auto { margin-left: auto; }

/* ── PADDING / MARGIN ── */
.p-6  { padding: 24px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-8 { padding-left: 32px; padding-right: 32px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-12{ padding-top: 48px; padding-bottom: 48px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10{ margin-bottom: 40px; }
.mt-1 { margin-top: 4px; }
.mt-8 { margin-top: 32px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-\[1340px\] { max-width: 1340px; }
.max-w-\[85\%\]   { max-width: 85%; }

/* ── OPACITY ── */
.opacity-70 { opacity: .7; }
.opacity-90 { opacity: .9; }
.opacity-20 { opacity: .2; }
.pointer-events-none { pointer-events: none; }

/* ── TRANSITIONS ── */
.transition-all      { transition: all .3s; }
.transition-colors   { transition: color .2s, background-color .2s; }
.transition-transform{ transition: transform .3s; }
.hover\:-translate-y-\[3px\]:hover { transform: translateY(-3px); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:translate-x-1 { transform: translateX(4px); }
.group:hover .group-hover\:translate-x-2 { transform: translateX(8px); }

/* ── UPPERCASE / TRACKING ── */
.uppercase { text-transform: uppercase; }
.tracking-\[3px\]    { letter-spacing: 3px; }
.tracking-\[2px\]    { letter-spacing: 2px; }
.tracking-widest     { letter-spacing: .15em; }
.leading-tight       { line-height: 1.1; }
.leading-snug        { line-height: 1.3; }
.leading-relaxed     { line-height: 1.7; }

/* ── TEXT SIZES ── */
.text-\[10px\]  { font-size: 10px; }
.text-\[9px\]   { font-size: 9px; }
.text-\[11px\]  { font-size: 11px; }
.text-xs        { font-size: .75rem; }
.text-sm        { font-size: .875rem; }
.text-base      { font-size: 1rem; }
.text-lg        { font-size: 1.125rem; }
.text-xl        { font-size: 1.25rem; }
.text-2xl       { font-size: 1.5rem; }
.text-3xl       { font-size: 1.875rem; }

/* ── HIDDEN / BLOCK ── */
.hidden { display: none !important; }
.block  { display: block; }
.inline-block { display: inline-block; }
@media (min-width: 640px)  { .sm\:flex  { display: flex !important; } .sm\:hidden { display: none !important; } }
@media (min-width: 1280px) { .xl\:flex  { display: flex !important; } .xl\:hidden { display: none !important; } }
@media (min-width: 1024px) { .lg\:flex  { display: flex !important; } .lg\:hidden { display: none !important; } }
.lg\:w-\[60\%\] { width: 60%; }
.lg\:w-\[40\%\] { width: 40%; }

/* ── NO UNDERLINE ── */
.no-underline { text-decoration: none !important; }

/* ── SIDEBAR push down for fixed header+catbar ── */
.main-wrap { padding-top: 0; }
