/* Eventbriefen forside 2026 — kun forsiden (body.eb-front). Artikelsider bruger ikke denne fil. */
.eb-front {
  --muted: #55584f;
  --brass: #7a5a1c;
  --body: #2c302b;
}

.eb-front .eb-label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eb-front .eb-label--line { display: flex; align-items: center; gap: 14px; }
.eb-front .eb-label--line::before { content: ''; width: 36px; height: 1px; background: currentColor; }
.eb-front .eb-h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(38px, 3.8vw, 54px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1;
}

.eb-front .eb-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 28px;
  color: var(--cream);
  background: var(--forest);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .25s ease;
}
.eb-front .eb-button:hover { background: var(--ink); }
.eb-front .eb-button--outline { color: var(--ink); background: transparent; border: 1px solid var(--ink); }
.eb-front .eb-button--outline:hover { color: var(--cream); background: var(--ink); }
.eb-front .eb-textlink {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}


/* Header */
.eb-front .header-row { min-height: 98px; }
.eb-front main [id] { scroll-margin-top: 170px; }
.eb-front .db-home { gap: 14px; font-size: 12px; letter-spacing: .14em; }
.eb-front .brief-wordmark { display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: clamp(34px, 3.2vw, 46px); letter-spacing: .12em; }
.eb-front .brief-wordmark small { color: var(--muted); font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .22em; }
.eb-front .header-contact { min-height: 46px; padding: 0 22px; border: 1px solid var(--ink); font-size: 12px; letter-spacing: .12em; }
.eb-front .brief-nav-inner { min-height: 54px; gap: clamp(28px, 4vw, 56px); }
.eb-front .brief-nav a { font-size: 13px; letter-spacing: .12em; }
.eb-front .brief-nav a.eb-nav-cta { color: var(--brass); }
.eb-front .brief-nav a.eb-nav-cta::after { right: 0; background: var(--gold); }

/* Eventbriefen som selvstændigt medie: eget ringe-mærke, DB Event Co. som afsender */
.eb-front .eb-publisher { gap: 0; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.eb-front .eb-publisher strong { color: var(--ink); font-weight: 700; }
.eb-front .eb-publisher:hover strong { color: var(--green); }
.eb-front .brief-wordmark .eb-word { display: inline-flex; align-items: center; gap: 14px; }
.eb-front .eb-mark { width: 34px; height: 34px; flex: none; }
.eb-front .eb-mark circle { fill: none; stroke: var(--gold); stroke-width: 1.2; }
.eb-front .eb-mark circle:nth-child(1) { opacity: .45; }
.eb-front .eb-mark circle:nth-child(2) { opacity: .75; }
.eb-front .eb-mark .dot { fill: var(--green); stroke: none; opacity: 1; }

/* Hero */
.eb-front .hero { border-bottom: 1px solid var(--rule); }
.eb-hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 5vw, 72px); padding: clamp(56px, 6vw, 80px) 0 clamp(64px, 7vw, 104px); }
.eb-hero-copy { display: flex; flex-direction: column; justify-content: center; padding-bottom: 24px; }
.eb-hero-copy h1 { margin: 24px 0; font-family: var(--serif); font-size: clamp(52px, 5.2vw, 72px); font-weight: 400; letter-spacing: -.035em; line-height: .94; }
.eb-hero-copy h1 em { color: var(--green); }
.eb-hero-copy h1 { text-wrap: balance; }
.eb-hero-copy h1 .eb-nb { white-space: nowrap; }
@media (min-width: 781px) { .eb-hero-copy h1 em { white-space: nowrap; } }
.eb-hero-intro { max-width: 500px; margin: 0; color: var(--body); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; }
.eb-front .eb-hero-guide { display: inline-block; margin-top: 32px; color: var(--brass); }

.eb-front .feature { min-height: 0; display: flex; flex-direction: column; overflow: visible; color: var(--ink); background: var(--paper); border: 1px solid rgba(9,12,10,.12); }
.eb-front .feature::after { display: none; }
.eb-front .feature-visual { position: relative; height: clamp(320px, 33vw, 480px); overflow: hidden; background: var(--forest); }
.eb-front .feature-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eb-front .feature-badge { top: 24px; left: 24px; right: auto; padding: 9px 14px; font-size: 12px; }
.eb-front .feature-copy { position: static; padding: clamp(28px, 3vw, 40px) clamp(28px, 3.2vw, 44px) clamp(32px, 3.2vw, 40px); }
.eb-front .feature-meta { flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 12px; letter-spacing: .14em; }
.eb-front .feature-meta span:first-child { color: var(--brass); }
.eb-front .feature h2 { margin: 14px 0; font-size: clamp(32px, 2.9vw, 42px); letter-spacing: -.025em; line-height: 1; }
.eb-front .feature p { max-width: 620px; margin: 0 0 22px; color: var(--body); font-size: 17px; line-height: 1.6; }
.eb-front .feature .text-link { font-size: 13px; }

/* Start her */
.eb-start { padding: clamp(72px, 7vw, 96px) 0; background: var(--cream-2); }
.eb-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px 40px; margin-bottom: 44px; }
.eb-section-head > p { max-width: 420px; margin: 0; color: var(--body); font-size: 16px; line-height: 1.6; }
.eb-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.eb-step { display: flex; flex-direction: column; gap: 16px; padding: 28px 28px 8px; border-right: 1px solid var(--rule); }
.eb-step:first-child { padding-left: 0; }
.eb-step:last-child { padding-right: 0; border-right: 0; }
.eb-step-label { color: var(--brass); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eb-step a { font-family: var(--serif); font-size: 26px; line-height: 1.05; }
.eb-step a:hover { color: var(--green); }
.eb-step a + span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.eb-step a.eb-step-more { margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 21px; line-height: 1.1; }

/* Seneste */
.eb-front .latest { padding: clamp(80px, 8vw, 112px) 0 clamp(80px, 7vw, 104px); }
.eb-front .section-heading { margin-bottom: 0; }
.eb-front .section-heading h2 { margin-top: 12px; font-size: clamp(38px, 3.8vw, 54px); }
.eb-front .section-count { font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.eb-front .eb-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 44px; padding-top: 20px; border-top: 1px solid var(--rule); }
.eb-front .filter-button { min-height: 44px; padding: 0 20px; border-color: rgba(9,12,10,.3); font-size: 12px; letter-spacing: .12em; }
.eb-front .article-grid { gap: 64px 32px; }
.eb-front .card-number, .eb-front .card-status { display: none; }
.eb-front .card-visual { aspect-ratio: 1.54; }
.eb-front .card-body { padding-top: 22px; }
.eb-front .card-meta { flex-wrap: wrap; gap: 6px 14px; font-size: 12px; letter-spacing: .12em; }
.eb-front .card-meta span:first-child { color: var(--brass); }
.eb-front .card-title { margin: 12px 0 10px; font-size: clamp(25px, 2vw, 29px); font-weight: 400; line-height: 1.06; }
.eb-front .card-deck { color: var(--body); font-size: 15px; line-height: 1.6; }
.eb-front #nyeste .article-grid + .text-link { display: flex !important; width: max-content; margin: 64px auto 0 !important; align-items: center; min-height: 54px; padding: 0 30px; border: 1px solid var(--ink); font-size: 13px; letter-spacing: .12em; }
.eb-front #nyeste .article-grid + .text-link:hover { color: var(--cream); background: var(--ink); }

/* Guide – lys sektion, så den ikke flyder sammen med "Fra eventgulvet" */
.eb-guide { color: var(--ink); background: var(--paper); border-top: 1px solid var(--rule); }
.eb-guide-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 96px); align-items: center; padding: clamp(72px, 7vw, 104px) 0; }
.eb-guide-visual { position: relative; width: min(340px, 78%); margin: 0 auto; padding-right: 12%; }
.eb-guide-visual img { display: block; width: 100%; height: auto; }
.eb-guide-page { position: absolute; top: 0; left: 0; width: calc(100% - 12%) !important; transform: translate(18%, 5%) rotate(5deg); transform-origin: bottom left; border: 1px solid var(--rule); box-shadow: 0 14px 30px rgba(9,12,10,.14); }
.eb-guide-cover { position: relative; box-shadow: 0 24px 50px rgba(9,12,10,.3); transition: transform .5s var(--ease); }
.eb-guide:hover .eb-guide-cover { transform: translateY(-4px) rotate(-1deg); }
.eb-guide .brief-subscribe { max-width: 620px; margin: 0; padding: 0; color: var(--ink); background: transparent; }
.eb-guide .brief-subscribe-kicker { color: var(--brass); font-size: 12px; letter-spacing: .18em; }
.eb-guide .brief-subscribe h3 { margin-top: 16px; color: var(--ink); font-size: clamp(38px, 3.8vw, 54px); letter-spacing: -.03em; line-height: .98; }
.eb-guide .brief-subscribe-copy { max-width: 560px; margin: 20px 0 28px; color: var(--body); font-size: 17px; line-height: 1.65; }
.eb-guide .brief-subscribe label { font-size: 12px; color: var(--muted); }
.eb-guide .brief-subscribe input { min-height: 56px; color: var(--ink); background: var(--white); border-color: rgba(9,12,10,.3); font-size: 16px; }
.eb-guide .brief-subscribe input::placeholder { color: #7b7d76; }
.eb-guide .brief-subscribe input:focus { border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); }
.eb-guide .brief-subscribe button { min-height: 56px; padding: 0 26px; color: var(--cream); background: var(--forest); border-color: var(--forest); font-size: 13px; }
.eb-guide .brief-subscribe button:hover, .eb-guide .brief-subscribe button:focus-visible { color: var(--cream); background: var(--ink); }
.eb-guide .brief-subscribe-consent { gap: 12px; font-size: 14px !important; color: var(--body) !important; }
.eb-guide .brief-subscribe-consent input { width: 20px; min-height: 20px; accent-color: var(--forest); }
.eb-guide .brief-subscribe .entry__error { color: #9b2c1f; font-size: 13px; }
.eb-guide .brief-subscribe-note { margin-top: 12px; color: var(--muted); font-size: 13px; }
.eb-guide .brief-subscribe-note a { border-color: var(--brass); }
.eb-guide .brief-subscribe-message { color: var(--ink); background: var(--cream); border-color: var(--rule); font-size: 15px; }
.eb-guide .brief-subscribe-message--success { color: var(--forest); border-color: var(--forest); }
.eb-guide .brief-subscribe-message--error { color: #9b2c1f; border-color: #9b2c1f; }

/* Fra eventgulvet – som den nuværende .dispatch, med læsbar tekst */
.eb-front .dispatch .eyebrow { color: var(--gold); font-size: 13px; }
.eb-front .dispatch blockquote { font-size: clamp(40px, 4.2vw, 64px); }
.eb-front .dispatch p:not(.eyebrow) { color: rgba(242,238,227,.78); font-size: 17px; line-height: 1.7; }
.eb-front .dispatch-byline { font-size: 12px; }

/* CTA */
.eb-cta-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 5vw, 72px); align-items: end; padding: clamp(72px, 7vw, 88px) 0 clamp(80px, 8vw, 104px); border-top: 1px solid var(--ink); }
.eb-cta-grid h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 3.8vw, 56px); font-weight: 400; letter-spacing: -.035em; line-height: .98; }
.eb-cta-grid p { margin: 0 0 24px; color: var(--body); font-size: 17px; line-height: 1.65; }
.eb-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Footer */
.eb-front .footer-brand small, .eb-front .footer-links strong { font-size: 12px; }
.eb-front .footer-links a { font-size: 14px; }
.eb-front .footer-bottom { font-size: 12px; }

@media (max-width: 1100px) {
  .eb-front .brief-wordmark { margin-left: 0; align-items: flex-start; }
  .eb-front .eb-publisher { display: none; }
  .eb-front .brief-wordmark small { display: none; }
  .eb-front .header-row { min-height: 88px; }
  .eb-front .brief-nav-inner { gap: 20px; }
  .eb-front .brief-nav a { font-size: 12px; }
  .eb-hero-grid, .eb-guide-grid { grid-template-columns: 1fr 1fr; }
  .eb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eb-step:nth-child(2) { border-right: 0; padding-right: 0; }
  .eb-step:nth-child(3) { padding-left: 0; }
  .eb-step:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--rule); }
}

@media (max-width: 780px) {
  .eb-front .header-row { min-height: 66px; }
  .eb-front main [id] { scroll-margin-top: 80px; }
  .eb-front .brief-wordmark { margin-left: 0; font-size: 22px; letter-spacing: .08em; }
  .eb-front .eb-mark { width: 26px; height: 26px; }
  .eb-front .brief-wordmark .eb-word { gap: 10px; }
  .eb-front .brief-nav-inner { padding-top: 20px; overflow-y: auto; }
  .eb-front .brief-nav a { padding: 13px 0; font-size: 27px; letter-spacing: 0; }
  .eb-front .brief-nav a.eb-nav-cta { color: var(--gold-light); }

  .eb-hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 44px 0 64px; }
  .eb-hero-copy { padding-bottom: 0; }
  .eb-hero-copy h1 { margin: 18px 0; font-size: clamp(44px, 12.5vw, 54px); }
        .eb-front .feature { margin-inline: 0; }
  .eb-front .feature-visual { height: 260px; }
  .eb-front .feature-copy { padding: 26px 22px 30px; }
  .eb-front .feature h2 { font-size: 32px; }
  .eb-front .feature p { font-size: 16px; }

  .eb-section-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .eb-front .eb-h2, .eb-front .section-heading h2 { font-size: clamp(34px, 9.5vw, 42px); }
  .eb-steps { display: flex; gap: 14px; margin-right: -16px; padding-right: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-top: 0; }
  .eb-steps::-webkit-scrollbar { display: none; }
  .eb-step, .eb-step:first-child, .eb-step:last-child, .eb-step:nth-child(3) { flex: 0 0 78vw; margin-top: 0; padding: 22px 20px; border: 0; border-top: 1px solid var(--ink); background: var(--paper); scroll-snap-align: start; }
  .eb-step a { font-size: 24px; }
  .eb-step a.eb-step-more { font-size: 21px; }

  .eb-front .eb-filters { flex-wrap: nowrap; margin: 20px -16px 32px 0; padding-right: 16px; overflow-x: auto; scrollbar-width: none; }
  .eb-front .eb-filters::-webkit-scrollbar { display: none; }
  .eb-front .filter-button { flex: 0 0 auto; }
  .eb-front #nyeste .article-grid + .text-link { width: 100%; justify-content: center; margin-top: 36px !important; }

  .eb-guide-grid { grid-template-columns: 1fr; gap: 56px; padding: 72px 0 80px; }
    .eb-front .dispatch blockquote { font-size: clamp(36px, 10vw, 44px); }
  .eb-guide .brief-subscribe h3 { font-size: clamp(34px, 9.5vw, 42px); }
  .eb-guide-visual { width: min(250px, 66vw); }


  .eb-cta-grid { grid-template-columns: 1fr; gap: 28px; }
  .eb-cta-actions .eb-button { width: 100%; justify-content: center; }
}

/* Cookie-boksen (indsættes af /analytics.js) i Eventbriefens udseende – kun på Eventbriefen-sider.
   "Tillad" og "Kun nødvendige" er fortsat lige store og lige tydelige. */
.eb-front .db-cookie-banner { right: 24px; bottom: 24px; width: min(440px, calc(100vw - 32px)); padding: 26px 26px 24px; border: 1px solid var(--rule); border-top: 4px solid var(--gold); color: var(--ink); background: var(--paper); box-shadow: 0 24px 60px rgba(9,12,10,.22); font-family: var(--sans); }
.eb-front .db-cookie-banner strong { margin: 0 0 10px; color: var(--ink); font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.05; }
.eb-front .db-cookie-banner p { color: var(--body); font-size: 14px; line-height: 1.6; }
.eb-front .db-cookie-banner a { color: var(--green); text-decoration-color: var(--gold); }
.eb-front .db-cookie-actions { gap: 10px; margin-top: 20px; }
.eb-front .db-cookie-actions button { min-height: 48px; padding: 0 14px; font: 700 12px/1 var(--sans); letter-spacing: .1em; transition: background .2s ease, color .2s ease; }
.eb-front .db-cookie-accept { color: var(--cream); background: var(--forest); border-color: var(--forest); }
.eb-front .db-cookie-accept:hover { background: var(--ink); }
.eb-front .db-cookie-reject { color: var(--ink); background: transparent; border-color: var(--ink); }
.eb-front .db-cookie-reject:hover { color: var(--cream); background: var(--ink); }
.eb-front .db-cookie-actions button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 480px) { .eb-front .db-cookie-banner { right: 16px; bottom: 16px; padding: 22px 20px 20px; } .eb-front .db-cookie-banner strong { font-size: 25px; } }
