/*
 Theme Name:   Enfold Child
 Theme URI:    https://tvudbydereidanmark.dk
 Description:  Child theme til Enfold – starterpakke med tokens og custom styling
 Author:       Tvudbydereidanmark
 Template:     enfold
 Version:      1.0.0
*/

/* ================================================= */
/* GLOBALE DESIGN TOKENS */
/* ================================================= */

:root{
  --ink:#0F172A;
  --muted:#475569;
  --bg:#F8FAFC;
  --brand:#004A89;
  --accent:#27AE60;
  --warn:#F59E0B;
  --card:#FFFFFF;
  --radius:12px;
  --radius-lg:16px;
  --shadow:0 6px 24px rgba(0,0,0,.08);
}

/* ================================================= */
/* GLOBALE UTILITY KLASSER */
/* ================================================= */

.container{
  max-width:1200px;
  margin:auto;
  padding:0 16px;
}

.btn{
  display:inline-block;
  padding:10px 14px;
  border-radius:12px;
  font-weight:700;
  text-decoration:none;
}

.btn--primary{
  background:var(--accent);
  color:#fff;
}

.card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
}

/* ================================================= */
/* BILLIG-FAGFORENING.DK – HERO SEKTION */
/* ================================================= */

.bf-container{
  max-width:1100px;
  margin:0 auto;
  padding:60px 20px;
}

.bf-hero{
  background:linear-gradient(135deg,#f8fafc 0%,#eef2f7 100%);
  padding:40px 0;
}

.bf-hero-card{
  background:var(--card);
  padding:60px;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  text-align:center;
}

.bf-eyebrow{
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--muted);
  margin-bottom:14px;
}

.bf-hero h1{
  font-size:42px;
  line-height:1.2;
  margin-bottom:24px;
  color:var(--ink);
}

.bf-hero-lead{
  font-size:18px;
  color:var(--muted);
  max-width:720px;
  margin:0 auto 35px;
  line-height:1.6;
}

.bf-cta-wrap{
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
  margin-bottom:30px;
}

/* ---------- Primary CTA ---------- */

.bf-btn-primary,
.bf-btn-primary:link,
.bf-btn-primary:visited,
.bf-btn-primary:active{
  background:#0284c7;
  color:#ffffff !important;
  padding:15px 30px;
  border-radius:12px;
  font-weight:700;
  text-decoration:none !important;
  display:inline-block;
  transition:all .25s ease;
  box-shadow:0 8px 25px rgba(2,132,199,.25);
}

.bf-btn-primary:hover,
.bf-btn-primary:focus{
  background:#0369a1;
  color:#ffffff !important;
  transform:translateY(-2px);
}

/* ---------- Secondary CTA ---------- */

.bf-btn-secondary,
.bf-btn-secondary:link,
.bf-btn-secondary:visited,
.bf-btn-secondary:active{
  background:#e5e7eb;
  color:#111827 !important;
  padding:15px 30px;
  border-radius:12px;
  font-weight:700;
  text-decoration:none !important;
  display:inline-block;
  transition:all .25s ease;
}

.bf-btn-secondary:hover,
.bf-btn-secondary:focus{
  background:#d1d5db;
  transform:translateY(-2px);
}

/* ---------- Accessibility ---------- */

.bf-btn-primary:focus,
.bf-btn-secondary:focus{
  outline:3px solid rgba(2,132,199,.25);
  outline-offset:3px;
}

/* ---------- Trust Row ---------- */

.bf-trust{
  display:flex;
  justify-content:center;
  gap:25px;
  flex-wrap:wrap;
  font-size:15px;
  font-weight:600;
  color:#16a34a;
  margin-bottom:20px;
}

/* ---------- Meta Text ---------- */

.bf-meta{
  font-size:13px;
  color:var(--muted);
  margin-top:10px;
}

/* ================================================= */
/* RESPONSIVE */
/* ================================================= */

@media(max-width:768px){

  .bf-hero-card{
    padding:35px 25px;
  }

  .bf-hero h1{
    font-size:30px;
  }

  .bf-cta-wrap{
    flex-direction:column;
    align-items:center;
  }

  .bf-btn-primary,
  .bf-btn-secondary{
    width:100%;
    max-width:320px;
    text-align:center;
  }

}
/* ================================================= */
/* PRISSAMMENLIGNING */
/* ================================================= */

.bf-section-head{
  text-align:center;
  margin-bottom:50px;
}

.bf-section-head h2{
  font-size:32px;
  margin-bottom:15px;
  color:var(--ink);
}

.bf-section-sub{
  color:var(--muted);
  font-size:17px;
  max-width:700px;
  margin:0 auto 20px;
}

.bf-compare-filters{
  display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap;
  margin-top:20px;
}

.bf-filter-btn{
  background:#eef2f7;
  padding:10px 18px;
  border-radius:20px;
  font-weight:600;
  text-decoration:none !important;
  color:var(--ink) !important;
  transition:.2s ease;
}

.bf-filter-btn:hover{
  background:#e2e8f0;
}

/* ---------- Card Layout ---------- */

.bf-compare-card{
  background:var(--card);
  border-radius:16px;
  box-shadow:var(--shadow);
  padding:35px;
  margin-bottom:30px;
  position:relative;
  transition:.25s ease;
}

.bf-compare-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 35px rgba(0,0,0,.08);
}

.bf-card-grid{
  display:grid;
  grid-template-columns: 1.4fr 1.6fr 1.5fr 0.8fr;
  gap:30px;
  align-items:center;
}

/* ---------- Brand ---------- */

.bf-card-name{
  font-size:20px;
  font-weight:700;
  color:var(--ink);
  display:block;
  margin-bottom:6px;
}

.bf-card-meta{
  font-size:14px;
  color:var(--muted);
}

/* ---------- Prices ---------- */

.bf-card-prices{
  display:flex;
  gap:25px;
  flex-wrap:wrap;
}

.bf-price-block{
  min-width:110px;
}

.bf-price-label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.5px;
  color:var(--muted);
  margin-bottom:5px;
}

.bf-price-main{
  font-size:22px;
  font-weight:800;
  color:var(--brand);
}

.bf-price-sub{
  font-size:12px;
  color:var(--muted);
}

.bf-price-muted .bf-price-main{
  color:#64748b;
}

.bf-price-total .bf-price-main{
  color:var(--accent);
  font-size:24px;
}

/* ---------- Includes ---------- */

.bf-card-includes ul{
  padding-left:18px;
  margin:10px 0;
}

.bf-card-includes li{
  font-size:14px;
  margin-bottom:6px;
  color:var(--ink);
}

.bf-card-terms{
  font-size:13px;
  color:var(--muted);
  margin-top:8px;
}

/* ---------- Badge ---------- */

.bf-card-badge{
  position:absolute;
  top:-12px;
  left:25px;
  padding:6px 14px;
  border-radius:20px;
  font-size:12px;
  font-weight:700;
  color:#fff;
}

.bf-badge-popular{
  background:#2563eb;
}

.bf-badge-bestfor{
  background:#16a34a;
}

.bf-badge-neutral{
  background:#64748b;
}

/* ---------- CTA Column ---------- */

.bf-card-cta{
  text-align:center;
}

.bf-cta-note{
  font-size:11px;
  color:var(--muted);
  margin-top:6px;
}

/* ---------- Footer Note ---------- */

.bf-compare-footer{
  margin-top:50px;
  font-size:14px;
  color:var(--muted);
  text-align:center;
  max-width:750px;
  margin-left:auto;
  margin-right:auto;
}

/* ================================================= */
/* RESPONSIVE */
/* ================================================= */

@media (max-width: 992px){

  .bf-card-grid{
    grid-template-columns:1fr;
  }

  .bf-card-cta{
    margin-top:20px;
  }

  .bf-card-prices{
    justify-content:flex-start;
  }
}
/* ================================================= */
/* GENNEMSNITSPRIS / BENCHMARK */
/* ================================================= */

.bf-benchmark-head{
  text-align:center;
  margin-bottom:35px;
}

.bf-benchmark-head h2{
  font-size:32px;
  margin-bottom:12px;
  color:var(--ink);
}

.bf-benchmark-sub{
  color:var(--muted);
  font-size:17px;
  max-width:820px;
  margin:0 auto;
  line-height:1.6;
}

.bf-benchmark-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
  margin-top:30px;
}

.bf-benchmark-card{
  background:var(--card);
  border-radius:16px;
  box-shadow:var(--shadow);
  padding:28px;
  border:1px solid #e5e7eb;
}

.bf-benchmark-card--highlight{
  border:1px solid rgba(2,132,199,.25);
  box-shadow:0 10px 28px rgba(2,132,199,.10);
}

.bf-benchmark-label{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.6px;
  color:var(--muted);
  margin-bottom:10px;
}

.bf-benchmark-price{
  font-size:28px;
  font-weight:800;
  color:var(--brand);
  margin-bottom:14px;
}

.bf-benchmark-card--highlight .bf-benchmark-price{
  color:var(--accent);
}

.bf-benchmark-list{
  margin:0;
  padding-left:18px;
}

.bf-benchmark-list li{
  color:var(--ink);
  font-size:14px;
  margin-bottom:8px;
  line-height:1.5;
}

.bf-benchmark-note{
  background:#f1f5f9;
  border-radius:16px;
  padding:18px 20px;
  margin-top:22px;
  color:var(--ink);
}

.bf-benchmark-note p{
  margin:8px 0;
  line-height:1.6;
}

.bf-benchmark-meta{
  font-size:13px;
  color:var(--muted);
}

.bf-benchmark-cta{
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  margin-top:22px;
}

@media(max-width: 992px){
  .bf-benchmark-grid{
    grid-template-columns:1fr;
  }
}
/* ================================================= */
/* FAGFORENING VS A-KASSE */
/* ================================================= */

.bf-diff-head{
  text-align:center;
  margin-bottom:30px;
}

.bf-diff-head h2{
  font-size:32px;
  margin-bottom:12px;
  color:var(--ink);
}

.bf-diff-sub{
  color:var(--muted);
  font-size:17px;
  max-width:880px;
  margin:0 auto;
  line-height:1.6;
}

.bf-diff-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:22px;
  margin-top:26px;
}

.bf-diff-card{
  background:var(--card);
  border-radius:16px;
  box-shadow:var(--shadow);
  padding:26px;
  border:1px solid #e5e7eb;
}

.bf-diff-card h3{
  margin:0 0 12px 0;
  color:var(--ink);
  font-size:18px;
}

.bf-diff-list{
  margin:0;
  padding-left:18px;
}

.bf-diff-list li{
  color:var(--ink);
  font-size:14px;
  margin-bottom:8px;
  line-height:1.5;
}

.bf-diff-note{
  margin-top:12px;
  font-size:14px;
  color:var(--muted);
}

.bf-diff-note a{
  color:var(--brand);
  font-weight:700;
  text-decoration:none !important;
}

.bf-diff-tablewrap{
  margin-top:22px;
  background:var(--card);
  border-radius:16px;
  box-shadow:var(--shadow);
  overflow:auto;
  border:1px solid #e5e7eb;
}

.bf-diff-table{
  width:100%;
  border-collapse:collapse;
  min-width:720px;
}

.bf-diff-table th,
.bf-diff-table td{
  padding:14px 16px;
  border-bottom:1px solid #e5e7eb;
  text-align:left;
  font-size:14px;
  color:var(--ink);
}

.bf-diff-table thead th{
  background:#f1f5f9;
  font-weight:800;
}

.bf-diff-table tbody tr:hover{
  background:#f8fafc;
}

.bf-diff-cta{
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  margin-top:22px;
}

.bf-diff-meta{
  margin-top:14px;
  text-align:center;
  font-size:14px;
  color:var(--muted);
}

@media(max-width: 992px){
  .bf-diff-grid{
    grid-template-columns:1fr;
  }
  .bf-diff-table{
    min-width:640px;
  }
}
/* ================================================= */
/* GUL VS TRADITIONEL */
/* ================================================= */

.bf-yellow-head{
  text-align:center;
  margin-bottom:30px;
}

.bf-yellow-head h2{
  font-size:32px;
  margin-bottom:12px;
  color:var(--ink);
}

.bf-yellow-sub{
  color:var(--muted);
  font-size:17px;
  max-width:900px;
  margin:0 auto;
  line-height:1.6;
}

.bf-yellow-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:22px;
  margin-top:26px;
}

.bf-yellow-card{
  background:var(--card);
  border-radius:16px;
  box-shadow:var(--shadow);
  padding:28px;
  border:1px solid #e5e7eb;
  position:relative;
}

.bf-yellow-card--highlight{
  border:1px solid rgba(2,132,199,.25);
  box-shadow:0 10px 28px rgba(2,132,199,.10);
}

.bf-yellow-tag{
  position:absolute;
  top:-12px;
  left:22px;
  background:#16a34a;
  color:#fff;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
}

.bf-yellow-tag--dark{
  background:#0f172a;
}

.bf-yellow-card h3{
  margin:6px 0 10px;
  color:var(--ink);
  font-size:20px;
}

.bf-yellow-lead{
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
  margin-bottom:12px;
}

.bf-yellow-list{
  margin:0;
  padding-left:18px;
}

.bf-yellow-list li{
  color:var(--ink);
  font-size:14px;
  margin-bottom:8px;
  line-height:1.5;
}

.bf-yellow-note{
  margin-top:12px;
  font-size:14px;
  color:var(--muted);
}

.bf-yellow-summary{
  margin-top:22px;
  background:#f1f5f9;
  border-radius:16px;
  padding:18px 20px;
}

.bf-yellow-summary h3{
  margin:0 0 12px;
  color:var(--ink);
  font-size:18px;
}

.bf-yellow-points{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

.bf-yellow-point{
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:14px;
  color:var(--ink);
  font-size:14px;
  line-height:1.5;
}

.bf-yellow-point a{
  color:var(--brand);
  font-weight:800;
  text-decoration:none !important;
}

.bf-yellow-cta{
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  margin-top:22px;
}

.bf-yellow-meta{
  margin-top:14px;
  text-align:center;
  font-size:13px;
  color:var(--muted);
}

@media(max-width: 992px){
  .bf-yellow-grid{
    grid-template-columns:1fr;
  }
  .bf-yellow-points{
    grid-template-columns:1fr;
  }
}
/* ================================================= */
/* BRANCHE SEKTION */
/* ================================================= */

.bf-branch-head{
  text-align:center;
  margin-bottom:30px;
}

.bf-branch-head h2{
  font-size:32px;
  margin-bottom:12px;
  color:var(--ink);
}

.bf-branch-sub{
  color:var(--muted);
  font-size:17px;
  max-width:850px;
  margin:0 auto;
  line-height:1.6;
}

.bf-branch-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
  margin-top:26px;
}

.bf-branch-card{
  background:var(--card);
  border-radius:16px;
  box-shadow:var(--shadow);
  padding:24px;
  border:1px solid #e5e7eb;
  transition:.25s ease;
}

.bf-branch-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 35px rgba(0,0,0,.08);
}

.bf-branch-card h3{
  font-size:18px;
  margin-bottom:8px;
  color:var(--ink);
}

.bf-branch-card p{
  font-size:14px;
  color:var(--muted);
  line-height:1.6;
}

.bf-branch-link{
  display:inline-block;
  margin-top:12px;
  font-weight:700;
  color:var(--brand);
  text-decoration:none !important;
}

@media(max-width: 992px){
  .bf-branch-grid{
    grid-template-columns:1fr;
  }
}

