/* =========================================================
   PAGES.CSS – styling för undersidor
   (laddas på: tjänster, case, selected shorts, case-detaljer, kontakt)
   ========================================================= */

.page-hero{
  padding: 170px 40px 70px;
  background: var(--gryt-orange);
}
.page-hero-inner{
  max-width: 1560px;
  margin: 0 auto;
}

/* ===========================
   TJÄNSTER (matchar PDF)
   =========================== */

.services-hero{
  min-height: 100vh;
  background: var(--gryt-orange);
  padding: 120px 40px 90px;
  /* match header/gallery horizontal rhythm (40px) */
}
.services-inner{
  max-width: 1720px;
  /* a bit wider than gallery to reduce side space on large screens */
  margin: 0 auto;
}

.services-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.services-copy h2{
  font-size: 22px;
  opacity: 0.95;
  margin-bottom: 12px;
  font-weight: 300;
}

.services-copy p{
  font-size: 18px;
  line-height: 1.75;
  opacity: 0.98;
  max-width: 820px;
  margin-bottom: 14px;
}

.services-cta{
  margin-top: 22px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  align-self: center; /* center inside its column */
}

.services-cta .cta-note{
  font-size: 14px;
  opacity: 0.7;
}

/* Stort WE DO */
.we-do-title{
  font-size: 50px;
  line-height: 0.95;
  letter-spacing: 0.2px;
  margin: 0;
  font-weight: 600;
}

.we-do-list{
  list-style: none;
  columns: 1;
  column-gap: 0;
  font-size: 18px; /* same as body text */
  line-height: 1.65;
  opacity: 0.98;
  margin: 4px 0 0;
  padding: 0;
}

.we-do-list li{
  margin: 6px 0;
}

/* ===========================
   CLIENTS block
   =========================== */
.clients{
  padding: 10px 40px 90px;
  background: var(--gryt-orange);
}
.clients-inner{
  max-width: 1560px;
  margin: 0 auto;
}

.clients-title{
  display: inline-block;
  font-size: 18px;
  opacity: 0.95;
  padding-bottom: 0;
  border-bottom: none;
  margin-bottom: 18px;
}

.clients-card{
  border-radius: 18px;
  overflow: hidden;
}
.clients-card img{
  display:block;
  width:100%;
  height:auto;
  border-radius: 18px;
}

/* ===========================
   GALLERY PAGES – lite luft
   =========================== */
.page-gallery{
  padding-top: 40px;
}

/* ===========================
   Case detail pages
   =========================== */
.case-hero{
  padding: 170px 40px 26px;
  background: var(--gryt-orange);
}
.case-hero-inner{
  max-width: 1100px;
  margin: 0 auto;
}
.case-hero h1{
  font-size: 54px;
  line-height: 1.05;
  font-weight: 300;
  margin-bottom: 10px;
}
.case-hero p{
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.92;
  max-width: 820px;
}

.case-media{
  padding: 20px 40px 90px;
  background: var(--gryt-orange);
}
.case-media-inner{
  max-width: 1100px;
  margin: 0 auto;
}
.case-video{
  border-radius: 18px;
  overflow: hidden;
}
.case-video video{
  width: 100%;
  display:block;
}

/* ===========================
   NO-HERO pages: stoppa overlay-tricket i mobil-header
   (viktigt för Kontakt)
   =========================== */
@media (max-width: 900px){
  .no-hero .header{
    margin-bottom: 0 !important;
  }
  .no-hero .hero{
    margin-top: 0 !important;
  }

  .services-hero{ padding: 110px 20px 80px; }
  .services-grid{ grid-template-columns: 1fr; gap: 28px; }
  .services-we-do{ grid-template-columns: 1fr; gap: 14px; text-align:center; }
  .we-do-title{ font-size: 54px; text-align:center; }
  .we-do-list{ text-align:center; margin-top: 0; }
  .services-copy h2{ font-size: 20px; }
  .services-copy p{ font-size: 18px; }

  .clients{ padding: 0 20px 70px; }

  .case-hero{ padding: 130px 20px 20px; }
  .case-hero h1{ font-size: 38px; }
  .case-media{ padding: 18px 20px 70px; }
}

@media (min-width: 901px){
  body[data-page="services"] .services-copy h2{
    white-space: nowrap;
  }
}



/* =========================================================
   CASE REDESIGN (Linkin-style)
   - Hero video with centered title
   - Sticky header only on pages with body.sticky-header
   ========================================================= */

body.sticky-header .header{
  position: fixed !important;
  top: 24px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  padding: 0 40px !important;
  z-index: 1002 !important;
  pointer-events: none; /* enable clicks only on children */
}
body.sticky-header .header > *{
  pointer-events: auto;
}
body.sticky-header .header.scrolled{
  top: 14px !important;
}
body.sticky-header .header.scrolled::before{
  content:"";
  position:absolute;
  left:24px; right:24px;
  top:-10px; bottom:-10px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  z-index: -1;
}

/* Make sure hamburger sits above the header background */
body.sticky-header .hamburger{ z-index: 10050 !important; }

/* Hero video */
.case-hero-video{
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: var(--gryt-orange);
}
@supports (height: 100dvh){
  .case-hero-video{ height: 100dvh; min-height: 100dvh; }
}
.case-hero-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.case-hero-video::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.08) 45%,
    rgba(193,113,29,1) 100%
  );
  pointer-events:none;
}

/* Center block (matches your screenshot but with Gryt font/colors) */
.case-hero-center{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 40px;
  z-index: 2;
}
.case-hero-center-inner{
  width: min(1200px, 92vw);
}
.case-hero-kicker{
  font-size: 22px;
  opacity: 0.9;
  margin-bottom: 10px;
}
.case-hero-title{
  font-size: clamp(42px, 6.2vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  font-weight: 300;
  margin-bottom: 26px;
}

/* Intro section like Linkin (chips + description) */
.case-intro{
  background: #fff;
  color: #14262b;
  padding: 80px 40px 70px;
}
.case-intro-inner{
  max-width: 1100px;
  margin: 0 auto;
}
.case-chips{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 22px;
}
.case-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(20,38,43,0.18);
  font-size: 18px;
  line-height: 1;
  background: rgba(255,255,255,0.6);
}
.case-intro-text{
  font-size: 20px;
  line-height: 1.8;
  max-width: 980px;
}

/* Content blocks after intro (videos/images) */
.case-content{
  background: var(--gryt-orange);
  padding: 60px 40px 90px;
}
.case-content-inner{
  max-width: 1100px;
  margin: 0 auto;
}
.case-block{
  margin-bottom: 28px;
}
.case-media{
  border-radius: 18px;
  overflow:hidden;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.12);
}
.case-media video,
.case-media img{
  width: 100%;
  display:block;
}

/* Mobile */
@media (max-width: 900px){
  body.sticky-header .header{
    top: 18px !important;
    padding: 0 20px !important;
  }
  body.sticky-header .header.scrolled::before{
    left: 14px; right: 14px;
  }
  .case-hero-center{ padding: 0 20px; }
  .case-hero-kicker{ font-size: 18px; }
  .case-intro{ padding: 60px 20px 55px; }
  .case-chip{ font-size: 16px; padding: 9px 16px; }
  .case-intro-text{ font-size: 18px; }
  .case-content{ padding: 45px 20px 70px; }
}



/* =========================================================
   CASE – update: non-fullscreen hero + chips under title
   + Problem/Insight/Solution block (orange)
   ========================================================= */

.case-hero-video{
  height: 72vh;
  min-height: 560px;
}
@supports (height: 100dvh){
  .case-hero-video{ height: 72vh; min-height: 560px; }
}
@media (max-width: 900px){
  .case-hero-video{
    height: 62vh;
    min-height: 420px;
  }
}

/* Chips inside hero */
.case-hero-chips{
  margin-top: 16px;
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.case-hero-chips .case-chip{
  border-color: rgba(255,255,255,0.38);
  background: rgba(0,0,0,0.10);
  color: #fff;
}

/* Replace white intro with orange P/I/S section */
.case-pis{
  background: var(--gryt-orange);
  padding: 70px 40px 40px;
}
.case-pis-inner{
  max-width: 1100px;
  margin: 0 auto;
}
.pis-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 46px;
  align-items:start;
  text-align:center;
}
.pis-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,0.75);
  background: rgba(255,255,255,0.68);
  color:#000;
  font-size: 20px;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.pis-text{
  font-size: 20px;
  line-height: 1.75;
  color: rgba(0,0,0,0.85);
  max-width: 340px;
  margin: 0 auto;
}

/* Make the text slightly darker on orange for readability */
.case-pis{ color:#000; }

/* Content spacing after PIS */
.case-content{
  padding-top: 40px;
}

@media (max-width: 900px){
  .case-pis{ padding: 55px 20px 25px; }
  .pis-grid{ grid-template-columns: 1fr; gap: 26px; }
  .pis-pill{ font-size: 18px; }
  .pis-text{ font-size: 18px; max-width: 520px; }
}


/* --- Services layout tweaks (v32) --- */
.services-grid{
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
}

.services-we-do{
  display: grid;
  grid-template-columns: auto 1fr; /* "We Do" + list to the right */
  gap: 26px;
  align-items: start;
}

.services-we-do .we-do-title{
  margin: 0;
  padding-top: 6px;
  white-space: nowrap;
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.services-we-do .we-do-list{
  margin: 0;
  max-width: 520px;
}

.services-we-do .we-do-list li{
  font-size: 18px;
  line-height: 1.6;
}

.services-copy p{
  max-width: none;
}

/* Center the CTA inside its column */
.services-copy{ display:flex; flex-direction:column; }
.services-cta{ align-self:center; justify-content:center; }

/* Stack WE DO on mobile */
@media (max-width: 900px){
  .services-we-do{
    flex-direction: column;
    gap: 18px;
  }
  .we-do-list{
    max-width: none;
    min-width: 0;
  }
  .services-cta{
    align-self:center;
    justify-content: center;
  }
}

/* =========================================================
   SERVICES (REBUILT)
   - uses same outer padding + max-width as galleries
   ========================================================= */

.services-page{
  padding-top: 140px; /* keeps content below header */
}

.services-section{
  padding: 70px 40px 90px;
}

.services-inner{
  max-width: 1560px; /* match gallery-grid */
  margin: 0 auto;
}

.services-grid{
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(340px, 0.85fr);
  gap: 64px;
  align-items: start;
}

.services-kicker{
  font-size: 18px;
  letter-spacing: .02em;
  opacity: .9;
  margin-bottom: 18px;
}

.services-title{
  font-size: clamp(44px, 4.2vw, 76px);
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 14px;
}

.services-underline{
  width: 100%;
  height: 3px;
  background: var(--gryt-accent);
  margin: 14px 0 22px;
  opacity: .95;
}

.services-body{
  font-size: 18px;
  line-height: 1.85;
  max-width: 46ch;
}

.services-body p + p{ margin-top: 18px; }

.services-cta{
  margin-top: 34px;
}

/* center CTA within left column */
.services-cta .cta-btn{
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

/* Right column: WE DO + list to the right */
.services-we-do{
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 34px;
  align-items: start;
}

.we-do-title{
  font-size: clamp(54px, 4.8vw, 92px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0;
  white-space: nowrap;
}

.we-do-list{
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 1.7;
}

.we-do-list li{ margin: 3px 0; }

/* Responsive */
@media (max-width: 1000px){
  .services-grid{ grid-template-columns: 1fr; gap: 46px; }
  .services-body{ max-width: 62ch; }
  .services-we-do{ grid-template-columns: 1fr; }
  .we-do-title{ margin-bottom: 14px; }
}

@media (max-width: 768px){
  .services-section{ padding: 55px 20px 70px; }
  .services-inner{ max-width: 680px; }
  .services-page{ padding-top: 120px; }
}

/* =====================================================
   SERVICES (FINAL OVERRIDE)
   - samma marginaler som gallerierna
   - skriver över gamla/duplicerade regler
   ===================================================== */
body[data-page="services"] .services-hero{
  /* mindre luft mellan meny och innehåll */
  padding: 115px 0 90px !important;
}

body[data-page="services"] .services-inner{
  width: 100% !important;
  max-width: 1560px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}

body[data-page="services"] .services-grid{
  display: grid !important;
  grid-template-columns: minmax(520px, 1.1fr) minmax(360px, 0.9fr) !important;
  gap: 80px !important;
  align-items: start !important;
}

body[data-page="services"] .services-copy h2{
  /* lite mindre rubrik men mer "bold" */
  font-size: 44px !important;
  line-height: 1.05 !important;
  margin: 0 0 14px 0 !important;
  font-weight: 900 !important;
  -webkit-text-stroke: 0.35px rgba(255,255,255,0.35);
}

body[data-page="services"] .services-copy .services-rule{
  /* underline ska följa rubrikens bredd -> används inte */
  display: none !important;
}

/* Underline direkt på rubriken (100% av rubrikens bredd) */
body[data-page="services"] .services-copy h2{
  position: relative;
  display: inline-block !important;
  width: fit-content;
  max-width: 100%;
  padding-bottom: 14px;
}

body[data-page="services"] .services-copy h2::after{
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 0;
  height: 3px;
  background: var(--gryt-accent);
}

/* v64: prevent duplicate underline on the services headline
   (we use the span border-bottom below) */
body[data-page="services"] .services-copy h2::after{
  content: none !important;
  display: none !important;
}

body[data-page="services"] .services-copy p{
  font-size: 20px !important;
  line-height: 1.65 !important;
  max-width: none !important;
}

body[data-page="services"] .services-cta{
  margin-top: 34px !important;
  display: flex !important;
  justify-content: center !important;
}

body[data-page="services"] .services-cta .cta-btn{
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* We Do block: titel + lista i två kolumner (utan överlapp) */
body[data-page="services"] .services-we-do{
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  column-gap: 28px !important;
  align-items: start !important;
}

body[data-page="services"] .we-do-title{
  font-size: 92px !important;
  line-height: 0.88 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

body[data-page="services"] .we-do-list{
  list-style: none !important;
  margin: 8px 0 0 0 !important;
  padding: 0 !important;
  font-size: 20px !important;
  line-height: 1.65 !important;
  column-count: 1 !important;
}

body[data-page="services"] .we-do-list li{
  margin: 0 0 6px 0 !important;
}

/* Clients block */
body[data-page="services"] .clients-section{
  padding: 0 0 90px 0 !important;
}
body[data-page="services"] .clients-title{
  font-size: 20px !important;
  opacity: 0.9 !important;
  margin: 0 0 10px 0 !important;
}
body[data-page="services"] .clients-title::after{
  content: "";
  display: block;
  width: 160px;
  height: 3px;
  margin-top: 8px;
  background: var(--gryt-accent);
}
body[data-page="services"] .clients-image{
  width: 100% !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: rgba(0,0,0,0.10) !important;
}
body[data-page="services"] .clients-image img{
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

@media (max-width: 900px){
  body[data-page="services"] .services-inner{ padding: 0 20px !important; }
  body[data-page="services"] .services-grid{
    grid-template-columns: 1fr !important;
    gap: 50px !important;
  }
  body[data-page="services"] .services-we-do{
    grid-template-columns: 1fr !important;
    row-gap: 14px !important;
  }
  body[data-page="services"] .we-do-title{
    font-size: 68px !important;
  }
}

/* Clients on Services */
body[data-page="services"] .clients-section{
  padding: 0 0 120px !important;
}
body[data-page="services"] .clients-title{
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  margin: 0 0 18px !important;
  position: relative;
  display: inline-block;
}
body[data-page="services"] .clients-title::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 140px;
  height: 3px;
  background: var(--gryt-accent);
}
body[data-page="services"] .clients-card{
  margin-top: 18px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,0.12);
}
body[data-page="services"] .clients-card img{
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px){
  body[data-page="services"] .clients-section{ padding-bottom: 80px !important; }
  body[data-page="services"] .clients-title{ font-size: 20px !important; }
}

/* =========================================================
   v84 – small fixes requested
   ========================================================= */

/* SERVICES: remove duplicate underline under "Inhouse..." */
body[data-page="services"] .services-title span{
  border-bottom: 3px solid var(--accent-teal) !important;
}
body[data-page="services"] .services-title span::after{
  content: none !important;
  display: none !important;
}

/* SERVICES: "Some of our clients" same size as "Inhouse..." */
body[data-page="services"] .clients-title{
  font-size: clamp(36px, 3.2vw, 54px) !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}
body[data-page="services"] .clients-title::after{
  content: none !important;
  display: none !important;
}
body[data-page="services"] .clients-title span{
  display: inline-block !important;
  padding-bottom: 10px !important;
  border-bottom: 3px solid var(--accent-teal) !important;
}

/* SERVICES: make list after "We Do" bigger */
body[data-page="services"] .we-do-list{
  font-size: 26px !important;
  line-height: 1.6 !important;
}
body[data-page="services"] .we-do-list li{
  font-weight: 800 !important;
}

/* =========================================================
   FINAL Services tweaks (v50)
   ========================================================= */
body[data-page="services"] .clients-heading{
  text-align: center !important;
  margin-top: 24px;
}
body[data-page="services"] .clients-title{
  font-size: clamp(42px, 4.0vw, 72px) !important;
  font-weight: 900 !important;
  opacity: 1 !important;
  letter-spacing: 0.01em;
  position: relative !important;
  display: inline-block !important;
  padding-bottom: 14px;
  margin: 0 !important;
  border-bottom: none !important;
}
body[data-page="services"] .clients-title::after{
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 2px;
  height: 4px;
  background: var(--gryt-accent);
}
/* vi använder bara pseudo-underline */
body[data-page="services"] .clients-rule{ display: none !important; }




/* Ensure galleries sit below the header on dedicated gallery pages */
body[data-page="case"] .video-gallery,
body[data-page="selected-shorts"] .video-gallery{
  padding-top: 220px;
}

/* v64: mobile – less empty space between menu and content */
@media (max-width: 768px){
  body[data-page="case"] .video-gallery,
  body[data-page="selected-shorts"] .video-gallery{
    padding-top: 170px;
  }

  body[data-page="services"] .services-hero{
    padding-top: 95px !important;
  }
}

/* --- Services page: force single underline (remove any duplicates) --- */
body[data-page="services"] .services-title,
body[data-page="services"] .clients-title {
  border-bottom: none !important;
}
body[data-page="services"] .services-title::after,
body[data-page="services"] .services-title::before,
body[data-page="services"] .clients-title::after,
body[data-page="services"] .clients-title::before {
  content: none !important;
  display: none !important;
}
body[data-page="services"] .services-title span,
body[data-page="services"] .clients-title span {
  border-bottom: 4px solid var(--gryt-accent) !important;
  padding-bottom: 10px;
  display: inline-block;
}

/* Selected shorts: slightly denser layout on desktop */
@media (min-width: 1100px){
  body[data-page="selected-shorts"] .gallery-grid{ column-count: 4; }
}

/* Services: underline should match title width */
body[data-page="tjanster"] .services-rule{ display:none !important; }
body[data-page="tjanster"] .services-title{
  font-weight: 700;
}
body[data-page="tjanster"] .services-title span{
  display:inline-block;
  font-weight: 700;
  font-size: clamp(38px, 4.2vw, 58px);
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent-teal);
}

/* Tjänster: left-align CTA button under the copy */
body[data-page="tjanster"] .services-cta{
  text-align: left;
}
body[data-page="tjanster"] .services-cta .cta-btn{
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* Clients heading: one teal underline, bigger + centered */
body[data-page="tjanster"] .clients-title{
  display:block;
  text-align:center;
  margin: 70px auto 24px;
  font-weight: 700;
  /* Slightly smaller heading than before */
  font-size: clamp(32px, 3.6vw, 50px);
}
body[data-page="tjanster"] .clients-title span{
  display:inline-block;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent-teal);
}
body[data-page="tjanster"] .clients-title::after,
body[data-page="tjanster"] .clients-title::before{ content:none !important; }

/* Client logos: consistent visual height */
.clients-logos{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap: 40px 66px;
}
.clients-logos img{
  height: 66px;
  width:auto;
  max-width: 230px;
  object-fit: contain;
  display:block;
}

/* v64: a few logos have extra whitespace in the asset and look too small */
.clients-logos img[alt="Jordbruksverket"],
.clients-logos img[alt="Pantamera"]{
  height: 66px;
}

/* keep Beijer readable (wide wordmark) */
.clients-logos img[alt="Beijer Byggmaterial"]{
  height: 60px;
  max-width: 240px;
}
@media (max-width: 600px){
  .clients-logos img{ height: 48px; max-width: 185px; }
}

@media (max-width: 600px){
  .clients-logos img[alt="Jordbruksverket"],
  .clients-logos img[alt="Pantamera"]{ height: 54px; }
  .clients-logos img[alt="Beijer Byggmaterial"]{ height: 46px; max-width: 215px; }
}

/* Index: section headings styled like services headings */
body[data-page="index"] .home-section-title{
  text-align:center;
  font-weight:700;
  font-size: clamp(34px, 4vw, 54px);
  margin: 60px auto 22px;
}
body[data-page="index"] .home-section-title span{
  display:inline-block;
  padding-bottom:10px;
  border-bottom:3px solid var(--accent-teal);
}
body[data-page="index"] .home-center-text{
  max-width: 900px;
  margin: 46px auto 20px;
  text-align:center;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}
body[data-page="index"] .awards-wrap{
  max-width: 980px;
  margin: 0 auto 70px;
  text-align:center;
}
body[data-page="index"] .awards-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap: 26px 38px;
  margin-top: 24px;
}
body[data-page="index"] .awards-grid img{
  height: 110px;
  width:auto;
  object-fit:contain;
  display:block;
}

/* Footer: breathe a bit more */
.footer{ padding-top: 40px; padding-bottom: 40px; }
.footer-nav{
  display:flex;
  gap: 18px;
  flex-wrap:wrap;
  justify-content:flex-end;
  margin-top: 14px;
}
.footer-nav a{ text-decoration:none; opacity:.9; }
.footer-nav a:hover{ opacity:1; text-decoration:underline; }
@media (max-width: 900px){
  .footer-nav{ justify-content:flex-start; }
}

body[data-page="tjanster"] .services-list{ list-style:none; padding-left:0; margin:0; }
body[data-page="tjanster"] .services-list li{ padding-left:0; }

/* video-gallery background per page (so the color is behind the thumbnails, not only at the bottom) */
body[data-page="case"] .video-gallery{ background: #f4b77d !important; }
body[data-page="selected-shorts"] .video-gallery{ background: #88c683 !important; }



/* v76: Mobile footer – hide page links */
@media (max-width: 900px){
  .footer-nav{ display: none !important; }
}

/* =========================================================
   v85 – FINAL overrides (requested tweaks)
   This file is loaded last, so keep final intent here.
   ========================================================= */

/* SERVICES: "Inhouse..." – single underline only */
body[data-page="services"] .services-title span{
  border-bottom: 3px solid var(--accent-teal) !important;
}
body[data-page="services"] .services-title span::after{
  content: none !important;
  display: none !important;
}

/* SERVICES: "Some of our clients" – same size as "Inhouse..." */
body[data-page="services"] .clients-title{
  /* match the "Inhouse eller extern byrå?" heading size on this page */
  font-size: 44px !important;
  font-weight: 900 !important;
  opacity: 1 !important;
}
body[data-page="services"] .clients-title::after{
  content: none !important;
  display: none !important;
}
body[data-page="services"] .clients-title span{
  display: inline-block !important;
  padding-bottom: 10px !important;
  border-bottom: 3px solid var(--accent-teal) !important;
}

/* SERVICES: make list after "We Do" bigger */
body[data-page="services"] .we-do-list{
  /* v5: midpoint between original (20px) and previous bump (32px) */
  font-size: 26px !important;
  line-height: 1.5 !important;
}
body[data-page="services"] .we-do-list li{
  font-weight: 700 !important;
}

@media (max-width: 900px){
  /* keep headings/list from getting too large on smaller screens */
  body[data-page="services"] .clients-title{ font-size: 36px !important; }
  body[data-page="services"] .we-do-list{ font-size: 23px !important; }
}

/* SERVICES: left align CTA button on Services page */
body[data-page="services"] .services-cta{
  justify-content: flex-start !important;
}
body[data-page="services"] .services-cta .cta-btn{
  justify-content: flex-start !important;
}
