/* ==========================================================================
   LIMERICK SPORT EAGLES — news styles
   Builds on eagles.css. Article layout + news index grid only.
   Blue lifts. Navy anchors. White breathes. No orange. Anywhere.
   ========================================================================== */

/* --------------------------------------------------------------------------
   NEWS INDEX — page intro band
   -------------------------------------------------------------------------- */
.news-hero {
  background: var(--navy-deep);
  color: var(--white);
  padding: 150px 0 60px;
  border-bottom: 4px solid var(--eagles-blue);
}
.news-hero .eyebrow { margin-bottom: 14px; }
.news-hero .t-display,
.news-hero .t-h1 { color: var(--white); }
.news-hero .news-hero-sub {
  margin-top: 20px;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--light-blue);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   NEWS INDEX — card grid (3-up, navy cards on white)
   -------------------------------------------------------------------------- */
.news-index { padding: 80px 0 100px; background: var(--white); }
.news-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-index-card {
  display: flex;
  flex-direction: column;
  background: var(--navy-deep);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.news-index-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(5, 13, 36, 0.45); }
.news-index-thumb {
  height: 210px;
  background-size: cover;
  background-position: center 25%;
  background-color: var(--navy-soft);
}
.news-index-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-index-body .t-label { color: var(--light-blue); display: block; margin-bottom: 12px; }
.news-index-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--white);
}
.news-index-body .excerpt {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--light-blue);
  font-weight: 400;
}
.news-index-body time {
  display: block;
  margin-top: auto;
  padding-top: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mid-blue);
}

/* Make the whole card a link without nested-anchor issues */
a.news-index-card { color: inherit; }
a.news-index-card:hover h2 { color: var(--light-blue); }

/* --------------------------------------------------------------------------
   ARTICLE PAGE
   -------------------------------------------------------------------------- */
.article-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center 22%;
  background-color: var(--navy-deep);
}
.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 26, 58, 0.25) 0%,
    rgba(10, 26, 58, 0.55) 50%,
    rgba(5, 13, 36, 0.96) 100%);
}
.article-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  padding: 200px 24px 56px;
  color: var(--white);
}
.article-category {
  display: inline-block;
  background: var(--eagles-blue);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 14px;
  margin-bottom: 20px;
}
.article-hero-inner h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: 0.005em;
  color: var(--white);
  max-width: 18ch;
}
.article-meta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--light-blue);
}
.article-meta .byline { color: var(--white); }
.article-meta .dot { color: var(--navy-soft); }

/* Article body */
.article-body { padding: 64px 0 40px; background: var(--white); }
.article-wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.article-lede {
  font-size: 22px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 30px;
}
.article-body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--navy-deep);
  margin-bottom: 24px;
}
.article-body p strong { color: var(--navy-deep); font-weight: 700; }
.article-body a { color: var(--eagles-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Pull-out score / stat box */
.article-scoreline {
  border-left: 4px solid var(--eagles-blue);
  background: var(--navy-deep);
  color: var(--white);
  padding: 24px 28px;
  margin: 34px 0;
}
.article-scoreline .t-label { color: var(--light-blue); display: block; margin-bottom: 10px; }
.article-scoreline .score {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.05;
  color: var(--white);
}
.article-scoreline .score-sub {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--light-blue);
}

/* --------------------------------------------------------------------------
   GAME REPORT — box score table + result chips
   -------------------------------------------------------------------------- */
.report-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}
.report-chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-deep);
  border: 1px solid var(--grey-line);
  padding: 7px 12px;
}
.report-chip--win { background: var(--eagles-blue); color: var(--white); border-color: var(--eagles-blue); }
.report-chip--loss { background: var(--navy-deep); color: var(--white); border-color: var(--navy-deep); }

.boxscore-wrap { margin: 38px 0; }
.boxscore-wrap h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--navy-deep);
  margin-bottom: 16px;
}
.boxscore { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.boxscore th {
  background: var(--eagles-blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 8px;
  text-align: center;
}
.boxscore th.bx-name { text-align: left; }
.boxscore td {
  padding: 10px 8px;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid var(--grey-line);
  color: var(--navy-deep);
}
.boxscore td.bx-name { text-align: left; font-weight: 600; white-space: nowrap; }
.boxscore tbody tr:nth-child(even) td { background: #F4F6FB; }
.boxscore tbody tr:first-child td { font-weight: 700; }
.boxscore .bx-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--grey-body);
  font-weight: 500;
}
@media (max-width: 560px) {
  .boxscore th.bx-hide, .boxscore td.bx-hide { display: none; }
  .boxscore th, .boxscore td { padding: 9px 5px; font-size: 13px; }
}

/* Report index: competition group headings on the news-index grid */
.report-group { padding: 56px 0 0; background: var(--white); }
.report-group:last-of-type { padding-bottom: 90px; }
.report-group .group-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--eagles-blue);
}
.report-group .group-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--navy-deep);
}
.report-group .group-head .group-count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-blue);
}

/* Source / attribution note */
.article-source {
  margin: 30px 0 0;
  padding: 16px 20px;
  border: 1px solid var(--grey-line);
  border-left: 4px solid var(--mid-blue);
  font-size: 13px;
  line-height: 1.6;
  color: var(--grey-body);
  font-weight: 500;
}
.article-source strong { color: var(--navy-deep); }

/* Footer of the article — back link + tags */
.article-foot {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 24px 0;
}
.back-to-news {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eagles-blue);
}
.back-to-news:hover { color: var(--mid-blue); }
.article-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.article-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-soft);
  border: 1px solid var(--grey-line);
  padding: 7px 12px;
}

/* "More news" strip at the bottom of an article */
.more-news { padding: 70px 0 90px; background: var(--night); }
.more-news .section-head { margin-bottom: 30px; }
.more-news .section-head .t-h2 { color: var(--white); }
.more-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.more-news-card {
  display: block;
  background: var(--navy-deep);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.more-news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(5, 13, 36, 0.5); }
.more-news-thumb {
  height: 150px;
  background-size: cover;
  background-position: center 22%;
  background-color: var(--navy-soft);
}
.more-news-body { padding: 18px; }
.more-news-body .t-label { color: var(--light-blue); display: block; margin-bottom: 8px; }
.more-news-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.12;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .news-index-grid { grid-template-columns: 1fr 1fr; }
  .more-news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .news-index-grid { grid-template-columns: 1fr; }
  .more-news-grid { grid-template-columns: 1fr; }
  .article-hero-inner { padding-top: 150px; }
  .article-lede { font-size: 19px; }
  .article-body p { font-size: 16px; }
}

/* Offset content below the fixed site header (inner pages have a solid header) */
body { padding-top: var(--header-h); }
