/* === mobile-font-parity.css | exact original rules === */
/* Poppins 300 is now included in the global optimized font request. */

/**
 * Digital Kreativ mobile homepage typography parity.
 * Source: user-supplied 390px Photoshop mobile PSD.
 * Keeps the approved desktop/tablet typography and layout unchanged.
 * Load after font-families.css because its specificity affects Elementor headings.
 */
@media (max-width: 767px) {
  /* The desktop and PSD share these two type families. */
  body.page-id-78 {
    --dk-mobile-body-font: 'Poppins', Arial, Helvetica, sans-serif;
    --dk-mobile-title-font: 'Playfair Display', Georgia, 'Times New Roman', serif;
  }

  /* Actual heading text only — not all Elementor Heading widgets are titles. */
  body:not(#dk-font-override).page-id-78 :is(
    .dk-hero-line-one, .dk-hero-line-two,
    .dk-services-title-a, .dk-services-title-b,
    .dk-project-title-a, .dk-project-title-b,
    .dk-about-title-a, .dk-about-title-b,
    .dk-about-banner-title, .dk-contact-heading, .dk-contact-heading-accent
  ) .elementor-heading-title,
  body:not(#dk-font-override).page-id-78 .dk-hero-lead-intro h2,
  body:not(#dk-font-override).page-id-78 .dkt-v2__intro h2,
  body:not(#dk-font-override).page-id-78 .dkt-v2__intro h2 span,
  body:not(#dk-font-override).page-id-78 .dkg-strategy :is(.dkg-heading, .dkg-highlight) .elementor-heading-title,
  body:not(#dk-font-override).page-id-78 .dkf-editorial h3 {
    font-family: var(--dk-mobile-title-font) !important;
    font-weight: 700 !important;
  }

  /* Poppins 400 is used for labels, chips, navigation, CTA copy and paragraphs.
     Elementor heading widgets used as labels must NOT inherit the serif family. */
  body:not(#dk-font-override).page-id-78 :is(
    .dk-hero-kicker, .dk-services-kicker, .dk-project-kicker,
    .dk-about-kicker, .dk-about-banner-eyebrow, .dk-contact-eyebrow,
    .dk-hero-feature, .dk-service-heading,
    .dk-about-reason-title, .dk-about-banner-phone-label,
    .dks-value, .dks-label, .dkg-kicker
  ) :is(.elementor-heading-title, .elementor-icon-box-title),
  body:not(#dk-font-override).page-id-78 .dk-hero-feature .elementor-icon-box-title :is(span, a),
  body:not(#dk-font-override).page-id-78 .dk-service-heading .elementor-heading-title a,
  body:not(#dk-font-override).page-id-78 .dk-about-reason-title .elementor-heading-title :is(a, span),
  body:not(#dk-font-override).page-id-78 .dks-statistics :is(.dks-value, .dks-label) .elementor-heading-title :is(span, a),
  body:not(#dk-font-override).page-id-78 .dkf-editorial :is(.dkf-linklist a, .dkf-contact-line a) {
    font-family: var(--dk-mobile-body-font) !important;
  }

  /* HERO — Photoshop text-layer sizes at 390px: 25 / 33.333 / 12.5px. */
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-kicker .elementor-heading-title {
    font-family: var(--dk-mobile-body-font) !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
  }
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-line-one .elementor-heading-title {
    font-size: clamp(22px, 6.41vw, 25px) !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
  }
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-line-two .elementor-heading-title {
    font-size: clamp(28px, 8.547vw, 33.333px) !important;
    line-height: 1.18 !important;
    letter-spacing: 0 !important;
  }
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-desc,
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-desc p {
    font-family: var(--dk-mobile-body-font) !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    line-height: 2 !important;
  }
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-buttons .elementor-button {
    font-family: var(--dk-mobile-body-font) !important;
    font-size: clamp(10.5px, 3.205vw, 12.5px) !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
  }
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-title,
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-title :is(span, a),
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-description {
    font-family: var(--dk-mobile-body-font) !important;
    font-size: 12.5px !important;
    font-weight: 300 !important;
    line-height: 1.6667 !important;
  }

  /* Enquiry: Playfair Display title, Poppins form controls. */
  body:not(#dk-font-override).page-id-78 .dk-hero-lead-wrap .dk-hero-lead-intro h2 {
    font-size: clamp(19px, 5.342vw, 20.833px) !important;
    line-height: 1.6 !important;
  }
  body:not(#dk-font-override).page-id-78 .dk-hero-lead-wrap :is(
    .dk-hero-lead-consent, .dk-hero-lead-consent label,
    .dk-hero-lead-consent .wpcf7-list-item-label,
    .dk-hero-lead-row input:not([type=checkbox]),
    .dk-hero-lead-row input::placeholder
  ) {
    font-family: var(--dk-mobile-body-font) !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
  }

  /* Our services: 25px / 33.333px titles, 12.5px descriptive text. */
  body:not(#dk-font-override).page-id-78 .dk-services-section .dk-services-kicker .elementor-heading-title,
  body:not(#dk-font-override).page-id-78 .dk-projects-section .dk-project-kicker .elementor-heading-title,
  body:not(#dk-font-override).page-id-78 .dk-about-section .dk-about-kicker .elementor-heading-title,
  body:not(#dk-font-override).page-id-78 .dk-about-cta-section .dk-about-banner-eyebrow .elementor-heading-title,
  body:not(#dk-font-override).page-id-78 .dk-contact-section .dk-contact-eyebrow .elementor-heading-title,
  body:not(#dk-font-override).page-id-78 .dkg-strategy .dkg-kicker .elementor-heading-title {
    font-family: var(--dk-mobile-body-font) !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
  }
  body:not(#dk-font-override).page-id-78 .dk-services-section .dk-services-title-a .elementor-heading-title,
  body:not(#dk-font-override).page-id-78 .dk-about-section .dk-about-title-a .elementor-heading-title,
  body:not(#dk-font-override).page-id-78 .dk-contact-section .dk-contact-heading .elementor-heading-title {
    font-size: clamp(22px, 6.41vw, 25px) !important;
    line-height: 1.2 !important;
  }
  body:not(#dk-font-override).page-id-78 .dk-services-section .dk-services-title-b .elementor-heading-title,
  body:not(#dk-font-override).page-id-78 .dk-about-section .dk-about-title-b .elementor-heading-title,
  body:not(#dk-font-override).page-id-78 .dk-contact-section .dk-contact-heading-accent .elementor-heading-title {
    font-size: clamp(29px, 8.547vw, 33.333px) !important;
    line-height: 1.15 !important;
  }
  body:not(#dk-font-override).page-id-78 :is(
    .dk-services-description p, .dk-project-description p, .dk-about-intro p,
    .dk-about-banner-desc p, .dk-contact-intro p, .dkt-v2__intro p,
    .dkg-description p
  ) {
    font-family: var(--dk-mobile-body-font) !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    line-height: 2 !important;
  }
  body:not(#dk-font-override).page-id-78 .dk-services-section .dk-service-heading .elementor-heading-title,
  body:not(#dk-font-override).page-id-78 .dk-services-section .dk-service-heading .elementor-heading-title a {
    font-family: var(--dk-mobile-body-font) !important;
    font-size: clamp(14px, 4.27vw, 16.667px) !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
  }
  body:not(#dk-font-override).page-id-78 .dk-services-section .dk-service-summary p,
  body:not(#dk-font-override).page-id-78 .dk-about-section .dk-about-reason-text p {
    font-family: var(--dk-mobile-body-font) !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    line-height: 1.66 !important;
  }
  body:not(#dk-font-override).page-id-78 .dk-about-section .dk-about-reason-title .elementor-heading-title {
    font-family: var(--dk-mobile-body-font) !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
  }

  /* Portfolio: both PSD display lines are 33.333px; card captions are Poppins. */
  body:not(#dk-font-override).page-id-78 .dk-projects-section .dk-project-title-a .elementor-heading-title,
  body:not(#dk-font-override).page-id-78 .dk-projects-section .dk-project-title-b .elementor-heading-title,
  body:not(#dk-font-override).page-id-78 .dk-managed-references :is(.dk-project-title-a, .dk-project-title-b) {
    font-family: var(--dk-mobile-title-font) !important;
    font-size: clamp(29px, 8.547vw, 33.333px) !important;
    font-weight: 700 !important;
    line-height: 1.17 !important;
  }
  body:not(#dk-font-override).page-id-78 :is(
    .dk-projects-section .dk-project-name .elementor-heading-title,
    .dk-projects-section .dk-project-name .elementor-heading-title a,
    .dk-managed-references .dk-project-name,
    .dk-managed-references .dk-project-name a
  ) {
    font-family: var(--dk-mobile-body-font) !important;
    font-size: clamp(13px, 3.95vw, 15.42px) !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
  }
  body:not(#dk-font-override).page-id-78 :is(
    .dk-projects-section .dk-project-kind p, .dk-managed-references .dk-project-kind
  ) {
    font-family: var(--dk-mobile-body-font) !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
  }

  /* Collaboration banner and customer testimonials. */
  body:not(#dk-font-override).page-id-78 .dk-about-cta-section .dk-about-banner-title .elementor-heading-title {
    font-size: clamp(22px, 6.41vw, 25px) !important;
    line-height: 1.6 !important;
  }
  body:not(#dk-font-override).page-id-78 .dkt-v2 .dkt-v2__intro h2 {
    font-size: clamp(22px, 6.41vw, 25px) !important;
    line-height: 1.25 !important;
  }
  body:not(#dk-font-override).page-id-78 .dkt-v2 .dkt-v2__intro h2 span {
    font-size: clamp(29px, 8.547vw, 33.333px) !important;
    line-height: 1.18 !important;
  }
  body:not(#dk-font-override).page-id-78 .dkt-v2 .dkt-v2__quote {
    font-family: var(--dk-mobile-body-font) !important;
    font-size: 12.5px !important;
    font-weight: 300 !important;
    line-height: 2 !important;
  }

  /* Statistics: figures 25px Poppins bold, captions 14.583px regular. */
  body:not(#dk-font-override).page-id-78 .dks-statistics .dks-value .elementor-heading-title {
    font-family: var(--dk-mobile-body-font) !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
  }
  body:not(#dk-font-override).page-id-78 .dks-statistics .dks-label .elementor-heading-title {
    font-family: var(--dk-mobile-body-font) !important;
    font-size: clamp(12px, 3.74vw, 14.583px) !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
  }

  /* Mobile footer uses Playfair for column headings and Poppins Light for links. */
  body:not(#dk-font-override).page-id-78 .dkf-editorial h3 {
    font-size: 16.667px !important;
    line-height: 1.25 !important;
  }
  body:not(#dk-font-override).page-id-78 .dkf-editorial :is(
    .dkf-description, .dkf-linklist a, .dkf-contact-line a
  ) {
    font-family: var(--dk-mobile-body-font) !important;
    font-size: 12.5px !important;
    font-weight: 300 !important;
  }

  /* Functional controls remain readable without modifying their sizing/positioning. */
  body:not(#dk-font-override).page-id-78 :is(
    .dk-services-all .elementor-button, .dk-project-cta .elementor-button,
    .dk-about-banner-btn .elementor-button, .dk-contact-form-fields input,
    .dk-contact-form-fields textarea, .dkf-contact-cta
  ) {
    font-family: var(--dk-mobile-body-font) !important;
    font-size: 12.5px !important;
  }
}


/* === mobile-top-parity.css | exact original rules === */
/**
 * Digital Kreativ — mobile PSD header + hero geometry (390px source).
 * Review draft only; scoped to homepage page #78 at <=767px.
 * The desktop header, image, typography and sizing are untouched.
 * PSD visual landmarks: logo x22/y27; hero badge x115/y334;
 * headline y395; CTAs y589; advantages icons y661.
 */
@media (max-width: 767px) {
  /* Header is over the photo in the supplied mobile artwork. Match the
     existing desktop overlaid-header method without changing desktop rules. */
  body.page-id-78 #masthead,
  body.page-id-78 .hfe-site-header,
  body.page-id-78 .elementor-location-header {
    position: relative;
    z-index: 90;
    background: transparent !important;
    background-image: none !important;
  }
  body.page-id-78 .dk2026-elementor-root {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-image: none !important;
  }
  body.page-id-78 .dk2026-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 95;
    width: 100%;
    background: transparent !important;
  }
  body.page-id-78 .dk2026-header .dk2026-main {
    border-bottom: 0 !important;
    background: linear-gradient(
      180deg,
      rgba(0, 10, 16, .76) 0%,
      rgba(0, 10, 16, .45) 58%,
      rgba(0, 10, 16, 0) 100%
    ) !important;
  }
  body.page-id-78 .dk2026-header .dk2026-main-inner {
    width: 100%;
    min-height: 76px;
    padding: 0 20px !important;
    align-items: center;
  }
  body.page-id-78 .dk2026-header .dk2026-brand,
  body.page-id-78 .dk2026-header .dk2026-logo-image {
    flex-basis: min(49vw, 190px);
    width: min(49vw, 190px) !important;
    max-width: 190px !important;
  }
  body.page-id-78 .dk2026-header .dk2026-mobile summary {
    border: 0 !important;
    background: transparent !important;
  }
  body.page-id-78 .dk2026-header .dk2026-mobile[open] summary {
    border: 1px solid rgba(62,223,208,.42) !important;
    background: rgba(0,20,24,.88) !important;
  }

  /* Keep the full 909x941 mobile source image. The previous 108vw top
     padding pushed the badge ~90px below its PSD position. */
  body.page-id-78 .dk-home-hero {
    background-color: #000a0d;
    background-image: url("https://www.digitalkreativ.no/wp-content/uploads/2026/11/Digital-Kreativ-%E2%80%93-optimized-mobile-homepage-hero-WebP.webp") !important;
    background-position: center top !important;
    background-size: 100% auto !important;
    background-repeat: no-repeat !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-main {
    padding: clamp(272px, 85.64vw, 368px) var(--dk-mobile-gutter, 17px) 45px !important;
    margin-inline: auto;
  }
  body.page-id-78 .dk-home-hero .dk-hero-copy {
    width: 100%;
    max-width: 390px;
    margin-inline: auto;
    text-align: center;
    align-items: center;
    gap: 0 !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-kicker {
    margin: 0 auto 18px !important;
    width: auto !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-kicker .elementor-heading-title {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 160px;
    min-height: 37px;
    padding: 7px 15px !important;
    border-radius: 99px;
    background: rgba(1, 18, 22, .55) !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-line-one,
  body.page-id-78 .dk-home-hero .dk-hero-line-two {
    width: 100% !important;
    margin: 0 !important;
    text-align: center;
  }
  body.page-id-78 .dk-home-hero .dk-hero-desc {
    width: 100% !important;
    max-width: 340px !important;
    margin: 22px auto 0 !important;
    text-align: center !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-desc p {
    margin: 0 !important;
    text-align: center !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-desc [data-dkm-hero-line] {
    display: inline !important;
    white-space: normal !important;
  }

  /* Reference 390px mobile buttons: x36–183, x202–354, y589–625. */
  body.page-id-78 .dk-home-hero .dk-hero-buttons {
    display: flex !important;
    width: 100% !important;
    max-width: 356px !important;
    margin: 37px auto 0 !important;
    gap: 19px !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-buttons .elementor-widget-button {
    min-width: 0 !important;
    flex: 0 1 auto !important;
    margin: 0 !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-btn-primary {
    width: min(147px, calc((100% - 19px)/2)) !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-btn-outline {
    width: min(152px, calc((100% - 19px)/2)) !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-buttons .elementor-button {
    display: flex !important;
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 7px 16px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    border-radius: 99px !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-buttons .elementor-button::after {
    content: "" !important;
    display: block !important;
    flex: 0 0 6px !important;
    width: 6px !important;
    height: 10px !important;
    margin: 0 !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 6px 10px;
    font-size: 0 !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-btn-primary .elementor-button::after {
    background-image: url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/Digital-Kreativ-Figma-Hero-CTA-Chevron-Dark.svg");
  }
  body.page-id-78 .dk-home-hero .dk-hero-btn-outline .elementor-button::after {
    background-image: url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/Digital-Kreativ-Figma-Hero-CTA-Chevron-White.svg");
  }

  /* Four actual PSD-exported icons (Media Library IDs 334–337).
     Match the centered 286px two-column advantages grid and separators. */
  body.page-id-78 .dk-home-hero .dk-hero-features {
    display: grid !important;
    width: min(286px, 100%) !important;
    max-width: 286px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 0 !important;
    row-gap: 30px !important;
    margin: 35px auto 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 113px !important;
    padding: 0 8px 0 0 !important;
    border: 0 !important;
    text-align: left !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(even) {
    padding-left: 43px !important;
    padding-right: 0 !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(n+3) {
    min-height: 104px !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(odd)::before {
    top: 0;
    right: 0;
    bottom: auto;
    height: 77px;
    width: 1px;
    background: rgba(255,255,255,.32);
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(-n+2)::after {
    bottom: 0;
    left: 0;
    right: 34%;
    height: 1px;
    background: rgba(255,255,255,.38);
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(2)::after {
    left: 30%;
    right: 0;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-wrapper {
    text-align: left !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-icon {
    display: block !important;
    width: 33px !important;
    height: 33px !important;
    margin: 0 0 10px !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(1) .elementor-icon-box-icon {
    background-image: url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/Digital-Kreativ-Figma-hero-advantage-%E2%80%94-Synlighet.png");
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(2) .elementor-icon-box-icon {
    background-image: url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/Digital-Kreativ-Figma-hero-advantage-%E2%80%94-Skreddersydde.png");
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(3) .elementor-icon-box-icon {
    background-image: url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/Digital-Kreativ-Figma-hero-advantage-%E2%80%94-Kreativitet.png");
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(4) .elementor-icon-box-icon {
    background-image: url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/Digital-Kreativ-Figma-hero-advantage-%E2%80%94-Samarbeid.png");
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-icon .elementor-icon {
    visibility: hidden !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-content {
    min-width: 0 !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-title {
    margin: 0 !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-title :is(span, a),
  body.page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-description {
    display: block !important;
    text-align: left !important;
  }
}
@media (max-width: 359px) {
  body.page-id-78 .dk2026-header .dk2026-main-inner {
    padding-inline: 14px !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-buttons {
    gap: 10px !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-buttons .elementor-button {
    padding-inline: 10px !important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-btn-primary,
  body.page-id-78 .dk-home-hero .dk-hero-btn-outline {
    width: calc((100% - 10px) / 2) !important;
  }
}


/* === mobile-enquiry-parity.css | exact original rules === */
/*
 Digital Kreativ mobile enquiry panel — 390px PSD.
 Scoped to homepage page 78, max-width 767px. Desktop unchanged.
 PSD panel approximately x52..338 and y934..1303.
*/
@media (max-width:767px) {
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap {
   padding:0 16px 26px!important;
   background-color:#000a0d!important;
 }
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-inner {
   width:min(100%,340px)!important;
   max-width:340px!important;
   margin:-21px auto 0!important;
 }
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-shortcode,
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-shortcode > .elementor-widget-container,
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-shortcode .elementor-shortcode {
   display:block!important;
   width:100%!important;
   max-width:none!important;
   margin:0!important;
 }
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .wpcf7 {
   width:100%!important;
   max-width:100%!important;
   padding:23px 20px 26px!important;
   border:1px solid #3edfd0!important;
   border-radius:19px!important;
   background-color:#001317!important;
   background-image:linear-gradient(105deg,rgba(0,9,12,.38),rgba(0,13,17,.30) 52%,rgba(0,11,15,.37)),url("https://www.digitalkreativ.no/wp-content/uploads/2026/11/DK-mobile-lead-background-compact-WebP-768.webp")!important;
   background-size:cover,cover!important;
   background-position:center,center 48%!important;
   box-shadow:0 13px 30px rgba(0,0,0,.46),0 0 19px rgba(62,223,208,.12)!important;
 }
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .wpcf7 form {
   margin:0!important;
   padding:0!important;
 }
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-grid {
   display:grid!important;
   grid-template-columns:minmax(0,1fr)!important;
   row-gap:11px!important;
   column-gap:0!important;
   align-items:start!important;
   padding:0!important;
   margin:0!important;
 }
 /* Flatten only on mobile, leaving CF7 fields and validation intact. */
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-intro,
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-fields,
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row,
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row > p {
   display:contents!important;
 }
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-grid br {display:none!important}
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-intro h2 {
   order:1;
   width:100%;
   margin:0 0 3px!important;
   padding:0!important;
   text-align:center!important;
   color:#fff!important;
   font-family:'Playfair Display',Georgia,serif!important;
   font-size:clamp(19px,5.34vw,20.833px)!important;
   font-weight:700!important;
   line-height:1.3!important;
   letter-spacing:-.015em!important;
   white-space:normal!important;
   max-width:100%!important;
   text-wrap:balance;
   overflow-wrap:normal;
 }
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-field {
   display:block!important;
   width:100%!important;
   margin:0!important;
   padding:0!important;
   min-width:0;
 }
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-field:has([name="your-name"]) {order:2}
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-field:has([name="your-phone"]) {order:3}
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-field:has([name="your-email"]) {order:4}
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row input:not([type=submit]):not([type=checkbox]) {
   display:block!important;
   width:100%!important;
   min-width:0!important;
   min-height:41px!important;
   height:41px!important;
   margin:0!important;
   padding:0 22px!important;
   border:1px solid #3edfd0!important;
   border-radius:999px!important;
   color:#fff!important;
   background:rgba(0,8,10,.97)!important;
   box-shadow:none!important;
   font:400 12.5px/1.4 'Poppins',Arial,sans-serif!important;
 }
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row input::placeholder {
   color:#c1bebe!important;
   opacity:1;
   font:400 12.5px/1.4 'Poppins',Arial,sans-serif!important;
 }
 /* Use the PSD mobile form order while keeping the CF7 controls. */
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-consent {
   order:5;
   width:100%!important;
   margin:7px 0 4px!important;
   padding:0!important;
   text-align:left!important;
 }
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-consent label {
   display:flex!important;
   align-items:flex-start!important;
   gap:9px!important;
   margin:0!important;
   padding:0!important;
 }
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-consent,
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-consent label,
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-consent span {
   font:400 12.5px/2 'Poppins',Arial,sans-serif!important;
   letter-spacing:0!important;
   color:#fff!important;
 }
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-consent .wpcf7-acceptance input[type=checkbox] {
   flex:0 0 14px!important;
   width:14px!important;
   min-width:14px!important;
   max-width:14px!important;
   height:14px!important;
   min-height:14px!important;
   max-height:14px!important;
   inline-size:14px!important;
   block-size:14px!important;
   margin:6px 0 0!important;
 }
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-consent .wpcf7-acceptance input[type=checkbox]:checked {
   background-image:radial-gradient(circle at center,#3edfd0 0 3px,transparent 3.5px)!important;
 }
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row input[type=submit] {
   order:6;
   display:block!important;
   width:100%!important;
   height:42px!important;
   min-height:42px!important;
   margin:0!important;
   padding:0 38px 0 22px!important;
   border:0!important;
   border-radius:999px!important;
   background:#3edfd0!important;
   color:#000!important;
   font:400 12.5px/1.35 'Poppins',Arial,sans-serif!important;
   text-align:left!important;
 }
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row input[type=submit].dk-lead-arrow-svg {
   background-image:url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/Digital-Kreativ-Figma-Hero-CTA-Chevron-Dark.svg")!important;
   background-repeat:no-repeat!important;
   background-position:right 25px center!important;
   background-size:6px 10px!important;
 }
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row input[type=submit]:hover {
   background-color:#28c4bb!important;
 }
}
@media (max-width:359px) {
 body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-intro h2 {
   font-size:clamp(17px,5.34vw,19px)!important;
 }
}

/*
 * Homepage mobile readability refinement (2026-11-05).
 * Intentionally page #78 only, <=767px. Keep tablet/desktop, other service
 * pages, the hero photograph, WordPress menu and CF7 functionality unchanged.
 * Overrides earlier 12.5px PSD baseline without changing the copy.
 */
@media (max-width:767px) {
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-kicker .elementor-heading-title {
    font-size:14px!important;
    line-height:1.4!important;
  }
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-line-one .elementor-heading-title {
    font-size:clamp(28px,8.1vw,32px)!important;
    line-height:1.18!important;
  }
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-line-two .elementor-heading-title {
    font-size:clamp(33px,9.85vw,39px)!important;
    line-height:1.13!important;
  }
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-desc {
    max-width:365px!important;
    margin-top:24px!important;
  }
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-desc,
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-desc p {
    font-size:16px!important;
    line-height:1.65!important;
    font-weight:400!important;
  }
  /* Keep the rest of the homepage's descriptive copy as legible as desktop. */
  body:not(#dk-font-override).page-id-78 :is(
    .dk-services-description p, .dk-project-description p,
    .dk-about-intro p, .dk-about-banner-desc p,
    .dk-contact-intro p, .dkt-v2__intro p,
    .dkg-description p, .dkf-editorial .dkf-description,
    .dkf-editorial .dkf-contact-copy
  ) {
    font-size:16px!important;
    line-height:1.68!important;
  }
  body:not(#dk-font-override).page-id-78 :is(
    .dk-services-section .dk-service-summary p,
    .dk-about-section .dk-about-reason-text p
  ) {
    font-size:15px!important;
    line-height:1.6!important;
  }
  /* Give all four benefit captions room and keep Kreativitet / som skaper
     resultater on two lines, without inserting hard-coded line breaks. */
  body.page-id-78 .dk-home-hero .dk-hero-features {
    width:min(360px,100%)!important;
    max-width:360px!important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(odd) {
    padding-right:12px!important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(even) {
    padding-left:18px!important;
  }
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-title,
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-title :is(span,a),
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-description {
    font-size:clamp(13px,3.7vw,14.5px)!important;
    font-weight:400!important;
    line-height:1.45!important;
    letter-spacing:-.01em;
  }
  /* Benefits follow-up: the 3rd item's Elementor title (h3) and
     description (p) were separate blocks, forcing 3 lines. On mobile only,
     flow their text together to allow exactly two naturally wrapping lines.
     Also override a legacy 26px left indent on the third icon. */
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(3) {
    padding-left:0!important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(3) .elementor-icon-box-title,
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(3) .elementor-icon-box-description,
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(3) .elementor-icon-box-title span {
    display:inline!important;
  }
  /* The HTML already supplies a collapsing space between the inline title
     and description. Avoid adding another forced space on mobile. */
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(3) .elementor-icon-box-title::after {
    content:none;
  }
  /* Uniform size across all four captions, rather than shrinking the
     third caption relative to its neighboring benefit cards. */
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-title,
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-title :is(span,a),
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-description {
    font-size:clamp(14px,3.9vw,15.2px)!important;
    line-height:1.42!important;
  }
  /* Slightly larger mobile enquiry panel and more readable controls. */
  body.page-id-78 .dk-hero-lead-wrap .dk-hero-lead-inner {
    width:min(100%,380px)!important;
    max-width:380px!important;
  }
  body.page-id-78 .dk-hero-lead-wrap .wpcf7 {
    padding:27px 21px 29px!important;
  }
  body:not(#dk-font-override).page-id-78 .dk-hero-lead-wrap .dk-hero-lead-intro h2 {
    font-size:clamp(22px,6.2vw,25px)!important;
    line-height:1.3!important;
  }
  body.page-id-78 .dk-hero-lead-wrap .dk-hero-lead-grid {
    row-gap:13px!important;
  }
  body:not(#dk-font-override).page-id-78 .dk-hero-lead-wrap .dk-hero-lead-row input:not([type=submit]):not([type=checkbox]) {
    height:48px!important;
    min-height:48px!important;
    font-size:15px!important;
  }
  body:not(#dk-font-override).page-id-78 .dk-hero-lead-wrap .dk-hero-lead-row input::placeholder {
    font-size:15px!important;
  }
  body:not(#dk-font-override).page-id-78 .dk-hero-lead-wrap .dk-hero-lead-consent,
  body:not(#dk-font-override).page-id-78 .dk-hero-lead-wrap .dk-hero-lead-consent label,
  body:not(#dk-font-override).page-id-78 .dk-hero-lead-wrap .dk-hero-lead-consent span,
  body:not(#dk-font-override).page-id-78 .dk-hero-lead-wrap .dk-hero-lead-consent .wpcf7-list-item-label {
    font-size:14px!important;
    line-height:1.65!important;
  }
  body.page-id-78 .dk-hero-lead-wrap .dk-hero-lead-consent .wpcf7-acceptance input[type=checkbox] {
    flex-basis:17px!important;
    width:17px!important;
    min-width:17px!important;
    max-width:17px!important;
    height:17px!important;
    min-height:17px!important;
    max-height:17px!important;
    inline-size:17px!important;
    block-size:17px!important;
  }
  body:not(#dk-font-override).page-id-78 .dk-hero-lead-wrap .dk-hero-lead-row input[type=submit] {
    height:49px!important;
    min-height:49px!important;
    font-size:15px!important;
  }
}
@media (max-width:359px) {
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(even) {
    padding-left:12px!important;
  }
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-title :is(span,a),
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-description {
    font-size:13px!important;
  }
}

/* Homepage/mobile: align benefit separators to the icon/text anchors.
   Previous right-hand rule began 35% into the card, ~40px right of its
   icon and caption. Both horizontal rules now start at the corresponding
   content edge and use exactly the same length at every phone width. */
@media (max-width:767px) {
  body.page-id-78 .dk-home-hero .dk-hero-features {
    grid-auto-rows:minmax(120px,auto)!important;
    row-gap:30px!important;
    align-items:stretch!important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature,
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(n+3) {
    min-height:120px!important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(odd)::before {
    top:5px!important;
    bottom:auto!important;
    right:0!important;
    width:1px!important;
    height:86px!important;
    background:rgba(255,255,255,.32)!important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(-n+2)::after {
    left:0!important;
    right:auto!important;
    width:min(110px,calc(100% - 28px))!important;
    bottom:0!important;
    height:1px!important;
    background:rgba(255,255,255,.38)!important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(2)::after {
    left:18px!important; /* same inset as the right-hand icon and caption */
    right:auto!important;
  }
}
@media (max-width:359px) {
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(2)::after {
    left:12px!important; /* matches the narrower right-hand card padding */
  }
}


