:root {
  --primaer: #118d3f;   /* klubbens grønne */
  --bla: #004f9e;       /* sekundær / nav / header */
  --bla-mork: #003c78;
  --gull: #daa349;      /* lenker / aksent */
  --tekst: #101828;
  --bakgrunn: #e2e9f3;  /* lys blågrå sidebakgrunn */
}
* { box-sizing: border-box; }
body {
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0 0 3rem;
  background: var(--bakgrunn);
  color: var(--tekst);
}
header.hero {
  background: var(--bla);
  color: #fff;
  padding: 1.75rem 1rem;
  border-bottom: 4px solid var(--gull);
}
.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
}
.hero-tittel { display: flex; align-items: center; gap: 1rem; }
.hero-tittel img { height: 64px; width: auto; flex: none; }
.hero h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
  letter-spacing: .01em;
}
.hero .klubb {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gull);
  margin: 0 0 .15rem;
}
.wrap { max-width: 860px; margin: 0 auto; padding: 0 1rem; }
.sub { color: #5a6672; margin: 1.25rem 0 1.25rem; font-size: .9rem; font-weight: 500; }
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,60,120,.14);
}
th, td { padding: .8rem 1rem; text-align: left; }
thead th {
  background: var(--bla);
  color: #fff;
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
tbody tr { border-top: 1px solid #e1e8f2; }
tbody tr:nth-child(even) { background: #f4f7fb; }
.dag { text-transform: capitalize; font-weight: 600; color: var(--primaer); }
.tid { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.turnering { color: #5a6672; font-size: .9rem; }
.kampnr { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .9rem; }
.kamp .vs { color: #9aa5b1; margin: 0 .15rem; }
td.kamp a, td.kamp span { font-weight: 600; }
tbody a { color: var(--bla); text-decoration: none; }
tbody a:hover { text-decoration: underline; }
tbody span { color: inherit; }
.tom {
  background: #fff;
  padding: 2.5rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  color: #5a6672;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(0,60,120,.14);
}
.grasrot {
  background: var(--primaer);
  color: #fff;
  border-radius: 10px;
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  max-width: 340px;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
}
.grasrot-logo { height: 30px; width: auto; flex: none; }
.grasrot-tekst {
  flex: 1;
  margin: 0;
  font-size: .78rem;
  line-height: 1.35;
}
.grasrot strong { font-weight: 700; }
.grasrot-knapp {
  flex: none;
  background: #fff;
  color: var(--primaer) !important;
  font-weight: 700;
  font-size: .8rem;
  text-decoration: none;
  padding: .5rem .85rem;
  border-radius: 8px;
  white-space: nowrap;
}
.grasrot-knapp:hover { background: #eafaf0; }
.sponsorer { margin-top: 2.5rem; }
.sponsorer h2 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #5a6672;
  text-align: center;
  margin: 0 0 1rem;
}
.sponsor-logoer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.sponsor {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: 0 1px 4px rgba(0,60,120,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  flex: 0 1 200px;
}
.sponsor img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
}
footer {
  margin-top: 1.5rem;
  font-size: .8rem;
  color: #8a939c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #8a939c !important;
  text-decoration: none;
}
.footer-credit img { height: 20px; width: auto; display: block; }
.footer-credit:hover { color: #5a6672 !important; }
a { color: var(--bla); }
