/* Additional styles for the separate, editable Mobilpartner home concept. */
body.mp-home3 {
  --mp3-paper: #f6f7f9;
  --mp3-text: #121c2b;
  --mp3-muted: #536176;
  --mp3-rail: min(1240px, calc(100% - clamp(40px, 7vw, 112px)));
  --mp3-gutter: calc((100% - var(--mp3-rail)) / 2);
  --mp3-menu-surface: #f3f5f9;
  --mp3-menu-ink: #152034;
  margin: 0;
  background: var(--mp3-paper);
  color: var(--mp3-text);
}

.mp-home3 .rail { width: var(--mp3-rail); }
.mp-home3 main > section.rail { margin-inline: auto; }
.mp-home3 main > section.section { padding-block: clamp(48px, 5.3vw, 84px); }
.mp-home3 main > section.section + section.section { padding-top: 12px; }
.mp-home3 .section-heading { margin-bottom: clamp(22px, 2.7vw, 40px); }
.mp-home3 main > section h2.stk-block-heading__text {
  font-size: clamp(2rem, 3.7vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.mp-home3 main > section p { text-wrap: pretty; }

.mp-home3 > header, .mp-home3 .home3-page-title {
  background: var(--mp3-menu-surface);
  color: var(--mp3-menu-ink);
  transition: color .35s ease-out;
}
.mp-home3 > header {
  position: relative;
  top: auto;
  z-index: 5;
  border: 0;
  backdrop-filter: none;
}
.mp-home3 > header .nav { min-height: 66px; height: auto; padding-block: 12px; }
.mp-home3 > header .logo, .mp-home3 > header .nav nav a { color: inherit; }
.mp-home3 > header .logo { letter-spacing: -.07em; }
.mp-home3 > header .menu { display: none; }
.mp-home3[data-home3-slide] {
  --mp3-menu-surface: transparent;
}
.mp-home3[data-home3-slide="samsung"] {
  --mp3-menu-ink: #f4f2ef;
}
.mp-home3[data-home3-slide="team"] {
  --mp3-menu-ink: #fafcff;
}
.mp-home3 .home3-hero .home3-team::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: var(--mp3-masthead-height);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, #08131eb8, #08131e99 51%, transparent);
}
.mp-home3 .home3-page-title {
  position: relative;
  z-index: 3;
  margin: 0;
  max-width: none;
  border: 0;
  padding: 14px var(--mp3-gutter) 0;
}
.mp-home3 .home3-page-title h1 {
  color: inherit;
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
}

/* Each campaign has its own composition. The column/image blocks stay editable. */
.mp-home3 .home3-hero.hero-carousel {
  --mp3-masthead-height: 0px;
  margin-top: calc(-1 * var(--mp3-masthead-height));
  --dot-color: #9aa7b7;
  --dot-size: 7px;
  --dot-active-width: 26px;
  background: var(--mp3-paper);
  overflow: hidden;
}
.mp-home3 .home3-hero .campaign {
  display: block;
  height: calc(clamp(485px, 41vw, 630px) + var(--mp3-masthead-height));
  min-height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
}
.mp-home3 .home3-hero .campaign > .stk-column-wrapper { position: static; }
.mp-home3 .home3-hero .campaign > .stk-column-wrapper > .stk-block-content {
  display: grid;
  position: static;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  box-sizing: border-box;
  padding: var(--mp3-masthead-height) var(--mp3-gutter) 0;
  gap: 2%;
  max-width: none;
  text-align: left;
}
.mp-home3 .home3-hero .campaign .home3-hero-copy {
  grid-area: 1 / 1;
  justify-self: start;
  z-index: 2;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 610px;
  text-align: left;
}
.mp-home3 .home3-hero .campaign .home3-hero-copy > .stk-column-wrapper > .stk-inner-blocks {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 0;
}
.mp-home3 .home3-hero .campaign .home3-hero-label {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin: 0 0 10px;
  color: inherit;
  font-weight: 550;
  letter-spacing: -.015em;
}
.mp-home3 .home3-hero .campaign h2 {
  color: inherit;
  margin: 0;
  font-size: clamp(3.4rem, 6.7vw, 6.1rem);
  line-height: .99;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.mp-home3 .home3-hero .campaign .campaign-description {
  color: inherit;
  margin: 16px 0 18px;
  font-size: clamp(1.04rem, 1.55vw, 1.35rem);
  line-height: 1.45;
}
.mp-home3 .home3-hero .campaign .stk-block-button.button { margin-inline: 0; }
.mp-home3 .home3-hero .stk-block-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mp3-paper);
  gap: 2px;
  padding: 6px 0 0;
  margin: 0;
  top: auto;
  min-height: 30px;
}
.mp-home3 .home3-hero .stk-block-carousel__dot:focus-visible {
  outline: 2px solid #0874db !important;
  outline-offset: -2px !important;
}
.mp-home3 .home3-hero .stk-block-carousel__dot--active::before { background: #243a56; }

.mp-home3 .home3-hero .home3-iphone {
  color: #101b2a;
  background: linear-gradient(180deg, #f3f5f9 0%, transparent 28%),
              linear-gradient(112deg, #f3f5f9 36%, #e2e8f1 68%, #cad9e8 100%);
}
.mp-home3 .home3-hero .home3-iphone::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 2%;
  bottom: 1%;
  width: 49%;
  height: 12%;
  background: radial-gradient(ellipse, #475e842f, transparent 65%);
}
.mp-home3 .home3-hero .home3-iphone .home3-hero-art.stk-block-image {
  grid-area: 1 / 2;
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  margin: 0;
}
.mp-home3 .home3-hero .home3-iphone .pro-visual .stk-img-wrapper img {
  width: 100%;
  height: 96% !important;
  max-width: none;
  object-fit: contain;
  mix-blend-mode: normal;
  transform: rotate(5deg);
  filter: drop-shadow(6px 16px 12px #27384d26);
}
.mp-home3 .home3-hero .home3-iphone .home3-hero-label { color: #43536c; }
.mp-home3 .home3-hero .home3-samsung {
  color: #fff8ee;
  background: linear-gradient(180deg, #16181c, transparent 35%),
              radial-gradient(ellipse at 21% 85%, #635a50 0, #36333a 30%, #1d1e23 58%, #16181c 88%);
}
.mp-home3 .home3-hero .home3-samsung .home3-hero-copy { grid-area: 1 / 2; }
.mp-home3 .home3-hero .home3-samsung h2 {
  color: #fff8ee;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.057em;
}
.mp-home3 .home3-hero .home3-samsung .home3-hero-art.stk-block-image {
  grid-area: 1 / 1;
  position: relative;
  inset: auto;
  z-index: 1;
  height: 98%;
  width: 100%;
}
.mp-home3 .home3-hero .home3-samsung .ultra-visual .stk-img-wrapper img {
  height: 100% !important;
  width: 100% !important;
  max-width: none;
  object-fit: contain;
  transform: rotate(-7deg);
  filter: drop-shadow(8px 14px 14px #0006);
}
.mp-home3 .home3-hero .home3-samsung .home3-hero-label { color: #ddc7ad; }
.mp-home3 .home3-hero .home3-team {
  color: white;
  background: #24313d;
}
.mp-home3 .home3-hero .home3-team > .stk-column-wrapper > .stk-block-content {
  align-items: end;
  padding-bottom: clamp(40px, 5vw, 84px);
}
.mp-home3 .home3-hero .home3-team .home3-hero-copy { grid-column: 1 / -1; max-width: 620px; }
.mp-home3 .home3-hero .home3-team h2 {
  max-width: 11ch;
  color: white;
  font-weight: 520;
  letter-spacing: -.04em;
}
.mp-home3 .home3-hero .home3-team .home3-hero-art.stk-block-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.mp-home3 .home3-hero .home3-team .home3-hero-art::after { content: none !important; }
.mp-home3 .home3-hero .home3-team .home3-hero-art img {
  height: 100% !important;
  width: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 69% 39%;
}
.mp-home3 .home3-hero .home3-team::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #0d1825bd, transparent 35%),
              linear-gradient(90deg, #101d2ad9, #101d2a85 44%, transparent 72%);
}
.mp-home3 .home3-hero .home3-team .stk-block-button .stk-button,
.mp-home3 .home3-hero .home3-samsung .mp3-primary {
  padding: 13px 22px;
  border-radius: 999px;
  color: #172431;
  background: white;
}
.mp-home3 .home3-hero .home3-team .stk-block-button.button .stk-button__inner-text,
.mp-home3 .home3-hero .home3-samsung .mp3-vat { color: inherit; }

/* Once enhanced, panels share a viewport, and slide without cloning any links or headings. */
.mp-home3 .home3-hero[data-ready] .stk-block-carousel__slider {
  display: grid;
  overflow: hidden;
  scroll-snap-type: none;
  touch-action: pan-y;
  cursor: auto;
}
.mp-home3 .home3-hero[data-ready] .campaign {
  grid-area: 1 / 1;
  visibility: hidden;
  pointer-events: none;
}
.mp-home3 .home3-hero[data-ready] .campaign[data-current],
.mp-home3 .home3-hero[data-ready] .campaign[data-moving] { visibility: visible; }
.mp-home3 .home3-hero[data-ready] .campaign[data-current] { pointer-events: auto; }

/* Alternate photographic grids with short, open sections, then close with a generous footer. */
.mp-home3 #kundernas-erfarenheter .review-card {
  padding: clamp(20px, 2.9vw, 38px);
  background: #fff;
  border: 1px solid #dce2ea;
  border-radius: 20px;
  box-shadow: none;
}
.mp-home3 .reviews-grid .review-card blockquote p {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.48;
  color: #263448;
}
.mp-home3 #reviews-grid:not([data-randomized]) .review-card:nth-child(n+4) { display: none; }
.mp-home3 #kom-igang { border-top: 1px solid #d6dce3; }
.mp-home3 #losningar .service-choice {
  border-radius: 20px;
  padding: clamp(24px, 3vw, 42px);
  min-height: 0;
}
.mp-home3 #losningar .service-internet { background: #e5edf6; }
.mp-home3 #losningar .service-calls { background: #e8eaf0; }
.mp-home3 .site-footer {
  margin: clamp(40px, 5vw, 80px) 0 0;
  padding-block: clamp(56px, 7vw, 106px);
  background: #e9eef5;
  color: #172739;
}
.mp-home3 .site-footer .footer-brand .logo .stk-button { font-size: clamp(2.5rem, 4.6vw, 4.5rem); }
.mp-home3 .site-footer .footer-email .stk-button { color: #004aa0; word-break: break-word; }
.mp-home3 .site-footer .footer-columns nav { min-width: 0; }
.mp-home3 .site-footer .footer-columns .stk-block-button { margin-bottom: 12px; }
.mp-home3 .site-footer .stk-block-button:hover .stk-button__inner-text { text-decoration: underline; }

@media (max-width: 900px) {
  .mp-home3 > header .menu { display: grid; place-items: center; color: inherit; }
  .mp-home3 > header .menu svg { display: block; width: 26px; height: 26px; }
  .mp-home3 > header .nav nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    color: #172431;
    background: white;
    padding: 24px var(--mp3-gutter);
    box-shadow: 0 10px 22px #17233716;
  }
  .mp-home3 > header .nav nav.open { display: flex; flex-direction: column; align-items: start; gap: 18px; }
  .mp-home3 #kundernas-erfarenheter .reviews-grid > .stk-inner-blocks { gap: 12px; }
}

@media (max-width: 760px) {
  .mp-home3 > header .nav { min-height: 57px; padding-block: 7px; }
  .mp-home3 .home3-page-title { padding: 10px var(--mp3-gutter) 0; }
  .mp-home3 .home3-hero .campaign {
    height: auto;
    min-height: calc(550px + var(--mp3-masthead-height));
  }
  .mp-home3 .home3-hero .campaign > .stk-column-wrapper > .stk-block-content {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 0;
    padding: var(--mp3-masthead-height) var(--mp3-gutter) 24px;
  }
  .mp-home3 .home3-hero .campaign .home3-hero-copy {
    grid-area: 2 / 1;
    width: 100%;
    justify-self: start;
  }
  .mp-home3 .home3-hero .home3-iphone .home3-hero-art.stk-block-image,
  .mp-home3 .home3-hero .home3-samsung .home3-hero-art.stk-block-image {
    grid-area: 1 / 1;
    justify-self: center;
    width: min(90%, 340px);
    height: clamp(215px, 51vw, 310px);
  }
  .mp-home3 .home3-hero .campaign :is(h2,.stk-block-heading__text) {
    font-size: clamp(2.85rem, 9.3vw, 4.3rem);
  }
  .mp-home3 .home3-hero .home3-iphone {
    background: linear-gradient(180deg, #f3f5f9, #dee8f2 46%, #eff3f8 83%);
  }
  .mp-home3 .home3-hero .home3-iphone::after { display: none; }
  .mp-home3 .home3-hero .home3-samsung {
    background: radial-gradient(ellipse at 50% 30%, #524a44, #212126 54%, #16181c 88%);
  }
  .mp-home3 .home3-hero .home3-samsung .home3-hero-label,
  .mp-home3 .home3-hero .home3-iphone .home3-hero-label { margin-bottom: 7px; }
  .mp-home3 .home3-hero .home3-team > .stk-column-wrapper > .stk-block-content { padding-bottom: 32px; }
  .mp-home3 .home3-hero .home3-team h2 { max-width: 12ch; }
  .mp-home3 .home3-hero .home3-team .home3-hero-art img { object-position: 66% 30%; }
  .mp-home3 .home3-hero .home3-team::after {
    background: linear-gradient(180deg, #0d1825bd, transparent 29%),
                linear-gradient(0deg, #101a28f5 0%, #101a28d9 31%, #101a2817 66%);
  }
  .mp-home3 .home3-hero .campaign .campaign-description { margin: 10px 0 14px; }
  .mp-home3 main > section h2.stk-block-heading__text { font-size: clamp(2rem, 8vw, 2.8rem); }
  .mp-home3 .site-footer { padding-block: 52px; }
  .mp-home3 .site-footer .footer-columns > .stk-inner-blocks { gap: 32px; }
  .mp-home3 .site-footer .footer-columns nav { padding-top: 18px; border-top: 1px solid #cdd5de; }
}
@media (prefers-reduced-motion: reduce) {
  .mp-home3 > header, .mp-home3 .home3-page-title { transition: none; }
}
.mp-home3 .home3-page-title.rail { width: 100%; }
.mp-home3 .home3-hero .campaign .home3-hero-copy :is(h2,p) { text-align: left; }
.mp-home3 .home3-hero .campaign .home3-hero-copy > .stk-column-wrapper > .stk-inner-blocks > * {
  flex: none;
}
.mp-home3 > header .nav nav { background: transparent; }
@media (max-width: 900px) {
  .mp-home3 > header .nav { gap: 10px; }
  .mp-home3 > header .nav .menu { margin-inline-start: auto; }
  .mp-home3 > header .nav nav.open { background: white; }
}
.mp-home3 .home3-hero .home3-samsung .mp3-primary { color: #172431 !important; }
.mp-home3 .home3-hero .home3-samsung .mp3-primary:hover { background: #f1e6d9; }

/* Guide cards keep the article image and link editable in Stackable. */
.mp-home3 .guides .guide {
  --guide-inset: clamp(20px, 2vw, 30px);
  background: white;
  border-radius: 24px;
  overflow: hidden;
}
.mp-home3 .guide > .stk-column-wrapper,
.mp-home3 .guide > .stk-column-wrapper > .stk-inner-blocks {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  margin: 0;
  padding: 0;
}
.mp-home3 .guide > .stk-column-wrapper > .stk-inner-blocks {
  align-items: stretch;
  gap: 0;
  padding-bottom: 14px;
}
.mp-home3 .guide .guide-picture.stk-block-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  margin: 0 0 var(--guide-inset);
}
.mp-home3 .guide .guide-picture :is(figure,.stk-img-wrapper) {
  width: 100%;
  height: 100%;
}
.mp-home3 .guide .stk-inner-blocks > :is(.stk-block-text,.stk-block-heading) {
  margin: 0 var(--guide-inset);
  text-align: left;
}
.mp-home3 .guide .guide-picture + .stk-block-text p {
  margin: 0;
  color: #475263;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .045em;
}
.mp-home3 .guides .guide h3 {
  margin: 8px 0 12px;
  color: #1d1d1f;
  font-size: clamp(1.5rem, 2.1vw, 1.95rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.mp-home3 .guide .guide-excerpt p {
  margin: 0;
  color: #42464d;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.mp-home3 .guide .guide-read {
  align-self: flex-end;
  margin: auto 16px 0 0;
  padding-top: 16px;
  z-index: 2;
}
.mp-home3 .guide .guide-read .stk-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #62656b;
  background: #ececef;
  padding: 0;
}
.mp-home3 .guide .guide-read .stk-button::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 5 7 7-7 7' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='3.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mp-home3 .guide .guide-read .stk-button__inner-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.mp-home3 .guide:hover .guide-read .stk-button,
.mp-home3 .guide .guide-read .stk-button:focus-visible {
  background: #dadce0;
  color: #26282c;
}
.mp-home3 .guide .guide-read .stk-button:focus-visible {
  outline: 2px solid #175b9e;
  outline-offset: 2px;
}
