/* Alvo Marketing – individuelle casesider (/cases/<case>/).
   Bygger på site.css og cases.css (aktiv navigation og casekort). Bruges kun af casesiderne. */

/* ---------- Hero ---------- */
.case-hero {
  padding: clamp(32px, 6.5vw, 88px);
}
.case-hero h1 {
  max-width: 15em;
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.08;
}
.hero-figure {
  padding: 0 0.12em;
  border-radius: 4px;
  background: var(--lime);
  color: var(--navy);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.case-hero .hero-text { margin-top: 24px; }

.hero-checks {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.hero-checks li {
  display: grid;
  grid-template-columns: 16px 1fr;
  column-gap: 12px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--cream);
}
.hero-checks li + li { margin-top: 8px; }
.hero-checks svg {
  width: 16px;
  height: 16px;
  margin-top: 0.25em;
  color: var(--lime);
}

/* ---------- Sektioner ---------- */
.lmk-section {
  padding-bottom: clamp(56px, 7vw, 96px);
}
/* Brødtekst i sektionerne (ikke eyebrows eller casekort) */
.lmk-intro-col > p:not(.section-eyebrow),
.lmk-steps p,
.lmk-results p,
.lmk-results-note {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
}

/* Om virksomheden + udfordringen: to lige brede tekstkolonner */
.lmk-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.lmk-intro-col { min-width: 0; }
.lmk-intro .section-title { margin-bottom: 20px; }
.lmk-intro-col > p:not(.section-eyebrow) { max-width: 34em; }
.lmk-intro-col > p:not(.section-eyebrow) + p { margin-top: 16px; }

/* Ønskede linjer i overskrifter: hver del på egen linje, men må bryde yderligere på smalle skærme */
.line { display: block; }

/* Løsningen: billede til venstre, tekst til højre */
.lmk-solution {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 5vw, 64px);
  align-items: center;
}
.lmk-solution > * { min-width: 0; }
.lmk-visual { margin: 0; }
.lmk-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}
.lmk-visual-placeholder {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: var(--line);
}
/* LMK: kvadratisk grafik med transparent baggrund – naturlig højde, hele billedet vises */
.lmk-visual--ad img { aspect-ratio: auto; }
.lmk-solution .section-title { margin-bottom: 28px; }

.lmk-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.lmk-steps li {
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 14px;
}
.lmk-steps li + li { margin-top: 20px; }
.lmk-steps svg {
  width: 18px;
  height: 18px;
  margin-top: 0.35em;
  color: var(--navy);
}
.lmk-steps h3 {
  margin: 0 0 4px;
  font-weight: 500;
  font-size: 21px;
  line-height: 1.3;
}
.lmk-steps p { font-size: 17px; line-height: 1.6; }
.lmk-external { margin-top: 32px; }

/* Resultatet: store tal, diskret lime detalje */
.lmk-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lmk-results li { min-width: 0; }
.lmk-results li::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin-bottom: 18px;
  background: var(--lime);
}
.lmk-results .lmk-result-value {
  font-weight: 500;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.lmk-results .lmk-result-text {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.5;
}
.lmk-section .lmk-results-note {
  /* afstand op til resultaterne */
  max-width: 40em;
  margin-top: clamp(32px, 4vw, 44px);
}

/* Se andre cases: casekortene fra /cases i tre kolonner */
.lmk-more {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lmk-more .work-card .work-body { padding: 28px; }
.lmk-more .work-title { font-size: 22px; }

/* ---------- Fælles tilføjelser til casesider (bruges af Q-Clean) ---------- */
/* Brødtekst og korte checkmark-punkter */
.cp-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
}
.cp-checks {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.cp-checks li {
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 12px;
  font-size: 17px;
  line-height: 1.5;
}
.cp-checks li + li { margin-top: 10px; }
.cp-checks svg {
  width: 18px;
  height: 18px;
  margin-top: 0.2em;
  color: var(--navy);
}

/* Tekst til venstre, billede til højre (mobil: tekst først) */
.cp-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 5vw, 64px);
  align-items: center;
}
.cp-split > * { min-width: 0; }
.cp-split .section-title { margin-bottom: 28px; }
/* Separat afsnit efter brødteksten (fx en tak) */
.cp-split-text .cp-text + .cp-text { margin-top: 16px; }
.cp-split-media { margin: 0; }
.cp-split-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.cp-media-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: var(--line);
}
.cp-note {
  margin: 24px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(20, 38, 56, 0.74);
}

/* To overskrifter side om side med lange linjer: lidt mindre på desktop,
   så de ønskede linjeskift kan holde i halve kolonner */
@media (min-width: 900px) {
  .cp-intro-fit .section-title { font-size: clamp(28px, 2.9vw, 38px); }
}

/* Én bred anmeldelse */
.cp-review-single { grid-template-columns: minmax(0, 1fr); }
/* Citat i flere afsnit */
.cp-review-single blockquote p + p { margin-top: 16px; }

/* LMK-kortet i "Se andre cases": limegrønt som på /cases */
.work-card--lime {
  background: var(--lime);
  color: var(--navy);
}
.work-card--lime .work-media { background: rgba(20, 38, 56, 0.1); }
.work-card.work-card--lime .work-service { color: var(--navy); }
.work-card--lime :focus-visible { outline-color: var(--navy); }

@media (max-width: 899px) {
  .cp-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cp-split-media { max-width: 640px; }
}
@media (max-width: 560px) {
  .cp-text { font-size: 17px; }
}

/* ---------- Responsivt ---------- */
@media (max-width: 899px) {
  /* Tablet og mobil: kolonnerne stables, så overskrifterne ikke presses */
  .lmk-intro { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .lmk-solution { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  /* Kvadratisk grafik: begrænset bredde i én kolonne, så den ikke fylder hele skærmhøjden */
  .lmk-visual--ad { max-width: 520px; width: 100%; margin-inline: auto; }
  .lmk-more { grid-template-columns: minmax(0, 1fr); }
}
/* Tablet: casekortene vandret (billede til venstre), så de ikke bliver meget høje */
@media (min-width: 640px) and (max-width: 899px) {
  .lmk-more .work-card {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }
  .lmk-more .work-media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 200px;
  }
}
@media (max-width: 767px) {
  .lmk-results { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 560px) {
  .lmk-intro-col > p:not(.section-eyebrow),
  .lmk-results-note,
  .hero-checks li { font-size: 17px; }
  .lmk-more .work-card .work-body { padding: 24px; }
}
