:root {
  --nrk-blue: #001a3a;
  --nrk-link: #0059b3;
  --nrk-text: #1b1b1b;
  --nrk-gray: #666;
  --nrk-light: #f6f6f6;
  --nrk-caption: #6b6b6b;
  --nrk-border: #d9d9d9;
  --nrk-footer-bg: #e8eff5;
  --nrk-footer-dark: #001a3a;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

.article-header {
  display: block;
}

.article-hero {
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.author-sidebar {
  display: none;
}

.popup-modal__button:focus-visible,
.popup-modal__close:focus-visible {
  outline: rgba(144, 116, 255, 0.55) solid 2px;
  outline-offset: 2px;
}

.popup-modal__form :where(.field, .form-group, .input-group) {
  margin: 0px;
}

.popup-modal__form :where(label, legend) {
  display: block;
  margin: 0px 0px 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--popup-text-muted);
}

.popup-modal__form
  :where(
    input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not(
        [type="button"]
      ),
    select,
    textarea
  ) {
  width: 100%;
  min-height: 60px;
  padding: 18px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--popup-field);
  color: var(--popup-text);
}

.popup-modal__form
  :where(
    input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not(
        [type="button"]
      ),
    select,
    textarea
  )::placeholder {
  color: rgba(34, 34, 34, 0.3);
}

.popup-modal__form
  :where(
    input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not(
        [type="button"]
      ),
    select,
    textarea
  ):focus {
  outline: none;
  border-color: var(--popup-field-border);
  background: rgb(255, 255, 255);
}

.popup-modal__form
  :where(
    button:not(.iti-aio__selected-country),
    input[type="submit"],
    input[type="button"]
  ) {
  width: 100%;
  min-height: 67px;
  padding: 18px;
  border: 0px;
  border-radius: 16px;
  background: linear-gradient(
    90deg,
    var(--popup-accent-start) 0%,
    var(--popup-accent-end) 100%
  );
  color: var(--popup-text);
  cursor: pointer;
}

.popup-modal__form :where(.iti, .iti--allow-dropdown) {
  width: 100%;
}

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  font-family: "Source Sans 3", Helvetica, Arial, sans-serif;
  color: var(--nrk-text);
  background: rgb(255, 255, 255);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--nrk-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  background: rgb(10, 22, 40);
  color: rgb(255, 255, 255);
  font-size: 13px;
  letter-spacing: 0.3px;
}

.topbar-inner {
  max-width: 1280px;
  margin: 0px auto;
  padding: 0px 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 30px;
  gap: 28px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
}

.topbar a:hover {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

.header {
  background: rgb(23, 103, 206);
  border-bottom-width: medium;
  border-bottom-style: none;
  border-bottom-color: currentcolor;
}

.header-inner {
  max-width: 1280px;
  margin: 0px auto;
  padding: 0px 24px;
  display: flex;
  align-items: center;
  height: 48px;
  gap: 28px;
}

.nrk-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  color: rgb(255, 255, 255);
}

.nrk-logo:hover {
  text-decoration: none;
  opacity: 0.9;
}

.main-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.main-nav a {
  color: rgb(255, 255, 255);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  border-bottom-color: transparent;
}

.main-nav a.active {
  border-bottom-color: rgb(255, 255, 255);
}

.main-nav .more-btn {
  position: relative;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.login-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.login-btn:hover {
  text-decoration: none;
  color: rgb(255, 255, 255);
}

.login-btn svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255, 255, 255, 0.9);
}

.search-box {
  display: flex;
  align-items: center;
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: initial;
  border-radius: 4px;
  padding: 6px 14px;
  gap: 6px;
  font-size: 14px;
  color: rgb(102, 102, 102);
  cursor: text;
  min-width: 130px;
  background: rgb(255, 255, 255);
}

.search-box svg {
  width: 16px;
  height: 16px;
  stroke: rgb(102, 102, 102);
  fill: none;
  stroke-width: 2;
}

.burger-menu {
  display: none;
}

.subnav {
  border-bottom: 1px solid rgb(229, 229, 229);
}

.subnav-inner {
  max-width: 1280px;
  margin: 0px auto;
  padding: 0px 24px;
  display: flex;
  align-items: center;
  height: 40px;
  gap: 20px;
}

.subnav-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--nrk-text);
}

.subnav a {
  color: var(--nrk-gray);
  font-size: 14px;
  text-decoration: none;
}

.subnav a:hover {
  color: var(--nrk-text);
  text-decoration: none;
}

.article-header {
  max-width: 1280px;
  margin: 0px auto;
  padding: 40px 24px 0px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}

.article-title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 46px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--nrk-blue);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.article-lead {
  font-size: 20px;
  line-height: 1.5;
  color: rgb(51, 51, 51);
  margin-bottom: 24px;
}

.article-hero {
  margin-bottom: 6px;
}

.article-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.caption {
  font-size: 14px;
  color: var(--nrk-caption);
  line-height: 1.5;
  margin-top: 6px;
}

.author-sidebar {
  padding-top: 220px;
}

.author-item {
  margin-bottom: 12px;
}

.author-item a {
  font-size: 14px;
  font-weight: 600;
  color: var(--nrk-link);
  text-decoration: underline;
}

.author-item .role {
  font-size: 13px;
  color: var(--nrk-gray);
}

.author-meta {
  margin-top: 20px;
  font-size: 13px;
  color: var(--nrk-gray);
  line-height: 1.6;
}

.author-meta .loc {
  margin-bottom: 12px;
}

.author-meta .dates span {
  display: block;
}

.article-wrap {
  max-width: 1280px;
  margin: 0px auto;
  padding: 0px 24px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}

.article-body {
  max-width: 640px;
  padding: 40px 0px 32px;
}

.article-body p {
  font-size: 18px;
  line-height: 1.72;
  margin-bottom: 24px;
  color: rgb(27, 27, 27);
}

.article-body p.italic-q {
  font-style: italic;
  color: var(--nrk-link);
}

.article-body h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 28px;
  font-weight: 900;
  margin: 36px 0px 16px;
  color: var(--nrk-blue);
  line-height: 1.2;
}

.article-body figure {
  margin: 32px 0px;
}

.article-body figure img {
  width: 100%;
  height: auto;
  display: block;
}

.article-body a {
  color: var(--nrk-link);
  text-decoration: underline;
}

.article-body a:hover {
  color: rgb(0, 56, 112);
}

.info-box {
  background: rgb(232, 239, 245);
  border-radius: 8px;
  padding: 24px 28px 20px;
  margin: 32px 0px;
}

.info-box--light {
  background: rgb(255, 255, 255);
  border: 1px solid var(--nrk-border);
}

.info-box h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 4px;
  color: var(--nrk-text);
}

.register-list {
  padding-left: 20px;
  font-size: 16px;
  margin-bottom: 20px;
}

.register-list__item {
  margin-bottom: 10px;
}

.footer-heading-spaced {
  margin-top: 20px;
}

.right-sidebar {
  padding-top: 40px;
}

.sidebar-card {
  margin-bottom: 28px;
  padding-bottom: 20px;
}

.sidebar-card img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.sidebar-card h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--nrk-text);
}

.sidebar-card h3 a {
  color: var(--nrk-text);
  text-decoration: none;
}

.sidebar-card h3 a:hover {
  text-decoration: underline;
}

.sidebar-more {
  font-size: 14px;
  color: var(--nrk-gray);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--nrk-border);
  margin-bottom: 24px;
}

.sidebar-more a {
  color: var(--nrk-link);
  font-weight: 600;
  text-decoration: none;
}

.sidebar-more a:hover {
  text-decoration: underline;
}

.sidebar-more .arrow {
  margin-left: 4px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--nrk-text);
  letter-spacing: 0.5px;
}

.section-header .plus {
  color: var(--nrk-link);
  font-size: 18px;
}

.section-line {
  height: 3px;
  background: var(--nrk-link);
  margin-bottom: 24px;
}

.anbefaler {
  max-width: 1280px;
  margin: 0px auto;
  padding: 0px 24px 60px;
}

.anbef-small-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.anbef-small img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
}

.anbef-small h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--nrk-text);
}

.footer-main {
  background: rgba(147, 197, 253, 0.5);
  padding: 48px 0px 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0px auto;
  padding: 0px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  grid-column: 1;
}

.footer-brand .fb-name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-brand .fb-name span {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--nrk-blue);
}

.footer-brand p {
  font-size: 14px;
  color: var(--nrk-gray);
  line-height: 1.6;
}

.footer-brand .fb-badges {
  display: flex;
  gap: 12px;
  margin: 16px 0px;
  align-items: center;
}

.tips-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--nrk-border);
  border-radius: 28px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--nrk-text);
  background: rgb(255, 255, 255);
  margin-top: 8px;
}

.tips-btn .arr {
  color: var(--nrk-link);
  font-size: 20px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--nrk-text);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col li span {
  font-size: 14px;
  color: var(--nrk-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-col li span::before {
  content: "›";
  color: var(--nrk-gray);
  font-size: 16px;
}

.toppen-wrap {
  text-align: center;
  padding: 32px 0px 0px;
}

.toppen-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--nrk-border);
  border-radius: 28px;
  padding: 12px 32px;
  font-size: 15px;
  color: var(--nrk-text);
  background: rgb(255, 255, 255);
}

.footer-bottom {
  background: var(--nrk-blue);
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 40px 24px;
}

.footer-bottom .fb-logo {
  margin-bottom: 12px;
}

.footer-bottom p {
  font-size: 13px;
  opacity: 0.8;
}

.footer-bottom p span {
  color: rgb(255, 255, 255);
  text-decoration: underline;
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .article-header,
  .article-wrap {
    grid-template-columns: 1fr;
    gap: 0px;
  }
  .author-sidebar {
    padding-top: 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
  }
  .author-item {
    margin-bottom: 0px;
  }
  .right-sidebar {
    display: none;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .header-inner {
    height: 48px;
    gap: 12px;
  }
  .main-nav {
    display: none;
  }
  .header-right {
    gap: 12px;
  }
  .login-btn {
    font-size: 13px;
    gap: 4px;
  }
  .search-box {
    display: none;
  }
  .burger-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
  }
  .burger-menu svg {
    width: 24px;
    height: 24px;
    stroke: rgb(255, 255, 255);
    fill: none;
    stroke-width: 2;
  }
  .subnav {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
  }
  .subnav-inner {
    padding: 0px 16px;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    height: auto;
    flex-wrap: wrap;
  }
  .subnav-inner::-webkit-scrollbar {
    display: none;
  }
  .subnav-title {
    display: block;
    padding: 8px 16px;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 1px solid rgb(229, 229, 229);
  }
  .subnav a {
    white-space: nowrap;
  }
  .article-header {
    padding: 24px 16px 0px;
  }
  .article-title {
    font-size: 30px;
  }
  .article-lead {
    font-size: 17px;
  }
  .article-body {
    padding: 24px 0px;
  }
  .article-body p {
    font-size: 17px;
  }
  .article-wrap {
    padding: 0px 16px;
  }
  .article-hero {
    margin-left: -16px;
    margin-right: -16px;
  }
  .article-hero img {
    width: 100vw;
    max-width: 100vw;
  }
  .caption {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
  }
  .author-sidebar {
    flex-direction: column;
    gap: 4px;
    padding: 0px;
  }
  .author-item {
    margin-bottom: 0px;
  }
  .author-meta {
    margin-top: 8px;
  }
  .anbef-small-grid {
    grid-template-columns: 1fr;
  }
  .anbefaler {
    padding-left: 16px;
    padding-right: 16px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 0px 16px;
  }
  .footer-bottom {
    padding: 32px 16px;
  }
}

img {
  height: auto;
  max-width: 100%;
}

* {
  box-sizing: border-box;
}

*,
::after,
::before {
  border: 0px solid rgb(226, 232, 240);
  box-sizing: border-box;
}

::after,
::before {
  --tw-content: "";
}

@media (max-width: 640px) {
  div#form {
    padding: 0px;
  }
}

.form-wrapper {
  max-width: 450px;
  width: 100%;
  margin: 30px auto;
}