
:root {
  --color-news-red: #c70000;
  --color-feature-red: #880105;
  --color-inverted-red: #ff4e36;
  --color-live-pink: #ffbac8;
  --color-live-red: #ad0006;
  --color-opinion-orange: #e05e00;
  --color-feature-orange: #bd5318;
  --color-inverted-orange: #ff7f0f;
  --color-background-orange: #fef9f5;
  --color-sport-blue: #0084c6;
  --color-feature-blue: #005689;
  --color-inverted-blue: #00b2ff;
  --color-live-blue: #90dcff;
  --color-culture-gold: #a1845c;
  --color-feature-gold: #6b5840;
  --color-inverted-gold: #eacca0;
  --color-live-gold: #e7d4b9;
  --color-lifestyle-pink: #bb3b80;
  --color-feature-pink: #7d0068;
  --color-inverted-pink: #ffabdb;
  --color-live-pink: #ffbac8;
  --color-gray-7: #121212;
  --color-gray-20: #333333;
  --color-gray-46: #767676;
  --color-gray-60: #999999;
  --color-gray-86: #dcdcdc;
  --color-gray-92: #eaeaea;
  --color-gray-96: #f6f6f6;
  --color-gray-100: #ffffff;

  --font-family-sans: "Guardian Text Sans Web", Helvetica, Arial, sans-serif;
  --font-family-serif: GuardianTextEgyptian, Guardian Text Egyptian Web, Georgia,serif;
  --font-family-headline: GH Guardian Headline, Guardian Egyptian Web, Georgia,serif;
  --font-size-13: 0.8125rem; /* 13px */
  --font-size-14: 0.875rem; /* 14px */
  --font-size-15: 0.9375em; /* 15px */
  --font-size-16: 1rem; /* 16px */
  --font-size-17: 1.0625rem; /* 17px */
  --font-size-18: 1.125rem; /* 18px */
  --font-size-20: 1.25rem; /* 20px */
  --font-size-32: 2rem; /* 32px */
}

/********************************************************
Base styles and typography
********************************************************/
html,
body {
  color: var(--color-gray-7);
  background-color: var(--color-gray-100);
  font-feature-settings: 'kern';
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  font-size: var(--font-size-16);
  font-family: var(--font-family-serif);
  margin: 0;
  padding: 0;
  height: auto;
  width: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.body-with-rules {
  padding: 10px 0;
  border-top: 1px solid var(--color-gray-86);
  border-bottom: 1px solid var(--color-gray-86);
}

.headline {
  font-family: var(--font-family-headline);
  font-size: var(--font-size-20);
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 10px;
}

@media(max-width: 500px) {
  .headline {
    font-size: var(--font-size-18);
  }
}

.standfirst {
  font-size: var(--font-size-14);
  line-height: 1.35;
  margin-bottom: 10px;
}

.subhead {
  font-size: var(--font-size-14);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 8px;
}

.source {
  color: var(--color-gray-46);
  font-size: var(--font-size-13);
  font-family: var(--font-family-sans);
  line-height: 1.2;
  padding-top: 10px;
}

/********************************************************
Project specific styles
********************************************************/
table {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 10px;
}

thead {
  font-size: 14px;
  font-weight: bold;
}

thead tr {
  border-color: var(--color-gray-20);
}

tr {
  align-items: flex-start;
  border-bottom: 1px solid var(--color-gray-92);
  display: flex;
  padding: 5px 0;
}

tbody tr:last-of-type {
  border-bottom: none;
}

tr td:nth-child(1),
tr th:nth-child(1) {
  color: var(--color-gray-46);
  font-size: 14px;
  width: 30px;
}

tr td:nth-child(2),
tr th:nth-child(2) {
  width: calc(57% - 30px);
}

tr td:nth-child(3),
tr th:nth-child(3) {
  color: var(--color-gray-46);
  font-size: 14px;
  width: 30%;
}

tr th:nth-child(1),
tr th:nth-child(3) {
  color: var(--color-gray-20);
}

tr td:nth-child(4),
tr th:nth-child(4) {
  width: 12%;
}

.player {
  display: block;
}

.comma {
  display: none;
}

.team {
  color: var(--color-gray-46);
  font-size: 14px;
}

tr.highlight {
  background-color: #e8f1f5;
  font-weight: bold;
}

tr.highlight .player,
tr.highlight .team,
tr.highlight td:nth-child(3) {
  font-weight: bold;
  color: var(--color-gray-20);
}

@media(min-width: 600px) {
 tr {
  padding: 8px 0;
 }

 .player {
  display: inline;
 }

 .comma {
  display: inline;
 }
}