/* ==========================================================================
   Kabaddi Adda — kabaddiadda.com
   Light theme derived from the brand mark: amber and orange raider, lime and
   green defender. Green carries interactive meaning (links, focus) because it
   is the only brand hue that clears 4.5:1 on white; orange and amber are used
   for emphasis, fills, and section identity where contrast is controlled.
   ========================================================================== */

/* --- tokens ------------------------------------------------------------- */
:root {
  --amber: #f5b301;
  --amber-soft: #fff5d6;
  --orange: #e87b0c;
  --orange-deep: #c25f06;
  --orange-soft: #fff0e0;
  --lime: #5fce2e;
  --green: #0e8a4a;
  --green-deep: #0b7a43;
  --green-dark: #07542e;
  --green-soft: #e6f5ec;

  --ink: #14171c;
  --ink-2: #39414d;
  --muted: #6b7480;
  --muted-2: #8b939e;
  --line: #e6e9e4;
  --line-soft: #f0f2ee;

  --bg: #ffffff;
  --bg-2: #f8f9f6;
  --bg-3: #f1f3ee;

  --link: var(--green-deep);
  --focus: var(--orange-deep);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 20, 0.06);
  --shadow: 0 4px 16px rgba(16, 24, 20, 0.08);
  --shadow-lg: 0 14px 40px rgba(16, 24, 20, 0.12);

  --wrap: 1200px;
  --measure: 720px;

  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Anton', 'Arial Narrow', Impact, var(--font-ui);
}

/* --- reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--orange-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--green-deep); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; color: #fff; }
.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- masthead ----------------------------------------------------------- */
.brandbar { height: 4px; background: linear-gradient(90deg, var(--amber), var(--orange) 38%, var(--lime) 68%, var(--green)); }

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead__in { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: 0 0 auto; }
.logo img { height: 40px; width: auto; }
.logo__text {
  font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .04em;
  text-transform: uppercase; line-height: 1; padding-top: 3px;
}
.logo:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--ink-2); font-size: .93rem; font-weight: 600; padding: 9px 13px;
  border-radius: 999px; white-space: nowrap; transition: background .15s, color .15s;
}
.nav a:hover { background: var(--bg-3); color: var(--ink); }
.nav a[aria-current='page'] { color: var(--green-deep); background: var(--green-soft); }

.searchbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); cursor: pointer; flex: 0 0 auto;
}
.searchbtn:hover { border-color: var(--green); color: var(--green-deep); }
.navtoggle { display: none; }

@media (max-width: 900px) {
  .masthead__in { height: 60px; gap: 12px; }
  .logo img { height: 34px; }
  .logo__text { font-size: 1.1rem; }
  .navtoggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
    background: #fff; color: var(--ink); cursor: pointer; margin-left: auto;
  }
  .nav {
    position: fixed; inset: 60px 0 auto 0; margin: 0; flex-direction: column;
    align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px; box-shadow: var(--shadow); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 12px; border-radius: 10px; font-size: 1rem; }
}

/* --- section identity --------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--bg-3); color: var(--ink-2);
}
.chip--kabaddi         { background: var(--green-soft);  color: #075c33; }
.chip--pkl-12          { background: var(--orange-soft); color: #9a4c05; }
.chip--news            { background: var(--amber-soft);  color: #8a6100; }
.chip--player-profiles { background: #e4f4f2;            color: #0d6a63; }
.chip--blogs           { background: #eef1f6;            color: #3f4c60; }

/* --- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: .95rem; padding: 11px 20px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .15s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green-deep); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-dark); color: #fff; }
.btn--flame { background: linear-gradient(135deg, var(--amber), var(--orange)); color: #3b1f00; }
.btn--flame:hover { color: #3b1f00; box-shadow: var(--shadow); }
.btn--ghost { border-color: var(--line); background: #fff; color: var(--ink-2); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-deep); }

/* --- layout ------------------------------------------------------------- */
main { display: block; min-height: 50vh; }
.section { padding: 44px 0; }
.section + .section { padding-top: 0; }
.section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}
.section__title {
  font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .02em;
  text-transform: uppercase; font-weight: 400; display: inline-flex; align-items: center; gap: 12px;
}
.section__title::before {
  content: ''; width: 6px; height: 24px; border-radius: 3px;
  background: linear-gradient(180deg, var(--amber), var(--orange));
}
.section__more { font-size: .88rem; font-weight: 700; white-space: nowrap; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--3, .grid--4 { grid-template-columns: 1fr; gap: 18px; } }

/* --- cards -------------------------------------------------------------- */
.card { display: flex; flex-direction: column; gap: 10px; }
.card__media {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); background: var(--bg-3); aspect-ratio: 16 / 9;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.045); }
.card__chip { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.94); }
.card__title {
  font-size: 1.02rem; line-height: 1.35; font-weight: 700; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card a.card__title:hover { color: var(--green-deep); }
.card__meta { font-size: .78rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.card__meta time { white-space: nowrap; }
.card--lead .card__media { aspect-ratio: 16 / 10; }
.card--lead .card__title { font-size: 1.9rem; line-height: 1.18; -webkit-line-clamp: 4; letter-spacing: -.02em; }
.card--lead .card__dek { color: var(--ink-2); font-size: 1.02rem; margin: 0; }
@media (max-width: 700px) { .card--lead .card__title { font-size: 1.4rem; } }

/* compact list row, used in rails and "latest" columns */
.row { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.row:last-child { border-bottom: 0; }
.row__media { border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-3); aspect-ratio: 4 / 3; }
.row__media img { width: 100%; height: 100%; object-fit: cover; }
.row__title { font-size: .93rem; line-height: 1.4; font-weight: 650; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.row a.row__title:hover { color: var(--green-deep); }
.row__meta { font-size: .74rem; color: var(--muted); margin-top: 5px; }

/* --- home hero ---------------------------------------------------------- */
.hero { padding: 32px 0 8px; }
.hero__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 32px; align-items: start; }
.hero__side { display: flex; flex-direction: column; }
.hero__under { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 24px; } }

.railhead {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 400;
  font-size: 1.05rem; letter-spacing: .06em; color: var(--ink);
  padding-bottom: 10px; border-bottom: 2px solid var(--orange);
}

/* --- article ------------------------------------------------------------ */
.article { padding: 28px 0 56px; }
.article__grid { display: grid; grid-template-columns: minmax(0, var(--measure)) 320px; gap: 48px; justify-content: center; }
@media (max-width: 1080px) { .article__grid { grid-template-columns: minmax(0, 1fr); max-width: var(--measure); margin-inline: auto; } .article__aside { display: none; } }

.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green-deep); }
.crumbs span[aria-hidden] { color: var(--muted-2); }

.article__title { font-size: 2.35rem; line-height: 1.15; letter-spacing: -.025em; margin: 8px 0 14px; }
@media (max-width: 700px) { .article__title { font-size: 1.7rem; } }
.article__dek { font-size: 1.12rem; color: var(--ink-2); line-height: 1.55; margin: 0 0 20px; }
.byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .87rem; color: var(--muted); padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.byline__author { color: var(--ink); font-weight: 700; }
.byline__dot { color: var(--muted-2); }
.byline__share { margin-left: auto; display: flex; gap: 8px; }
.share {
  width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2); background: #fff; cursor: pointer;
}
.share:hover { border-color: var(--green); color: var(--green-deep); }

.figure { margin: 0 0 26px; }
.figure img { width: 100%; border-radius: var(--radius); background: var(--bg-3); }
.figure figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }

/* article body — the only place long-form prose rules apply */
.prose { font-size: 1.07rem; line-height: 1.75; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; }
.prose h2 {
  font-size: 1.55rem; color: var(--ink); margin: 2.2em 0 .7em; letter-spacing: -.02em;
  padding-left: 14px; border-left: 5px solid var(--orange); line-height: 1.25;
}
.prose h3 { font-size: 1.22rem; color: var(--ink); margin: 1.9em 0 .6em; }
.prose h4 { font-size: 1.06rem; color: var(--ink); margin: 1.6em 0 .5em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: rgba(14, 138, 74, .38); }
.prose a:hover { text-decoration-color: var(--orange); }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--orange); font-weight: 700; }
.prose img { border-radius: var(--radius); margin: 1.6em 0; background: var(--bg-3); }
.prose figure { margin: 1.6em 0; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose blockquote {
  margin: 1.8em 0; padding: 18px 22px; background: var(--green-soft);
  border-left: 5px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink); font-size: 1.06rem;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose .tablewrap { overflow-x: auto; margin: 1.7em 0; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.prose table { border-collapse: collapse; width: 100%; font-size: .93rem; }
.prose th, .prose td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.prose thead th, .prose tr:first-child th {
  background: linear-gradient(180deg, #fffdf5, var(--amber-soft));
  color: #6d4c00; font-weight: 800; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase;
  position: sticky; top: 0;
}
.prose tbody tr:nth-child(even) td { background: var(--bg-2); }
.prose tbody tr:hover td { background: var(--green-soft); }
.prose tr:last-child td { border-bottom: 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); margin: 1.6em 0; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.tags__label { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); align-self: center; margin-right: 4px; }
.tag { font-size: .82rem; padding: 6px 13px; border-radius: 999px; background: var(--bg-3); color: var(--ink-2); font-weight: 600; }
.tag:hover { background: var(--orange-soft); color: var(--orange-deep); }

.article__aside { position: sticky; top: 92px; align-self: start; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 22px; background: var(--bg-2); }
.aside-card h2 { font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 120; background: linear-gradient(90deg, var(--amber), var(--orange)); transition: width .1s linear; }

/* --- archive ------------------------------------------------------------ */
.pagehead { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 40px 0 34px; }
.pagehead h1 { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; text-transform: uppercase; letter-spacing: .02em; }
.pagehead p { color: var(--muted); margin: 10px 0 0; max-width: 60ch; }
@media (max-width: 700px) { .pagehead h1 { font-size: 1.8rem; } }

.pager { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 44px 0 8px; }
.pager a, .pager span {
  min-width: 40px; height: 40px; padding: 0 13px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--ink-2); background: #fff;
}
.pager a:hover { border-color: var(--green); color: var(--green-deep); }
.pager [aria-current='page'] { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.pager .gap { border: 0; background: none; color: var(--muted-2); min-width: 24px; padding: 0; }

/* --- search ------------------------------------------------------------- */
.searchwrap { max-width: 760px; margin: 0 auto; }
.searchbox { display: flex; gap: 10px; margin-bottom: 8px; }
.searchbox input {
  flex: 1; font: inherit; padding: 14px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.searchbox input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.searchcount { color: var(--muted); font-size: .88rem; margin: 14px 0 4px; }
mark { background: var(--amber-soft); color: inherit; padding: 0 2px; border-radius: 3px; }

/* --- static page prose -------------------------------------------------- */
.page { padding: 40px 0 64px; }
.page__body { max-width: var(--measure); margin-inline: auto; }

/* --- footer ------------------------------------------------------------- */
.footer { background: #0d1512; color: #c8d2cc; margin-top: 60px; padding: 52px 0 26px; }
.footer a { color: #c8d2cc; }
.footer a:hover { color: var(--amber); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { height: 52px; width: auto; }
.footer__brand p { margin: 14px 0 0; font-size: .89rem; line-height: 1.65; color: #97a49c; max-width: 40ch; }
.footer h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer li a { font-size: .9rem; }
.footer__base {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .82rem; color: #8a968f;
}
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16);
  display: inline-flex; align-items: center; justify-content: center;
}
.social a:hover { border-color: var(--amber); background: rgba(245,179,1,.12); }

/* --- 404 ---------------------------------------------------------------- */
.notfound { text-align: center; padding: 90px 0 60px; max-width: 620px; margin-inline: auto; }
.notfound__code { font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--orange); letter-spacing: .04em; }
.notfound h1 { font-size: 1.7rem; margin: 12px 0 10px; }
.notfound p { color: var(--muted); }

/* --- print -------------------------------------------------------------- */
@media print {
  .masthead, .footer, .article__aside, .byline__share, .progress, .brandbar, .tags { display: none !important; }
  body { font-size: 12pt; }
  .article__grid { grid-template-columns: 1fr; }
  .prose a { text-decoration: none; color: #000; }
}
