
.vvsm-newsletter-form{background:#fff;border:1px solid #dfe9e2;border-radius:20px;padding:26px;box-shadow:0 10px 28px rgba(20,32,24,.06);margin:24px 0;text-align:left}.vvsm-newsletter-form .vvsm-newsletter-icon{width:46px;height:46px;border-radius:50%;background:#e2f7e8;color:#159447;display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:14px}.vvsm-newsletter-form h3{font-size:28px;line-height:1.15;margin:0 0 10px;color:#142018}.vvsm-newsletter-form p{color:#52635a;margin:0 0 18px;line-height:1.6}.vvsm-newsletter-row{display:flex;gap:10px;align-items:center}.vvsm-newsletter-form input[type=email]{flex:1;border:1px solid #cfded3;border-radius:999px;padding:13px 16px;font-size:15px}.vvsm-newsletter-form button{border:0;border-radius:999px;background:#159447;color:#fff;font-weight:800;padding:13px 18px;cursor:pointer}.vvsm-newsletter-form button:hover{background:#0d6f34}.vvsm-newsletter-form small{display:block;margin-top:10px;color:#6b7c72}.vvsm-ad{margin:24px 0;text-align:center}.vvsm-ad-label{text-transform:uppercase;letter-spacing:.08em;font-size:12px;color:#708177;margin-bottom:8px}.vvsm-ad img{max-width:100%;height:auto;border-radius:14px;display:inline-block}.vvsm-ad-placeholder{border:1px dashed #b9cfc0;background:#f6faf7;border-radius:16px;min-height:92px;display:flex;align-items:center;justify-content:center;color:#52635a;font-weight:700}@media(max-width:680px){.vvsm-newsletter-row{display:block}.vvsm-newsletter-form input[type=email],.vvsm-newsletter-form button{width:100%;box-sizing:border-box}.vvsm-newsletter-form button{margin-top:10px}.vvsm-newsletter-form h3{font-size:23px}}

.vvsm-newsletter-message{border-radius:12px;padding:10px 12px;margin:0 0 14px;font-weight:700}.vvsm-newsletter-ok{background:#e4f8ea;color:#0d6f34;border:1px solid #abe5bd}.vvsm-newsletter-error{background:#fff0f0;color:#9b1c1c;border:1px solid #ffc4c4}

/* v2.13 – entydige plasseringer fra tema 3.50 */
.vvsm-ad-front_top,.vvsm-ad-front_bottom,.vvsm-ad-post_top,.vvsm-ad-post_bottom,.vvsm-ad-top,.vvsm-ad-footer,.vvsm-ad-bottom{width:min(100%,970px);max-width:970px;margin:24px auto 30px;overflow:hidden}.vvsm-ad-front_top img,.vvsm-ad-front_bottom img,.vvsm-ad-post_top img,.vvsm-ad-post_bottom img,.vvsm-ad-top img,.vvsm-ad-footer img,.vvsm-ad-bottom img{width:min(100%,970px);max-width:970px;border-radius:14px}.vvsm-ad-front_section{width:100%;max-width:100%;margin:0;overflow:hidden}.vvsm-ad-front_section img{width:100%;height:auto;border-radius:14px}.vvsm-ad-placeholder{flex-direction:column;gap:5px;padding:14px}.vvsm-ad-placeholder strong,.vvsm-ad-placeholder span{display:block}.vvsm-ad-placeholder span{font-size:13px;font-weight:500;color:#6a7a71}.vvsm-ad-source-google ins.adsbygoogle{max-width:100%}.vvsm-ad.vvsmester-ad--empty,.vvsm-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]){display:none!important;margin:0!important;min-height:0!important}
@media(max-width:760px){.vvsm-ad-front_top,.vvsm-ad-front_bottom,.vvsm-ad-post_top,.vvsm-ad-post_bottom,.vvsm-ad-top,.vvsm-ad-footer,.vvsm-ad-bottom{width:100%;max-width:100%;margin:18px auto}.vvsm-ad-front_top img,.vvsm-ad-front_bottom img,.vvsm-ad-post_top img,.vvsm-ad-post_bottom img,.vvsm-ad-top img,.vvsm-ad-footer img,.vvsm-ad-bottom img{width:100%;max-width:100%}}


/* Felles Redaksjonsstudio – korrekte annonsebredder */
.vvsm-ad {
  box-sizing: border-box;
  text-align: center;
}

.vvsm-ad img {
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.vvsm-ad-top {
  width: min(100%, 970px);
  max-width: 970px;
  margin: 0 auto 28px;
  overflow: hidden;
}

.vvsm-ad-top img {
  width: min(100%, 970px);
  max-width: 970px;
  border-radius: 14px;
}

.vvsm-ad-article {
  width: min(100%, 728px);
  max-width: 728px;
  margin: 28px auto;
  overflow: hidden;
}

.vvsm-ad-article img {
  width: min(100%, 728px);
  max-width: 728px;
  border-radius: 12px;
}

.vvsm-ad-sidebar {
  width: min(100%, 300px);
  max-width: 300px;
  margin: 24px auto;
  overflow: hidden;
}

.vvsm-ad-sidebar img {
  width: min(100%, 300px);
  max-width: 300px;
  border-radius: 12px;
}

.vvsm-ad-bottom {
  width: min(100%, 970px);
  max-width: 970px;
  margin: 32px auto;
  overflow: hidden;
}

.vvsm-ad-bottom img {
  width: min(100%, 970px);
  max-width: 970px;
  border-radius: 14px;
}

.vvsm-ad-placeholder {
  max-width: 100%;
  box-sizing: border-box;
}

.vvsm-ad-top .vvsm-ad-placeholder,
.vvsm-ad-bottom .vvsm-ad-placeholder {
  min-height: 180px;
}

.vvsm-ad-article .vvsm-ad-placeholder {
  min-height: 90px;
}

.vvsm-ad-sidebar .vvsm-ad-placeholder {
  min-height: 250px;
}

@media (max-width: 760px) {
  .vvsm-ad-top,
  .vvsm-ad-bottom,
  .vvsm-ad-article,
  .vvsm-ad-sidebar {
    width: 100%;
    max-width: 100%;
  }

  .vvsm-ad-top img,
  .vvsm-ad-bottom img,
  .vvsm-ad-article img,
  .vvsm-ad-sidebar img {
    width: 100%;
    max-width: 100%;
  }

  .vvsm-ad-top .vvsm-ad-placeholder,
  .vvsm-ad-bottom .vvsm-ad-placeholder {
    min-height: 120px;
  }
}


/* v2.3 – ryddigere nyhetsbrevskjema */
.vvsm-newsletter-form{
  background:transparent;
  border:0;
  box-shadow:none;
  border-radius:0;
  padding:0;
  margin:0;
}

.vvsm-newsletter-form h3{
  font-size:20px;
  line-height:1.2;
  margin:0 0 10px;
  color:#142018;
  font-weight:800;
}

.vvsm-newsletter-form p{
  margin:0 0 14px;
  color:#52635a;
  font-size:16px;
  line-height:1.55;
}

.vvsm-newsletter-form small{
  display:block;
  margin-top:12px;
  color:#6b7b73;
  font-size:13px;
}

.vvsm-newsletter-row{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  margin-top:8px;
}

.vvsm-newsletter-row input[type="email"]{
  flex:1 1 auto;
  min-width:0;
  width:100%;
  height:48px;
  padding:0 16px;
  border:1px solid #d9e6dc;
  border-radius:16px;
  background:#fff;
  color:#142018;
  font-size:15px;
  outline:none;
  box-sizing:border-box;
}

.vvsm-newsletter-row input[type="email"]:focus{
  border-color:#159447;
  box-shadow:0 0 0 3px rgba(21,148,71,.12);
}

.vvsm-newsletter-row button{
  flex:0 0 auto;
  height:48px;
  padding:0 22px;
  border:0;
  border-radius:999px;
  background:#159447;
  color:#fff;
  font-weight:700;
  font-size:16px;
  cursor:pointer;
  white-space:nowrap;
}

.vvsm-newsletter-row button:hover{
  background:#117b3a;
}

.vvsm-newsletter-message{
  border-radius:12px;
  padding:10px 12px;
  margin:0 0 14px;
  font-weight:700;
}

.vvsm-newsletter-ok{
  background:#e4f8ea;
  color:#0d6f34;
  border:1px solid #abe5bd;
}

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

/* kompakt variant for sidebar hvis ønskelig */
.vvsm-newsletter-form-compact h3{
  font-size:18px;
}
.vvsm-newsletter-form-compact p{
  font-size:15px;
  margin-bottom:12px;
}

@media (max-width: 680px){
  .vvsm-newsletter-row{
    flex-direction:column;
    align-items:stretch;
  }

  .vvsm-newsletter-row input[type="email"],
  .vvsm-newsletter-row button{
    width:100%;
  }

  .vvsm-newsletter-row button{
    justify-content:center;
  }
}


/* v2.4 – fast stablet nyhetsbrevskjema: e-postfelt over knapp */
.vvsm-newsletter-form .vvsm-newsletter-stack{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  margin-top:12px!important;
}

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

.vvsm-newsletter-form .vvsm-newsletter-stack button{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  height:50px!important;
  margin:0!important;
  padding:0 18px!important;
  border:0!important;
  border-radius:999px!important;
  background:#159447!important;
  color:#fff!important;
  font-weight:800!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;
}

.vvsm-newsletter-form .vvsm-newsletter-stack button:hover{
  background:#0d6f34!important;
}

/* v2.21 – profilfarger og diskrete nyhetsbrevvarianter */
.vvsm-newsletter-form{--vvsm-news-accent:#159447;--vvsm-news-dark:#142018;--vvsm-news-soft:#eef6f0;--vvsm-news-muted:#52635a}
.vvsm-newsletter-form h3{color:var(--vvsm-news-dark)!important}.vvsm-newsletter-form p,.vvsm-newsletter-form small{color:var(--vvsm-news-muted)!important}.vvsm-newsletter-form .vvsm-newsletter-stack button{background:var(--vvsm-news-accent)!important}.vvsm-newsletter-form .vvsm-newsletter-stack input[type="email"]:focus{border-color:var(--vvsm-news-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--vvsm-news-accent) 14%,transparent)!important}
.vvsm-newsletter-form-slim{margin:0!important;padding:18px 20px!important;border-radius:12px!important;box-shadow:none!important;background:var(--vvsm-news-soft)!important;border-color:transparent!important}.vvsm-newsletter-form-slim h3{font-size:21px!important;margin-bottom:4px!important}.vvsm-newsletter-form-slim p{font-size:14px!important;margin-bottom:12px!important}.vvsm-newsletter-form-slim .vvsm-newsletter-stack{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px!important;align-items:center}.vvsm-newsletter-form-slim .vvsm-newsletter-stack input[type="email"]{margin:0!important;height:44px!important}.vvsm-newsletter-form-slim .vvsm-newsletter-stack button{width:auto!important;height:44px!important;margin:0!important;padding:0 16px!important;font-size:14px!important}.vvsm-newsletter-form-slim small{font-size:11px!important;margin-top:7px!important}
.vvsm-newsletter-form-footer{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.vvsm-newsletter-form-footer .vvsm-newsletter-stack{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:7px!important}.vvsm-newsletter-form-footer .vvsm-newsletter-stack input[type="email"]{height:42px!important;margin:0!important;background:#fff!important}.vvsm-newsletter-form-footer .vvsm-newsletter-stack button{width:auto!important;height:42px!important;margin:0!important;padding:0 14px!important;font-size:13px!important}.vvsm-newsletter-form-footer small{font-size:11px!important;margin-top:6px!important;color:rgba(255,255,255,.7)!important}
@media(max-width:680px){.vvsm-newsletter-form-slim .vvsm-newsletter-stack,.vvsm-newsletter-form-footer .vvsm-newsletter-stack{grid-template-columns:1fr}.vvsm-newsletter-form-slim .vvsm-newsletter-stack button,.vvsm-newsletter-form-footer .vvsm-newsletter-stack button{width:100%!important}}

/* v2.28 – eksplisitt samtykke og dobbel bekreftelse */
.vvsm-newsletter-consent{display:flex;align-items:flex-start;gap:8px;margin:10px 0 2px;font-size:12px;line-height:1.45;color:var(--vvsm-news-muted)!important;cursor:pointer}.vvsm-newsletter-consent input{flex:0 0 auto;margin:3px 0 0;width:15px;height:15px;accent-color:var(--vvsm-news-accent)}.vvsm-newsletter-consent span{display:block}.vvsm-newsletter-consent a{color:inherit;text-decoration:underline;text-underline-offset:2px}.vvsm-newsletter-form-slim .vvsm-newsletter-consent{font-size:11px;margin-top:8px}.vvsm-newsletter-form-footer .vvsm-newsletter-consent{font-size:10.5px;color:rgba(255,255,255,.78)!important;margin-top:7px}.vvsm-newsletter-form-footer .vvsm-newsletter-consent a{color:#fff}.vvsm-newsletter-message{padding:10px 12px;border-radius:9px;margin:10px 0;font-size:13px;line-height:1.45}.vvsm-newsletter-ok{background:#edf8f0;color:#1f5f35}.vvsm-newsletter-error{background:#fff1f0;color:#8a2f2a}

/* Newsletter signup confirmation popup – 2.28.2 */
.vvsm-newsletter-popup[hidden]{display:none!important}
.vvsm-newsletter-popup{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px}
.vvsm-newsletter-popup__backdrop{position:absolute;inset:0;background:rgba(18,28,22,.48);backdrop-filter:blur(2px)}
.vvsm-newsletter-popup__dialog{position:relative;width:min(520px,100%);background:#fff;border:1px solid #e1e7e2;border-radius:18px;box-shadow:0 22px 70px rgba(16,28,20,.22);padding:30px 30px 26px;text-align:left;outline:none}
.vvsm-newsletter-popup__close{position:absolute;right:12px;top:10px;border:0;background:transparent;color:#5f6d64;font-size:28px;line-height:1;padding:5px 8px;cursor:pointer}
.vvsm-newsletter-popup__icon{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 0 14px;background:#e9f7ed;color:#176334;font-size:22px;font-weight:900}
.vvsm-newsletter-popup.is-error .vvsm-newsletter-popup__icon{background:#fff0ef;color:#9b2f28}
.vvsm-newsletter-popup__dialog h2{margin:0 36px 10px 0!important;font-size:25px!important;line-height:1.2!important;color:#1f2a24!important}
.vvsm-newsletter-popup__message{margin:0 0 20px!important;color:#52635a!important;font-size:15px!important;line-height:1.65!important}
.vvsm-newsletter-popup__button{border:0;border-radius:999px;background:var(--vvsm-news-accent,#159447);color:#fff;font:inherit;font-weight:800;padding:11px 21px;cursor:pointer}
.vvsm-newsletter-popup__button:hover{filter:brightness(.94)}
@media(max-width:560px){.vvsm-newsletter-popup{padding:14px}.vvsm-newsletter-popup__dialog{padding:24px 20px 20px;border-radius:15px}.vvsm-newsletter-popup__dialog h2{font-size:22px!important}}
