/* Eventbriefen – oktober 2026: ny "Start her" + mobilpolering på tværs af alle sider. */

/* ---------- Start her: læsevej i 8 trin ---------- */
.eb-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.eb-path li { display: flex; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.eb-path li:nth-child(4n) { border-right: 0; }
.eb-path-item { position: relative; display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 26px 24px 28px; color: inherit; text-decoration: none; transition: background-color .2s ease; }
.eb-path li:nth-child(4n+1) .eb-path-item { padding-left: 0; }
.eb-path-item:hover, .eb-path-item:focus-visible { background: color-mix(in srgb, var(--paper) 70%, transparent); }
.eb-path-no { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--brass); }
.eb-path-body { display: flex; flex-direction: column; gap: 8px; }
.eb-path-label { color: var(--brass); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eb-path-title { font-family: var(--serif); font-size: 24px; line-height: 1.1; color: var(--ink); }
.eb-path-item:hover .eb-path-title { color: var(--green); }
.eb-path-meta { color: var(--muted); font-size: 13px; line-height: 1.5; }
.eb-path-arrow { display: none; }

@media (max-width: 1100px) {
  .eb-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eb-path li:nth-child(4n) { border-right: 1px solid var(--rule); }
  .eb-path li:nth-child(2n) { border-right: 0; }
  .eb-path li:nth-child(4n+1) .eb-path-item { padding-left: 24px; }
  .eb-path li:nth-child(2n+1) .eb-path-item { padding-left: 0; }
}

@media (max-width: 760px) {
  .eb-path { grid-template-columns: 1fr; }
  .eb-path li, .eb-path li:nth-child(4n) { border-right: 0; }
  .eb-start { padding: 52px 0 44px; }
  .eb-start .eb-section-head { margin-bottom: 20px; }
  .eb-path-item, .eb-path li:nth-child(4n+1) .eb-path-item, .eb-path li:nth-child(2n+1) .eb-path-item {
    display: grid; grid-template-columns: 30px 1fr 16px; align-items: center; column-gap: 10px;
    min-height: 0; padding: 11px 0;
  }
  .eb-path-no { font-size: 22px; }
  /* Kategori og læsetid på samme linje, titlen under */
  .eb-path-body { display: grid; grid-template-columns: auto 1fr; column-gap: 0; row-gap: 2px; align-items: baseline; }
  .eb-path-label { grid-column: 1; grid-row: 1; font-size: 11px; letter-spacing: .14em; }
  .eb-path-meta { grid-column: 2; grid-row: 1; font-size: 11px; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
  .eb-path-time::before { content: '\00a0·\00a0'; }
  .eb-path-title { grid-column: 1 / -1; grid-row: 2; font-size: 18px; line-height: 1.2; }
  .eb-path-desc { display: none; }
  .eb-path-arrow { display: block; color: var(--brass); font-size: 16px; text-align: right; }
  .eb-path-item:active { background: color-mix(in srgb, var(--paper) 70%, transparent); }
  /* Kun de første 4 trin, indtil man folder resten ud */
  .eb-path:not(.is-open) li:nth-child(n+5) { display: none; }
  .eb-path-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 14px; border: 1px solid var(--rule); background: transparent; color: var(--ink); font: 700 12px/1 var(--sans, inherit); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
  .eb-path-more::after { content: '↓'; color: var(--brass); font-size: 14px; letter-spacing: 0; }
  .eb-path.is-open + .eb-path-more::after { content: '↑'; }
}
@media (min-width: 761px) { .eb-path-more { display: none; } }

/* ---------- Mobil: læsbar tekst og større trykflader på alle sider ---------- */
@media (max-width: 760px) {
  /* Små versaler (kickers, labels, billedtekster) må ikke gå under 11px */
  html body .story-open > small,
  html body .course-step > small,
  html body .speech-rule > small,
  html body .venue-definition > small,
  html body .guest-feature-photo > figcaption,
  html body .guest-feature-signature > small,
  html body .venue-compass > figcaption,
  html body .guest-feature-kicker,
  html body .section-kicker,
  html body .author-role,
  html body .control-role > span,
  html body .compass-axis { font-size: 11px !important; line-height: 1.45; }

  /* Brødtekst-agtige noter skal kunne læses uden at zoome */
  html body .compass-quadrant > small,
  html body .venue-reality-note,
  html body .source-notes li,
  html body .source-notes li a { font-size: 13px !important; line-height: 1.55; }

  /* Knapper og tekstlinks */
  html body .button-dark { font-size: 12px !important; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
  html body .text-link { font-size: 12px !important; display: inline-flex; align-items: center; min-height: 44px; }

  /* Brødkrummer: større trykflade uden at ændre udseendet */
  html body nav[aria-label*="rød"] a,
  html body .breadcrumbs a,
  html body .breadcrumb a { display: inline-block; padding-block: 12px; margin-block: -12px; }
}

/* Tilføjelse: de sidste 9–10px-tekster i citater, bokse og grafikker */
@media (max-width: 760px) {
  html body .case-insight > cite,
  html body .case-quote > cite,
  html body .calm-rule > small,
  html body .service-rule > small,
  html body .staffing-number > small,
  html body .brief-formula > figcaption,
  html body .budget-map > figcaption,
  html body .moms-graphic > figcaption,
  html body .price-graphic > figcaption,
  html body .market-source,
  html body .market-total > small,
  html body .moms-block > small,
  html body .budget-donut-center > span,
  html body .price-bar > small,
  html body .price-bar > span,
  html body .article-body div:not([class]) > small,
  html body main div:not([class]) > small { font-size: 11px !important; line-height: 1.45; }
}

/* SEO_PAKKE_C_20261009: kontrast og understregede links */
html body .breadcrumbs span { color: #66635a; }
html body .footer-bottom span { color: rgba(242, 238, 227, .72); }
html body .db-cookie-banner a, html body .brief-subscribe-note a { text-decoration: underline; text-underline-offset: 3px; }

/* SEO_PAKKE_D_20261009: Kort svar (FAQ) i briefs */
html body .brief-faq { margin: 48px 0 32px; }
html body .brief-faq details { border-top: 1px solid rgba(20, 49, 38, .16); padding: 16px 0; }
html body .brief-faq details:last-child { border-bottom: 1px solid rgba(20, 49, 38, .16); }
html body .brief-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 17px; line-height: 1.4; }
html body .brief-faq summary::-webkit-details-marker { display: none; }
html body .brief-faq summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; }
html body .brief-faq details[open] summary::after { content: "–"; }
html body .brief-faq details p { margin: 10px 0 0; }
html body .brief-faq a { text-decoration: underline; text-underline-offset: 3px; }

/* SEO_UGE_20261011: større tryk-flader på mobil */
@media (max-width: 760px) {
  html body .brief-faq details { padding: 6px 0; }
  html body .brief-faq summary { min-height: 44px; align-items: center; }
  html body details.source-notes > summary { padding-block: 10px; }
  html body .footer-links a { min-height: 40px; display: flex; align-items: center; }
}

/* SEO_UGE_20261012: større tryk-flade på "I denne brief"-links (usynlig, ændrer ikke layoutet) */
@media (max-width: 760px) {
  html body .mobile-toc li a { position: relative; }
  html body .mobile-toc li a::before { content: ""; position: absolute; inset: -6px -4px; }
}

/* Brief-toppen på mobil (16. okt. 2026): mindre overskrift og mindre luft, så artiklen kommer hurtigere frem.
   Intet fjernes – kun størrelse og afstand. Brødkrummens sidste led (sidens egen titel) skjules på mobil. */
@media (max-width: 640px) {
  html body.eb-article .article-hero { padding-top: 22px !important; padding-bottom: 24px !important; }
  html body.eb-article .breadcrumbs { font-size: 11px !important; line-height: 1.5 !important; }
  html body.eb-article .breadcrumbs > span:last-child,
  html body.eb-article .breadcrumbs > span:nth-last-child(2) { display: none !important; }
  html body.eb-article .article-label { margin-top: 14px !important; margin-bottom: 8px !important; }
  html body.eb-article .article-title {
    font-size: clamp(38px, 11.2vw, 46px) !important;
    line-height: 1.02 !important;
    margin: 10px 0 14px !important;
  }
  html body.eb-article .article-lead { font-size: 18px !important; line-height: 1.45 !important; }
  html body.eb-article .mobile-toc { margin-top: 16px !important; }
  html body.eb-article .article-byline { padding-top: 14px !important; margin-top: 18px !important; }
  html body.eb-article .article-byline .author-mini img { width: 52px !important; height: 52px !important; object-fit: cover; border-radius: 50%; }
  html body.eb-article .article-cover.article-cover-image { height: auto !important; min-height: 0 !important; max-height: none !important; }
  html body.eb-article .article-hero-grid { gap: 0 !important; row-gap: 0 !important; }
  html body.eb-article .article-cover.article-cover-image img {
    aspect-ratio: 3 / 2 !important;
    height: auto !important;
    object-fit: cover;
  }
}
