@charset "UTF-8";

/*
  PRISUTDELINGER
  Felles design for Forsoningsprisen og Fangenes Testamente.
  Lastes ETTER styles.css.
*/

.prizePage {
  color: var(--text);
}

.prizeContainer {
  width: min(calc(100% - 40px), 1180px);
  margin-inline: auto;
}

/* HERO */
.prizeHero {
  padding: 0;
  background: #fff;
}

.prizeHero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

/* HOVEDOMRÅDE */
.prizeBody {
  padding: 18px 0 70px;
  background: #fff;
}

/* BRØDSMULER */
.prizeBreadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  color: #738198;
  font-size: 0.76rem;
}

.prizeBreadcrumb a {
  color: var(--navy);
  text-decoration: none;
}

.prizeBreadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* LAYOUT */
.prizeLayout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

/* SIDEMENY */
.prizeSidebar {
  min-width: 0;
}

.prizeMenu {
  border: 1px solid #dfe5ec;
  border-radius: 6px;
  background: #fff;
}

.prizeMenu--desktop {
  position: sticky;
  top: 105px;
}

/* MENY TOPP */
.prizeMenu__head {
  padding: 16px 15px 14px;
  border-bottom: 1px solid #e3e8ee;
}

.prizeMenu__title {
  display: block;
  margin: 0 0 11px;
  padding: 0 6px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.prizeMenu__main {
  display: block;
  margin: 1px 0;
  padding: 7px 6px;
  border-radius: 4px;
  color: #50627a;
  font-size: 0.82rem;
  line-height: 1.4;
  text-decoration: none;
}

.prizeMenu__main:hover {
  color: var(--navy);
  background: #f4f6f8;
}

.prizeMenu__main.is-current {
  color: var(--navy);
  background: #eef2f6;
  font-weight: 650;
}

/* ARKIV */
.prizeMenu__archive {
  padding: 13px 15px 15px;
}

.prizeMenu__label {
  margin: 0 0 8px;
  color: #718096;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* HOVEDGRUPPER */
.prizeMenu__period {
  margin: 0;
  border-top: 1px solid #e8ecf0;
}

.prizeMenu__period:first-of-type {
  border-top: 0;
}

.prizeMenu__period > summary {
  position: relative;
  padding: 10px 24px 10px 2px;
  color: var(--navy);
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.prizeMenu__period > summary::-webkit-details-marker {
  display: none;
}

.prizeMenu__period > summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  color: #768499;
  font-size: 1rem;
  font-weight: 400;
}

.prizeMenu__period[open] > summary::after {
  content: "−";
}

.prizeMenu__periodInner {
  padding: 0 0 8px;
}

/* ÅR */
.prizeMenu__year {
  border-top: 1px solid #edf0f3;
}

.prizeMenu__year:first-child {
  border-top: 0;
}

.prizeMenu__year summary {
  position: relative;
  padding: 6px 24px 6px 3px;
  color: #294d76;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.prizeMenu__year summary::-webkit-details-marker {
  display: none;
}

.prizeMenu__year summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid #8290a1;
  border-bottom: 1.5px solid #8290a1;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.15s ease;
}

.prizeMenu__year[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.prizeMenu__year[open] summary {
  color: var(--navy);
  font-weight: 700;
}

/* UNDERMENY */
.prizeMenu__sub {
  padding: 0 2px 8px 10px;
}

.prizeMenu__sub a {
  position: relative;
  display: block;
  padding: 5px 3px 5px 12px;
  color: #5b6c80;
  font-size: 0.74rem;
  line-height: 1.42;
  text-decoration: none;
}

.prizeMenu__sub a::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #a5afbc;
}

.prizeMenu__sub a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prizeMenu__sub a.is-current {
  color: var(--navy);
  font-weight: 700;
}

.prizeMenu__sub a.is-current::before {
  background: var(--navy);
}

/* MOBILMENY */
.prizeMenuMobile {
  display: none;
}

/* HOVEDINNHOLD */
.prizeMain {
  min-width: 0;
  max-width: 860px;
}

/* INTRO */
.prizeIntro {
  margin: 0 0 22px;
}

.prizeIntro h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.prizeLead {
  max-width: 740px;
  margin: 12px 0 0;
  color: #465a74;
  font-size: 1.02rem;
  line-height: 1.62;
}

/* OM PRISEN + BLANCHE */
.prizeAbout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.75fr);
  gap: 18px;
  margin: 0 0 34px;
}

.prizeAbout__text,
.prizeBlanche {
  padding: 20px 21px;
  border: 1px solid #e1e6ec;
  border-radius: 6px;
  background: #fff;
}

.prizeAbout__text h2,
.prizeBlanche h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.3;
}

.prizeAbout__text p,
.prizeBlanche p {
  margin: 0 0 10px;
  color: #4b5e76;
  font-size: 0.88rem;
  line-height: 1.62;
}

.prizeAbout__text p:last-child,
.prizeBlanche p:last-of-type {
  margin-bottom: 0;
}

.prizeBlanche a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.prizeBlanche a:hover {
  color: #315d91;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* PRISVINNERE */
.prizeSectionHead {
  margin: 0 0 12px;
}

.prizeSectionHead h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 650;
  line-height: 1.3;
}

.prizeSectionHead p {
  margin: 4px 0 0;
  color: #718096;
  font-size: 0.84rem;
}

.prizeWinnerList {
  border-top: 1px solid #dfe5eb;
}

.prizeWinner {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 38px;
  gap: 17px;
  align-items: center;
  padding: 17px 3px;
  border-bottom: 1px solid #dfe5eb;
}

.prizeWinner__year {
  align-self: start;
  padding-top: 2px;
  color: #8e6b42;
  font-size: 0.85rem;
  font-weight: 700;
}

.prizeWinner__content {
  min-width: 0;
}

.prizeWinner h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 1.03rem;
  font-weight: 650;
  line-height: 1.32;
}

.prizeWinner h3 a {
  color: inherit;
  text-decoration: none;
}

.prizeWinner h3 a:hover {
  color: #315d91;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prizeWinner p {
  max-width: 680px;
  margin: 0;
  color: #617188;
  font-size: 0.84rem;
  line-height: 1.52;
}

/* PILER */
.prizeWinner__arrow {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.prizeWinner__arrow:hover {
  background: #f1f4f7;
  transform: translateX(2px);
}

/* RADER UTEN LENKE */
.prizeWinner--noLink {
  grid-template-columns: 58px minmax(0, 1fr);
}

.prizeWinner--noLink h3 {
  color: #68788d;
  font-size: 0.9rem;
  font-weight: 550;
}

/* NETTBRETT */
@media (max-width: 900px) {

  .prizeLayout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .prizeSidebar {
    display: none;
  }

  .prizeMenuMobile {
    display: block;
    margin: 0 0 25px;
    border: 1px solid #dfe5ec;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
  }

  .prizeMenuMobile > summary {
    position: relative;
    padding: 13px 44px 13px 15px;
    color: #fff;
    background: var(--navy);
    font-size: 0.86rem;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
  }

  .prizeMenuMobile > summary::-webkit-details-marker {
    display: none;
  }

  .prizeMenuMobile > summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    font-size: 1.1rem;
    font-weight: 400;
  }

  .prizeMenuMobile[open] > summary::after {
    content: "−";
  }

  .prizeMenuMobile__inner {
    padding: 0;
  }

  .prizeMenu--mobile {
    border: 0;
    border-radius: 0;
  }
}

/* MOBIL */
@media (max-width: 640px) {

  .prizeContainer {
    width: min(calc(100% - 24px), 1180px);
  }

  .prizeBody {
    padding-top: 15px;
    padding-bottom: 48px;
  }

  .prizeBreadcrumb {
    margin-bottom: 17px;
    font-size: 0.7rem;
  }

  .prizeIntro h1 {
    font-size: 1.65rem;
  }

  .prizeLead {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .prizeAbout {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 30px;
  }

  .prizeAbout__text,
  .prizeBlanche {
    padding: 17px;
  }

  .prizeWinner {
    grid-template-columns: 46px minmax(0, 1fr) 28px;
    gap: 9px;
    padding: 14px 0;
  }

  .prizeWinner--noLink {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .prizeWinner h3 {
    font-size: 0.97rem;
  }

  .prizeWinner p {
    font-size: 0.81rem;
  }

  .prizeWinner__arrow {
    width: 28px;
    height: 28px;
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prizeMenu__year summary::after,
  .prizeWinner__arrow {
    transition: none;
  }
}
/* Hele prisvinnerraden er klikkbar */
a.prizeWinner {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

a.prizeWinner:hover,
a.prizeWinner:focus-visible {
  background: #f7f9fb;
}

a.prizeWinner:hover h3,
a.prizeWinner:focus-visible h3 {
  color: #315d91;
}

a.prizeWinner:hover .prizeWinner__arrow,
a.prizeWinner:focus-visible .prizeWinner__arrow {
  background: #f1f4f7;
  transform: translateX(2px);
}

a.prizeWinner:focus-visible {
  outline: 2px solid #315d91;
  outline-offset: 2px;
}
.prizeMenuToggle {
  display: none;
}
.prizePage {
  background: #fff;
}

.prizePage + .siteFooter {
  margin-top: 0;
}