/* =========================================================
   CUTS / STANDARDS PAGE (post-986 / page-id-986)
   Modern, sporty, mobile-safe
   ========================================================= */

.page-id-986{
  --tw-green:#004225;
  --tw-green2:#16b56b;
  --tw-ink:#0b1220;
  --tw-border:rgba(11,18,32,0.10);
  --tw-shadow:0 18px 55px rgba(0,0,0,0.10);
}

/* Page typography */
.page-id-986 .entry-content{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.page-id-986 .entry-content p{
  color:rgba(11,18,32,0.86);
  line-height:1.75;
}

/* ---------- WRAPS (your inline overflow divs) ---------- */
.page-id-986 .entry-content > div[style*="overflow-x:auto"],
.page-id-986 .entry-content > div[style*="overflow:auto"]{
  margin-top:18px !important;
  border-radius:18px;
  overflow:auto;
  border:1px solid var(--tw-border);
  background:rgba(255,255,255,0.75);
  backdrop-filter:blur(6px);
  box-shadow:var(--tw-shadow);
}

/* Nicer scrollbars (WebKit) */
.page-id-986 .entry-content > div[style*="overflow"]::-webkit-scrollbar{ height:10px; width:10px; }
.page-id-986 .entry-content > div[style*="overflow"]::-webkit-scrollbar-thumb{
  background:rgba(11,18,32,0.20); border-radius:999px;
}
.page-id-986 .entry-content > div[style*="overflow"]::-webkit-scrollbar-track{
  background:rgba(11,18,32,0.06); border-radius:999px;
}

/* ---------- TABLES (override inline) ---------- */
.page-id-986 table{
  border-collapse:separate !important;
  border-spacing:0 !important;
  box-shadow:none !important;
  font-family:inherit !important;
}

/* Group Standards table (no class) */
.page-id-986 table[style*="Twisters Group Standards"],
.page-id-986 table[style*="min-width:600px"]{
  width:100% !important;
  min-width:640px; /* keep mobile scroll */
  border:0 !important;
}

/* Cuts table */
.page-id-986 table.cuts-table{
  width:100% !important;
  min-width:1100px; /* wide table: keep scroll */
  border:0 !important;
}

/* Captions */
.page-id-986 table caption{
  font-weight:950 !important;
  letter-spacing:-0.01em;
  padding:16px 10px !important;
  color:var(--tw-ink);
}

/* THEAD styling (force modern gradient) */
.page-id-986 table thead{
  position:sticky;
  top:0;
  z-index:4;
}
.page-id-986 table thead tr,
.page-id-986 table thead{
  background:linear-gradient(135deg, rgba(0,66,37,0.98), rgba(0,66,37,0.86)) !important;
  color:#fff !important;
}

/* Header cells */
.page-id-986 table th{
  padding:12px 10px !important;
  font-weight:900 !important;
  letter-spacing:0.05em;
  text-transform:uppercase;
  border-bottom:1px solid rgba(255,255,255,0.18) !important;
  white-space:nowrap;
}

/* Body cells */
.page-id-986 table td{
  padding:12px 10px !important;
  border-bottom:1px solid rgba(11,18,32,0.06) !important;
  color:rgba(11,18,32,0.88) !important;
  background:transparent !important;
}

/* Zebra rows (override inline row backgrounds) */
.page-id-986 table tbody tr:nth-child(even) td{
  background:rgba(11,18,32,0.03) !important;
}

/* Row hover */
.page-id-986 table tbody tr:hover td{
  background:rgba(22,181,107,0.10) !important;
}

/* Group column emphasis in the standards table */
.page-id-986 table td:first-child{
  font-weight:950 !important;
  color:var(--tw-green) !important;
  letter-spacing:0.02em;
  text-transform:uppercase;
}

/* Make the "Event" column readable in cuts table */
.page-id-986 table.cuts-table td:first-child{
  text-align:left !important;
  font-weight:900 !important;
  white-space:nowrap;
}

/* ---------- Buttons (Edit Standards / Edit Cuts) ---------- */
.page-id-986 a[href*="edit-standards"],
.page-id-986 a[href*="edit-cuts"]{
  display:inline-flex !important;
  align-items:center;
  gap:10px;
  background:linear-gradient(135deg, rgba(0,66,37,1), rgba(22,181,107,0.95)) !important;
  color:#fff !important;
  border-radius:999px !important;
  padding:12px 16px !important;
  font-weight:950 !important;
  letter-spacing:0.03em;
  text-transform:uppercase;
  text-decoration:none !important;
  box-shadow:0 14px 40px rgba(0,0,0,0.14);
  border:1px solid rgba(0,0,0,0.08);
  transition:transform .16s ease, filter .16s ease;
}

.page-id-986 a[href*="edit-standards"]:hover,
.page-id-986 a[href*="edit-cuts"]:hover{
  transform:translateY(-2px);
  filter:brightness(1.03);
}

/* Emoji/icon sizing inside buttons */
.page-id-986 a[href*="edit-standards"] img.emoji,
.page-id-986 a[href*="edit-cuts"] img.emoji{
  width:18px;
  height:18px;
}

/* Tip text */
.page-id-986 p[style*="Tip:"]{
  margin:10px 0 0 !important;
  font-size:12px !important;
  color:rgba(11,18,32,0.70) !important;
}

/* Mobile tweaks */
@media (max-width: 782px){
  .page-id-986 table{ font-size:13px !important; }
  .page-id-986 table.cuts-table{ min-width:980px; }
  .page-id-986 table[style*="min-width:600px"]{ min-width:620px; }
}