/*
Theme Name: NettSport International Pulse
Theme URI: https://nettsport.com/
Author: NettSport Editorial & Design
Author URI: https://nettsport.com/
Description: Tema WordPress Ultra-Fast Core Web Vitals (PageSpeed 95-100) untuk NettSport — Tanpa Render-Blocking Tailwind JS CDN, Precompiled Static CSS (~9KB), LCP FetchPriority High, Zero CLS, Custom Logo, Adaptive Menu Toggle, dan Match Center (Football, MLB, NFL) dalam US Time.
Version: 2.9.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nettsport-intl
Tags: news, blog, sports, custom-logo, custom-menu, featured-images, full-width-template
*/

:root {
  --brand-primary: #e11d48;
  --brand-primary-hover: #be123c;
  --brand-primary-soft: rgba(225, 29, 72, 0.12);
}

/* 1. Modern CSS Reset & Base Typography (Replaces 350KB Tailwind CDN JS!) */
*, *::before, *::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e2e8f0; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-family: 'Inter', system-ui, -apple-system, sans-serif; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, sans-serif; background-color: #f8fafc; color: #0f172a; -webkit-font-smoothing: antialiased; transition: background-color 0.2s, color 0.2s; }
html.dark body { background-color: #020617; color: #f1f5f9; }
html.dark *, html.dark *::before, html.dark *::after { border-color: #1e293b; }
h1, h2, h3, h4, .font-display { font-family: 'Oswald', 'Inter', sans-serif; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; background: transparent; margin: 0; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

/* 2. Brand & Theme Colors */
.bg-brand { background-color: var(--brand-primary) !important; }
.bg-brand:hover { background-color: var(--brand-primary-hover) !important; }
.bg-brand-soft { background-color: var(--brand-primary-soft) !important; }
.text-brand { color: var(--brand-primary) !important; }
.border-brand { border-color: var(--brand-primary) !important; }
.hover\:border-brand:hover { border-color: var(--brand-primary) !important; }
.group:hover .group-hover\:text-brand { color: var(--brand-primary) !important; }
.hover\:underline:hover { text-decoration: underline; }

/* 3. Precompiled Utility Classes (Zero JS Runtime Overhead) */
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.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-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.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; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.p-1 { padding: 0.25rem; }
.p-1\.5 { padding: 0.375rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.pr-2 { padding-right: 0.5rem; }
.pl-2 { padding-left: 0.5rem; }
.pl-8 { padding-left: 2rem; }
.pl-9 { padding-left: 2.25rem; }
.pr-3 { padding-right: 0.75rem; }
.pb-2\.5 { padding-bottom: 0.625rem; }
.pb-4 { padding-bottom: 1rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-6 { padding-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.ml-1 { margin-left: 0.25rem; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.hidden { display: none; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }

.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)); }
.col-span-full { grid-column: 1 / -1; }

.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-8 { gap: 2rem; }

.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.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-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; }
.space-y-10 > :not([hidden]) ~ :not([hidden]) { margin-top: 2.5rem; }
.divide-y > :not([hidden]) ~ :not([hidden]) { border-top-width: 1px; }

.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-2\.5 { width: 0.625rem; }
.h-2\.5 { height: 0.625rem; }
.w-3 { width: 0.75rem; }
.w-3\.5 { width: 0.875rem; }
.h-3\.5 { height: 0.875rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.w-9 { width: 2.25rem; }
.h-9 { height: 2.25rem; }
.h-16 { height: 4rem; }
.h-48 { height: 12rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }

.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-3 { top: 0.75rem; }
.left-3 { left: 0.75rem; }
.top-1\/2 { top: 50%; }
.-translate-y-1\/2 { transform: translateY(-50%); }
.z-30 { z-index: 30; }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.object-cover { object-fit: cover; }

.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-b-2 { border-bottom-width: 2px; }
.border-t { border-top-width: 1px; }
.border-r { border-right-width: 1px; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-700 { border-color: #334155; }
.border-slate-800 { border-color: #1e293b; }
.border-slate-900 { border-color: #0f172a; }
html.dark .dark\:border-slate-700 { border-color: #334155; }
html.dark .dark\:border-slate-800 { border-color: #1e293b; }
html.dark .dark\:border-white { border-color: #ffffff; }

.bg-white { background-color: #ffffff; }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-slate-200\/80 { background-color: rgba(226, 232, 240, 0.8); }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-800\/90 { background-color: rgba(30, 41, 59, 0.9); }
.bg-slate-900 { background-color: #0f172a; }
.bg-rose-500 { background-color: #f43f5e; }
.bg-rose-600 { background-color: #e11d48; }
html.dark .dark\:bg-slate-800 { background-color: #1e293b; }
html.dark .dark\:bg-slate-800\/60 { background-color: rgba(30, 41, 59, 0.6); }
html.dark .dark\:bg-slate-800\/80 { background-color: rgba(30, 41, 59, 0.8); }
html.dark .dark\:bg-slate-900 { background-color: #0f172a; }
html.dark .dark\:bg-slate-900\/95 { background-color: rgba(15, 23, 42, 0.95); }
html.dark .dark\:bg-slate-700 { background-color: #334155; }
html.dark .dark\:bg-white { background-color: #ffffff; }

.text-white { color: #ffffff; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-rose-400 { color: #fb7185; }
.text-amber-400 { color: #fbbf24; }
html.dark .dark\:text-white { color: #ffffff; }
html.dark .dark\:text-slate-100 { color: #f1f5f9; }
html.dark .dark\:text-slate-200 { color: #e2e8f0; }
html.dark .dark\:text-slate-300 { color: #cbd5e1; }
html.dark .dark\:text-slate-400 { color: #94a3b8; }
html.dark .dark\:text-slate-900 { color: #0f172a; }
html.dark .dark\:block { display: block; }
html.dark .dark\:hidden { display: none; }

.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; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.uppercase { text-transform: uppercase; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.rounded-xs { border-radius: 0.125rem; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

.shadow-xs, .shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.transition { transition: all 0.15s ease-in-out; }
.transition-transform { transition: transform 0.3s ease; }

/* Zero-CLS Reserve Heights */
#scoreTickerContainer { min-height: 32px; }
#matchCenterHubGrid { min-height: 190px; }

/* Responsive Breakpoints */
@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
  .sm\:p-5 { padding: 1.25rem; }
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:gap-3 { gap: 0.75rem; }
  .sm\:gap-2 { gap: 0.5rem; }
  .sm\:w-10 { width: 2.5rem; }
  .sm\:h-10 { height: 2.5rem; }
  .sm\:inline-block { display: inline-block; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:text-xs { font-size: 0.75rem; }
  .sm\:text-sm { font-size: 0.875rem; }
  .sm\:text-base { font-size: 1rem; }
  .sm\:text-lg { font-size: 1.125rem; }
  .sm\:text-2xl { font-size: 1.5rem; }
  .sm\:text-3xl { font-size: 1.875rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
}

@media (min-width: 768px) {
  .md\:hidden { display: none !important; }
  .md\:block { display: block !important; }
  .md\:flex { display: flex !important; }
  .md\:w-52 { width: 13rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:rounded-xl { border-radius: 0.75rem !important; }
  .md\:rounded-full { border-radius: 9999px !important; }
}

@media (min-width: 1024px) {
  .lg\:w-64 { width: 16rem; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-center { align-items: center; }
  .lg\:justify-between { justify-content: space-between; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:sticky { position: sticky; }
  .lg\:top-24 { top: 6rem; }
}

/* Mobile Adaptive Subtle Curve (< 768px) */
@media (max-width: 767px) {
  .rounded-full { border-radius: 0.45rem !important; }
  .rounded-3xl { border-radius: 0.75rem !important; }
  .rounded-2xl { border-radius: 0.625rem !important; }
  .rounded-xl { border-radius: 0.45rem !important; }
}

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

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}
.live-dot { animation: pulse-dot 1.6s infinite ease-in-out; }
.card-zoom:hover .card-img { transform: scale(1.04); }

/* Custom Logo Styling */
.custom-logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.custom-logo { max-height: 42px; width: auto; height: auto; object-fit: contain; }

/* WordPress Core Content Alignment & Outbound Links */
.entry-content p { margin-bottom: 1.25rem; line-height: 1.75; }
.entry-content h2, .entry-content h3 { margin-top: 1.75rem; margin-bottom: 0.75rem; font-weight: 700; }
.entry-content img { max-width: 100%; height: auto; border-radius: 0.75rem; }

.entry-content a,
.entry-excerpt a,
.comment-content a {
  color: var(--brand-primary) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  z-index: 10;
  pointer-events: auto !important;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.entry-content a:hover,
.entry-excerpt a:hover {
  color: var(--brand-primary-hover) !important;
  background-color: var(--brand-primary-soft);
  border-radius: 0.25rem;
}

.entry-content ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content ol { list-style-type: decimal; padding-left: 1.5rem; margin-bottom: 1.25rem; }

/* Social Media Share Bar Styling (Zero External JS Bloat, High Contrast Brand Colors) */
.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 0.375rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
  cursor: pointer;
}
@media (min-width: 768px) {
  .share-btn {
    border-radius: 9999px;
  }
}
.share-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.share-btn svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: currentColor;
  flex-shrink: 0;
}
.share-x { background-color: #0f172a; }
html.dark .share-x { background-color: #334155; }
.share-fb { background-color: #1877f2; }
.share-wa { background-color: #16a34a; }
.share-reddit { background-color: #ea580c; }
.share-tg { background-color: #0284c7; }
.share-copy {
  background-color: #e2e8f0;
  color: #0f172a !important;
}
html.dark .share-copy {
  background-color: #1e293b;
  color: #f1f5f9 !important;
}
.card-share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  background-color: #f1f5f9;
  color: #475569;
  transition: background-color 0.15s ease, color 0.15s ease;
}
html.dark .card-share-icon {
  background-color: #1e293b;
  color: #94a3b8;
}
.card-share-icon:hover {
  background-color: var(--brand-primary);
  color: #ffffff;
}
@media (min-width: 768px) {
  .card-share-icon {
    border-radius: 9999px;
  }
}
