html {
  scroll-behavior: smooth;
  scroll-padding-top: 48%;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-italic-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-italic-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-900-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-900-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

: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;
}

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

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

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

a:hover {
  text-decoration: underline;
}

.topbar {
  background: #0a1628;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 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: #fff;
  text-decoration: none;
}

.header {
  background: #1767ce;
  border-bottom: none;
}

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

.nrk-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  color: #fff;
}

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

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

.main-nav a {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 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: #fff;
}

.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: #fff;
}

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

.search-box {
  display: flex;
  align-items: center;
  border: none;
  border-radius: 4px;
  padding: 6px 14px;
  gap: 6px;
  font-size: 14px;
  color: #666;
  cursor: text;
  min-width: 130px;
  background: #fff;
}

.search-box svg {
  width: 16px;
  height: 16px;
  stroke: #666;
  fill: none;
  stroke-width: 2;
}

.burger-menu {
  display: none;
}

.subnav {
  border-bottom: 1px solid #e5e5e5;
}

.subnav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 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: 0 auto;
  padding: 40px 24px 0;
  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: #333;
  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;
}

.credit {
  font-size: 11px;
  color: var(--nrk-caption);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.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: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}

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

.article-body p {
  font-size: 18px;
  line-height: 1.72;
  margin-bottom: 24px;
  color: #1b1b1b;
}

.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 0 16px;
  color: var(--nrk-blue);
  line-height: 1.2;
}

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

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

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

.info-box {
  background: #e8eff5;
  border-radius: 8px;
  padding: 24px 28px 20px;
  margin: 32px 0;
}

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

.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;
}

.expert-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #f7f9fb;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
}

.expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--nrk-border);
}

.expert-info {
  flex: 1;
}

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

.expert-info span {
  display: block;
  font-size: 13px;
  color: var(--nrk-gray);
  margin-bottom: 10px;
}

.expert-info p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--nrk-text);
  margin-bottom: 0;
}

.info-box--light {
  background: #fff;
  border: 1px solid var(--nrk-border);
}

.reg-steps {
  padding-left: 20px;
  font-size: 16px;
  margin-bottom: 20px;
}

.reg-steps li {
  margin-bottom: 10px;
}

.cta-wrap {
  text-align: center;
  margin: 30px 0;
}

.cta-register {
  background-color: #d40000;
  color: #fff !important;
  padding: 15px 30px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  border-radius: 5px;
  display: inline-block;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cta-register:hover {
  background-color: #a30000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 0, 0, 0.35);
}

.cta-register:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(212, 0, 0, 0.35);
}

.comment-item--reply {
  padding: 0;
  border: none;
}

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

.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: 0 auto;
  padding: 0 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 0 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 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 0;
  align-items: center;
}

.footer-brand .fb-badges svg {
  width: 36px;
  height: 36px;
}

.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: #fff;
  cursor: pointer;
  margin-top: 8px;
}

.tips-btn:hover {
  background: #f5f5f5;
}

.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 a {
  font-size: 14px;
  color: var(--nrk-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-col li a:hover {
  text-decoration: underline;
}

.footer-col li a::before {
  content: "\203A";
  color: var(--nrk-gray);
  font-size: 16px;
}

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

.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: #fff;
  cursor: pointer;
}

.toppen-btn:hover {
  background: #f5f5f5;
}

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

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

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

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
  opacity: 0.8;
}

.comments {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 2px solid var(--nrk-border);
}

.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.comments-title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--nrk-blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

.comments-badge {
  background: var(--nrk-link);
  color: #fff;
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
}

.comments-sort select {
  font-family: inherit;
  font-size: 13px;
  border: 1px solid var(--nrk-border);
  border-radius: 6px;
  padding: 6px 28px 6px 10px;
  background: #fff;
  -webkit-appearance: none;
  cursor: pointer;
  color: var(--nrk-text);
}

.comment-form {
  position: relative;
  background: #f7f9fb;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 24px;
  border: 1px solid #e8ecf0;
}

.cf-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cf-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--nrk-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-avatar svg {
  width: 20px;
  height: 20px;
  stroke: #999;
  stroke-width: 1.5;
  fill: none;
}

.cf-info {
  font-size: 14px;
  color: var(--nrk-gray);
}

.cf-info a {
  color: var(--nrk-link);
  font-weight: 600;
}

.comment-form textarea {
  width: 100%;
  min-height: 72px;
  border: 1px solid var(--nrk-border);
  border-radius: 8px;
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  background: #fff;
}

.comment-form textarea:focus {
  outline: none;
  border-color: var(--nrk-link);
}

.cf-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.btn-send {
  background: var(--nrk-link);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 20px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-send:hover {
  background: #004a99;
}

.btn-send svg {
  width: 14px;
  height: 14px;
  fill: #fff;
}

.login-popup {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  padding: 30px 24px 24px;
  text-align: center;
  z-index: 50;
  width: 340px;
  max-width: 90%;
  animation: popIn 0.25s ease;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.lp-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  background: #e8eff5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--nrk-link);
  stroke-width: 1.8;
  fill: none;
}

.lp-text {
  font-size: 14px;
  color: var(--nrk-text);
  margin-bottom: 18px;
  line-height: 1.5;
}

.lp-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-btn-primary {
  width: 100%;
  padding: 11px;
  background: var(--nrk-link);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.lp-btn-secondary {
  width: 100%;
  padding: 11px;
  background: none;
  color: var(--nrk-link);
  border: 2px solid var(--nrk-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.lp-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
}

.comment-list {
  display: flex;
  flex-direction: column;
}

.comment-item {
  padding: 18px 0;
  border-top: 1px solid #eee;
}

.comment-item:first-child {
  border-top: none;
  padding-top: 0;
}

.ci-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.ci-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.ci-avatar.blue {
  background: #2980b9;
}

.ci-avatar.green {
  background: #27ae60;
}

.ci-avatar.orange {
  background: #d35400;
}

.ci-avatar.purple {
  background: #8e44ad;
}

.ci-avatar.teal {
  background: #16a085;
}

.ci-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--nrk-text);
}

.ci-date {
  font-size: 12px;
  color: #999;
  margin-left: auto;
}

.ci-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--nrk-text);
  margin-bottom: 10px;
  padding-left: 44px;
}

.ci-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 44px;
}

.ci-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.ci-btn:hover {
  color: var(--nrk-text);
}

.ci-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.ci-btn .count {
  font-weight: 600;
}

.ci-btn.liked {
  color: var(--nrk-link);
}

.ci-btn.liked svg {
  stroke: var(--nrk-link);
  fill: var(--nrk-link);
  fill-opacity: 0.15;
}

.ci-reply-btn {
  font-size: 13px;
  color: var(--nrk-link);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
}

.ci-reply-btn:hover {
  text-decoration: underline;
}

.ci-nested {
  margin-left: 44px;
  padding-top: 14px;
}

.ci-nested .ci-text,
.ci-nested .ci-actions {
  padding-left: 44px;
}

.load-more-comments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 14px;
  border: 1.5px solid var(--nrk-border);
  border-radius: 28px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--nrk-text);
  cursor: pointer;
  margin-top: 8px;
}

.load-more-comments:hover {
  background: #f5f5f5;
}

@media (max-width: 1024px) {
  .article-header,
  .article-wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .author-sidebar {
    padding-top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
  }

  .author-item {
    margin-bottom: 0;
  }

  .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: #fff;
    fill: none;
    stroke-width: 2;
  }

  .subnav {
    border-bottom: none;
  }

  .subnav-inner {
    padding: 0 16px;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    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 #e5e5e5;
  }

  .subnav a {
    white-space: nowrap;
  }

  .article-header {
    padding: 24px 16px 0;
  }

  .article-title {
    font-size: 30px;
  }

  .article-lead {
    font-size: 17px;
  }

  .article-body {
    padding: 24px 0;
  }

  .article-body p {
    font-size: 17px;
  }

  .article-wrap {
    padding: 0 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: 0;
  }

  .author-item {
    margin-bottom: 0;
  }

  .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: 0 16px;
  }

  .footer-bottom {
    padding: 32px 16px;
  }

  .comments-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .ci-text,
  .ci-actions {
    padding-left: 0;
  }

  .ci-nested {
    margin-left: 20px;
  }

  .ci-nested .ci-text,
  .ci-nested .ci-actions {
    padding-left: 0;
  }

  .expert-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 20px 16px;
  }

  .expert-avatar {
    width: 72px;
    height: 72px;
  }
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 10px;
}
.modal.active {
  display: flex;
}
.modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px) saturate(0.95);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}
.modal.active::before {
  opacity: 1;
  pointer-events: auto;
}

.form-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin-inline: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  will-change: transform, opacity;
}

.modal.active .form-wrapper {
  animation: form-zoom 320ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes form-zoom {
  from {
    transform: translateY(12px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  right: 8px;
  top: 8px;
  background: transparent;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}
