/* ========== GLOBAL ========== */

body {
  background: #f8f9fa;
  color: #111827;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

main {
  min-height: 70vh;
}

/* Navbar */

.navbar {
  border-bottom: 1px solid #e5e7eb;
}

.navbar-brand {
  letter-spacing: 0.04em;
}

/* HERO */

.sporter-hero {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #fef2f2 45%,
    #ffffff 100%
  );
  border-bottom: 1px solid #e5e7eb;
}

.sporter-hero-illustration {
  max-width: 320px;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

/* FEATURE CARDS */

.sporter-feature-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb !important;
  transition: 0.2s ease;
}

.sporter-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

/* SPORTS CARDS */

.sporter-sport-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  transition: 0.18s ease;
}

.sporter-sport-card:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}

/* Utility */

.hover-up:hover {
  transform: translateY(-3px);
}

.bg-danger-subtle {
  background-color: #fee2e2 !important;
}

.bg-secondary-subtle {
  background-color: #e5e7eb !important;
}

/* Banner utama ala DBL */
.sporter-main-banner {
  background: linear-gradient(135deg, #dc2626 0%, #1d4ed8 60%, #0f172a 100%);
  color: #f9fafb;
}

.banner-text-wrapper {
  min-height: 260px;
}

.banner-image-placeholder {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(248, 250, 252, 0.25);
  color: #e5e7eb;
}

/* Kartu event */
.sporter-event-card {
  border-radius: 1rem;
  background: #ffffff;
  transition: 0.18s ease;
}

.sporter-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}
.sporter-event-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  transition: 0.18s ease;
}

.sporter-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}
/* ===== NEWS HERO SECTION (ala DBL) ===== */

.news-hero-section {
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}

/* Main article left */
.news-main-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #111827;
  color: #f9fafb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.news-main-image-wrapper {
  max-height: 260px;
  overflow: hidden;
}

.news-main-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.news-main-content {
  padding: 1.25rem 1.5rem 1.5rem;
}

.news-main-title {
  font-size: 1.4rem;
  line-height: 1.3;
}

.news-main-excerpt {
  font-size: 0.95rem;
  color: #e5e7eb;
  opacity: 0.9;
}

/* Right big card */
.news-side-top-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.3);
}

.news-side-top-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.news-side-top-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1.25rem;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.1)
  );
  color: #f9fafb;
}

/* Right small cards */
.news-side-mini-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #111827;
}

.news-side-mini-image {
  width: 100%;
  height: 95px;
  object-fit: cover;
}

.news-side-mini-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0.4rem 0.5rem;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.95),
    rgba(15, 23, 42, 0.1)
  );
  color: #f9fafb;
}
/* ADMIN DASHBOARD */
.admin-stat-card {
  border-radius: 1rem;
  background: #ffffff;
}

.admin-stat-card .card-body {
  padding: 1rem 1.25rem;
}
