@font-face {
  font-family: HCo-Gotham-Rounded-Light;
  src: url("ramboll09062026/src/fonts/HCo-Gotham-Rounded-Light.ttf");
}

:root {
  --page: rgb(5, 50, 110);
  --surface: #ffffff;
  --ink: #ffffff;
  --text: #111111;
  --muted: #5f6873;
  --line: rgba(255, 255, 255, 0.24);
  --accent: #0f5f6f;
  --live: #146c43;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  touch-action: manipulation;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: "HCo-Gotham-Rounded-Light", Arial, sans-serif;
  line-height: 1.35;
}

button,
a {
  touch-action: manipulation;
}

button {
  font: inherit;
}

.archive-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 28px;
  overflow: hidden;
}

.menubar {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.logo {
  width: 176px;
  max-width: 50vw;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.archive-header {
  padding: 42px 0 22px;
  border-bottom: 1px solid var(--line);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 3.25rem;
  line-height: 1;
  font-weight: 400;
}

.archive-list-section {
  min-width: 0;
  padding-top: 18px;
}

.event-table {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.event-table-header {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--line);
}

.poster-header {
  display: none;
}

.event-table-header button {
  min-width: 0;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d9e8f7;
  cursor: pointer;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
}

.event-table-header button::after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  opacity: 0;
}

.event-table-header button[aria-sort="ascending"]::after {
  border-bottom: 6px solid currentColor;
  opacity: 1;
}

.event-table-header button[aria-sort="descending"]::after {
  border-top: 6px solid currentColor;
  opacity: 1;
}

.event-table-header button:hover,
.event-table-header button:focus-visible {
  color: var(--ink);
  outline: none;
}

.event-table-body {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.event-row {
  min-width: 0;
  max-width: 100%;
  min-height: 92px;
  display: grid;
  grid-template-columns: 112px minmax(120px, 0.55fr) minmax(0, 1.6fr) 96px;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  background: var(--surface);
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.event-poster {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  height: 100%;
  min-height: 92px;
  display: block;
  object-fit: cover;
  background: #d9e8f7;
}

.event-cell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 12px;
}

.event-date {
  color: var(--muted);
  font-size: 0.88rem;
}

.event-title {
  margin-bottom: 4px;
  font-size: 1.08rem;
  line-height: 1.15;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.event-description {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding-left: 8px;
  color: #27313c;
  border-left: 3px solid #7d8792;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-live {
  color: var(--live);
  border-color: var(--live);
}

.system-message,
.noscript-events {
  margin: 0;
  padding: 14px;
  background: var(--surface);
  color: var(--text);
  border-radius: 6px;
}

.noscript-events {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.noscript-events a {
  color: var(--accent);
  font-size: 0.95rem;
}

.event-row:focus-visible {
  border-color: rgba(15, 95, 111, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.75);
  outline: none;
}

@media (hover: hover) {
  .event-row:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 95, 111, 0.45);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  }
}

@media (max-width: 820px) {
  .archive-shell {
    padding: 22px 18px;
  }

  .archive-header {
    padding: 34px 0 18px;
  }

  h1 {
    font-size: 2.65rem;
  }

  .event-row {
    min-height: 94px;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    grid-template-areas:
      "poster title title"
      "poster date status";
  }

  .event-poster {
    grid-area: poster;
    min-height: 94px;
  }

  .event-main {
    grid-area: title;
    padding: 10px 12px 4px;
  }

  .event-date {
    grid-area: date;
    justify-content: flex-start;
    padding: 0 12px 10px;
    font-size: 0.82rem;
  }

  .event-status {
    grid-area: status;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 0 12px 10px 0;
  }

  .event-description {
    display: none;
  }
}

@media (max-width: 460px) {
  .archive-shell {
    padding: 20px 14px;
  }

  .logo {
    width: 150px;
  }

  h1 {
    font-size: 2.25rem;
  }

  .event-table-header {
    gap: 6px 16px;
  }

  .event-table-header button {
    min-height: 28px;
    font-size: 0.78rem;
  }

  .event-row {
    grid-template-columns: 78px minmax(0, 1fr);
    grid-template-areas:
      "poster title"
      "poster date"
      "poster status";
  }

  .event-poster {
    min-height: 104px;
  }

  .event-main {
    padding: 9px 10px 3px;
  }

  .event-title {
    font-size: 1rem;
  }

  .event-date {
    padding: 0 10px 3px;
  }

  .event-status {
    align-items: flex-start;
    padding: 0 10px 9px;
  }
}
