:root {
  --green: #17b34a;
  --green-dark: #0f7f3a;
  --green-soft: #eafbf1;
  --ink: #16221b;
  --muted: #66736d;
  --line: #dfe8e3;
  --soft: #f5f8f6;
  --card: #ffffff;
  --shadow: 0 14px 34px rgba(13, 60, 35, .08);
  --radius: 18px;
  --container: 1180px;
  --article: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green-dark); }
p { margin: 0 0 1.1rem; }
h1,h2,h3,h4 { line-height: 1.14; margin: 0 0 .75rem; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 5vw, 4.6rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

.container { width: min(var(--container), calc(100% - 32px)); margin-inline: auto; }
.screen-reader-text { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.skip-link:focus { left: 16px; top: 16px; z-index: 9999; width: auto; height: auto; padding: 10px 14px; background: #fff; border: 2px solid var(--green); }

.topbar { background: var(--green-dark); color: #fff; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 8px 0; }
.topbar__links { display: flex; gap: 16px; flex-wrap: wrap; }
.topbar a { opacity: .94; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.header-main { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 24px 0 18px; }
.brand { min-width: 0; }
.custom-logo-link img { max-width: 320px; max-height: 100px; width: auto; }
.site-logo-text { font-weight: 900; font-size: clamp(2rem, 4vw, 3.8rem); letter-spacing: -.06em; color: #111; line-height: .95; display:inline-block; }
.site-logo-text span { color: var(--green); }
.brand__tagline { margin: 8px 0 0; color: var(--muted); max-width: 680px; }
.header-search { min-width: 260px; }
.search-form { display: flex; gap: 8px; align-items: stretch; }
.search-field, .newsletter-form input {
  border: 1px solid var(--line); border-radius: 999px; padding: 12px 14px; min-width: 0; width: 100%; background: #fff;
}
.search-submit, .newsletter-form button, .button {
  border: 0; border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; padding: 12px 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.search-submit:hover, .newsletter-form button:hover, .button:hover { background: var(--green-dark); color: #fff; }
.button--light { background: #fff; color: var(--green-dark); }
.menu-toggle { display: none; background: var(--green); border:0; border-radius:12px; width:46px; height:42px; padding:10px; }
.menu-toggle span:not(.screen-reader-text) { display:block; height:2px; background:#fff; margin:5px 0; border-radius:2px; }
.main-navigation { border-top: 1px solid var(--line); }
.main-navigation .menu { list-style: none; margin:0; padding:0; display:flex; gap:4px; align-items:center; flex-wrap:wrap; }
.main-navigation li { margin:0; }
.main-navigation a { display:block; padding: 14px 14px; font-weight: 800; text-transform: uppercase; font-size: .85rem; letter-spacing: .03em; border-radius: 10px; }
.main-navigation a:hover { background: var(--green-soft); color: var(--green-dark); }

.vvsmester-ad { width: min(var(--container), calc(100% - 32px)); margin: 20px auto; }
.vvsmester-ad.vvsmester-ad--empty,
.vvsm-ad.vvsmester-ad--empty,
.vvsm-ad-wrap.vvsmester-ad--empty,
.vvsm-ad-slot.vvsmester-ad--empty,
.vvsmester-ad:empty,
.vvsmester-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]):not(.vvsmester-ad--has-banner) { display: none !important; margin: 0 !important; min-height: 0 !important; }
.vvsmester-ad__label { text-align: center; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.vvsmester-ad__placeholder { min-height: 90px; border: 1px dashed #b9c8c0; border-radius: 16px; background: #f6faf8; display:grid; place-items:center; color: var(--muted); text-align:center; padding: 14px; }
.vvsmester-ad__placeholder strong { display:block; color: var(--ink); }
.article-sidebar .vvsmester-ad, .front-sidebar .vvsmester-ad { width: auto; margin: 0; }
.article-sidebar .vvsmester-ad__placeholder, .front-sidebar .vvsmester-ad__placeholder { min-height: 260px; }

.front-hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr); gap: 24px; margin-top: 26px; }
.hero-story { position: relative; min-height: 520px; border-radius: 26px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.hero-story__image, .hero-story__image img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-story:after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.74)); }
.hero-story__content { position:absolute; inset:auto 0 0; z-index:2; color:#fff; padding: clamp(22px, 4vw, 44px); max-width: 780px; }
.hero-story__content h1 a { color:#fff; }
.hero-story__content p { font-size: 1.16rem; opacity:.95; }
.hero-story .post-meta { color: rgba(255,255,255,.85); }
.badge { display:inline-flex; align-items:center; width: fit-content; background: var(--green); color:#fff !important; font-size:.78rem; font-weight:900; text-transform:uppercase; letter-spacing:.06em; padding:7px 10px; border-radius:999px; margin-bottom: 12px; }
.top-stories { display:grid; gap:16px; }
.card, .post-card, .card-soft { background: var(--card); border:1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 22px rgba(18,50,30,.05); overflow: hidden; }
.post-card { transition: transform .18s ease, box-shadow .18s ease; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.post-card__image { display:block; background: var(--soft); aspect-ratio: 16/10; overflow:hidden; }
.post-card__image img { width:100%; height:100%; object-fit:cover; transition: transform .25s ease; }
.post-card:hover .post-card__image img { transform: scale(1.025); }
.post-card__body { padding: 16px; }
.post-card__title { font-size: 1.12rem; margin-bottom: .45rem; }
.post-card__excerpt { color: var(--muted); font-size: .95rem; }
.post-card__meta { color: var(--muted); font-size: .82rem; font-weight: 650; }
.post-card--compact { display: grid; grid-template-columns: 132px 1fr; min-height: 120px; }
.post-card--compact .post-card__image { aspect-ratio: auto; height: 100%; }
.post-card--compact .post-card__title { font-size: 1rem; }
.post-card--compact .post-card__excerpt { display:none; }
.post-card--small { display: grid; grid-template-columns: 88px 1fr; }
.post-card--small .post-card__image { height: 86px; aspect-ratio: auto; }
.post-card--small .badge, .post-card--compact .badge { font-size:.64rem; padding:5px 8px; margin-bottom:6px; }

.layout-with-sidebar { display:grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items:start; margin-top: 34px; }
.section-header { display:flex; justify-content:space-between; gap:12px; align-items:end; border-bottom: 2px solid var(--line); padding-bottom: 10px; margin: 34px 0 18px; }
.section-header h2 { margin:0; }
.section-header a { color: var(--green-dark); font-weight: 850; }
.post-grid { display:grid; gap:20px; }
.post-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.post-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.front-sidebar { display:grid; gap:18px; position: sticky; top: 12px; }
.sidebar-card { padding: 20px; }
.popular-list { list-style:none; counter-reset:item; padding:0; margin:0; display:grid; gap:14px; }
.popular-list li { counter-increment:item; display:grid; grid-template-columns: 34px 1fr; gap:10px; border-bottom:1px solid var(--line); padding-bottom:14px; }
.popular-list li:last-child { border-bottom:0; padding-bottom:0; }
.popular-list li:before { content: counter(item); width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:var(--green-soft); color:var(--green-dark); font-weight:900; }
.popular-list a { font-weight:850; line-height:1.25; }
.popular-list span { display:block; grid-column:2; color:var(--muted); font-size:.74rem; text-transform:uppercase; font-weight:800; }
.newsletter-box__icon { width:44px; height:44px; display:grid; place-items:center; border-radius:14px; background:var(--green-soft); color:var(--green-dark); font-size:1.35rem; margin-bottom:12px; }
.newsletter-form { display:grid; gap:10px; }
.card-soft { padding: 24px; background: var(--soft); border:1px solid var(--line); border-radius:24px; }
.tool-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:16px; }
.tool-card { background:#fff; border:1px solid var(--line); border-radius:18px; padding:18px; min-height:170px; display:flex; flex-direction:column; gap:8px; }
.tool-card span { width:46px; height:46px; display:grid; place-items:center; border-radius:16px; background:var(--green-soft); color:var(--green-dark); font-size:1.4rem; font-weight:900; }
.tool-card strong { font-size:1.1rem; }
.tool-card small { color: var(--muted); }

.archive-header, .not-found { margin-top: 34px; }
.eyebrow { color: var(--green-dark); text-transform: uppercase; letter-spacing: .08em; font-weight: 900; font-size:.82rem; margin-bottom: .25rem; }
.pagination-wrap { margin-block: 34px; }
.nav-links { display:flex; gap:10px; flex-wrap:wrap; }
.nav-links a, .nav-links span { padding:10px 14px; border:1px solid var(--line); border-radius:10px; }
.nav-links .current { background:var(--green); color:#fff; border-color:var(--green); }

.article-layout { display:grid; grid-template-columns: minmax(0, var(--article)) 320px; gap:42px; align-items:start; margin-top: 34px; }
.article-main { min-width:0; }
.article-header { margin-bottom:22px; }
.article-header h1 { max-width: 900px; }
.article-ingress { font-size: clamp(1.15rem, 2vw, 1.4rem); color: #34433b; font-weight: 500; }

/*
 * Safety net for legacy Redaksjonsstudio articles. PHP removes the duplicate
 * before output; this rule also prevents a cached, explicitly marked ingress
 * block from flashing below the featured image while old page caches expire.
 */
.article-content.has-hero-ingress > .vvsm-ingress:first-child,
.article-content.has-hero-ingress > .vvsmester-ingress:first-child,
.article-content.has-hero-ingress > .article-ingress:first-child {
  display: none !important;
}
.post-meta { display:flex; flex-wrap:wrap; gap: 8px 14px; color: var(--muted); font-size:.92rem; }
.post-meta__item:before { content:""; }
.post-meta__item + .post-meta__item:before { content:"•"; margin-right:14px; color:#a4b2ab; }
.article-featured { margin: 0 0 18px; border-radius:24px; overflow:hidden; background:var(--soft); }
.article-featured img { width:100%; max-height: 560px; object-fit: cover; }
.article-featured figcaption { padding: 10px 14px; color: var(--muted); font-size:.88rem; background:#fff; border:1px solid var(--line); border-top:0; }
.article-content { font-size: 1.08rem; }
.article-empty-notice { border:1px solid #f0c36a; background:#fff8e6; color:#5a3b00; padding:16px 18px; border-radius:16px; margin:20px 0; }
.article-content .vvsmester-ad { margin: 28px 0; width: 100%; }
.article-content .vvsmester-ad__placeholder { min-height: 120px; }

.article-content > * { max-width: var(--article); }
.article-content h2 { margin-top:2.2rem; font-size:1.75rem; }
.article-content h3 { margin-top:1.8rem; }
.article-content a { color: var(--green-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article-content blockquote { border-left: 5px solid var(--green); padding: 14px 0 14px 18px; margin: 24px 0; color: #26372e; background: var(--green-soft); border-radius: 0 16px 16px 0; }
.article-content figure { margin: 24px 0; }
.article-content figcaption { color:var(--muted); font-size:.88rem; margin-top:8px; }
.article-content img { border-radius: 18px; }
.article-content ul, .article-content ol { padding-left: 1.3rem; }
.article-content .wp-block-pullquote, .article-content .wp-block-quote { max-width: 860px; }
.article-content .wp-block-table { overflow-x:auto; }
.article-content table { border-collapse:collapse; width:100%; }
.article-content th, .article-content td { border:1px solid var(--line); padding:10px; }
.article-content th { background:var(--green-soft); }
.article-sidebar { display:grid; gap:18px; position: sticky; top: 12px; }
.article-footer { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.tag-list { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.tag-list a { background:var(--green-soft); color:var(--green-dark); padding:7px 10px; border-radius:999px; font-weight:800; font-size:.88rem; }
.related-section { margin-top: 36px; }
.comments-area { margin-top: 30px; }
.page-content-wrap { max-width: 900px; margin-top: 34px; }

.site-footer { margin-top: 56px; background: #0c2116; color:#e7f4ed; }
.footer-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr; gap:32px; padding:44px 0; }
.footer-brand .site-logo-text { color:#fff; }
.footer-brand .site-logo-text span { color:#67d28f; }
.footer-brand p { color:#bfd1c6; }
.footer-links ul { list-style:none; padding:0; margin:0; display:grid; gap:6px; }
.footer-links a { color:#e7f4ed; }
.footer-widgets, .footer-contact { color:#bfd1c6; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding:14px 0; color:#bfd1c6; font-size:.9rem; }

@media (max-width: 1050px) {
  .post-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .front-hero, .layout-with-sidebar, .article-layout { grid-template-columns: 1fr; }
  .front-sidebar, .article-sidebar { position: static; }
  .article-layout { width: min(920px, calc(100% - 32px)); }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .topbar__inner { align-items:flex-start; flex-direction:column; gap:6px; }
  .header-main { grid-template-columns: 1fr auto; }
  .header-search { grid-column: 1 / -1; min-width:0; display:none; }
  .menu-toggle { display:block; }
  .main-navigation { display:none; }
  body.menu-open .main-navigation { display:block; }
  .main-navigation .menu { display:grid; padding: 8px 0 14px; }
  .main-navigation a { padding:12px; }
  .hero-story { min-height: 430px; border-radius:20px; }
  .top-stories { grid-template-columns:1fr; }
  .post-grid--four, .post-grid--three, .tool-grid { grid-template-columns: 1fr; }
  .post-card--compact { grid-template-columns: 108px 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-form { flex-direction: column; }
}

.article-empty-notice {
  max-width: var(--article);
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid #d6b36a;
  background: #fff8e6;
  color: #342915;
  border-radius: 16px;
  line-height: 1.55;
}

.article-empty-notice,
.article-recovered-notice {
  border: 1px solid #e2b753;
  background: #fff7df;
  color: #35250b;
  border-radius: 16px;
  padding: 18px 20px;
  margin: 28px 0;
  font-size: 1rem;
  line-height: 1.55;
}
.article-recovered-notice {
  border-color: #8fc89f;
  background: #eefaf1;
  color: #0f2a1b;
}

.article-raw-debug {
  max-width: var(--article);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #102017;
  color: #e8fff0;
  border-radius: 14px;
  padding: 16px;
  font-size: .9rem;
  line-height: 1.45;
  margin: 12px 0 28px;
}

/* v1.8 - Penere FAQ fra konverterte Divi-innlegg */
.article-content .vvs-faq-heading,
.article-content h2:has(+ .vvs-auto-faq-item),
.article-content h3:has(+ .vvs-auto-faq-item) {
  margin-top: 2.6rem;
  margin-bottom: .65rem;
  padding: 18px 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f7f3a 0%, #17b34a 100%);
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.18;
  box-shadow: 0 14px 30px rgba(15, 111, 52, .16);
}
.article-content .vvs-faq-heading + p,
.article-content h2:has(+ .vvs-auto-faq-item) + p,
.article-content h3:has(+ .vvs-auto-faq-item) + p {
  font-size: 1.08rem;
  color: #46564d;
  margin: 0 0 18px;
}
.article-content .vvs-auto-faq-item {
  margin: 12px 0;
  border: 1px solid #dcebe2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.045);
  overflow: hidden;
}
.article-content .vvs-auto-faq-question,
.article-content button.vvs-auto-faq-question {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #f7fff9 0%, #eef9f1 100%);
  color: #112218;
  padding: 18px 20px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: 1.04rem;
  line-height: 1.35;
  text-align: left;
}
.article-content .vvs-auto-faq-question:hover,
.article-content .vvs-auto-faq-question:focus-visible {
  background: linear-gradient(135deg, #eefaf1 0%, #e1f4e7 100%);
  outline: none;
}
.article-content .vvs-auto-faq-question:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(22, 150, 71, .25);
}
.article-content .vvs-faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #149447;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 900;
}
.article-content .vvs-auto-faq-answer {
  padding: 0 20px 18px;
  border-top: 1px solid #e8f1eb;
  color: #26372e;
  background: #fff;
}
.article-content .vvs-auto-faq-answer > :first-child { margin-top: 16px; }
.article-content .vvs-auto-faq-answer > :last-child { margin-bottom: 0; }
.article-content .vvs-auto-faq-answer p {
  font-size: 1.04rem;
  line-height: 1.75;
}
.article-content .vvs-auto-faq-item.is-open {
  border-color: #b9dfc5;
  box-shadow: 0 14px 32px rgba(20, 148, 71, .10);
}
.article-content .vvs-auto-faq-item.is-open .vvs-auto-faq-question {
  background: linear-gradient(135deg, #ecf9f0 0%, #def2e5 100%);
}
.article-content > button:not(.vvs-auto-faq-question) {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dcebe2;
  border-radius: 999px;
  background: #f5fbf7;
  color: #112218;
  padding: 10px 14px;
  font-weight: 700;
}
@media (max-width: 700px) {
  .article-content .vvs-faq-heading,
  .article-content h2:has(+ .vvs-auto-faq-item),
  .article-content h3:has(+ .vvs-auto-faq-item) {
    padding: 16px 18px;
    border-radius: 16px;
  }
  .article-content .vvs-auto-faq-question,
  .article-content button.vvs-auto-faq-question {
    padding: 16px;
    font-size: 1rem;
  }
  .article-content .vvs-auto-faq-answer {
    padding: 0 16px 16px;
  }
}

/* v1.9 - Gutenberg-maler, egne bannere og mobilforbedringer */
.article-content .vvsmester-ingress,
.editor-styles-wrapper .vvsmester-ingress {
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  line-height: 1.65;
  color: #33443b;
  font-weight: 500;
  margin: 0 0 1.35rem;
}
.article-content .vvsmester-tip-box,
.article-content .vvsmester-fact-box,
.article-content .vvsmester-checklist-box,
.editor-styles-wrapper .vvsmester-tip-box,
.editor-styles-wrapper .vvsmester-fact-box,
.editor-styles-wrapper .vvsmester-checklist-box {
  border-radius: 20px;
  padding: 22px 24px;
  margin: 28px 0;
  border: 1px solid #d7eadf;
  box-shadow: 0 12px 26px rgba(13,60,35,.06);
}
.article-content .vvsmester-tip-box,
.editor-styles-wrapper .vvsmester-tip-box {
  background: linear-gradient(135deg, #ecfaef 0%, #dcf3e4 100%);
  border-left: 6px solid var(--green);
}
.article-content .vvsmester-tip-box h3,
.editor-styles-wrapper .vvsmester-tip-box h3 {
  margin-top: 0;
  color: var(--green-dark);
}
.article-content .vvsmester-fact-box,
.editor-styles-wrapper .vvsmester-fact-box {
  background: #f8fbf9;
}
.article-content .vvsmester-checklist-box,
.editor-styles-wrapper .vvsmester-checklist-box {
  background: #fff;
  border-color: #cfe6d7;
}
.article-content .vvsmester-checklist-box ul,
.editor-styles-wrapper .vvsmester-checklist-box ul,
.article-content .vvsmester-fact-box ul,
.editor-styles-wrapper .vvsmester-fact-box ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.article-content .vvsmester-checklist-box li,
.editor-styles-wrapper .vvsmester-checklist-box li,
.article-content .vvsmester-fact-box li,
.editor-styles-wrapper .vvsmester-fact-box li {
  position: relative;
  padding-left: 30px;
  margin: 10px 0;
}
.article-content .vvsmester-checklist-box li:before,
.editor-styles-wrapper .vvsmester-checklist-box li:before,
.article-content .vvsmester-fact-box li:before,
.editor-styles-wrapper .vvsmester-fact-box li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-dark);
  font-weight: 900;
}
.article-content details.wp-block-details,
.editor-styles-wrapper details.wp-block-details {
  border: 1px solid #dcebe2;
  border-radius: 18px;
  background: #fff;
  margin: 12px 0;
  padding: 0;
  box-shadow: 0 8px 22px rgba(0,0,0,.045);
  overflow: hidden;
}
.article-content details.wp-block-details summary,
.editor-styles-wrapper details.wp-block-details summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 850;
  background: linear-gradient(135deg, #f7fff9 0%, #eef9f1 100%);
}
.article-content details.wp-block-details[open] summary,
.editor-styles-wrapper details.wp-block-details[open] summary {
  background: linear-gradient(135deg, #ecf9f0 0%, #def2e5 100%);
  border-bottom: 1px solid #e8f1eb;
}
.article-content details.wp-block-details > *:not(summary),
.editor-styles-wrapper details.wp-block-details > *:not(summary) {
  padding: 0 20px 18px;
}
.article-content .vvsmester-ad-marker {
  border: 0;
  border-top: 2px dashed #c9ddd2;
  margin: 34px 0;
}
.vvsmester-ad__banner {
  width: 100%;
  display: block;
}
.vvsmester-ad__banner a,
.vvsmester-ad__banner img {
  display: block;
  width: 100%;
}
.vvsmester-ad__banner img {
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0,0,0,.055);
}
.vvsmester-ad--top .vvsmester-ad__banner img,
.vvsmester-ad--front_top .vvsmester-ad__banner img,
.vvsmester-ad--front_bottom .vvsmester-ad__banner img,
.vvsmester-ad--post_top .vvsmester-ad__banner img,
.vvsmester-ad--post_bottom .vvsmester-ad__banner img,
.vvsmester-ad--footer .vvsmester-ad__banner img {
  max-height: 250px;
}
.article-sidebar .vvsmester-ad__banner img,
.front-sidebar .vvsmester-ad__banner img {
  max-height: none;
}
.vvsmester-ad--has-banner .vvsmester-ad__placeholder { display: none; }

@media (max-width: 1050px) {
  .article-sidebar,
  .front-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .article-sidebar .vvsmester-ad,
  .front-sidebar .vvsmester-ad {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  html, body { overflow-x: hidden; }
  .container { width: min(100% - 24px, var(--container)); }
  .topbar__inner {
    padding: 7px 0;
    font-size: .78rem;
  }
  .topbar__links {
    gap: 10px;
  }
  .header-main {
    padding: 16px 0 12px;
    gap: 12px;
  }
  .site-logo-text {
    font-size: clamp(2.05rem, 11vw, 3rem);
  }
  .brand__tagline {
    font-size: .92rem;
    line-height: 1.35;
  }
  .custom-logo-link img {
    max-width: 230px;
    max-height: 76px;
  }
  .main-navigation {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  body.menu-open .main-navigation {
    position: relative;
    z-index: 60;
    background: #fff;
  }
  .front-hero {
    margin-top: 18px;
  }
  .hero-story {
    min-height: 380px;
  }
  .hero-story__content {
    padding: 22px;
  }
  .hero-story h1 {
    font-size: clamp(2rem, 9vw, 3.1rem);
  }
  .article-layout {
    gap: 26px;
    margin-top: 22px;
  }
  .article-header h1 {
    font-size: clamp(2.05rem, 10vw, 3.15rem);
  }
  .article-featured {
    border-radius: 18px;
  }
  .article-featured img {
    max-height: 420px;
  }
  .article-content {
    font-size: 1.02rem;
  }
  .article-content h2 {
    font-size: 1.48rem;
    margin-top: 1.9rem;
  }
  .article-content h3 {
    font-size: 1.16rem;
  }
  .article-content > * {
    max-width: 100%;
  }
  .related-section .post-grid,
  .post-grid--three,
  .post-grid--four,
  .tool-grid {
    gap: 14px;
  }
  .article-sidebar,
  .front-sidebar {
    grid-template-columns: 1fr;
  }
  .sidebar-card {
    border-radius: 18px;
  }
  .vvsmester-ad {
    width: min(100% - 24px, var(--container));
    margin: 16px auto;
  }
  .article-sidebar .vvsmester-ad,
  .front-sidebar .vvsmester-ad,
  .article-content .vvsmester-ad {
    width: 100%;
    margin: 20px 0;
  }
  .vvsmester-ad__placeholder,
  .article-sidebar .vvsmester-ad__placeholder,
  .front-sidebar .vvsmester-ad__placeholder {
    min-height: 120px;
  }
  .vvsmester-ad__banner img {
    border-radius: 14px;
  }
  .footer-grid {
    padding: 34px 0;
  }
}

@media (max-width: 520px) {
  .topbar__links a:nth-child(n+3) { display: none; }
  .post-card--compact {
    grid-template-columns: 92px 1fr;
  }
  .post-card__body,
  .card,
  .sidebar-card {
    padding: 16px;
  }
  .article-content .vvsmester-tip-box,
  .article-content .vvsmester-fact-box,
  .article-content .vvsmester-checklist-box {
    padding: 18px;
    border-radius: 16px;
  }
  .article-content details.wp-block-details summary {
    padding: 16px;
  }
  .article-content details.wp-block-details > *:not(summary) {
    padding: 0 16px 16px;
  }
}

/* v2.2 - Nyhetsbrev og tryggere mobile bannerfelt */
.newsletter-message {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 750;
}
.newsletter-message--ok { background: #e9f8ef; color: #0f7f3a; }
.newsletter-message--error { background: #fff1f1; color: #9d1111; }
.newsletter-privacy {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
  margin-top: 8px;
}
@media (max-width: 640px) {
  .vvsmester-ad--top .vvsmester-ad__banner img,
  .vvsmester-ad--front_top .vvsmester-ad__banner img,
  .vvsmester-ad--front_bottom .vvsmester-ad__banner img,
  .vvsmester-ad--post_top .vvsmester-ad__banner img,
  .vvsmester-ad--post_bottom .vvsmester-ad__banner img,
  .vvsmester-ad--footer .vvsmester-ad__banner img,
  .vvsmester-ad--article .vvsmester-ad__banner img {
    max-height: 140px;
    object-fit: cover;
  }
}


/* v2.4 - Penere plugin-nyhetsbrev og trygg visning i sidebar */
.vvsm-newsletter-card,
.vvsm-newsletter-form {
  display: block;
}
.vvsm-newsletter-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(18,50,30,.05);
}
.front-sidebar > .vvsm-newsletter-form,
.article-sidebar > .vvsm-newsletter-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(18,50,30,.05);
}
.vvsm-newsletter-card .vvsm-newsletter-icon,
.front-sidebar > .vvsm-newsletter-form:before,
.article-sidebar > .vvsm-newsletter-form:before {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.front-sidebar > .vvsm-newsletter-form:before,
.article-sidebar > .vvsm-newsletter-form:before {
  content: "✉";
}
.vvsm-newsletter-form h3,
.vvsm-newsletter-card h3 {
  font-size: 1.45rem;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--text);
}
.vvsm-newsletter-form p,
.vvsm-newsletter-card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 14px;
}
.vvsm-newsletter-form input[type="email"],
.vvsm-newsletter-card input[type="email"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  font-size: .96rem;
  margin: 0 0 10px;
  background: #fff;
}
.vvsm-newsletter-form button,
.vvsm-newsletter-card button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  padding: 0 18px;
  box-shadow: 0 8px 18px rgba(21,148,71,.18);
}
.vvsm-newsletter-form button:hover,
.vvsm-newsletter-card button:hover {
  background: var(--green-dark);
}
.vvsm-newsletter-privacy {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
  margin-top: 10px;
}
.vvsm-ad, .vvsmester-ad { margin-top: 18px; }
.vvsm-ad-placeholder, .vvsmester-ad__placeholder {
  border: 1px dashed #b9d8c4;
  border-radius: 18px;
  background: #f7fbf8;
  color: var(--muted);
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 18px;
}
@media (max-width: 760px) {
  .vvsm-newsletter-card,
  .front-sidebar > .vvsm-newsletter-form,
  .article-sidebar > .vvsm-newsletter-form {
    border-radius: 20px;
    padding: 18px;
  }
}


/* v2.7 – fast nyhetsbrevkort i theme: e-postfelt over knapp */
.vvsmester-newsletter-fixed {
  background: #fff;
  border: 1px solid var(--line, #dfe9e2);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(18,50,30,.05);
  box-sizing: border-box;
}

.vvsmester-newsletter-fixed__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green-soft, #e8f7ed);
  color: var(--green-dark, #0f7f3a);
  font-size: 1.35rem;
  margin: 0 0 14px;
}

.vvsmester-newsletter-fixed h2 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.15;
  color: var(--text, #142018);
  font-weight: 900;
}

.vvsmester-newsletter-fixed p {
  margin: 0 0 16px;
  color: var(--muted, #63756b);
  font-size: 1rem;
  line-height: 1.55;
}

.vvsmester-newsletter-fixed__form {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.vvsmester-newsletter-fixed__form input[type="email"] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 48px !important;
  box-sizing: border-box !important;
  margin: 0 0 12px 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--line, #d9e6dc) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--text, #142018) !important;
  font-size: 15px !important;
  line-height: 48px !important;
}

.vvsmester-newsletter-fixed__form input[type="email"]:focus {
  border-color: var(--green, #17b34a) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(21,148,71,.12) !important;
}

.vvsmester-newsletter-fixed__form button {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 50px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--green, #17b34a) !important;
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  text-align: center !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: 0 10px 24px rgba(21,148,71,.20) !important;
}

.vvsmester-newsletter-fixed__form button:hover {
  background: var(--green-dark, #0f7f3a) !important;
}

.vvsmester-newsletter-fixed small {
  display: block;
  margin-top: 12px;
  color: #7a8a81;
  font-size: .82rem;
  line-height: 1.45;
}

.vvsmester-newsletter-fixed__message {
  border-radius: 12px;
  padding: 10px 12px;
  margin: 0 0 14px;
  font-weight: 800;
  font-size: .92rem;
}

.vvsmester-newsletter-fixed__message.ok {
  background: #e4f8ea;
  color: #0f7f3a;
  border: 1px solid #abe5bd;
}

.vvsmester-newsletter-fixed__message.error {
  background: #fff0f0;
  color: #9b1c1c;
  border: 1px solid #ffc4c4;
}


/* v2.8 – proff nyhetsbrevkort-stil */
.vvsmester-newsletter-pro .vvsmester-newsletter-fixed__form input[type="email"]:focus {
  border-color: #17b34a !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(21,148,71,.12) !important;
}

.vvsmester-newsletter-pro .vvsmester-newsletter-fixed__form button:hover {
  background: #0f7f3a !important;
  transform: translateY(-1px);
}

.vvsmester-newsletter-pro .vvsmester-newsletter-fixed__form button {
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

@media (max-width: 760px) {
  .vvsmester-newsletter-pro {
    padding: 20px !important;
  }
  .vvsmester-newsletter-pro h2 {
    font-size: 24px !important;
  }
}


/* v3.2 – ryddet og isolert forside */
.vvsm-front-v32 {
  --vvsm-green: #17b34a;
  --vvsm-green-dark: #0f7f3a;
  --vvsm-text: #142018;
  --vvsm-muted: #63756b;
  --vvsm-line: #dfe9e2;
  --vvsm-soft: #f5faf7;
}

.vvsm-front-v32 a {
  text-decoration: none;
}

.vvsm-fp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, .95fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 34px;
  margin-bottom: 44px;
}

.vvsm-fp-hero-card {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  background: #0d1711;
  box-shadow: 0 18px 42px rgba(20,32,24,.12);
}

.vvsm-fp-hero-card__image,
.vvsm-fp-hero-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.vvsm-fp-hero-card__image img {
  object-fit: cover;
}

.vvsm-fp-hero-card__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.52) 42%, rgba(0,0,0,.16) 100%),
    linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.05) 60%);
  z-index: 1;
}

.vvsm-fp-hero-card__content {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  width: min(72%, 650px);
  padding: clamp(28px, 3.2vw, 42px);
  box-sizing: border-box;
  color: #fff;
}

.vvsm-fp-hero-card__content h1 {
  margin: 14px 0 14px;
  max-width: 100%;
  font-size: clamp(40px, 4.15vw, 68px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 900;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  text-wrap: balance;
}

.vvsm-fp-hero-card__content h1 a {
  color: #fff;
}

.vvsm-fp-hero-card__content p {
  max-width: 580px;
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,.93);
}

.vvsm-fp-hero-card__meta .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
}

.vvsm-fp-top-list {
  display: grid;
  gap: 16px;
}

.vvsm-fp-card {
  background: #fff;
  border: 1px solid var(--vvsm-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20,32,24,.05);
  min-width: 0;
}

.vvsm-fp-card--mini {
  display: grid;
  grid-template-columns: 132px minmax(0,1fr);
  min-height: 126px;
}

.vvsm-fp-card__image {
  display: block;
  background: #eef4f0;
  overflow: hidden;
}

.vvsm-fp-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}

.vvsm-fp-card:hover .vvsm-fp-card__image img {
  transform: scale(1.035);
}

.vvsm-fp-card--mini .vvsm-fp-card__image {
  height: 100%;
  min-height: 126px;
}

.vvsm-fp-card--standard .vvsm-fp-card__image {
  aspect-ratio: 16 / 10;
}

.vvsm-fp-card__body {
  padding: 16px;
  min-width: 0;
}

.vvsm-fp-card--mini .vvsm-fp-card__body {
  padding: 14px;
}

.vvsm-fp-card__title {
  margin: 8px 0 8px;
  color: var(--vvsm-text);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
}

.vvsm-fp-card--mini .vvsm-fp-card__title {
  font-size: 17px;
}

.vvsm-fp-card--standard .vvsm-fp-card__title {
  font-size: clamp(20px, 1.7vw, 26px);
}

.vvsm-fp-card__title a {
  color: var(--vvsm-text);
}

.vvsm-fp-card__excerpt {
  margin: 0 0 12px;
  color: var(--vvsm-muted);
  line-height: 1.55;
}

.vvsm-fp-card__meta {
  color: #697970;
  font-size: 13px;
  font-weight: 700;
}

.vvsm-fp-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.vvsm-fp-post-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
}

.vvsm-fp-post-grid--three {
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.vvsm-fp-section-header {
  margin: 0 0 18px;
  align-items: end;
}

.vvsm-fp-section-header h2 {
  font-size: clamp(28px, 2.4vw, 38px);
  letter-spacing: -.035em;
}

.vvsm-fp-tools {
  margin: 44px 0;
  padding: 26px;
  border: 1px solid var(--vvsm-line);
  border-radius: 24px;
  background: linear-gradient(135deg, #f6fbf8, #ffffff);
}

.vvsm-fp-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.vvsm-fp-tool-card {
  display: block;
  background: #fff;
  border: 1px solid var(--vvsm-line);
  border-radius: 18px;
  padding: 18px;
  color: var(--vvsm-text);
}

.vvsm-fp-tool-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #e7f7ec;
  color: var(--vvsm-green);
  font-size: 22px;
  margin-bottom: 12px;
}

.vvsm-fp-tool-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.vvsm-fp-tool-card small {
  color: var(--vvsm-muted);
  line-height: 1.4;
}

.vvsm-fp-section {
  margin: 44px 0;
}

.vvsm-fp-sidebar {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 24px;
}

/* Sikring: gamle regler skal ikke gjøre høyrekortene enorme */
.vvsm-front-v32 .vvsm-fp-top-list h1,
.vvsm-front-v32 .vvsm-fp-top-list h2,
.vvsm-front-v32 .vvsm-fp-top-list h3 {
  font-size: 17px !important;
  line-height: 1.15 !important;
}

@media (max-width: 1180px) {
  .vvsm-fp-hero-grid {
    grid-template-columns: 1fr;
  }

  .vvsm-fp-top-list {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .vvsm-fp-main-layout {
    grid-template-columns: 1fr;
  }

  .vvsm-fp-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .vvsm-fp-post-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .vvsm-fp-tool-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  .vvsm-fp-hero-card {
    min-height: 430px;
    border-radius: 22px;
  }

  .vvsm-fp-hero-card__content {
    width: 100%;
    padding: 22px;
  }

  .vvsm-fp-hero-card__content h1 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.08;
  }

  .vvsm-fp-hero-card__content p {
    font-size: 16px;
  }

  .vvsm-fp-top-list,
  .vvsm-fp-sidebar,
  .vvsm-fp-post-grid,
  .vvsm-fp-post-grid--three,
  .vvsm-fp-tool-grid {
    grid-template-columns: 1fr;
  }

  .vvsm-fp-card--mini {
    grid-template-columns: 112px minmax(0,1fr);
  }

  .vvsm-fp-card--mini .vvsm-fp-card__title {
    font-size: 16px;
  }

  .vvsm-fp-tools {
    padding: 18px;
  }
}


/* v3.3 – Våre tips og Kalkulatorer */
.vvsm-page-hub {
  --vvsm-green: #17b34a;
  --vvsm-green-dark: #0f7f3a;
  --vvsm-text: #142018;
  --vvsm-muted: #63756b;
  --vvsm-line: #dfe9e2;
  --vvsm-soft: #f5faf7;
}

.vvsm-hub-hero {
  margin-top: 36px;
  margin-bottom: 22px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(21,148,71,.18), transparent 36%),
    linear-gradient(135deg, #f5faf7, #ffffff);
  border: 1px solid var(--vvsm-line);
  box-shadow: 0 14px 34px rgba(20,32,24,.05);
}

.vvsm-hub-hero h1 {
  max-width: 920px;
  margin: 8px 0 12px;
  font-size: clamp(42px, 5vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
  color: var(--vvsm-text);
}

.vvsm-hub-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--vvsm-muted);
}

.vvsm-hub-search-card {
  margin-bottom: 34px;
  padding: 22px;
  border: 1px solid var(--vvsm-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20,32,24,.05);
}

.vvsm-hub-search {
  display: grid;
  grid-template-columns: minmax(260px,1fr) minmax(220px,320px) auto auto;
  gap: 14px;
  align-items: end;
}

.vvsm-hub-search label span {
  display: block;
  margin-bottom: 7px;
  font-weight: 900;
  color: var(--vvsm-text);
}

.vvsm-hub-search input,
.vvsm-hub-search select {
  width: 100%;
  height: 48px;
  box-sizing: border-box;
  border: 1px solid #d7e4db;
  border-radius: 999px;
  padding: 0 16px;
  background: #fff;
  font-size: 15px;
}

.vvsm-hub-search input:focus,
.vvsm-hub-search select:focus {
  border-color: var(--vvsm-green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(21,148,71,.12);
}

.vvsm-hub-search button,
.vvsm-hub-reset {
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.vvsm-hub-search button {
  border: 0;
  background: var(--vvsm-green);
  color: #fff;
  cursor: pointer;
}

.vvsm-hub-reset {
  border: 1px solid var(--vvsm-green);
  color: var(--vvsm-green);
  background: #fff;
}

.vvsm-hub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.vvsm-hub-chips a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid #d7e4db;
  background: #f8fbf9;
  color: var(--vvsm-text);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
}

.vvsm-hub-chips a.is-active,
.vvsm-hub-chips a:hover {
  background: var(--vvsm-green);
  border-color: var(--vvsm-green);
  color: #fff;
}

.vvsm-hub-intro {
  margin-bottom: 30px;
}

.vvsm-hub-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  gap: 34px;
  align-items: start;
}

.vvsm-hub-sidebar {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 24px;
}

.vvsm-hub-section-header {
  margin-bottom: 18px;
}

.vvsm-hub-section-header h2 {
  font-size: clamp(28px, 2.5vw, 40px);
  letter-spacing: -.04em;
}

.vvsm-hub-section-header span {
  color: var(--vvsm-muted);
  font-weight: 800;
}

.vvsm-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.vvsm-hub-grid--three {
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.vvsm-hub-pagination {
  margin-top: 30px;
}

.vvsm-empty-state {
  padding: 34px;
  border-radius: 24px;
  border: 1px dashed #b9d4c2;
  background: #f8fbf9;
  text-align: center;
}

.vvsm-empty-state h2 {
  margin-top: 0;
  color: var(--vvsm-text);
}

.vvsm-empty-state p {
  color: var(--vvsm-muted);
}

.vvsm-tool-overview {
  margin: 32px auto 42px;
}

.vvsm-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}

.vvsm-tool-card {
  position: relative;
  display: block;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--vvsm-line);
  border-radius: 22px;
  background: #fff;
  color: var(--vvsm-text);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(20,32,24,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.vvsm-tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(21,148,71,.35);
  box-shadow: 0 16px 36px rgba(20,32,24,.09);
}

.vvsm-tool-card__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #e7f7ec;
  color: var(--vvsm-green);
  font-size: 25px;
  margin-bottom: 18px;
}

.vvsm-tool-card__tag {
  position: absolute;
  right: 16px;
  top: 16px;
  display: inline-flex;
  height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1f7f3;
  color: var(--vvsm-green-dark);
  font-size: 12px;
  font-weight: 900;
}

.vvsm-tool-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.vvsm-tool-card small {
  display: block;
  color: var(--vvsm-muted);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .vvsm-hub-layout {
    grid-template-columns: 1fr;
  }

  .vvsm-hub-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .vvsm-tool-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .vvsm-hub-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 800px) {
  .vvsm-hub-search {
    grid-template-columns: 1fr;
  }

  .vvsm-hub-sidebar,
  .vvsm-hub-grid,
  .vvsm-hub-grid--three,
  .vvsm-tool-grid {
    grid-template-columns: 1fr;
  }

  .vvsm-hub-hero {
    padding: 24px;
  }

  .vvsm-hub-hero h1 {
    font-size: clamp(36px, 10vw, 52px);
  }
}


/* v3.4 – Våre tips og Kalkulatorer */
.vvsm-page-hero {
  margin: 34px auto 26px;
  padding: 34px 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, #eef8f1, #fff);
  border: 1px solid #dfe9e2;
}

.vvsm-kicker {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #17b34a;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.vvsm-page-hero h1 {
  margin: 14px 0 8px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.vvsm-page-hero p {
  max-width: 760px;
  color: #63756b;
  font-size: 18px;
  line-height: 1.6;
}

.vvsm-tips-layout,
.vvsm-calc-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  gap: 34px;
  align-items: start;
}

.vvsm-tips-search {
  display: grid;
  grid-template-columns: minmax(0,1fr) 220px auto;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid #dfe9e2;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(20,32,24,.04);
  margin-bottom: 18px;
}

.vvsm-tips-search input,
.vvsm-tips-search select {
  height: 48px;
  border: 1px solid #d9e6dc;
  border-radius: 999px;
  padding: 0 16px;
  font-size: 15px;
}

.vvsm-tips-search button {
  height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: #17b34a;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.vvsm-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.vvsm-category-pills a {
  display: inline-flex;
  padding: 8px 13px;
  border: 1px solid #dfe9e2;
  border-radius: 999px;
  background: #fff;
  color: #142018;
  font-weight: 800;
  text-decoration: none;
}

.vvsm-category-pills a.active,
.vvsm-category-pills a:hover {
  background: #17b34a;
  color: #fff;
  border-color: #17b34a;
}

.vvsm-tips-grid,
.vvsm-calc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.vvsm-tip-card,
.vvsm-calc-card {
  background: #fff;
  border: 1px solid #dfe9e2;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20,32,24,.05);
}

.vvsm-tip-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  background: #eef4f0;
  overflow: hidden;
}

.vvsm-tip-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vvsm-tip-card__body {
  padding: 18px;
}

.vvsm-tip-card h2,
.vvsm-calc-card h2 {
  margin: 10px 0 8px;
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -.02em;
}

.vvsm-tip-card h2 a,
.vvsm-calc-card {
  color: #142018;
  text-decoration: none;
}

.vvsm-tip-card p,
.vvsm-calc-card p {
  color: #63756b;
  line-height: 1.55;
}

.vvsm-tip-card__meta {
  color: #697970;
  font-size: 13px;
  font-weight: 700;
}

.vvsm-calc-card {
  padding: 24px;
}

.vvsm-calc-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #e8f7ed;
  color: #17b34a;
  font-weight: 900;
  font-size: 24px;
}

.vvsm-calc-card strong {
  color: #17b34a;
}

.vvsm-calc-more {
  margin-top: 42px;
}

.vvsm-tips-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 24px;
}

.vvsm-empty-box {
  background: #fff8e6;
  border: 1px solid #f1d28a;
  border-radius: 18px;
  padding: 24px;
}

.vvsm-pagination {
  margin: 28px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vvsm-pagination a,
.vvsm-pagination span {
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #dfe9e2;
  text-decoration: none;
}

.vvsm-pagination .current {
  background: #17b34a;
  color: #fff;
}

@media (max-width: 1100px) {
  .vvsm-tips-layout,
  .vvsm-calc-layout {
    grid-template-columns: 1fr;
  }

  .vvsm-tips-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .vvsm-tips-grid,
  .vvsm-calc-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  .vvsm-tips-search {
    grid-template-columns: 1fr;
  }

  .vvsm-tips-grid,
  .vvsm-calc-grid,
  .vvsm-tips-sidebar {
    grid-template-columns: 1fr;
  }

  .vvsm-page-hero {
    padding: 26px 20px;
  }
}


/* v3.5 – fikset kalkulatorside */
.vvsm-calc-page-v35 {
  --vvsm-green: #17b34a;
  --vvsm-green-dark: #0f7f3a;
  --vvsm-text: #142018;
  --vvsm-muted: #63756b;
  --vvsm-line: #dfe9e2;
  --vvsm-soft: #f6fbf8;
}

.vvsm-calc-layout-v35 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.vvsm-calc-main-v35 {
  min-width: 0;
}

.vvsm-calc-grid-v35 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 20px;
  align-items: stretch;
}

.vvsm-calc-card-v35 {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--vvsm-line);
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(20,32,24,.06);
  color: var(--vvsm-text);
  text-decoration: none;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.vvsm-calc-card-v35:hover {
  transform: translateY(-2px);
  border-color: rgba(21,148,71,.38);
  box-shadow: 0 16px 36px rgba(20,32,24,.09);
}

.vvsm-calc-icon-v35 {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #e8f7ed;
  color: var(--vvsm-green);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
}

.vvsm-calc-card-v35 h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--vvsm-text);
  overflow-wrap: break-word;
}

.vvsm-calc-card-v35 p {
  margin: 0 0 14px;
  color: var(--vvsm-muted);
  line-height: 1.55;
  font-size: 15px;
}

.vvsm-calc-card-v35 strong {
  color: var(--vvsm-green);
  font-weight: 900;
}

.vvsm-calc-more-v35 {
  margin-top: 44px;
}

.vvsm-calc-post-grid-v35 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}

.vvsm-calc-post-card-v35 {
  background: #fff;
  border: 1px solid var(--vvsm-line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20,32,24,.05);
}

.vvsm-calc-post-card-v35__image {
  display: block;
  aspect-ratio: 16 / 10;
  background: #eef4f0;
  overflow: hidden;
}

.vvsm-calc-post-card-v35__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vvsm-calc-post-card-v35__body {
  padding: 18px;
}

.vvsm-calc-post-card-v35 h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.16;
  letter-spacing: -.02em;
}

.vvsm-calc-post-card-v35 h3 a {
  color: var(--vvsm-text);
  text-decoration: none;
}

.vvsm-calc-post-card-v35 p {
  color: var(--vvsm-muted);
  line-height: 1.55;
  margin: 0;
}

.vvsm-calc-sidebar-v35 {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 24px;
}

/* Overstyr gamle regler som ga tynne kort */
.vvsm-calc-page-v35 .vvsm-calc-grid,
.vvsm-calc-page-v35 .vvsm-calc-card {
  all: unset;
}

@media (max-width: 1100px) {
  .vvsm-calc-layout-v35 {
    grid-template-columns: 1fr;
  }

  .vvsm-calc-sidebar-v35 {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  }
}

@media (max-width: 640px) {
  .vvsm-calc-card-v35 {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .vvsm-calc-icon-v35 {
    width: 48px;
    height: 48px;
  }
}


/* v3.6 – ryddigere Siste nytt: 2 store + 4 kompakte */
.vvsm-fp-news-large-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:20px}.vvsm-fp-card--news-large{display:grid;grid-template-columns:minmax(180px,42%) minmax(0,1fr);min-height:230px}.vvsm-fp-card--news-large .vvsm-fp-card__image{min-height:230px}.vvsm-fp-card--news-large .vvsm-fp-card__body{padding:22px;display:flex;flex-direction:column;justify-content:center}.vvsm-fp-card--news-large .vvsm-fp-card__title{font-size:clamp(24px,2.2vw,34px)!important;line-height:1.08!important;margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.vvsm-fp-card--news-large .vvsm-fp-card__excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.vvsm-fp-news-small-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.vvsm-fp-card--news-small .vvsm-fp-card__image{aspect-ratio:16/9}.vvsm-fp-card--news-small .vvsm-fp-card__body{padding:15px}.vvsm-fp-card--news-small .vvsm-fp-card__title{font-size:19px!important;line-height:1.12!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.vvsm-fp-card--news-small .vvsm-fp-card__excerpt{display:none!important}.vvsm-fp-card--news-small .vvsm-fp-card__meta{font-size:12px}@media(max-width:1180px){.vvsm-fp-news-small-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:860px){.vvsm-fp-news-large-grid{grid-template-columns:1fr}.vvsm-fp-card--news-large{grid-template-columns:1fr}.vvsm-fp-card--news-large .vvsm-fp-card__image{aspect-ratio:16/9;min-height:0}}@media(max-width:640px){.vvsm-fp-news-small-grid{grid-template-columns:1fr}}


/* v3.7 – tydeligere Siste nytt-kort
   Første rad: bilde øverst, tekst under. Andre rad: strammere småkort. */
.vvsm-front-v36 .vvsm-fp36-latest {
  padding: 26px;
  margin: 0 0 46px;
  background: linear-gradient(135deg, #f7fbf8 0%, #ffffff 100%);
  border: 1px solid #dfe9e2;
  border-radius: 28px;
  box-shadow: 0 10px 28px rgba(20,32,24,.035);
}

.vvsm-front-v36 .vvsm-fp36-latest .vvsm-fp36-section-header {
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dfe9e2;
}

/* Store kort i første rad: ikke side-ved-side lenger */
.vvsm-front-v36 .vvsm-fp36-card--news-large {
  display: block !important;
  min-height: 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid #d9e6dc !important;
  box-shadow: 0 10px 26px rgba(20,32,24,.055) !important;
}

.vvsm-front-v36 .vvsm-fp36-card--news-large .vvsm-fp36-card__image {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
  height: auto !important;
  background: #eef4f0 !important;
  overflow: hidden !important;
}

.vvsm-front-v36 .vvsm-fp36-card--news-large .vvsm-fp36-card__image img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

.vvsm-front-v36 .vvsm-fp36-card--news-large .vvsm-fp36-card__body {
  display: block !important;
  padding: 22px 22px 20px !important;
  min-height: 215px !important;
}

.vvsm-front-v36 .vvsm-fp36-card--news-large .vvsm-fp36-card__title {
  font-size: clamp(24px, 2vw, 32px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
  margin: 10px 0 10px !important;
  color: #142018 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.vvsm-front-v36 .vvsm-fp36-card--news-large .vvsm-fp36-card__excerpt {
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #63756b !important;
  margin: 0 0 14px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Mer luft mellom to store kort */
.vvsm-front-v36 .vvsm-fp36-news-large-grid {
  gap: 24px !important;
  margin-bottom: 24px !important;
}

/* Småkortene i rad to blir tydeligere og litt lavere */
.vvsm-front-v36 .vvsm-fp36-news-small-grid {
  gap: 20px !important;
}

.vvsm-front-v36 .vvsm-fp36-card--news-small {
  border-radius: 22px !important;
  border: 1px solid #d9e6dc !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(20,32,24,.045) !important;
}

.vvsm-front-v36 .vvsm-fp36-card--news-small .vvsm-fp36-card__image {
  aspect-ratio: 16 / 8.8 !important;
  min-height: 0 !important;
}

.vvsm-front-v36 .vvsm-fp36-card--news-small .vvsm-fp36-card__body {
  padding: 15px 15px 16px !important;
}

.vvsm-front-v36 .vvsm-fp36-card--news-small .vvsm-fp36-card__title {
  font-size: 18px !important;
  line-height: 1.16 !important;
  margin: 8px 0 10px !important;
  letter-spacing: -0.02em !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Gjør kategori-badge litt mindre i Siste nytt */
.vvsm-front-v36 .vvsm-fp36-latest .cat-badge,
.vvsm-front-v36 .vvsm-fp36-latest .category-badge,
.vvsm-front-v36 .vvsm-fp36-latest .post-category,
.vvsm-front-v36 .vvsm-fp36-latest .badge {
  max-width: 100%;
}

/* PC: behold 2 + 4 struktur */
@media (min-width: 1181px) {
  .vvsm-front-v36 .vvsm-fp36-news-large-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .vvsm-front-v36 .vvsm-fp36-news-small-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Nettbrett: 2 småkort per rad */
@media (max-width: 1180px) {
  .vvsm-front-v36 .vvsm-fp36-latest {
    padding: 22px;
  }

  .vvsm-front-v36 .vvsm-fp36-news-large-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .vvsm-front-v36 .vvsm-fp36-news-small-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Mobil: én kolonne */
@media (max-width: 760px) {
  .vvsm-front-v36 .vvsm-fp36-latest {
    padding: 18px;
    border-radius: 22px;
  }

  .vvsm-front-v36 .vvsm-fp36-news-large-grid,
  .vvsm-front-v36 .vvsm-fp36-news-small-grid {
    grid-template-columns: 1fr !important;
  }

  .vvsm-front-v36 .vvsm-fp36-card--news-large .vvsm-fp36-card__body {
    min-height: 0 !important;
  }

  .vvsm-front-v36 .vvsm-fp36-card--news-large .vvsm-fp36-card__title {
    font-size: 24px !important;
  }
}

/* v3.8 – forsideretting etter test: mindre hero og tydeligere Siste nytt */
.vvsm-front-v38 .vvsm-fp-hero-grid {
  grid-template-columns: minmax(0, 1.72fr) minmax(280px, .92fr);
  gap: 26px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.vvsm-front-v38 .vvsm-fp-hero-card {
  min-height: 455px;
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(20,32,24,.095);
}

.vvsm-front-v38 .vvsm-fp-hero-card__shade {
  background:
    linear-gradient(90deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.38) 44%, rgba(0,0,0,.08) 100%),
    linear-gradient(0deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.03) 64%);
}

.vvsm-front-v38 .vvsm-fp-hero-card__content {
  width: min(66%, 600px);
  padding: clamp(24px, 2.7vw, 36px);
}

.vvsm-front-v38 .vvsm-fp-hero-card__content h1 {
  font-size: clamp(34px, 3.45vw, 54px);
  line-height: 1.06;
  margin: 12px 0 12px;
  letter-spacing: -.04em;
}

.vvsm-front-v38 .vvsm-fp-hero-card__content p {
  max-width: 540px;
  font-size: 16.5px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.vvsm-front-v38 .vvsm-fp-card {
  border-color: #d8e5dc;
  box-shadow: 0 10px 24px rgba(20,32,24,.052);
}

.vvsm-front-v38 .vvsm-fp-card:hover {
  box-shadow: 0 16px 34px rgba(20,32,24,.075);
}

.vvsm-front-v38 .vvsm-fp-latest {
  padding: 26px;
  margin: 0 0 44px;
  background: linear-gradient(135deg, #f7fbf8 0%, #ffffff 100%);
  border: 1px solid #dfe9e2;
  border-radius: 28px;
  box-shadow: 0 10px 28px rgba(20,32,24,.035);
}

.vvsm-front-v38 .vvsm-fp-latest .vvsm-fp-section-header {
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dfe9e2;
}

.vvsm-front-v38 .vvsm-fp-news-large-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.vvsm-front-v38 .vvsm-fp-card--news-large {
  display: block !important;
  min-height: 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid #d8e5dc !important;
  box-shadow: 0 10px 26px rgba(20,32,24,.058) !important;
}

.vvsm-front-v38 .vvsm-fp-card--news-large .vvsm-fp-card__image {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
  height: auto !important;
  background: #eef4f0 !important;
}

.vvsm-front-v38 .vvsm-fp-card--news-large .vvsm-fp-card__image img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

.vvsm-front-v38 .vvsm-fp-card--news-large .vvsm-fp-card__body {
  display: block !important;
  padding: 22px 22px 20px !important;
  min-height: 205px !important;
}

.vvsm-front-v38 .vvsm-fp-card--news-large .vvsm-fp-card__title {
  font-size: clamp(24px, 2vw, 31px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.03em !important;
  margin: 10px 0 10px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.vvsm-front-v38 .vvsm-fp-card--news-large .vvsm-fp-card__excerpt {
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #63756b !important;
  margin: 0 0 14px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.vvsm-front-v38 .vvsm-fp-news-small-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.vvsm-front-v38 .vvsm-fp-card--news-small {
  border-radius: 22px !important;
  border: 1px solid #d8e5dc !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(20,32,24,.048) !important;
}

.vvsm-front-v38 .vvsm-fp-card--news-small .vvsm-fp-card__image {
  aspect-ratio: 16 / 8.8 !important;
  min-height: 0 !important;
}

.vvsm-front-v38 .vvsm-fp-card--news-small .vvsm-fp-card__body {
  padding: 15px 15px 16px !important;
}

.vvsm-front-v38 .vvsm-fp-card--news-small .vvsm-fp-card__title {
  font-size: 18px !important;
  line-height: 1.16 !important;
  margin: 8px 0 10px !important;
  letter-spacing: -.02em !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.vvsm-front-v38 .vvsm-fp-card--news-small .vvsm-fp-card__excerpt {
  display: none !important;
}

.vvsm-front-v38 .vvsm-fp-latest .cat-badge,
.vvsm-front-v38 .vvsm-fp-latest .category-badge,
.vvsm-front-v38 .vvsm-fp-latest .post-category,
.vvsm-front-v38 .vvsm-fp-latest .badge {
  max-width: 100%;
}

@media (max-width: 1180px) {
  .vvsm-front-v38 .vvsm-fp-hero-grid {
    grid-template-columns: 1fr;
  }

  .vvsm-front-v38 .vvsm-fp-news-large-grid,
  .vvsm-front-v38 .vvsm-fp-news-small-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .vvsm-front-v38 .vvsm-fp-news-large-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .vvsm-front-v38 .vvsm-fp-hero-card {
    min-height: 380px;
    border-radius: 22px;
  }

  .vvsm-front-v38 .vvsm-fp-hero-card__shade {
    background:
      linear-gradient(0deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.20) 70%),
      linear-gradient(90deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.08) 100%);
  }

  .vvsm-front-v38 .vvsm-fp-hero-card__content {
    width: 100%;
    padding: 22px;
  }

  .vvsm-front-v38 .vvsm-fp-hero-card__content h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .vvsm-front-v38 .vvsm-fp-latest {
    padding: 18px;
    border-radius: 22px;
    margin-bottom: 34px;
  }

  .vvsm-front-v38 .vvsm-fp-news-large-grid,
  .vvsm-front-v38 .vvsm-fp-news-small-grid {
    grid-template-columns: 1fr;
  }

  .vvsm-front-v38 .vvsm-fp-card--news-large .vvsm-fp-card__body {
    min-height: 0 !important;
  }
}



/* v3.9 – finpuss av vanlige kort lenger ned på forsiden
   Endrer bare forsideseksjonene under Siste nytt/Kalkulatorer. */
.vvsm-front-v39 .vvsm-fp-section {
  margin: 38px 0;
}

.vvsm-front-v39 .vvsm-fp-section .vvsm-fp-section-header {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dfe9e2;
}

.vvsm-front-v39 .vvsm-fp-section .vvsm-fp-post-grid--three {
  gap: 22px;
}

.vvsm-front-v39 .vvsm-fp-section .vvsm-fp-card--standard {
  border-radius: 22px;
  border-color: #d8e5dc;
  box-shadow: 0 9px 22px rgba(20,32,24,.045);
  min-height: 0;
}

.vvsm-front-v39 .vvsm-fp-section .vvsm-fp-card--standard:hover {
  box-shadow: 0 14px 30px rgba(20,32,24,.065);
}

.vvsm-front-v39 .vvsm-fp-section .vvsm-fp-card--standard .vvsm-fp-card__image {
  aspect-ratio: 16 / 8.6;
  min-height: 0;
}

.vvsm-front-v39 .vvsm-fp-section .vvsm-fp-card--standard .vvsm-fp-card__body {
  padding: 16px 16px 18px;
}

.vvsm-front-v39 .vvsm-fp-section .vvsm-fp-card--standard .vvsm-fp-card__title {
  font-size: clamp(20px, 1.25vw, 23px) !important;
  line-height: 1.13 !important;
  letter-spacing: -.018em !important;
  margin: 10px 0 10px !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: manual !important;
  text-wrap: balance;
}

.vvsm-front-v39 .vvsm-fp-section .vvsm-fp-card--standard .vvsm-fp-card__title a {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: manual !important;
}

.vvsm-front-v39 .vvsm-fp-section .vvsm-fp-card--standard .vvsm-fp-card__excerpt {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vvsm-front-v39 .vvsm-fp-section .vvsm-fp-card--standard .vvsm-fp-card__meta {
  font-size: 12.5px;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .vvsm-front-v39 .vvsm-fp-section .vvsm-fp-post-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .vvsm-front-v39 .vvsm-fp-section .vvsm-fp-post-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .vvsm-front-v39 .vvsm-fp-section .vvsm-fp-post-grid--three {
    grid-template-columns: 1fr;
  }

  .vvsm-front-v39 .vvsm-fp-section .vvsm-fp-card--standard .vvsm-fp-card__title {
    font-size: 21px !important;
  }
}

/* v3.10 – bedre kortbredde/tekstflyt i nedre forsideseksjoner
   Endrer kun forsiden: hovedkort-gradient + vanlige kort under Kalkulatorer og verktøy. */
.vvsm-front-v310 .vvsm-fp-hero-card__shade {
  background:
    linear-gradient(90deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.56) 42%, rgba(0,0,0,.18) 100%),
    linear-gradient(0deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.05) 64%) !important;
}

.vvsm-front-v310 .vvsm-fp-section .vvsm-fp-post-grid--three {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr)) !important;
  gap: 24px !important;
}

.vvsm-front-v310 .vvsm-fp-section .vvsm-fp-card--standard,
.vvsm-front-v310 .vvsm-fp-section .vvsm-fp-card--standard *,
.vvsm-front-v310 .vvsm-fp-section .vvsm-fp-card--standard .vvsm-fp-card__body,
.vvsm-front-v310 .vvsm-fp-section .vvsm-fp-card--standard .vvsm-fp-card__title,
.vvsm-front-v310 .vvsm-fp-section .vvsm-fp-card--standard .vvsm-fp-card__title a {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.vvsm-front-v310 .vvsm-fp-section .vvsm-fp-card--standard {
  display: flex;
  flex-direction: column;
}

.vvsm-front-v310 .vvsm-fp-section .vvsm-fp-card--standard .vvsm-fp-card__image {
  aspect-ratio: 16 / 8.2 !important;
}

.vvsm-front-v310 .vvsm-fp-section .vvsm-fp-card--standard .vvsm-fp-card__body {
  padding: 17px 18px 19px !important;
  flex: 1 1 auto;
}

.vvsm-front-v310 .vvsm-fp-section .vvsm-fp-card--standard .vvsm-fp-card__title {
  font-size: clamp(18px, 1.08vw, 21px) !important;
  line-height: 1.16 !important;
  letter-spacing: -.016em !important;
  margin: 10px 0 10px !important;
  overflow: visible !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  hyphens: auto !important;
  text-wrap: pretty;
}

.vvsm-front-v310 .vvsm-fp-section .vvsm-fp-card--standard .vvsm-fp-card__title a {
  display: inline;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  hyphens: auto !important;
}

.vvsm-front-v310 .vvsm-fp-section .vvsm-fp-card--standard .vvsm-fp-card__excerpt {
  font-size: 14px !important;
  line-height: 1.43 !important;
  -webkit-line-clamp: 2;
}

.vvsm-front-v310 .vvsm-fp-section .vvsm-fp-card--standard .badge,
.vvsm-front-v310 .vvsm-fp-section .vvsm-fp-card--standard .cat-badge,
.vvsm-front-v310 .vvsm-fp-section .vvsm-fp-card--standard .category-badge,
.vvsm-front-v310 .vvsm-fp-section .vvsm-fp-card--standard .post-category {
  max-width: 100%;
  white-space: normal;
}

@media (max-width: 1180px) {
  .vvsm-front-v310 .vvsm-fp-section .vvsm-fp-post-grid--three {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .vvsm-front-v310 .vvsm-fp-section .vvsm-fp-post-grid--three {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .vvsm-front-v310 .vvsm-fp-section .vvsm-fp-card--standard .vvsm-fp-card__title {
    font-size: 21px !important;
    line-height: 1.14 !important;
  }
}



/* v3.11 – fire plasser i nedre forsideseksjoner.
   Hvis annonsekort er konfigurert, vises 3 innlegg + annonse. Hvis ikke, vises 4 innlegg. */
.vvsm-front-v311 .vvsm-fp-section .vvsm-fp-post-grid--section-slots {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}

.vvsm-front-v311 .vvsm-fp-section-ad-card {
  min-width: 0;
  border: 1px dashed #b9d8c4;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, #f7fbf8, #ffffff);
  box-shadow: 0 9px 22px rgba(20,32,24,.04);
  display: flex;
  align-items: stretch;
}

.vvsm-front-v311 .vvsm-fp-section-ad-card .vvsm-ad,
.vvsm-front-v311 .vvsm-fp-section-ad-card .vvsmester-ad {
  width: 100%;
  min-height: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.vvsm-front-v311 .vvsm-fp-section-ad-card .vvsm-ad-label,
.vvsm-front-v311 .vvsm-fp-section-ad-card .vvsmester-ad__label {
  padding-top: 14px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6f7f76;
  text-align: center;
  font-weight: 800;
}

.vvsm-front-v311 .vvsm-fp-section-ad-card .vvsm-ad-placeholder,
.vvsm-front-v311 .vvsm-fp-section-ad-card .vvsmester-ad__placeholder {
  flex: 1;
  min-height: 210px;
  display: grid;
  place-items: center;
  padding: 22px;
  color: #6a7c72;
  font-weight: 900;
  text-align: center;
}

.vvsm-front-v311 .vvsm-fp-section-ad-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
}

.vvsm-front-v311 .vvsm-fp-section-ad-card a {
  display: block;
  width: 100%;
}

@media (max-width: 760px) {
  .vvsm-front-v311 .vvsm-fp-section .vvsm-fp-post-grid--section-slots {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}


/* v3.12 – Kontakt oss-side og Contact Form 7-stil */
.vvsm-contact-page {
  background: #fff;
}

.vvsm-contact-hero {
  margin-top: 34px;
  margin-bottom: 22px;
}

.vvsm-contact-hero__content {
  max-width: 900px;
  background: linear-gradient(135deg, #f6fbf8 0%, #ffffff 68%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(26px, 4vw, 46px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .045);
}

.vvsm-contact-hero h1 {
  font-size: clamp(2.15rem, 5vw, 4rem);
  line-height: 1.02;
  margin: 0 0 14px;
  letter-spacing: -.04em;
}

.vvsm-contact-hero p {
  max-width: 760px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.vvsm-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
  margin-bottom: 56px;
}

.vvsm-contact-main,
.vvsm-contact-sidebar {
  min-width: 0;
}

.vvsm-contact-notice {
  background: #f6fbf8;
  border: 1px solid #d9eadf;
  border-left: 6px solid var(--green);
  border-radius: 22px;
  padding: 18px 20px;
  color: #23362d;
  line-height: 1.65;
  margin-bottom: 24px;
}

.vvsm-contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 26px;
}

.vvsm-contact-info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .04);
  min-width: 0;
}

.vvsm-contact-info-card__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--green-soft);
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.vvsm-contact-info-card h2 {
  font-size: 1.1rem;
  line-height: 1.2;
  margin: 0 0 9px;
  letter-spacing: -.02em;
}

.vvsm-contact-info-card p {
  font-size: .95rem;
  line-height: 1.55;
  margin: 0;
  color: var(--muted);
}

.vvsm-contact-form-card,
.vvsm-contact-side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .055);
}

.vvsm-contact-form-card {
  padding: clamp(22px, 3vw, 34px);
}

.vvsm-contact-form-card__header {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.vvsm-contact-form-card__header h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.1;
  margin: 0 0 8px;
  letter-spacing: -.035em;
}

.vvsm-contact-form-card__header p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.vvsm-contact-form-content > * {
  max-width: none;
}

.vvsm-contact-form-content p {
  margin: 0 0 18px;
}

.vvsm-contact-form-content br {
  display: none;
}

.vvsm-contact-form-content label,
.vvsm-contact-form-content .wpcf7-form-control-wrap {
  display: block;
}

.vvsm-contact-form-content label {
  font-weight: 850;
  color: var(--ink);
  margin-bottom: 7px;
}

.vvsm-contact-form-content input[type="text"],
.vvsm-contact-form-content input[type="email"],
.vvsm-contact-form-content input[type="tel"],
.vvsm-contact-form-content input[type="url"],
.vvsm-contact-form-content select,
.vvsm-contact-form-content textarea {
  width: 100%;
  border: 1px solid #d6e4dc;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  background: #fbfdfc;
  color: var(--ink);
  box-sizing: border-box;
  margin-top: 7px;
}

.vvsm-contact-form-content textarea {
  min-height: 170px;
  resize: vertical;
}

.vvsm-contact-form-content input:focus,
.vvsm-contact-form-content select:focus,
.vvsm-contact-form-content textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(22,155,73,.12);
  background: #fff;
}

.vvsm-contact-form-content .wpcf7-acceptance label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.5;
}

.vvsm-contact-form-content .wpcf7-acceptance input {
  margin-top: 4px;
}

.vvsm-contact-form-content input[type="submit"] {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 900;
  padding: 16px 24px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(22,155,73,.24);
}

.vvsm-contact-form-content input[type="submit"]:hover,
.vvsm-contact-form-content input[type="submit"]:focus-visible {
  background: var(--green-dark);
}

.vvsm-contact-form-content .wpcf7-not-valid-tip {
  font-size: .86rem;
  margin-top: 7px;
  color: #b42318;
}

.vvsm-contact-form-content .wpcf7-response-output {
  border-radius: 18px !important;
  padding: 14px 16px !important;
  margin: 18px 0 0 !important;
  line-height: 1.5;
}

.vvsm-contact-side-card {
  padding: 24px;
  margin-bottom: 24px;
}

.vvsm-contact-side-card h2 {
  font-size: 1.45rem;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -.03em;
}

.vvsm-contact-side-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.55;
}

.vvsm-contact-side-card li + li {
  margin-top: 10px;
}

@media (max-width: 1120px) {
  .vvsm-contact-layout {
    grid-template-columns: 1fr;
  }

  .vvsm-contact-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    gap: 24px;
    align-items: start;
  }
}

@media (max-width: 900px) {
  .vvsm-contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .vvsm-contact-hero {
    margin-top: 18px;
  }

  .vvsm-contact-hero__content,
  .vvsm-contact-form-card,
  .vvsm-contact-side-card {
    border-radius: 22px;
  }

  .vvsm-contact-info-grid,
  .vvsm-contact-sidebar {
    grid-template-columns: 1fr;
  }

  .vvsm-contact-form-card {
    padding: 20px;
  }

  .vvsm-contact-form-content input[type="text"],
  .vvsm-contact-form-content input[type="email"],
  .vvsm-contact-form-content input[type="tel"],
  .vvsm-contact-form-content input[type="url"],
  .vvsm-contact-form-content select,
  .vvsm-contact-form-content textarea {
    border-radius: 14px;
    padding: 13px 14px;
  }
}

/* v3.14 – Om oss-side */
.vvsm-about-page {
  background: #fff;
}

.vvsm-about-hero {
  margin-top: 34px;
  margin-bottom: 22px;
}

.vvsm-about-hero__content {
  max-width: 930px;
  background:
    radial-gradient(circle at top right, rgba(22,155,73,.11), transparent 34%),
    linear-gradient(135deg, #f6fbf8 0%, #ffffff 70%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(26px, 4vw, 48px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .045);
}

.vvsm-about-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.15rem);
  line-height: 1.02;
  margin: 0 0 14px;
  letter-spacing: -.045em;
}

.vvsm-about-hero p {
  max-width: 780px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.vvsm-about-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.vvsm-about-feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .04);
  min-width: 0;
}

.vvsm-about-feature-card__icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--green-soft);
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.vvsm-about-feature-card h2 {
  font-size: 1.25rem;
  line-height: 1.18;
  margin: 0 0 10px;
  letter-spacing: -.025em;
}

.vvsm-about-feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.vvsm-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: start;
  margin-bottom: 58px;
}

.vvsm-about-main-card,
.vvsm-about-side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .055);
}

.vvsm-about-main-card {
  padding: clamp(24px, 3.2vw, 42px);
  min-width: 0;
}

.vvsm-about-content {
  max-width: none;
  font-size: 1.06rem;
  line-height: 1.78;
  color: #15251c;
}

.vvsm-about-content > *:first-child {
  margin-top: 0;
}

.vvsm-about-content > *:last-child {
  margin-bottom: 0;
}

.vvsm-about-content p {
  margin: 0 0 1.25em;
}

.vvsm-about-content h2,
.vvsm-about-content h3,
.vvsm-about-content h4 {
  margin: 1.55em 0 .55em;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.vvsm-about-content h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  padding-top: .25em;
  border-top: 1px solid var(--line);
}

.vvsm-about-content h3 {
  font-size: 1.35rem;
}

.vvsm-about-content a {
  color: var(--green-dark);
  font-weight: 800;
}

.vvsm-about-sidebar {
  min-width: 0;
  display: grid;
  gap: 22px;
}

.vvsm-about-side-card {
  padding: 24px;
}

.vvsm-about-side-card--green {
  background:
    linear-gradient(135deg, #0e6f36 0%, #17b34a 100%);
  color: #fff;
  border-color: transparent;
}

.vvsm-about-side-card h2 {
  font-size: 1.45rem;
  line-height: 1.15;
  margin: 0 0 13px;
  letter-spacing: -.03em;
}

.vvsm-about-side-card p,
.vvsm-about-side-card li {
  color: var(--muted);
  line-height: 1.6;
}

.vvsm-about-side-card--green p,
.vvsm-about-side-card--green li {
  color: rgba(255,255,255,.9);
}

.vvsm-about-side-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.vvsm-about-side-card li + li {
  margin-top: 10px;
}

.vvsm-about-side-card .button {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

@media (max-width: 1120px) {
  .vvsm-about-layout {
    grid-template-columns: 1fr;
  }

  .vvsm-about-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .vvsm-about-feature-grid,
  .vvsm-about-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .vvsm-about-hero {
    margin-top: 18px;
  }

  .vvsm-about-hero__content,
  .vvsm-about-main-card,
  .vvsm-about-side-card,
  .vvsm-about-feature-card {
    border-radius: 22px;
  }

  .vvsm-about-main-card {
    padding: 22px;
  }

  .vvsm-about-content {
    font-size: 1rem;
    line-height: 1.72;
  }
}

/* v3.16 – diskrete prosjekt- og sosiale lenker i footer */
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-bottom__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-project-link,
.footer-social-link {
  color: #bfd1c6;
  text-decoration: none;
  font-weight: 700;
  opacity: .88;
}

.footer-project-link:hover,
.footer-social-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 1;
}

.footer-link-separator {
  color: rgba(191, 209, 198, .62);
}

@media (max-width: 640px) {
  .footer-bottom__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom__links {
    justify-content: flex-start;
  }
}

/* v3.17 – sidemal for personvernerklæring og ansvarsfraskrivelse */
.vvsm-legal-page {
  background:
    radial-gradient(circle at top left, rgba(22, 155, 73, .09), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f7faf8 46%, #ffffff 100%);
}

.vvsm-legal-hero {
  padding: 42px 0 16px;
}

.vvsm-legal-hero__content {
  max-width: 920px;
}

.vvsm-legal-hero h1 {
  max-width: 980px;
  margin-bottom: 16px;
  font-size: clamp(2.15rem, 5vw, 4.25rem);
}

.vvsm-legal-hero p {
  max-width: 820px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  line-height: 1.65;
}

.vvsm-legal-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 16px auto 28px;
}

.vvsm-legal-highlight-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(18, 50, 30, .055);
}

.vvsm-legal-highlight-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green-dark);
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.vvsm-legal-highlight-card h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.vvsm-legal-highlight-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.vvsm-legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  margin-bottom: 46px;
}

.vvsm-legal-main-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 42px);
}

.vvsm-legal-intro-note {
  background: #f3fbf6;
  border: 1px solid #cfe8d8;
  border-left: 6px solid var(--green);
  border-radius: 20px;
  padding: 18px 20px;
  margin-bottom: 30px;
  color: #1d3628;
  line-height: 1.65;
}

.vvsm-legal-content {
  max-width: 820px;
  font-size: 1.02rem;
}

.vvsm-legal-content > *:first-child {
  margin-top: 0;
}

.vvsm-legal-content h1,
.vvsm-legal-content h2,
.vvsm-legal-content h3 {
  scroll-margin-top: 120px;
}

.vvsm-legal-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1.2rem;
}

.vvsm-legal-content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.vvsm-legal-content h3 {
  font-size: 1.16rem;
  margin-top: 1.6rem;
}

.vvsm-legal-content p,
.vvsm-legal-content li {
  color: #314239;
}

.vvsm-legal-content p {
  line-height: 1.75;
}

.vvsm-legal-content ul,
.vvsm-legal-content ol {
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
}

.vvsm-legal-content li {
  margin-bottom: .45rem;
}

.vvsm-legal-content a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.vvsm-legal-content .wp-block-button__link {
  text-decoration: none;
  color: #fff;
}

.vvsm-legal-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 18px;
}

.vvsm-legal-side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(18, 50, 30, .05);
}

.vvsm-legal-side-card--green {
  background: linear-gradient(135deg, #0f7f3a, #17b34a);
  color: #fff;
  border-color: rgba(255,255,255,.18);
}

.vvsm-legal-side-card--green h2,
.vvsm-legal-side-card--green li {
  color: #fff;
}

.vvsm-legal-side-card h2 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.vvsm-legal-side-card p,
.vvsm-legal-side-card li {
  color: var(--muted);
  line-height: 1.55;
}

.vvsm-legal-side-card--green p,
.vvsm-legal-side-card--green li {
  color: rgba(255,255,255,.88);
}

.vvsm-legal-side-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.vvsm-legal-side-card li {
  margin-bottom: .55rem;
}

.vvsm-legal-side-card li:last-child {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .vvsm-legal-layout {
    grid-template-columns: 1fr;
  }

  .vvsm-legal-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .vvsm-legal-highlight-grid,
  .vvsm-legal-sidebar {
    grid-template-columns: 1fr;
  }

  .vvsm-legal-hero {
    padding-top: 28px;
  }
}

@media (max-width: 560px) {
  .vvsm-legal-main-card,
  .vvsm-legal-highlight-card,
  .vvsm-legal-side-card {
    border-radius: 20px;
  }

  .vvsm-legal-main-card {
    padding: 20px;
  }

  .vvsm-legal-intro-note {
    border-radius: 16px;
    padding: 16px;
  }
}

/* v3.20 – bred kalkulatorside styrt av kategori + hurtigknapp til toppen */
.vvsm-calc-page-v320 {
  --vvsm-calc-line: #dfe9e2;
  --vvsm-calc-muted: #63756b;
  --vvsm-calc-ink: #142018;
}

.vvsm-calc-hero-v320 {
  max-width: 1180px;
}

.vvsm-calc-intro-v320 {
  margin-top: -18px;
  margin-bottom: 26px;
  padding: 18px 22px;
  border: 1px solid var(--vvsm-calc-line);
  border-radius: 22px;
  background: linear-gradient(135deg, #f6fbf8 0%, #ffffff 100%);
  color: var(--vvsm-calc-muted);
  box-shadow: 0 8px 24px rgba(20,32,24,.04);
}

.vvsm-calc-intro-v320 p {
  max-width: 880px;
  margin: 0;
  line-height: 1.65;
}

.vvsm-calc-intro-v320 strong {
  color: var(--vvsm-calc-ink);
}

.vvsm-calc-list-v320 {
  margin-bottom: 52px;
}

.vvsm-calc-grid-v320 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.vvsm-calc-card-v320 {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--vvsm-calc-line);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(20,32,24,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.vvsm-calc-card-v320:hover {
  transform: translateY(-2px);
  border-color: rgba(21,148,71,.38);
  box-shadow: 0 18px 38px rgba(20,32,24,.09);
}

.vvsm-calc-card-v320__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef4f0;
}

.vvsm-calc-card-v320__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .22s ease;
}

.vvsm-calc-card-v320:hover .vvsm-calc-card-v320__image img {
  transform: scale(1.025);
}

.vvsm-calc-card-v320__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.vvsm-calc-card-v320 h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.vvsm-calc-card-v320 h2 a {
  color: var(--vvsm-calc-ink);
  text-decoration: none;
}

.vvsm-calc-card-v320 h2 a:hover {
  color: var(--green-dark);
}

.vvsm-calc-card-v320 p {
  color: var(--vvsm-calc-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.vvsm-calc-card-v320__link {
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.vvsm-calc-card-v320__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vvsm-calc-pagination-v320 {
  margin-top: 30px;
}

.vvsm-calc-empty-v320 {
  max-width: 760px;
}

.vvsm-to-top {
  position: fixed;
  right: max(18px, calc((100vw - var(--container)) / 2 + 18px));
  bottom: 22px;
  z-index: 900;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(13, 60, 35, .22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.vvsm-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.vvsm-to-top:hover,
.vvsm-to-top:focus-visible {
  background: var(--green-dark);
}

@media (max-width: 1050px) {
  .vvsm-calc-grid-v320 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .vvsm-calc-grid-v320 {
    grid-template-columns: 1fr;
  }

  .vvsm-calc-intro-v320 {
    margin-top: -8px;
    padding: 16px;
    border-radius: 18px;
  }

  .vvsm-calc-card-v320__body {
    padding: 18px;
  }

  .vvsm-to-top {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}

/* v3.21 – filterknapper for kalkulatorsiden basert på underkategorier */
.vvsm-calc-page-v321 .vvsm-calc-intro-v321 {
  margin-bottom: 14px;
}

.vvsm-calc-filters-v321 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  padding: 0;
}

.vvsm-calc-filter-v321 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #dfe9e2;
  border-radius: 999px;
  background: #fff;
  color: #142018;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(20,32,24,.04);
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.vvsm-calc-filter-v321:hover,
.vvsm-calc-filter-v321:focus-visible {
  border-color: rgba(21,148,71,.42);
  color: var(--green-dark);
  transform: translateY(-1px);
}

.vvsm-calc-filter-v321.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(21,148,71,.18);
}

.vvsm-calc-active-v321 {
  margin-top: -8px;
  margin-bottom: 24px;
}

.vvsm-calc-active-v321 p {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #dfe9e2;
  border-radius: 999px;
  background: #f6fbf8;
  color: #63756b;
  font-size: 14px;
  line-height: 1.25;
}

.vvsm-calc-active-v321 strong {
  color: #142018;
}

.vvsm-calc-subbadge-v321 {
  width: fit-content;
}

@media (max-width: 680px) {
  .vvsm-calc-filters-v321 {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 8px;
    scroll-snap-type: x proximity;
  }

  .vvsm-calc-filter-v321 {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }
}


/* v3.26 – lys blå toppprofil
   Endrer kun topp/header, hovedmeny, toppområder/hero og søkeknapper.
   Grønn logo og eksisterende innhold beholdes. */
:root {
  --vvsm-blue: #48aee8;
  --vvsm-blue-dark: #0f5f9c;
  --vvsm-blue-deep: #0b3f73;
  --vvsm-blue-soft: #eaf7ff;
  --vvsm-blue-soft-2: #f6fbff;
  --vvsm-blue-line: #cfe8f8;
}

.topbar {
  background: linear-gradient(90deg, var(--vvsm-blue-soft) 0%, #ffffff 100%) !important;
  color: var(--vvsm-blue-deep) !important;
  border-bottom: 1px solid var(--vvsm-blue-line) !important;
}

.topbar a {
  color: var(--vvsm-blue-deep) !important;
  opacity: 1 !important;
}

.topbar a:hover {
  color: var(--vvsm-blue) !important;
}

.site-header {
  background: linear-gradient(180deg, #ffffff 0%, var(--vvsm-blue-soft-2) 100%) !important;
  border-bottom-color: var(--vvsm-blue-line) !important;
}

.header-main {
  background: transparent !important;
}

.brand__tagline {
  color: #5d7285 !important;
}

.main-navigation {
  border-top-color: var(--vvsm-blue-line) !important;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a {
  background: var(--vvsm-blue-soft) !important;
  color: var(--vvsm-blue-dark) !important;
}

.search-submit,
.header-search .search-submit,
.menu-toggle {
  background: var(--vvsm-blue) !important;
  color: #fff !important;
}

.search-submit:hover,
.header-search .search-submit:hover,
.menu-toggle:hover {
  background: var(--vvsm-blue-dark) !important;
  color: #fff !important;
}

.search-field:focus,
.header-search .search-field:focus,
.vvsm-tips-search input:focus,
.vvsm-tips-search select:focus {
  outline: none !important;
  border-color: var(--vvsm-blue) !important;
  box-shadow: 0 0 0 3px rgba(72,174,232,.16) !important;
}

/* Topp-/introfeltene på hub-sider får lys blå tone */
.vvsm-page-hero,
.vvsm-hub-hero,
.vvsm-calc-hero-v320 {
  background:
    radial-gradient(circle at top right, rgba(72,174,232,.18), transparent 38%),
    linear-gradient(135deg, var(--vvsm-blue-soft-2) 0%, #ffffff 100%) !important;
  border-color: var(--vvsm-blue-line) !important;
}

.vvsm-page-hero h1,
.vvsm-hub-hero h1 {
  color: #12324f !important;
}

.vvsm-page-hero p,
.vvsm-hub-hero p {
  color: #5d7285 !important;
}

.vvsm-kicker {
  background: var(--vvsm-blue) !important;
  color: #fff !important;
}

/* Forsidens hovedsak får en litt blåere overtoning i toppen, uten å endre layout. */
.vvsm-front-v310 .vvsm-fp-hero-card__shade,
.vvsm-front-v38 .vvsm-fp-hero-card__shade,
.vvsm-fp-hero-card__shade {
  background:
    linear-gradient(90deg, rgba(6,43,82,.72) 0%, rgba(10,70,125,.52) 42%, rgba(72,174,232,.10) 100%),
    linear-gradient(0deg, rgba(6,43,82,.66) 0%, rgba(6,43,82,.04) 64%) !important;
}

.vvsm-fp-hero-card {
  box-shadow: 0 18px 42px rgba(11,63,115,.13) !important;
}

.vvsm-fp-hero-card .badge {
  background: var(--vvsm-blue) !important;
}

/* Våre tips-feltet øverst blir blåere, men de grønne fagmerkene i innholdet beholdes ellers. */
.vvsm-tips-search button {
  background: var(--vvsm-blue) !important;
}

.vvsm-tips-search button:hover {
  background: var(--vvsm-blue-dark) !important;
}

.vvsm-category-pills a.active,
.vvsm-category-pills a:hover {
  background: var(--vvsm-blue) !important;
  border-color: var(--vvsm-blue) !important;
  color: #fff !important;
}

/* Kalkulatorfilter øverst får blå aktivtilstand. */
.vvsm-calc-filter-v321:hover,
.vvsm-calc-filter-v321:focus-visible,
.vvsm-calc-filter-v322:hover,
.vvsm-calc-filter-v322:focus-visible {
  border-color: rgba(72,174,232,.55) !important;
  color: var(--vvsm-blue-dark) !important;
}

.vvsm-calc-filter-v321.is-active,
.vvsm-calc-filter-v322.is-active {
  border-color: var(--vvsm-blue) !important;
  background: var(--vvsm-blue) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(72,174,232,.18) !important;
}

/* v3.27 – roligere hovedsak på forsiden
   Gjør hovedkortet om fra stort bilde-hero til et lavere, bredt artikkelkort. */
.vvsm-front-v327 .vvsm-fp-hero-grid {
  grid-template-columns: minmax(0, 1.72fr) minmax(280px, .92fr);
  align-items: start;
  gap: 26px;
  margin-top: 28px;
  margin-bottom: 34px;
}

.vvsm-front-v327 .vvsm-fp-hero-card {
  display: grid;
  grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
  min-height: 0 !important;
  height: auto;
  border-radius: 24px;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid #dcebf5;
  box-shadow: 0 12px 30px rgba(11,63,115,.08) !important;
}

.vvsm-front-v327 .vvsm-fp-hero-card__image,
.vvsm-front-v327 .vvsm-fp-hero-card__image img {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 300px;
  display: block;
}

.vvsm-front-v327 .vvsm-fp-hero-card__image img {
  object-fit: cover;
}

.vvsm-front-v327 .vvsm-fp-hero-card__shade {
  display: none !important;
}

.vvsm-front-v327 .vvsm-fp-hero-card__content {
  position: relative !important;
  z-index: 2;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  min-width: 0;
  padding: clamp(24px, 2.5vw, 36px) !important;
  box-sizing: border-box;
  color: #12233a !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vvsm-front-v327 .vvsm-fp-hero-card__content h1 {
  margin: 12px 0 12px !important;
  max-width: 100%;
  font-size: clamp(30px, 3vw, 44px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
  color: #11243a !important;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.vvsm-front-v327 .vvsm-fp-hero-card__content h1 a {
  color: #11243a !important;
}

.vvsm-front-v327 .vvsm-fp-hero-card__content p {
  max-width: 620px;
  margin: 0 0 14px !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: #5c7288 !important;
}

.vvsm-front-v327 .vvsm-fp-hero-card__meta .post-meta,
.vvsm-front-v327 .vvsm-fp-hero-card__meta {
  color: #647789 !important;
  font-size: 14px;
}

.vvsm-front-v327 .vvsm-fp-hero-card .badge,
.vvsm-front-v327 .vvsm-fp-hero-card .cat-badge,
.vvsm-front-v327 .vvsm-fp-hero-card .category-badge,
.vvsm-front-v327 .vvsm-fp-hero-card .post-category {
  align-self: flex-start;
  margin-bottom: 2px;
}

@media (max-width: 1180px) {
  .vvsm-front-v327 .vvsm-fp-hero-grid {
    grid-template-columns: 1fr;
  }

  .vvsm-front-v327 .vvsm-fp-hero-card {
    grid-template-columns: minmax(230px, 38%) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .vvsm-front-v327 .vvsm-fp-hero-card {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .vvsm-front-v327 .vvsm-fp-hero-card__image,
  .vvsm-front-v327 .vvsm-fp-hero-card__image img {
    min-height: 210px;
    max-height: 260px;
  }

  .vvsm-front-v327 .vvsm-fp-hero-card__content {
    padding: 22px !important;
  }

  .vvsm-front-v327 .vvsm-fp-hero-card__content h1 {
    font-size: clamp(28px, 8vw, 38px) !important;
  }
}



/* v3.28 – forsiden får ekte magasinstruktur
   Hovedkort og Siste nytt ligger i venstre innholdskolonne. Toppartikler og sidebar ligger til høyre.
   Dette fjerner tomrommet under hovedkortet uten å endre innhold, annonser eller øvrige sider. */
.vvsm-front-v328 .vvsm-fp-main-layout-v328 {
  margin-top: 28px;
  align-items: start;
}

.vvsm-front-v328 .vvsm-fp-main-column {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.vvsm-front-v328 .vvsm-fp-main-column > .vvsm-fp-hero-card {
  margin: 0;
}

.vvsm-front-v328 .vvsm-fp-latest {
  margin: 0 0 16px !important;
}

.vvsm-front-v328 .vvsm-fp-tools {
  margin-top: 16px;
}

.vvsm-front-v328 .vvsm-fp-sidebar {
  gap: 20px;
}

.vvsm-front-v328 .vvsm-fp-sidebar > .vvsm-fp-top-list {
  margin: 0;
}

@media (max-width: 1180px) {
  .vvsm-front-v328 .vvsm-fp-main-layout-v328 {
    grid-template-columns: 1fr;
  }

  .vvsm-front-v328 .vvsm-fp-sidebar {
    position: static;
    grid-template-columns: 1fr;
  }

  .vvsm-front-v328 .vvsm-fp-sidebar > .vvsm-fp-top-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .vvsm-front-v328 .vvsm-fp-main-layout-v328 {
    margin-top: 20px;
  }

  .vvsm-front-v328 .vvsm-fp-main-column {
    gap: 22px;
  }

  .vvsm-front-v328 .vvsm-fp-sidebar > .vvsm-fp-top-list {
    grid-template-columns: 1fr;
  }
}


/* v3.32 – låser forsiden til roligere hovedkort igjen
   Etter annonse-/pluginarbeid kunne hovedkortet se ut som gammel bilde-hero igjen.
   Disse reglene gjelder kun forsiden og tvinger hovedsaken tilbake til lavt, bredt innleggskort. */
.vvsm-front-v332 .vvsm-fp-main-column > .vvsm-fp-hero-card,
.vvsm-front-v332 .vvsm-fp-hero-card {
  display: grid !important;
  grid-template-columns: minmax(240px, 38%) minmax(0, 1fr) !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: hidden !important;
  position: relative !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  border: 1px solid rgba(72,174,232,.24) !important;
  box-shadow: 0 14px 34px rgba(11,63,115,.08) !important;
}

.vvsm-front-v332 .vvsm-fp-hero-card__image,
.vvsm-front-v332 .vvsm-fp-hero-card__image img {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 260px !important;
  max-height: 320px !important;
  display: block !important;
  border-radius: 0 !important;
}

.vvsm-front-v332 .vvsm-fp-hero-card__image img {
  object-fit: cover !important;
}

.vvsm-front-v332 .vvsm-fp-hero-card__shade {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.vvsm-front-v332 .vvsm-fp-hero-card__content {
  position: relative !important;
  inset: auto !important;
  z-index: 2 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: clamp(24px, 2.6vw, 36px) !important;
  color: #12233a !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.vvsm-front-v332 .vvsm-fp-hero-card__content h1 {
  margin: 12px 0 12px !important;
  max-width: 100% !important;
  font-size: clamp(30px, 3vw, 44px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
  color: #11243a !important;
  overflow-wrap: break-word !important;
  text-wrap: balance;
}

.vvsm-front-v332 .vvsm-fp-hero-card__content h1 a {
  color: #11243a !important;
}

.vvsm-front-v332 .vvsm-fp-hero-card__content p {
  display: block !important;
  max-width: 620px !important;
  margin: 0 0 14px !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: #5c7288 !important;
}

.vvsm-front-v332 .vvsm-fp-hero-card__meta,
.vvsm-front-v332 .vvsm-fp-hero-card__meta .post-meta {
  color: #647789 !important;
  font-size: 14px !important;
}

.vvsm-front-v332 .vvsm-fp-hero-card .badge,
.vvsm-front-v332 .vvsm-fp-hero-card .cat-badge,
.vvsm-front-v332 .vvsm-fp-hero-card .category-badge,
.vvsm-front-v332 .vvsm-fp-hero-card .post-category {
  align-self: flex-start !important;
}

@media (max-width: 760px) {
  .vvsm-front-v332 .vvsm-fp-hero-card {
    grid-template-columns: 1fr !important;
    border-radius: 22px !important;
  }

  .vvsm-front-v332 .vvsm-fp-hero-card__image,
  .vvsm-front-v332 .vvsm-fp-hero-card__image img {
    min-height: 210px !important;
    max-height: 260px !important;
  }

  .vvsm-front-v332 .vvsm-fp-hero-card__content {
    padding: 22px !important;
  }

  .vvsm-front-v332 .vvsm-fp-hero-card__content h1 {
    font-size: clamp(28px, 8vw, 38px) !important;
  }
}


/* v3.34 – kraftigere mobilretting for hovedkort på forsiden
   V3.33 ble liggende i style.css, mens temaet laster assets/css/main.css.
   Derfor legges reglene nå i hoved-CSS og gjøres bredere slik at de virker også ved cache/versjonsklasser. */
@media screen and (max-width: 900px) {
  body .vvsm-front-v334 .vvsm-fp-main-layout,
  body .vvsm-front-v333 .vvsm-fp-main-layout,
  body .vvsm-front-v32 .vvsm-fp-main-layout {
    display: block !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  body .vvsm-front-v334 .vvsm-fp-main-column,
  body .vvsm-front-v333 .vvsm-fp-main-column,
  body .vvsm-front-v32 .vvsm-fp-main-column {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body .vvsm-front-v334 .vvsm-fp-main-column > .vvsm-fp-hero-card,
  body .vvsm-front-v334 .vvsm-fp-hero-card,
  body .vvsm-front-v333 .vvsm-fp-main-column > .vvsm-fp-hero-card,
  body .vvsm-front-v333 .vvsm-fp-hero-card,
  body .vvsm-front-v32 .vvsm-fp-main-column > .vvsm-fp-hero-card,
  body .vvsm-front-v32 .vvsm-fp-hero-card {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-rows: auto auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #ffffff !important;
  }

  body .vvsm-front-v334 .vvsm-fp-hero-card__shade,
  body .vvsm-front-v333 .vvsm-fp-hero-card__shade,
  body .vvsm-front-v32 .vvsm-fp-hero-card__shade {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body .vvsm-front-v334 .vvsm-fp-hero-card__image,
  body .vvsm-front-v333 .vvsm-fp-hero-card__image,
  body .vvsm-front-v32 .vvsm-fp-hero-card__image {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
  }

  body .vvsm-front-v334 .vvsm-fp-hero-card__image img,
  body .vvsm-front-v333 .vvsm-fp-hero-card__image img,
  body .vvsm-front-v32 .vvsm-fp-hero-card__image img {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
  }

  body .vvsm-front-v334 .vvsm-fp-hero-card__content,
  body .vvsm-front-v333 .vvsm-fp-hero-card__content,
  body .vvsm-front-v32 .vvsm-fp-hero-card__content {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    order: 2 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 18px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    color: #12233a !important;
    transform: none !important;
  }

  body .vvsm-front-v334 .vvsm-fp-hero-card__content h1,
  body .vvsm-front-v333 .vvsm-fp-hero-card__content h1,
  body .vvsm-front-v32 .vvsm-fp-hero-card__content h1 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 10px !important;
    font-size: clamp(25px, 7vw, 32px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.03em !important;
    color: #11243a !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    hyphens: auto !important;
    text-wrap: auto !important;
  }

  body .vvsm-front-v334 .vvsm-fp-hero-card__content h1 a,
  body .vvsm-front-v333 .vvsm-fp-hero-card__content h1 a,
  body .vvsm-front-v32 .vvsm-fp-hero-card__content h1 a {
    color: #11243a !important;
  }

  body .vvsm-front-v334 .vvsm-fp-hero-card__content p,
  body .vvsm-front-v333 .vvsm-fp-hero-card__content p,
  body .vvsm-front-v32 .vvsm-fp-hero-card__content p {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    color: #5c7288 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  body .vvsm-front-v334 .vvsm-fp-hero-card__meta,
  body .vvsm-front-v333 .vvsm-fp-hero-card__meta,
  body .vvsm-front-v32 .vvsm-fp-hero-card__meta {
    color: #647789 !important;
    font-size: 13px !important;
  }
}

@media screen and (max-width: 520px) {
  body .vvsm-front-v334 .vvsm-fp-hero-card__content,
  body .vvsm-front-v333 .vvsm-fp-hero-card__content,
  body .vvsm-front-v32 .vvsm-fp-hero-card__content {
    padding: 16px !important;
  }

  body .vvsm-front-v334 .vvsm-fp-hero-card__content h1,
  body .vvsm-front-v333 .vvsm-fp-hero-card__content h1,
  body .vvsm-front-v32 .vvsm-fp-hero-card__content h1 {
    font-size: clamp(24px, 7.5vw, 30px) !important;
  }
}

/* v3.43 – Kompakt språkvelger og menypunkt for samarbeid */
.main-navigation .menu-item--partnership > a {
  padding-inline: 12px;
  white-space: nowrap;
}

.vvsm-language-switcher-wrap {
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
  padding-bottom: 4px;
}

.vvsm-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid #d8e5de;
  border-radius: 999px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 9px 24px rgba(15, 43, 61, .07);
  color: #53645c;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.2;
}

.vvsm-language-switcher__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.vvsm-language-switcher a:hover,
.vvsm-language-switcher a:focus-visible {
  color: var(--green-dark);
  background: var(--green-soft);
  transform: translateY(-1px);
}

.vvsm-language-switcher__item.is-active {
  background: #0d3047;
  color: #fff;
  font-weight: 900;
}

.vvsm-language-switcher__separator {
  display: none;
}

.vvsm-language-flag {
  display: block;
  width: 20px;
  height: 14px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(13, 48, 71, .15);
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(13, 48, 71, .12);
}

.vvsm-partnership {
  padding: 18px 0 8px;
  overflow: hidden;
}

.vvsm-partnership-hero {
  margin-top: 2px;
}

.vvsm-partnership-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, .55fr);
  gap: 42px;
  align-items: center;
  min-height: 470px;
  padding: clamp(38px, 7vw, 78px);
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(circle at 83% 18%, rgba(50, 209, 107, .2), transparent 29%),
    linear-gradient(135deg, #0b2940 0%, #103c59 57%, #0a2639 100%);
  box-shadow: 0 24px 60px rgba(7, 38, 58, .18);
  color: #fff;
}

.vvsm-partnership-hero__inner::before,
.vvsm-partnership-hero__inner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.vvsm-partnership-hero__inner::before {
  width: 340px;
  height: 340px;
  right: -130px;
  bottom: -180px;
  border: 1px solid rgba(255, 255, 255, .12);
}

.vvsm-partnership-hero__inner::after {
  width: 190px;
  height: 190px;
  right: 30px;
  bottom: -96px;
  border: 1px solid rgba(46, 209, 105, .28);
}

.vvsm-partnership-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.vvsm-partnership-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #70e49b;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.vvsm-partnership-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.vvsm-partnership-hero h1 {
  max-width: 820px;
  margin-bottom: 19px;
  color: #fff;
  font-size: clamp(2.45rem, 5.6vw, 5rem);
  letter-spacing: -.055em;
}

.vvsm-partnership-hero__content > p {
  max-width: 720px;
  margin-bottom: 28px;
  color: #d7e7f0;
  font-size: clamp(1.05rem, 2vw, 1.27rem);
  line-height: 1.7;
}

.vvsm-partnership-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 14px 30px rgba(23, 179, 74, .24);
  color: #fff;
  font-weight: 900;
  line-height: 1.2;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.vvsm-partnership-button:hover,
.vvsm-partnership-button:focus-visible {
  transform: translateY(-2px);
  background: #12a242;
  box-shadow: 0 18px 34px rgba(23, 179, 74, .3);
  color: #fff;
}

.vvsm-partnership-button span {
  font-size: 1.2em;
  line-height: 1;
}

.vvsm-partnership-hero__mark {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: end;
  align-content: center;
  color: rgba(255, 255, 255, .93);
  text-align: right;
  transform: rotate(-2deg);
}

.vvsm-partnership-hero__mark span,
.vvsm-partnership-hero__mark strong,
.vvsm-partnership-hero__mark small {
  display: block;
  line-height: .85;
}

.vvsm-partnership-hero__mark span {
  color: #6fe49a;
  font-size: clamp(4rem, 8vw, 7.6rem);
  font-weight: 950;
  letter-spacing: -.08em;
}

.vvsm-partnership-hero__mark strong {
  font-size: clamp(1.45rem, 3.1vw, 3rem);
  font-weight: 950;
  letter-spacing: .02em;
}

.vvsm-partnership-hero__mark small {
  margin-top: 9px;
  color: #bdd3df;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .24em;
}

.vvsm-partnership-summary {
  padding-top: clamp(56px, 8vw, 92px);
}

.vvsm-partnership-section-heading {
  max-width: 800px;
  margin: 0 auto 32px;
  text-align: center;
}

.vvsm-partnership-section-heading > span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.vvsm-partnership-section-heading h2 {
  margin-bottom: 13px;
  color: #102f43;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
}

.vvsm-partnership-section-heading p {
  color: #65766d;
  font-size: 1.05rem;
}

.vvsm-partnership-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.vvsm-partnership-card {
  position: relative;
  min-width: 0;
  padding: 29px;
  overflow: hidden;
  border: 1px solid #dce8e1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(13, 50, 70, .07);
}

.vvsm-partnership-card::after {
  content: "";
  position: absolute;
  width: 105px;
  height: 105px;
  right: -56px;
  bottom: -57px;
  border-radius: 50%;
  background: #eafbf1;
}

.vvsm-partnership-card__number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: #e6f8ed;
  color: var(--green-dark);
  font-size: .82rem;
  font-weight: 950;
}

.vvsm-partnership-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  color: #123247;
  font-size: 1.28rem;
}

.vvsm-partnership-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #66766d;
}

.vvsm-partnership-content {
  padding-top: clamp(52px, 8vw, 88px);
}

.vvsm-partnership-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.vvsm-partnership-section,
.vvsm-partnership-editor-content {
  min-width: 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #dde8e2;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 48, 67, .055);
}

.vvsm-partnership-section--wide {
  grid-column: 1 / -1;
}

.vvsm-partnership-section h2,
.vvsm-partnership-editor-content h2 {
  position: relative;
  margin: 0 0 17px;
  padding-top: 14px;
  color: #123247;
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
}

.vvsm-partnership-section h2::before,
.vvsm-partnership-editor-content h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
}

.vvsm-partnership-section p,
.vvsm-partnership-editor-content p,
.vvsm-partnership-editor-content li {
  color: #53655c;
}

.vvsm-partnership-section p:last-child,
.vvsm-partnership-editor-content > *:last-child {
  margin-bottom: 0;
}

.vvsm-partnership-section ul,
.vvsm-partnership-editor-content ul,
.vvsm-partnership-editor-content ol {
  margin: 0;
  padding-left: 1.25rem;
}

.vvsm-partnership-section li,
.vvsm-partnership-editor-content li {
  margin-bottom: 7px;
}

.vvsm-partnership-section li::marker,
.vvsm-partnership-editor-content li::marker {
  color: var(--green);
}

.vvsm-partnership-section code,
.vvsm-partnership-editor-content code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #eef5f1;
  color: #174a33;
  font-size: .92em;
}

.vvsm-partnership-section--restricted {
  border-color: #eadfd9;
  background: #fffdfb;
}

.vvsm-partnership-section--restricted h2::before {
  background: #c78360;
}

.vvsm-partnership-section--price {
  border-color: #bfe5cb;
  background: linear-gradient(150deg, #f7fff9 0%, #edf9f1 100%);
}

.vvsm-partnership-price {
  margin: 0 0 9px !important;
  color: #0f7f3a !important;
  font-size: clamp(1.55rem, 3.3vw, 2.45rem);
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.vvsm-partnership-editor-content {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 52px);
}

.vvsm-partnership-editor-content > h2:not(:first-child) {
  margin-top: 2.7rem;
  padding-top: 26px;
  border-top: 1px solid #e2ebe6;
}

.vvsm-partnership-editor-content > h2:not(:first-child)::before {
  top: 12px;
}

.vvsm-partnership-editor-content h3 {
  color: #15394f;
}

.vvsm-partnership-editor-content a {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.vvsm-partnership-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: 42px;
  align-items: center;
  margin-top: clamp(58px, 8vw, 94px);
  margin-bottom: 18px;
  padding: clamp(34px, 6vw, 64px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 12%, rgba(77, 222, 129, .18), transparent 25%),
    linear-gradient(135deg, #0c2d43 0%, #103d59 100%);
  box-shadow: 0 24px 54px rgba(8, 38, 56, .16);
  color: #fff;
}

.vvsm-partnership-contact h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.vvsm-partnership-contact__content > p {
  max-width: 720px;
  color: #d7e7ef;
}

.vvsm-partnership-contact__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.vvsm-partnership-contact__list li {
  position: relative;
  padding-left: 22px;
  color: #e8f3f7;
}

.vvsm-partnership-contact__list li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #57dc88;
  box-shadow: 0 0 0 4px rgba(87, 220, 136, .13);
}

.vvsm-partnership-contact__action {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
}

.vvsm-partnership-button--light {
  width: 100%;
  background: #fff;
  box-shadow: none;
  color: #0d354e;
}

.vvsm-partnership-button--light:hover,
.vvsm-partnership-button--light:focus-visible {
  background: #eafbf1;
  color: #0b4930;
}

.vvsm-partnership-contact__action p {
  margin: 16px 0 0;
  color: #c8dce6;
  font-size: .9rem;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .vvsm-partnership-hero__inner,
  .vvsm-partnership-contact {
    grid-template-columns: 1fr;
  }

  .vvsm-partnership-hero__mark {
    position: absolute;
    right: 35px;
    bottom: 28px;
    opacity: .13;
  }

  .vvsm-partnership-card-grid {
    grid-template-columns: 1fr;
  }

  .vvsm-partnership-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .vvsm-language-switcher-wrap {
    justify-content: center;
    padding-top: 14px;
  }

  .vvsm-language-switcher {
    font-size: .82rem;
  }

  .vvsm-partnership {
    padding-top: 12px;
  }

  .vvsm-partnership-hero__inner {
    min-height: 0;
    padding: 34px 24px 38px;
    border-radius: 24px;
  }

  .vvsm-partnership-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.45rem);
  }

  .vvsm-partnership-hero__content > p {
    font-size: 1rem;
  }

  .vvsm-partnership-button {
    width: 100%;
  }

  .vvsm-partnership-hero__mark {
    display: none;
  }

  .vvsm-partnership-summary,
  .vvsm-partnership-content {
    padding-top: 48px;
  }

  .vvsm-partnership-section-grid {
    grid-template-columns: 1fr;
  }

  .vvsm-partnership-section--wide {
    grid-column: auto;
  }

  .vvsm-partnership-card,
  .vvsm-partnership-section,
  .vvsm-partnership-editor-content {
    padding: 24px;
    border-radius: 20px;
  }

  .vvsm-partnership-contact {
    gap: 26px;
    margin-top: 52px;
    padding: 30px 24px;
    border-radius: 24px;
  }

  .vvsm-partnership-contact__list {
    grid-template-columns: 1fr;
  }

  .vvsm-partnership-contact__action {
    padding: 20px;
  }
}
