/* IPL 2026 article — editorial / stadium-inspired palette */

:root {
  --bg-deep: #0b1220;
  --bg-section: #f4f6fb;
  --bg-white: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --accent: #ea580c;
  --accent-hover: #c2410c;
  --accent-soft: rgba(234, 88, 12, 0.12);
  --gold: #ca8a04;
  --gold-soft: rgba(202, 138, 4, 0.15);
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --container: min(92vw, 880px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-section);
  -webkit-font-smoothing: antialiased;
}

.article-page {
  padding-bottom: 4rem;
}

/* Hero */
.article-hero {
  position: relative;
  padding: clamp(3rem, 10vw, 5.5rem) 1.5rem clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  color: #f8fafc;
  background: var(--bg-deep);
  overflow: hidden;
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(234, 88, 12, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(202, 138, 4, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 50% at 0% 80%, rgba(20, 184, 166, 0.08), transparent 45%),
    linear-gradient(165deg, #0b1220 0%, #111b2e 50%, #0f172a 100%);
  pointer-events: none;
}

.article-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--gold), transparent);
  opacity: 0.9;
}

.article-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
}

.article-hero .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.7);
  margin-bottom: 1rem;
}

.article-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Sections */
.article-section {
  padding: clamp(2.25rem, 5vw, 3.25rem) 1.5rem;
}

.article-section:nth-of-type(even) {
  background: var(--bg-white);
  box-shadow: var(--shadow);
}

.article-section:nth-of-type(odd):not(:first-of-type) {
  background: var(--bg-section);
}

.article-section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.article-section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 600;
  color: var(--bg-deep);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.article-section h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.article-section h3:first-child {
  margin-top: 0;
}

.article-section p {
  margin: 0 0 1rem;
  color: var(--text);
}

.article-section p:last-child {
  margin-bottom: 0;
}

.article-section ul {
  margin: 0 0 1rem;
  padding-left: 0;
  list-style: none;
}

.article-section li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.article-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
}

.article-section a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--accent-soft);
  transition: color 0.2s, border-color 0.2s;
}

.article-section a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

/* Table */
.table-wrap {
  margin-top: 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: var(--bg-white);
}

.article-table thead {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #152238 100%);
  color: #f1f5f9;
}

.article-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-table td {
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--border);
  vertical-align: top;
}

.article-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.article-table tbody tr:hover {
  background: var(--gold-soft);
}

@media (max-width: 640px) {
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .article-table {
    min-width: 520px;
  }
}

/* FAQ */
.faq-block {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  padding: 1rem 1.15rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg-deep);
}

.faq-item p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Pros / cons subtle columns on wide screens */
.pros-cons {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .pros-cons {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.pros-cons h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0;
}

.pros-cons .pros h3::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.75rem;
  background: rgba(20, 184, 166, 0.2);
  color: #0d9488;
  border-radius: 50%;
}

.pros-cons .cons h3::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(234, 88, 12, 0.15);
  color: var(--accent);
  border-radius: 50%;
}

/* Footer note */
.article-footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
