/* ============================================================
   MOCKUP — "Søkort & havneskilt"
   Fælles stylesheet for designmockups:
   forside-redesign.html, rekorder-redesign.html, referat-redesign.html
   Dyb nordsø-navy, sand/skum-baggrund og signalrød fra klubbens
   eget logo. Skiltetypografi til overskrifter, rolig brødtekst.
   ============================================================ */
:root {
  --navy-900: #0a1f33;
  --navy-800: #0e2a44;
  --navy-700: #14385a;
  --navy-100: #d8e3ee;
  --foam: #f5f2ea;        /* sand/skum-baggrund */
  --paper: #fffdf8;
  --ink: #15212e;
  --muted: #5d6b7a;
  --signal: #d23b2e;      /* rød fra MÅLEREN-logoet */
  --signal-dark: #b02a1f;
  --line: #dcd6c8;
  --gold: #c8a24b;
  --radius: 10px;
  --font-display: "Big Shoulders", "Arial Narrow", sans-serif;
  --font-body: "Libre Franklin", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font: 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy-700); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---- Mockup-banner (kun til intern visning) ---- */
.mockup-note {
  background: var(--gold);
  color: #2c2103;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 6px 16px;
}
.mockup-note a { color: inherit; }

/* ============ TOPBAR ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  color: #fff;
  border-bottom: 3px solid var(--signal);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 74px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}
.brand__logo {
  display: inline-flex;
  background: #fff;
  border-radius: 8px;
  padding: 5px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.brand__logo img { display: block; height: 42px; width: auto; }
.brand__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 6px;
}
.nav a:hover { background: rgba(255,255,255,0.10); color: #fff; }
.nav a[aria-current="page"] {
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--signal);
  border-radius: 6px 6px 0 0;
}
.nav a.nav__login {
  border: 1px solid rgba(255,255,255,0.35);
  margin-left: 10px;
}
.nav a.nav__login:hover { border-color: #fff; }

/* ============ KNAPPER ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.btn--primary { background: var(--signal); color: #fff; }
.btn--primary:hover { background: var(--signal-dark); color: #fff; }
.btn--ghost {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
}
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--outline {
  border: 1.5px solid var(--navy-700);
  color: var(--navy-700);
}
.btn--outline:hover { background: var(--navy-700); color: #fff; }

/* ============ HERO (forside) ============ */
.hero {
  position: relative;
  background: var(--navy-800);
  color: #fff;
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  background: url("../../yellow-reef.png") center 38% / cover no-repeat;
  opacity: 0.55;
  filter: saturate(0.9);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10,31,51,0.95) 0%, rgba(10,31,51,0.70) 46%, rgba(10,31,51,0.12) 100%);
}
.chart-lines {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: 84px 0 150px;
  max-width: 620px;
}
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 76px);
  color: #fff;
}
.hero h1 .accent { color: var(--signal); }
.hero__lead {
  margin: 22px 0 30px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 52ch;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* bølge-skillelinje */
.wave {
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
}

/* ============ SIDE-HERO (undersider) ============ */
.page-hero {
  position: relative;
  background: var(--navy-800);
  color: #fff;
  overflow: hidden;
  border-bottom: 3px solid var(--signal);
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  padding: 44px 0 40px;
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  color: #fff;
}
.page-hero__lead {
  margin: 12px 0 0;
  color: rgba(255,255,255,0.82);
  max-width: 60ch;
}

/* ============ NÆSTE TUR — billet ============ */
.ticket-zone {
  position: relative;
  z-index: 10;
  margin-top: -92px;
}
.ticket {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(10,31,51,0.18);
  overflow: hidden;
}
.ticket__date {
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--navy-800);
  color: #fff;
  padding: 22px 16px;
  position: relative;
}
.ticket__date::after {        /* billet-perforering */
  content: "";
  position: absolute;
  right: -1px;
  top: 8px;
  bottom: 8px;
  border-right: 2px dashed var(--foam);
}
.ticket__day {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
}
.ticket__month {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}
.ticket__body { padding: 22px 28px; }
.ticket__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0;
}
.ticket__title {
  font-size: 30px;
  color: var(--navy-800);
  margin: 4px 0 10px;
}
.ticket__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}
.ticket__meta strong { color: var(--ink); font-weight: 600; }
.ticket__cta {
  display: grid;
  place-content: center;
  padding: 22px 28px;
}

/* ============ SEKTIONER ============ */
.section { padding: 72px 0 0; }
.section--flush { padding-top: 44px; }
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.section__head h2 {
  font-size: 34px;
  color: var(--navy-800);
}
.section__head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 8px;
  background: var(--signal);
}
.section__more {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy-700);
  white-space: nowrap;
}
.section__more:hover { color: var(--signal); }

/* tre-kolonne aktualitet */
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.card__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0 0 10px;
}
.card h3 { font-size: 23px; color: var(--navy-800); margin-bottom: 10px; }
.card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.card__link {
  margin-top: auto;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: var(--navy-700);
}
.card__link:hover { color: var(--signal); }
.card__date { font-size: 13px; color: var(--muted); margin-bottom: 6px; }

/* rekord-liste i kort */
.recordlist { list-style: none; margin: 0 0 14px; padding: 0; }
.recordlist li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.recordlist li:last-child { border-bottom: 0; }
.recordlist .fish { font-weight: 600; }
.recordlist .kg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--navy-800);
  white-space: nowrap;
}

/* ============ OM KLUBBEN — mørkt bånd ============ */
.band {
  margin-top: 80px;
  background: var(--navy-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.band .chart-lines { opacity: 0.10; }
.band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0;
}
.band h2 { font-size: 34px; color: #fff; }
.band h2::after {
  content: "";
  display: block;
  width: 56px; height: 4px;
  margin-top: 8px;
  background: var(--signal);
}
.band p { color: rgba(255,255,255,0.82); margin: 18px 0 24px; max-width: 56ch; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: center;
}
.stat__value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============ SPONSORER ============ */
.sponsor-strip {
  padding: 56px 0 64px;
  text-align: center;
}
.sponsor-strip h2 {
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.sponsor-strip__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.sponsor-strip__logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 28px;
  min-height: 86px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.sponsor-strip__logos a:hover {
  box-shadow: 0 10px 24px rgba(10,31,51,0.12);
  transform: translateY(-2px);
}
.sponsor-strip__logos img { display: block; height: 52px; width: auto; }

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-800);
  color: rgba(255,255,255,0.78);
  border-top: 3px solid var(--signal);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 52px 0 40px;
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}
.footer a { color: rgba(255,255,255,0.78); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer__brandline { font-size: 15px; max-width: 38ch; }
.footer__logos { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.footer__logos a {
  display: inline-flex;
  background: #fff;
  border-radius: 8px;
  padding: 8px 14px;
}
.footer__logos img { display: block; height: 34px; width: auto; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 18px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============ REKORDTABEL ============ */
.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}
.podium__card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px 22px;
  overflow: hidden;
}
.podium__card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--signal);
}
.podium__rank {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--signal);
}
.podium__fish {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy-800);
  margin: 6px 0 2px;
}
.podium__kg {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1;
}
.podium__kg small {
  font-size: 20px;
  color: var(--muted);
  font-weight: 700;
}
.podium__meta { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

.table-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.table-tools__search {
  flex: 0 1 340px;
  position: relative;
}
.table-tools__search input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
}
.table-tools__search input:focus {
  outline: 2px solid var(--navy-700);
  outline-offset: 1px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy-700);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.chip:hover { border-color: var(--navy-700); }
.chip.is-active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}

.rtable-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: 0 10px 26px rgba(10,31,51,0.07);
}
.rtable {
  width: 100%;
  min-width: 740px;
  border-collapse: collapse;
  font-size: 15px;
}
.rtable thead th {
  position: sticky;
  top: 0;
  background: var(--navy-800);
  color: #fff;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 18px;
  white-space: nowrap;
}
.rtable thead th .sort {
  color: var(--gold);
  font-size: 13px;
  margin-left: 4px;
}
.rtable tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid #ece7da;
  vertical-align: baseline;
}
.rtable tbody tr:last-child td { border-bottom: 0; }
.rtable tbody tr:nth-child(even) { background: #faf7f0; }
.rtable tbody tr:hover { background: #f1ede2; }
.rtable .art {
  font-weight: 700;
  color: var(--navy-800);
  border-left: 4px solid var(--signal);
}
.rtable .kg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--navy-800);
  white-space: nowrap;
}
.rtable .dato, .rtable .skib { color: var(--muted); }
.rtable a { font-weight: 700; text-decoration: none; }
.rtable a:hover { color: var(--signal); }
.rtable__count {
  margin: 14px 2px 0;
  font-size: 13px;
  color: var(--muted);
}

/* ============ REFERAT-ARTIKEL ============ */
.article-hero .ticket-zone { margin-top: -56px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
}
.article-meta strong { color: #fff; font-weight: 600; }
.article-meta .dot { color: var(--gold); }

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: start;
  padding: 56px 0 0;
}
.article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 48px;
  font-size: 17px;
  line-height: 1.75;
}
.article > p { margin: 0 0 1.2em; }
.article p.intro {
  font-size: 19px;
  color: var(--navy-700);
  font-weight: 500;
}
.article p.intro::first-letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  line-height: 0.82;
  float: left;
  padding: 6px 12px 0 0;
  color: var(--signal);
}
.article h2 {
  font-size: 27px;
  color: var(--navy-800);
  margin: 1.5em 0 0.6em;
}
.article figure { margin: 28px 0; }
.article figure.full img {
  display: block;
  width: 100%;
  border-radius: 8px;
}
.article figure.float-right {
  float: right;
  width: min(46%, 340px);
  margin: 6px 0 18px 26px;
}
.article figure.float-right img {
  display: block;
  width: 100%;
  border-radius: 8px;
}
.article figcaption {
  margin-top: 9px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.article blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--signal);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--navy-800);
}
.article blockquote footer {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}
.article::after { content: ""; display: table; clear: both; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 0;
}
.gallery figure { margin: 0; }
.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

/* sidepanel */
.aside-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.aside-card + .aside-card { margin-top: 20px; }
.aside-card h3 { font-size: 21px; color: var(--navy-800); margin-bottom: 14px; }
.aside-card h3::after {
  content: "";
  display: block;
  width: 40px; height: 3px;
  margin-top: 7px;
  background: var(--signal);
}
.aside-card p { font-size: 15px; color: var(--muted); margin: 0 0 12px; }
.aside-card .btn { width: 100%; justify-content: center; }

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}
.article-nav a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy-700);
}
.article-nav a:hover { color: var(--signal); }

/* ============ Indlæsnings-animation ============ */
@media (prefers-reduced-motion: no-preference) {
  .hero__inner > *, .ticket, .page-hero__inner > * {
    animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero__inner > :nth-child(1), .page-hero__inner > :nth-child(1) { animation-delay: 0.05s; }
  .hero__inner > :nth-child(2), .page-hero__inner > :nth-child(2) { animation-delay: 0.12s; }
  .hero__inner > :nth-child(3), .page-hero__inner > :nth-child(3) { animation-delay: 0.2s; }
  .hero__inner > :nth-child(4), .page-hero__inner > :nth-child(4) { animation-delay: 0.28s; }
  .ticket { animation-delay: 0.4s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
  }
}

/* ============ RESPONSIVT ============ */
@media (max-width: 920px) {
  .nav { display: none; } /* mockup: mobilmenu udeladt */
  .brand__tag { display: none; }
  .hero__inner { padding: 60px 0 130px; }
  .cards3, .podium { grid-template-columns: 1fr; }
  .band__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .ticket { grid-template-columns: 120px 1fr; }
  .ticket__cta { grid-column: 1 / -1; padding-top: 0; justify-content: start; padding-left: 28px; }
  .ticket__day { font-size: 42px; }
  .article-grid { grid-template-columns: 1fr; gap: 28px; }
  .article { padding: 28px 24px; }
  .article figure.float-right { float: none; width: 100%; margin: 24px 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .stats { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 1fr; }
  .ticket__date { padding: 16px; }
  .ticket__date::after { content: none; }
  .gallery { grid-template-columns: 1fr; }
  .sponsor-strip__logos img { height: 42px; }
}
