/* ============================================================ */
/* VG.no landing — Pixel-perfect adaptation                     */
/* Nakstad x DNB | Asted Norge-spesial                          */
/* Based on 679 (SRF) structure, VG visual identity              */
/* ============================================================ */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: #1a1a1a;
  background: #f5f5f5;
}

/* rom til sticky CTA-bar */
.vg-footer {
  padding-bottom: 120px;
}

a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.15s ease;
}

a[href]:hover {
  color: #DB0000;
  text-decoration: underline;
}

a:not([href]) {
  cursor: default;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ============================================================ */
/* SKIP LINK                                                    */
/* ============================================================ */
.skiplink {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skiplink:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  background: #DB0000;
  color: #fff;
  z-index: 9999;
}

/* ============================================================ */
/* HEADER — VG style                                            */
/* ============================================================ */
.vg-header {
  background: #fff;
  border-bottom: 3px solid #DB0000;
  position: sticky;
  top: 0;
  z-index: 100;
}

.vg-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 56px;
}

.vg-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 24px;
}

.vg-logo svg {
  height: 30px;
  width: auto;
}

.vg-nav {
  display: flex;
  gap: 0;
  flex: 1;
  overflow: hidden;
}

.vg-nav span {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  padding: 18px 14px;
  white-space: nowrap;
  cursor: default;
  transition: color 0.15s ease;
}

.vg-nav span:hover {
  color: #DB0000;
}

.vg-nav span.active {
  color: #DB0000;
  border-bottom: 3px solid #DB0000;
  margin-bottom: -3px;
}

.vg-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.vg-header-actions button {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  padding: 6px 10px;
  border-radius: 4px;
}

.vg-header-actions button:hover {
  background: #f0f0f0;
}

.vg-header-actions svg {
  width: 20px;
  height: 20px;
  fill: #333;
}

@media (max-width: 768px) {
  .vg-nav {
    display: none;
  }
  .vg-header-inner {
    height: 50px;
  }
}

/* ============================================================ */
/* PAGE CONTAINER                                               */
/* ============================================================ */
.vg-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
  background: #fff;
}

@media (min-width: 769px) {
  .vg-page {
    padding: 0 40px;
    max-width: 760px;
  }
}

/* BREADCRUMB */
.vg-breadcrumb {
  font-size: 13px;
  color: #666;
  padding: 16px 0 8px;
}

.vg-breadcrumb span {
  cursor: default;
}

.vg-breadcrumb span::after {
  content: ' / ';
  color: #999;
}

.vg-breadcrumb span:last-child::after {
  content: '';
}

.vg-breadcrumb span:last-child {
  color: #DB0000;
  font-weight: 600;
}

/* ============================================================ */
/* ARTICLE                                                      */
/* ============================================================ */
.vg-article {
  padding-bottom: 40px;
}

/* HEADLINE */
.vg-article-kicker {
  font-size: 14px;
  font-weight: 700;
  color: #DB0000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

.vg-article-headline {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.15;
  color: #1a1a1a;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

@media (max-width: 600px) {
  .vg-article-headline {
    font-size: 28px;
  }
}

/* LEAD */
.vg-article-lead {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #444;
  margin: 0 0 20px;
}

@media (max-width: 600px) {
  .vg-article-lead {
    font-size: 18px;
  }
}

/* META: AUTHOR + DATE */
.vg-article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  padding: 16px 0;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  font-size: 14px;
  color: #666;
}

.vg-article-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vg-article-author-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.vg-article-author-text {
  display: flex;
  flex-direction: column;
}

.vg-article-author-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.vg-article-author-role {
  font-size: 12px;
  color: #888;
}

.vg-article-date {
  margin-left: auto;
  font-size: 13px;
  color: #888;
}

/* SHARE */
.vg-share {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 0 20px;
  flex-wrap: wrap;
}

.vg-share-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #d0d0d0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.vg-share-btn:hover {
  background: #DB0000;
  border-color: #DB0000;
}

.vg-share-btn svg {
  width: 16px;
  height: 16px;
  fill: #555;
  transition: fill 0.15s ease;
}

.vg-share-btn:hover svg {
  fill: #fff;
}

/* KORTVERSJONEN — VG style summary box */
.vg-summary {
  background: #f8f8f8;
  border-left: 4px solid #DB0000;
  padding: 16px 20px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.5;
}

.vg-summary-title {
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  color: #DB0000;
  margin-bottom: 8px;
}

.vg-summary li {
  margin: 8px 0;
  padding-left: 16px;
  position: relative;
}

.vg-summary li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #DB0000;
  border-radius: 50%;
}

/* ============================================================ */
/* HERO PHOTO                                                   */
/* ============================================================ */
.vg-figure {
  margin: 0 -16px 24px;
}

@media (min-width: 769px) {
  .vg-figure {
    margin: 0 -40px 24px;
  }
}

.vg-figure img {
  width: 100%;
  display: block;
}

.vg-figcaption {
  font-size: 13px;
  color: #888;
  padding: 8px 16px 0;
  line-height: 1.4;
}

@media (min-width: 769px) {
  .vg-figcaption {
    padding: 8px 40px 0;
  }
}

.vg-figcaption strong {
  color: #666;
}

/* ============================================================ */
/* ARTICLE BODY                                                 */
/* ============================================================ */
.vg-article-body p {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 20px;
  color: #1a1a1a;
}

.vg-article-body strong {
  font-weight: 800;
}

.vg-article-body a {
  text-decoration: underline;
}

.vg-article-body h2 {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  margin: 36px 0 16px;
  color: #1a1a1a;
  letter-spacing: -0.3px;
}

.vg-article-body h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  margin: 28px 0 12px;
  color: #1a1a1a;
}

@media (max-width: 600px) {
  .vg-article-body p {
    font-size: 17px;
  }
  .vg-article-body h2 {
    font-size: 22px;
  }
}

/* QUOTE BLOCK */
.vg-quote {
  border-left: 4px solid #DB0000;
  padding: 16px 20px;
  margin: 24px 0;
  background: #fafafa;
}

.vg-quote p {
  font-size: 19px;
  font-style: italic;
  line-height: 1.6;
  color: #222;
  margin: 0 0 8px;
}

.vg-quote p:last-child {
  margin: 0;
}

.vg-quote-source {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  color: #666;
  margin-top: 8px;
}

/* INLINE FIGURE */
.vg-figure-inline {
  margin: 24px 0;
}

.vg-figure-inline img {
  width: 100%;
  display: block;
}

.vg-figure-inline .vg-figcaption {
  padding: 8px 0 0;
}

/* EXPERT CARD */
.vg-expert-card {
  display: flex;
  gap: 16px;
  background: #f8f8f8;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 20px;
  margin: 24px 0;
}

.vg-expert-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.vg-expert-name {
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 2px;
}

.vg-expert-title {
  font-size: 13px;
  color: #888;
  margin: 0 0 10px;
}

.vg-expert-quote {
  font-size: 16px;
  line-height: 1.55;
  color: #333;
  font-style: italic;
  margin: 0;
}

/* INFO BOX / REDAKSJONELL VERIFISERING */
.vg-info-box {
  background: #f0f7ff;
  border: 1px solid #b8d4f0;
  border-radius: 6px;
  padding: 20px 24px;
  margin: 28px 0;
}

.vg-info-box-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: #1a6cb5;
  margin-bottom: 10px;
}

.vg-info-box p {
  font-size: 16px;
  line-height: 1.55;
  color: #333;
  margin: 0 0 8px;
}

.vg-info-box p:last-child {
  margin: 0;
}

/* LIVE BAR */
.vg-live-bar {
  background: #FFF3CD;
  border: 1px solid #FFD700;
  border-radius: 4px;
  padding: 10px 16px;
  text-align: center;
  margin: 20px 0;
  font-size: 14px;
}

.vg-live-dot {
  color: #DB0000;
  font-weight: bold;
}

/* CTA BLOCK */
.vg-cta {
  background: #f9f9f9;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 28px 24px;
  margin: 32px 0;
  text-align: left;
}

.vg-cta h2 {
  font-size: 20px;
  font-weight: 900;
  color: #1a1a1a;
  margin: 0 0 16px;
}

.vg-cta p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 10px;
}

.vg-cta-warning {
  background: #FFF3CD;
  border: 1px solid #FFD700;
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.5;
  margin: 16px 0;
  color: #856404;
}

.vg-cta-button {
  display: block;
  width: 100%;
  text-align: center;
  background: #DB0000;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  padding: 16px 24px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 16px;
  transition: background 0.15s ease;
}

.vg-cta-button:hover {
  background: #b80000;
  color: #fff;
  text-decoration: none;
}

.vg-cta-subtext {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-top: 10px;
}

/* SOURCE LINE */
.vg-article-source {
  font-size: 13px;
  color: #888;
  padding-top: 20px;
  border-top: 1px solid #e6e6e6;
  margin-top: 32px;
}

/* TAGS */
.vg-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.vg-tag {
  font-size: 13px;
  font-weight: 600;
  color: #DB0000;
  background: #ffeaea;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: default;
}

/* ============================================================ */
/* COMMENTS                                                     */
/* ============================================================ */
.vg-comments {
  padding: 24px 0;
  border-top: 3px solid #1a1a1a;
}

.vg-comments-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.vg-comments-header h2 {
  font-size: 22px;
  font-weight: 900;
  color: #1a1a1a;
}

.vg-comments-count {
  font-size: 14px;
  color: #888;
}

.vg-comment {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.vg-comment:last-child {
  border-bottom: none;
}

.vg-comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #666;
  flex-shrink: 0;
}

.vg-comment-body {
  flex: 1;
  min-width: 0;
}

.vg-comment-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.vg-comment-author {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.vg-comment-verified {
  font-size: 11px;
  font-weight: 700;
  color: #1a6cb5;
  background: #e8f4fd;
  padding: 1px 6px;
  border-radius: 3px;
}

.vg-comment-time {
  font-size: 13px;
  color: #999;
}

.vg-comment-text {
  font-size: 15px;
  line-height: 1.55;
  color: #333;
  margin: 0 0 8px;
}

.vg-comment-update {
  background: #f5f5f5;
  padding: 10px 14px;
  border-radius: 4px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.vg-comment-update strong {
  color: #DB0000;
}

.vg-comment-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #888;
}

.vg-comment-likes {
  font-weight: 600;
  color: #666;
}

.vg-comment-action {
  font-size: 13px;
  color: #888;
  cursor: pointer;
  padding: 0;
}

.vg-comment-action:hover {
  color: #DB0000;
}

/* Screenshot in comments */
.vg-comment-screenshot {
  max-width: 250px;
  margin-top: 10px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

/* ============================================================ */
/* RELATERTE SAKER — sidebar                                    */
/* ============================================================ */
.vg-related {
  padding: 24px 0;
  border-top: 3px solid #1a1a1a;
}

.vg-related h2 {
  font-size: 18px;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.vg-related-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.vg-related-item:last-child {
  border-bottom: none;
}

.vg-related-text {
  flex: 1;
}

.vg-related-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1a1a;
}

.vg-related-meta {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.vg-related-img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ============================================================ */
/* FOOTER — VG style                                            */
/* ============================================================ */
.vg-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 40px 20px;
  margin-top: 0;
}

.vg-footer-inner {
  max-width: 760px;
  margin: 0 auto;
}

.vg-footer-logo {
  margin-bottom: 24px;
}

.vg-footer-logo svg {
  height: 28px;
  fill: #fff;
}

.vg-footer-editors {
  font-size: 13px;
  line-height: 1.8;
  color: #999;
  margin-bottom: 24px;
}

.vg-footer-editors a {
  color: #ccc;
}

.vg-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #333;
}

.vg-footer-links:last-of-type {
  border-bottom: none;
  margin-bottom: 24px;
}

.vg-footer-links span {
  color: #999;
  cursor: default;
}

.vg-footer-links span:hover {
  color: #fff;
}

.vg-footer-copy {
  font-size: 12px;
  color: #666;
  border-top: 1px solid #333;
  padding-top: 16px;
  line-height: 1.5;
}
