/* Public articles — same beige language as index / help / legal */

.article-prose {
  color: #000000;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.7;
}
.article-prose > * + * {
  margin-top: 1rem;
}
.article-prose h2,
.article-prose h3,
.article-preview h1,
.article-faq h2,
.article-faq h3 {
  font-family: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #000000;
}
.article-preview h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  color: #000000;
}
.article-lead {
  margin: 0 0 1.5rem;
  color: #000000;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  opacity: 0.7;
}
.article-prose h2,
.article-faq h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  line-height: 1.25;
  margin-top: 2.25rem;
}
.article-prose h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  margin-top: 1.75rem;
}
.article-prose p,
.article-prose li {
  font-weight: 500;
}
.article-prose a,
.article-preview a {
  color: #4155ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.article-prose a:hover,
.article-preview a:hover {
  color: #3144e6;
}
.article-prose strong {
  font-weight: 700;
}
.article-prose ul,
.article-prose ol {
  margin: 0;
  padding-left: 1.4rem;
}
.article-prose ul {
  list-style: disc outside;
}
.article-prose ol {
  list-style: decimal outside;
}
.article-prose li + li {
  margin-top: 0.35rem;
}
.article-prose blockquote {
  margin: 1.25rem 0;
  padding-left: 1rem;
  border-left: 3px solid #E8E4DC;
  color: #000000;
}
.article-prose figure {
  margin: 1.75rem 0;
}
.article-prose img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  background: #F7F5F0;
}
.article-prose figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  color: #000000;
  opacity: 0.55;
}
.article-prose video,
.article-prose audio {
  display: block;
  width: 100%;
  border-radius: 1.25rem;
  background: #F7F5F0;
}
.article-prose audio {
  background: transparent;
}
.article-prose .article-file-missing {
  color: #000000;
  opacity: 0.55;
  font-size: 0.875rem;
}

/* FAQ — same pill language as landing / hjelpesenter */
.article-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.article-faq details.faq-item {
  margin: 0;
  border: 0;
  border-radius: 9999px;
  background: #FFFFFF;
  box-shadow: none;
  overflow: hidden;
  cursor: pointer;
}
.article-faq details.faq-item[open] {
  border-radius: 2rem;
}
.article-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 3.75rem;
  padding: 1.1rem 1.5rem 1.1rem 1.65rem;
  border: 0;
  background: transparent;
  color: #000000;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.article-faq summary::-webkit-details-marker {
  display: none;
}
.article-faq .faq-answer {
  margin: 0;
  padding: 0 1.65rem 1.35rem;
  color: #000000;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  cursor: text;
}
.article-faq .faq-answer a {
  cursor: pointer;
}
.article-faq .faq-chevron {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #000000;
  transition: transform 0.2s ease;
}
.article-faq details[open] .faq-chevron {
  transform: rotate(180deg);
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.article-list-card {
  display: block;
  padding: 1.5rem 1.5rem 1.35rem;
  border: 0;
  border-radius: 2rem;
  background: #FFFFFF;
  color: inherit;
  text-decoration: none;
}
.article-list-card:hover .article-list-card-title {
  text-decoration: underline;
}
.article-list-card-title {
  margin: 0;
  color: #000000;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}
.article-list-card-desc {
  margin: 0.5rem 0 0;
  color: #000000;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.7;
}
.article-list-card-meta {
  margin: 0.85rem 0 0;
  color: #000000;
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0.45;
}

.article-related {
  margin-top: 3rem;
  padding-top: 0;
  border: 0;
}
.article-related-h {
  margin: 0 0 1rem;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.article-related-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.article-related-card {
  display: block;
  padding: 1.25rem 1.35rem;
  border: 0;
  border-radius: 1.5rem;
  background: #FFFFFF;
  color: inherit;
  text-decoration: none;
}
.article-related-card:hover .article-related-title {
  text-decoration: underline;
}
.article-related-title {
  display: block;
  color: #000000;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
}
.article-related-desc {
  display: block;
  margin-top: 0.35rem;
  color: #000000;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
  opacity: 0.65;
}

.article-preview-banner {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border: 0;
  border-radius: 1.25rem;
  background: #F7F5F0;
  color: #000000;
  font-size: 0.9375rem;
  font-weight: 500;
}
