/* =========================================================
   Hvidovre Trail – Global Design (MU-plugin CSS)
   ========================================================= */

/* 1) Design tokens */
:root{
  /* Brand */
  --brand-900:#0E2D41;
  --brand-700:#1b4b57;
  --brand-100:#e6f7f4;

  /* Extra surfaces */
  --accent-100:#fff7e6;
  --cream-100:#fffdf6;
  --highlight-100:#fff1cc;

  /* Borders / shadows */
  --card-border:rgba(27,75,87,0.08);
  --shadow:0 8px 20px rgba(27,75,87,0.06);

  /* Typography */
  --muted:#6b7880;

  /* CTA */
  --cta-bg:var(--brand-900);
}

/* =========================================================
   Compatibility layer for your existing HTML classes
   (so page looks EXACTLY like before)
   ========================================================= */

/* Top band (if you use it) */
.palette-band{
  background:var(--brand-100);
  border-radius:16px;
  padding:14px 18px;
}

/* Cards */
.card{
  border-radius:16px;
  padding:22px;
  background:#fff;
  border:1px solid var(--card-border);
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
}

.card--accent{
  background:var(--accent-100);
  border-color:rgba(245,194,120,0.18);
  box-shadow:0 8px 20px rgba(27,75,87,0.04);
}

.card--cream{
  background:var(--cream-100);
  border-color:rgba(240,224,184,0.25);
  box-shadow:0 8px 20px rgba(27,75,87,0.04);
}

.card--blue{
  background:#e6f3ff;
  border-color:rgba(30,120,200,0.18);
  box-shadow:0 8px 20px rgba(27,75,87,0.05);
}

.card--green{
  background:#e6f9ed;
  border-color:rgba(60,160,100,0.18);
  box-shadow:0 8px 20px rgba(27,75,87,0.05);
}

.card--yellow{
  background:#fff7cc;
  border-color:rgba(220,190,90,0.35);
  box-shadow:0 6px 16px rgba(27,75,87,0.04);
}

.card--gray{
  background:#f3f4f6;
  border-color:rgba(0,0,0,0.08);
  box-shadow:0 6px 16px rgba(27,75,87,0.03);
}

.card--outline{
  background:#fff;
  border:2px dashed rgba(27,75,87,0.15);
  box-shadow:none;
}

.card--cta{
  background:linear-gradient(135deg, #1b4b57, #24697a);
  color:#fff;
  border:none;
  box-shadow:0 12px 28px rgba(27,75,87,0.35);
}
.card--cta a{
  color:#fff;
  text-decoration:underline;
}

.card--small{
  border-radius:14px;
  padding:20px;
}

.card-inner{
  display:flex;
  flex-direction:column;
  min-height:320px;
}

/* Notice + highlight */
.notice{
  background:#f7f7f8;
  border:1px solid #e6e6e6;
  border-radius:12px;
  padding:14px 16px;
  text-align:center;
  font-weight:700;
}

.highlight{
  background:var(--highlight-100);
  border:1px solid rgba(232,201,122,0.25);
  border-radius:12px;
  padding:14px;
  text-align:center;
  font-weight:700;
}

/* CTA styling */
.wp-block-button__link{
  display:inline-block;
  padding:16px 34px;
  border-radius:36px;
  background:var(--cta-bg);
  color:#fff;
  text-decoration:none;
  white-space:nowrap;
}
.wp-block-button__link:hover{ filter:brightness(0.95); }
.wp-block-button__link:focus{
  outline:3px solid color-mix(in srgb, var(--brand-700) 35%, transparent);
  outline-offset:4px;
}

/* Column gaps */
.wp-block-columns{ gap:40px; }
.membership-columns{ gap:56px; }
.practical-columns{ gap:32px; }

/* CTA alignment (membership cards) */
.cta-row{
  margin-top:auto;
  display:flex;
  gap:12px;
  align-items:flex-end;
  justify-content:flex-start;
  padding-top:12px;
  min-height:72px;
  flex-wrap:wrap;
}
.cta-spacer{
  visibility:hidden;
  pointer-events:none;
}

/* Equal card heights (Praktisk info) */
.practical-columns{ align-items:stretch; }
.practical-columns > .wp-block-column{ display:flex; }
.practical-columns .card{ flex:1; min-height:auto; }

/* Muted helper */
.muted{ color:var(--muted); }

/* Mobile tweaks */
@media (max-width:700px){
  .wp-block-columns{ gap:18px; }
  .cta-row{ justify-content:center; }
}