/* WP Express article endings and questions */
.article-end-cta {
  margin: 0;
  padding: 0;
  color: var(--paper, #f3f0e7);
  background: #15151b;
}
.article-end-cta .article-end-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem 2.4rem;
  padding-block: clamp(2.8rem, 6vw, 5rem);
}
.article-end-actions { display: grid; justify-items: start; gap: .7rem; }
.article-end-cta .article-end-phone {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}
@media (min-width: 58rem) {
  .article-end-cta .article-end-inner { grid-template-columns: minmax(0, 1fr) max-content; }
  .article-end-actions { justify-self: end; justify-items: center; }
}
.article-end-cta h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(2rem, 1.25rem + 3.4vw, 4.1rem);
  line-height: 1;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.article-end-cta p { margin: .65rem 0 0; max-inline-size: none; }
.article-end-cta .article-end-link {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem 1.25rem;
  color: var(--ink, #171727);
  background: var(--lime, #dafa64);
  font-weight: 800;
  text-decoration: none;
}
.article-end-cta .article-end-link:focus-visible {
  outline: 2px solid var(--paper, #f3f0e7);
  outline-offset: 4px;
}
.wpex-faq { padding-block: var(--section-space, 5rem); }
.wpex-faq h2 {
  max-inline-size: 19ch;
  margin: 0 0 clamp(1.25rem, 3vw, 2.4rem);
  font-size: clamp(2.3rem, 1.25rem + 4vw, 4.5rem);
  letter-spacing: -.055em;
  line-height: .98;
  text-wrap: balance;
}
.wpex-faq-items { max-inline-size: 54rem; border-block-start: 1px solid var(--line, #c5c0b7); }
.wpex-faq details { border-block-end: 1px solid var(--line, #c5c0b7); }
.wpex-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  padding-block: 1rem;
  color: var(--ink, #171727);
  cursor: pointer;
  font-size: clamp(1.1rem, .95rem + .42vw, 1.4rem);
  font-weight: 800;
}
.wpex-faq summary::-webkit-details-marker { display: none; }
.wpex-faq summary:focus-visible { outline-offset: 3px; }
.wpex-faq summary span::before { content: "+"; color: var(--blue, #2520cc); }
.wpex-faq details[open] summary span::before { content: "−"; }
.wpex-faq details p { max-inline-size: 64ch; margin: 0 0 1.1rem; }
.wpex-faq details p a:not([class]) { color: var(--blue, #2520cc); text-decoration: underline; }

/* Match the two corner controls and reserve room for footer links. */
:root {
  --wpex-corner-button-size: 58px;
  --wpex-corner-button-side: max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --wpex-corner-button-bottom: max(16px, env(safe-area-inset-bottom, 0px));
}
body > .ws-reopen {
  inset-block-end: var(--wpex-corner-button-bottom);
  inset-inline-start: var(--wpex-corner-button-side);
  inline-size: var(--wpex-corner-button-size);
  block-size: var(--wpex-corner-button-size);
}

.delta-site .wpex-footer {
  padding-block: 0;
  margin-block: 0;
  min-block-size: 0;
}
.delta-site .wpex-footer .wpex-footer-inner {
  max-inline-size: calc(100% - 2 * (var(--wpex-corner-button-size) + var(--wpex-corner-button-side) + .5rem));
  padding-block: .7rem;
}
.wpex-footer .footer-legal {
  margin-inline-start: auto;
  justify-content: flex-end;
}

.wpex-back-to-top {
  position: fixed;
  z-index: 10;
  inset-inline-end: var(--wpex-corner-button-side);
  inset-block-end: var(--wpex-corner-button-bottom);
  display: grid;
  place-items: center;
  inline-size: var(--wpex-corner-button-size);
  block-size: var(--wpex-corner-button-size);
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--ink, #171727);
  background: conic-gradient(var(--lime, #dafa64) var(--wpex-scroll-progress, 0%), #5d5b70 0);
  color: #fff;
  box-shadow: 0 2px 10px rgb(0 0 0 / .25);
  cursor: pointer;
}
.wpex-back-to-top[hidden] { display: none; }
.wpex-back-to-top span {
  display: grid;
  place-items: center;
  inline-size: calc(100% - 6px);
  block-size: calc(100% - 6px);
  border-radius: 50%;
  background: var(--ink, #171727);
  font-size: 1.4rem;
  line-height: 1;
}
.wpex-back-to-top:focus-visible {
  outline: 2px solid var(--blue, #2520cc);
  outline-offset: 3px;
}
@media (forced-colors: active) {
  .wpex-back-to-top { border: 2px solid ButtonText; }
}

@media (min-width: 58rem) {
  .hero .hero-last-line { display: block; }
}


html { scroll-padding-block-start: var(--wpex-header-height, 6rem); }
.delta-site .header {
  position: sticky;
  inset-block-start: var(--wp-admin--admin-bar--height, 0px);
  z-index: 30;
  background: var(--paper, #f5f2e9);
}
.delta-site .header.is-compact { box-shadow: 0 2px 8px #17172716; }
.delta-site .header.is-compact .header-inner { min-block-size: 3.5rem; }
.delta-site .header.is-compact a.wordmark { font-size: 1.6rem; }
.delta-site .header.is-compact .wordmark .mark { inline-size: 2.15rem; font-size: 1.6rem; }
.delta-site .header.is-compact .nav-links > a { font-size: clamp(.78rem, .7rem + .56vw, 1.125rem); }
.single .article-sidebar {
  inset-block-start: calc(var(--wpex-header-height, 6rem) + 1rem);
  max-block-size: calc(100dvh - var(--wpex-header-height, 6rem) - 2rem);
}
.single .article-entry h2 { scroll-margin-block-start: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .delta-site .header .header-inner { transition: min-block-size .17s ease; }
}

.demo-examples > .way {
  position: relative;
}
.demo-examples .text-link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.demo-examples:not(:hover) > .way:has(.text-link:focus-visible) {
  background-color: var(--lime);
}
@media (hover: hover) {
  .demo-examples > .way:hover {
    background-color: var(--lime);
  }
  .demo-examples > .way:hover .text-link {
    color: var(--ink);
  }
}

@media (forced-colors: none) {
  .wpex-demo label:has(> select[data-wpex-scenario]) { grid-template-rows: auto auto; grid-template-columns: minmax(0, 1fr); }
  .wpex-demo select[data-wpex-scenario] { grid-area: 2 / 1; appearance: none; padding-inline-end: 2.5rem; }
  .wpex-demo label:has(> select[data-wpex-scenario])::after {
    content: ""; grid-area: 2 / 1; align-self: center; justify-self: end;
    inline-size: .42rem; block-size: .42rem; margin-inline-end: 1rem; margin-block-start: -.2rem;
    border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none;
  }
}

.price-options .starter-price-comparison {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem 1rem;
}
.starter-price-reference {
  display: grid;
  gap: .22rem;
  color: var(--ink);
  font: 700 .84rem/1.2 var(--sans, Arial, sans-serif);
  letter-spacing: 0;
}
.starter-price-reference s {
  font-size: clamp(1.18rem, 1rem + .6vw, 1.55rem);
  text-decoration-thickness: 2px;
}
.wpex-back-to-top span { position: relative; }
.wpex-back-to-top span::before,
.wpex-back-to-top span::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
}
.wpex-back-to-top span::before {
  inset-block-start: 50%;
  inline-size: 2px;
  block-size: 13px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.wpex-back-to-top span::after {
  inset-block-start: calc(50% - 6px);
  inline-size: 7px;
  block-size: 7px;
  border: solid currentColor;
  border-width: 2px 0 0 2px;
  transform: translateX(-50%) rotate(45deg);
}
.article-end-cta h2 em { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; }

.hero h1 .hero-last-line em { font-family: Georgia, "Times New Roman", serif; color: inherit; font-style: italic; font-weight: 700; }
.price-options .way .price-monthly { margin-block: .75rem .7rem; font-size: clamp(1.22rem, 1rem + .65vw, 1.65rem); line-height: 1.25; }
.contact .contact-revisions { max-inline-size: 32rem; }
.wpex-demo button.choice:not(:disabled):is(:hover, :focus-visible) { color: var(--ink); background: var(--lavender); border-color: var(--blue); }
.wpex-demo button.choice:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* The three kinds of updates share a stationary frame on larger screens. */
#rettelser .ways-scroll .ways-grid {
  grid-template-columns: minmax(0, 1fr);
}
#rettelser .ways-scroll .way {
  position: relative;
  padding: clamp(1.6rem, 4.5vw, 4rem);
  padding-block-start: clamp(1.6rem, 4.5vw, 4rem);
}
#rettelser .ways-scroll .way:nth-child(1) {
  --way-small: url("/wp-content/uploads/2026/11/wpexpress-article-rettelse-300x200.webp");
  --way-large: url("/wp-content/uploads/2026/11/wpexpress-article-rettelse-768x512.webp");
}
#rettelser .ways-scroll .way:nth-child(2) {
  --way-small: url("/wp-content/uploads/2026/11/wpexpress-article-wordpress-fundament-300x200.webp");
  --way-large: url("/wp-content/uploads/2026/11/wpexpress-article-wordpress-fundament-768x512.webp");
}
#rettelser .ways-scroll .way:nth-child(3) {
  --way-small: url("/wp-content/uploads/2026/11/wpexpress-article-uden-page-builder-300x200.webp");
  --way-large: url("/wp-content/uploads/2026/11/wpexpress-article-uden-page-builder-768x512.webp");
}
#rettelser .ways-scroll .way::before {
  content: "";
  display: block;
  aspect-ratio: 3 / 2;
  margin-block-end: 1.35rem;
  background: var(--lavender) var(--way-small) center / cover no-repeat;
}
#rettelser .ways-scroll .way h3 {
  margin-block: 0 .32em;
  max-inline-size: 17ch;
  font-size: clamp(2.05rem, 1.25rem + 2.6vw, 4.25rem);
  line-height: 1;
  text-wrap: balance;
}
#rettelser .ways-scroll .way p {
  max-inline-size: 38ch;
  margin-block: 0;
  font-size: clamp(1rem, .92rem + .36vw, 1.25rem);
}

@media (min-width: 52rem) {
  #rettelser .ways-scroll .way {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-inline-end: 51%;
    min-block-size: clamp(18rem, 39svh, 24rem);
  }
  #rettelser .ways-scroll .way::before {
    position: absolute;
    inset: 0 0 0 54%;
    margin: 0;
    aspect-ratio: auto;
    border-inline-start: 1px solid var(--ink);
    background-image: var(--way-large);
  }
  #rettelser .ways-scroll .way + .way {
    border-inline-start: 0;
    border-block-start: 1px solid var(--ink);
  }
}

/* Keep the next section in view while the cards change. */
#rettelser:has(.ways-scroll) {
  padding-block-end: clamp(1rem, 2.4vw, 2rem);
}
#rettelser:has(.ways-scroll) + #priser {
  padding-block-start: clamp(1.65rem, 3vw, 2.5rem);
}

@supports ((animation-timeline: view()) and (animation-range: 0% 100%)) {
  @media (min-width: 52rem) and (min-height: 44rem) and (prefers-reduced-motion: no-preference) {
    :has(> #rettelser .ways-scroll) {
      --ways-travel: clamp(30rem, 79svh, 50rem);
    }
    #rettelser .ways-scroll {
      --ways-top: calc(var(--wpex-header-height, 5rem) + 1.5rem);
      view-timeline: --ways-progress block;
      view-timeline-inset: var(--ways-top) 0px;
    }
    #rettelser .ways-scroll::after {
      content: "";
      display: block;
      block-size: var(--ways-travel);
    }
    #rettelser .ways-scroll .ways-grid {
      position: sticky;
      inset-block-start: var(--ways-top);
      isolation: isolate;
      overflow: clip;
    }
    #rettelser .ways-scroll .ways-grid::after {
      content: "";
      position: absolute;
      z-index: 2;
      inset: 0;
      outline: 1px solid var(--ink);
      pointer-events: none;
    }
    #rettelser .ways-scroll .way {
      grid-area: 1 / 1;
      border: 0;
      background: var(--paper);
      animation: wpex-way-deck auto linear both;
      animation-timeline: --ways-progress;
      animation-range: exit-crossing 0px exit-crossing var(--ways-travel);
    }
    #rettelser .ways-scroll .way:nth-child(1) { --way-index: 0; background: var(--lime); }
    #rettelser .ways-scroll .way:nth-child(2) { --way-index: 1; background: var(--lavender); }
    #rettelser .ways-scroll .way:nth-child(3) { --way-index: 2; }
    @supports (timeline-scope: --ways-progress) {
      :has(> #rettelser .ways-scroll) {
        timeline-scope: --ways-progress;
      }
      #rettelser:has(.ways-scroll) + #priser:not(:target) {
        animation: wpex-show-next-section auto linear both;
        animation-timeline: --ways-progress;
        animation-range: exit-crossing 0px exit-crossing var(--ways-travel);
      }
      @keyframes wpex-show-next-section {
        from { translate: 0 calc(0px - var(--ways-travel)); }
        to { translate: 0 0; }
      }
    }
    @keyframes wpex-way-deck {
      0%, 23% { transform: translateY(calc(var(--way-index) * 100%)); }
      23%, 57% { animation-timing-function: ease-in-out; }
      40%, 57% { transform: translateY(calc((var(--way-index) - 1) * 100%)); }
      75%, 100% { transform: translateY(calc((var(--way-index) - 2) * 100%)); }
    }
  }
}

.wpex-demo .wpex-record:not([hidden]) {
  display: inline-grid;
  place-items: center;
  min-inline-size: 2.75rem;
  min-block-size: 2.75rem;
  padding: 0;
}
.wpex-record-icon {
  position: relative;
  inline-size: .95rem;
  block-size: .65rem;
  margin-block-start: .2rem;
  border: 1.5px solid currentColor;
  border-block-start: 0;
  border-radius: 0 0 .5rem .5rem;
}
.wpex-record-icon::before,
.wpex-record-icon::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  translate: -50% 0;
}
.wpex-record-icon::before {
  inline-size: .41rem;
  block-size: .79rem;
  inset-block-end: .12rem;
  border: 1.5px solid currentColor;
  border-radius: 1rem;
}
.wpex-record-icon::after {
  inline-size: .48rem;
  block-size: .3rem;
  inset-block-end: -.34rem;
  border-block-end: 1.5px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
}
.wpex-record[data-recording] .wpex-record-icon {
  inline-size: .74rem;
  block-size: .74rem;
  margin: 0;
  border: 0;
  border-radius: .12rem;
  background: currentColor;
}
.wpex-record[data-recording] .wpex-record-icon::before,
.wpex-record[data-recording] .wpex-record-icon::after {
  display: none;
}

.contact .contact-inner h1 {
  color: var(--paper);
  font-size: clamp(2.3rem, 1.3rem + 3.8vw, 5rem);
  line-height: .99;
  letter-spacing: -.075em;
}

.delta-site .ways-grid.demo-examples {
  gap: 0;
}

/* Contact form submission feedback */
.contact .wpex-callback .srfm-success-box {
  background: var(--lime);
  color: var(--ink);
  border: 0;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}
.contact .wpex-callback .srfm-success-box .srfm-success-box-description {
  color: inherit;
  font-size: clamp(1.2rem, 1.03rem + .75vw, 1.65rem);
  font-weight: 750;
  line-height: 1.25;
}
.contact .wpex-callback .srfm-success-box .srfm-success-box-description p {
  margin: 0;
  color: inherit;
  font: inherit;
}
.contact .wpex-callback .srfm-form .srfm-common-error-message:not([hidden]) {
  background: #ffd9e2;
  color: #451722;
  border-color: #ffd9e2;
}
.contact .wpex-callback .srfm-common-error-message .srfm-error-content {
  color: inherit;
  font-size: 1.0625rem;
  font-weight: 650;
}
.contact .wpex-callback .srfm-form-container .srfm-error-message:not(.srfm-common-error-message) {
  color: #ffb3c6;
}
.contact .wpex-callback .srfm-error .srfm-input-common[aria-invalid="true"] {
  border-color: #ffb3c6;
}
