/* =====================================================================
   CDG kliniksider – komponentbaseret prototype (testmiljø)
   Gælder sider med skabelonen "Klinikker bred".
   Udseendet sidder på komponentklasser, ikke på side-ID eller placering,
   så blokke kan flyttes frit. Skal flyttes ind i temaets stylesheet.
   ===================================================================== */

/* ---------- 1. Designværdier ---------- */
.klinikker-template-template-klinikker_bred {
  --cdg-navy: #0F1E3D;
  --cdg-ink: #041E42;
  --cdg-text: #5B6575;
  --cdg-body: #2A3547;
  --cdg-muted: #4A5568;
  --cdg-blue: #3170B2;
  --cdg-orange: #F08138;
  --cdg-warm: #F6F4EF;
  --cdg-hero-bg: #F4F6FA;
  --cdg-tint: #EEF0F5;
  --cdg-line: #E6E8EE;
  --cdg-divider: #CBD3DF;
  --cdg-radius: 16px;
  --cdg-radius-lg: 24px;
  --cdg-shadow-sm: 0 8px 24px rgba(15,30,61,.06);
  --cdg-shadow: 0 18px 40px rgba(15,30,61,.12);
  --cdg-section: 90px;
  --cdg-width: 1200px;
}

/* ---------- 2. Hero (skabelonens clinic-header) ---------- */
.klinikker-template-template-klinikker_bred .klinikk_crumbs_right .header_book_btns { display: none; }
.klinikker-template-template-klinikker_bred .clinic-header__content { align-items: center !important; height: auto !important; min-height: 680px; padding: 130px 0 70px; }
.klinikker-template-template-klinikker_bred .clinic-header__left { display: flex; flex-direction: column; align-items: flex-start; color: var(--cdg-ink) !important; max-width: 720px; }
.klinikker-template-template-klinikker_bred .clinic-header__left,
.klinikker-template-template-klinikker_bred .clinic-header__left * { text-shadow: none !important; }
.klinikker-template-template-klinikker_bred .clinic-header__left::before {
  content: "COLOSSEUM TANDLÆGERNE"; /* TEMA: bør være et redigerbart felt i skabelonen */
  order: 0; font-size: 14px; font-weight: 500; letter-spacing: .28em; color: var(--cdg-ink); margin-bottom: 14px;
}
.klinikker-template-template-klinikker_bred .clinic-header__left h1.entry-title {
  order: 1; color: var(--cdg-ink) !important; font-size: 58px; line-height: 1.08; font-weight: 700; letter-spacing: -.01em; margin: 0 0 18px;
}
.klinikker-template-template-klinikker_bred .clinic-header__intro {
  order: 2; color: var(--cdg-muted) !important; font-size: 21px; line-height: 1.55; max-width: 560px; margin: 0 0 30px;
}
.klinikker-template-template-klinikker_bred .clinic-header__btns { order: 3; display: flex; flex-wrap: wrap; gap: 20px; margin: 0 0 34px; }
.klinikker-template-template-klinikker_bred .clinic-header__btns a.btn {
  display: inline-flex; align-items: center; gap: 12px; border-radius: 999px !important; padding: 18px 40px !important;
  font-size: 19px; font-weight: 500; line-height: 1.2; box-shadow: 0 6px 18px rgba(4,30,66,.08);
}
.klinikker-template-template-klinikker_bred .clinic-header__btns a.btn::before {
  content: ""; width: 22px; height: 22px; flex-shrink: 0; background-color: currentColor;
  -webkit-mask: var(--hero-ico) center / contain no-repeat; mask: var(--hero-ico) center / contain no-repeat;
}
.klinikker-template-template-klinikker_bred .clinic-header__btns a.has-orange-background-color { --hero-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01M16 18h.01'/%3E%3C/svg%3E"); }
.klinikker-template-template-klinikker_bred .clinic-header__btns a.has-colosseumblue-background-color {
  --hero-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
  background-color: #fff !important; color: var(--cdg-blue) !important; border: 1.5px solid var(--cdg-blue) !important; /* TEMA: !important pga. temaets farveklasser */
}
.klinikker-template-template-klinikker_bred .clinic-header__btns a.has-colosseumblue-background-color:hover,
.klinikker-template-template-klinikker_bred .clinic-header__btns a.has-colosseumblue-background-color:focus { background-color: #EEF4FA !important; }
.klinikker-template-template-klinikker_bred .clinic-header ul.clinic_features {
  order: 4; display: flex !important; flex-direction: row !important; flex-wrap: nowrap; align-items: center;
  list-style: none; margin: 0; padding: 0; columns: auto !important; width: auto !important; color: var(--cdg-ink) !important;
}
.klinikker-template-template-klinikker_bred .clinic-header ul.clinic_features li:nth-child(-n+3) {
  display: flex; align-items: center; gap: 14px; background: none !important; padding: 4px 26px !important;
  font-size: 16px; font-weight: 400; line-height: 1.4; max-width: 230px; width: auto !important; float: none !important; flex: 0 1 auto;
  color: var(--cdg-ink) !important;
}
.klinikker-template-template-klinikker_bred .clinic-header ul.clinic_features li:first-child { padding-left: 0 !important; }
.klinikker-template-template-klinikker_bred .clinic-header ul.clinic_features li:nth-child(2),
.klinikker-template-template-klinikker_bred .clinic-header ul.clinic_features li:nth-child(3) { border-left: 1px solid var(--cdg-divider); }
.klinikker-template-template-klinikker_bred .clinic-header ul.clinic_features li::before {
  content: ""; width: 24px; height: 24px; flex-shrink: 0; background-color: var(--cdg-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8.5 12.5 2.5 2.5 5-5.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8.5 12.5 2.5 2.5 5-5.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- 3. Basis for indholdet ---------- */
.klinikker-template-template-klinikker_bred .entry-content h2 { color: var(--cdg-navy); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; font-size: clamp(28px,2.3vw,40px); text-shadow: none; }
.klinikker-template-template-klinikker_bred .entry-content p { color: var(--cdg-text); font-size: 17px; line-height: 1.65; }
.klinikker-template-template-klinikker_bred .entry-content :is(p,li) a { color: var(--cdg-blue); text-decoration: none; font-weight: 500; }
.klinikker-template-template-klinikker_bred .entry-content :is(p,li) a:hover { text-decoration: underline; text-underline-offset: 3px; }
.klinikker-template-template-klinikker_bred .entry-content :is(.wp-block-image, figure) img { border-radius: var(--cdg-radius); }
.klinikker-template-template-klinikker_bred .entry-content .wp-block-button__link,
.klinikker-template-template-klinikker_bred .entry-content a.btn {
  border-radius: 999px !important; padding: 15px 30px !important; font-size: 16px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 6px 18px rgba(15,30,61,.10);
  transition: transform .15s ease, box-shadow .15s ease;
}
.klinikker-template-template-klinikker_bred .entry-content .wp-block-button__link { background: var(--cdg-orange) !important; color: #fff !important; }
.klinikker-template-template-klinikker_bred .entry-content a.btn { background: var(--cdg-navy) !important; color: #fff !important; }
.klinikker-template-template-klinikker_bred .entry-content :is(.wp-block-button__link, a.btn):hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15,30,61,.16); }

/* Overlinje: afsnit med klassen cdg-eyebrow – følger overskriftens justering */
.klinikker-template-template-klinikker_bred .entry-content p.cdg-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; line-height: 1.2;
  color: var(--cdg-navy); opacity: .8; margin-top: 0 !important; margin-bottom: 12px !important;
}
.klinikker-template-template-klinikker_bred .entry-content p.cdg-eyebrow:has(+ .has-text-align-center) { text-align: center; }
.klinikker-template-template-klinikker_bred .entry-content p.cdg-eyebrow + h2 { margin-top: 0 !important; }

/* ---------- 4. Komponenter (sættes via Avanceret → Ekstra CSS-klasse) ---------- */

/* cdg-split: billede + tekst med forskudt billedflade. Tilføj cdg-split--alt for spejlvendt flade */
.klinikker-template-template-klinikker_bred .entry-content .cdg-split { width: 100%; max-width: var(--cdg-width); margin: 72px auto !important; gap: 64px; align-items: center !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-split :is(h2, p) { text-align: left !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-split .wp-block-buttons { justify-content: flex-start !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-split .wp-block-button__link::after { content: "→"; font-size: 1.05em; line-height: 1; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-split :is(.wp-block-image, figure) img { box-shadow: -20px -20px 0 0 var(--cdg-tint), var(--cdg-shadow); }
.klinikker-template-template-klinikker_bred .entry-content .cdg-split--alt :is(.wp-block-image, figure) img { box-shadow: 20px -20px 0 0 var(--cdg-tint), var(--cdg-shadow); }

/* cdg-dark: mørkeblå sektion med hvid tekst */
.klinikker-template-template-klinikker_bred .entry-content .cdg-dark { padding: var(--cdg-section) 24px !important; min-height: 0 !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-dark > .wp-block-cover__background { background-color: var(--cdg-navy) !important; opacity: 1 !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-dark h2 { color: #fff !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-dark p { color: rgba(255,255,255,.78) !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-dark p.cdg-eyebrow { color: #fff !important; opacity: .7; }

/* cdg-warm: varm råhvid sektion */
.klinikker-template-template-klinikker_bred .entry-content .cdg-warm { padding: var(--cdg-section) 24px !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-warm > .wp-block-cover__background { background-color: var(--cdg-warm) !important; opacity: 1 !important; }

/* cdg-cards: kolonner vises som hvide kort */
.klinikker-template-template-klinikker_bred .entry-content .cdg-cards .wp-block-column {
  background: #fff; border: 1px solid var(--cdg-line); border-radius: var(--cdg-radius); padding: 32px !important; box-shadow: var(--cdg-shadow-sm);
}
.klinikker-template-template-klinikker_bred .entry-content .cdg-cards :is(h2, p) { text-align: left !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cards h2 { font-size: clamp(22px,1.6vw,28px); }

/* cdg-checklist: liste med tjek-ikoner */
.klinikker-template-template-klinikker_bred .entry-content ul.cdg-checklist { list-style: none; padding-left: 0 !important; margin-top: 20px; }
.klinikker-template-template-klinikker_bred .entry-content ul.cdg-checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; color: var(--cdg-body); font-size: 16px; line-height: 1.55; }
.klinikker-template-template-klinikker_bred .entry-content ul.cdg-checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background-color: var(--cdg-navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8.5 12.5 2.5 2.5 5-5.5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8.5 12.5 2.5 2.5 5-5.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* cdg-cta-box: afrundet mørkeblå boks (fx kontaktformular) */
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box { max-width: var(--cdg-width); margin: var(--cdg-section) auto !important; border-radius: var(--cdg-radius-lg); overflow: hidden; padding: 64px 48px !important; min-height: 0 !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box > .wp-block-cover__background { background: linear-gradient(135deg, var(--cdg-navy) 0%, #1C3260 100%) !important; opacity: 1 !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box h2 { color: #fff !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box p.cdg-eyebrow { color: #fff !important; opacity: .7; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box p.cdg-eyebrow:has(+ .clinic-email-form) { max-width: 770px; margin: 0 auto 12px !important; } /* flugter med formularens bredde */

/* ---------- 5. Faste elementer (genkendes automatisk, uanset placering) ---------- */
/* Anmeldelser (Trustpilot) */
.klinikker-template-template-klinikker_bred .entry-content .wp-block-cover:has(.trustpilot-widget) { padding: 56px 24px !important; }
/* Galleri */
.klinikker-template-template-klinikker_bred .entry-content .wp-block-cover:has(.mySwiper) { padding: var(--cdg-section) 24px !important; }
.klinikker-template-template-klinikker_bred .entry-content .mySwiper.swiper,
.klinikker-template-template-klinikker_bred .entry-content .wp-block-cover:has(.mySwiper) .swiper { border-radius: var(--cdg-radius); overflow: hidden !important; box-shadow: var(--cdg-shadow); }
/* Kort og klinikinfo */
.klinikker-template-template-klinikker_bred .entry-content .wp-block-column:has(> .clinic_info_shortcode),
.klinikker-template-template-klinikker_bred .entry-content .wp-block-column:has(.clinic_info_shortcode):not(:has(.clinic-map-app)) {
  background: #fff; border: 1px solid var(--cdg-line); border-radius: var(--cdg-radius); padding: 28px 32px !important; box-shadow: var(--cdg-shadow-sm);
}
.klinikker-template-template-klinikker_bred .entry-content .clinic_info_shortcode a { text-decoration: none; }
.klinikker-template-template-klinikker_bred .entry-content .clinic-map-app { border-radius: var(--cdg-radius); overflow: hidden; box-shadow: 0 8px 24px rgba(15,30,61,.08); }
/* Kontaktformular */
.klinikker-template-template-klinikker_bred .entry-content .clinic-email-form { background: transparent !important; }
.klinikker-template-template-klinikker_bred .entry-content .clinic-email-form :is(input[type=text],input[type=email],input[type=tel],textarea) { border-radius: 10px !important; border: 1px solid rgba(255,255,255,.18) !important; padding: 12px 14px !important; font-size: 15px !important; }
.klinikker-template-template-klinikker_bred .entry-content .clinic-email-form :is(input[type=submit],button[type=submit],.gform_button) { border-radius: 999px !important; padding: 14px 30px !important; font-weight: 600 !important; background: var(--cdg-orange) !important; border: 0 !important; color: #fff !important; }
/* Prisliste */
.klinikker-template-template-klinikker_bred .entry-content .wp-block-cover:has(.clinic_pricelist) { padding: var(--cdg-section) 24px !important; }
.klinikker-template-template-klinikker_bred .entry-content .wp-block-cover:has(.clinic_pricelist) .wp-block-heading ~ p:not(.cdg-eyebrow) { max-width: 760px; margin-left: auto !important; margin-right: auto !important; text-align: center; }
.klinikker-template-template-klinikker_bred .entry-content .clinic_pricelist_wrapper h2 { font-size: clamp(22px,1.6vw,28px); margin-top: 28px; }
.klinikker-template-template-klinikker_bred .entry-content table.clinic_pricelist { border-collapse: separate !important; border-spacing: 0; border: 1px solid var(--cdg-line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--cdg-shadow-sm); }
.klinikker-template-template-klinikker_bred .entry-content table.clinic_pricelist th { background: var(--cdg-navy) !important; color: #fff !important; padding: 14px 18px !important; font-weight: 600; border: 0 !important; }
.klinikker-template-template-klinikker_bred .entry-content table.clinic_pricelist td { padding: 13px 18px !important; border: 0 !important; border-top: 1px solid var(--cdg-line) !important; color: var(--cdg-body); }
.klinikker-template-template-klinikker_bred .entry-content table.clinic_pricelist :is(td, th):last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.klinikker-template-template-klinikker_bred .entry-content table.clinic_pricelist tr:nth-child(even) td { background: #FAFBFC; }

/* ---------- 6. Mobil ---------- */
@media (max-width: 767px) {
  /* Hero: billede som felt øverst, tekst under (billedet hentes fra sidens eget mobilbillede) */
  .klinikker-template-template-klinikker_bred .clinic-header { height: auto !important; overflow: visible !important; background: var(--cdg-hero-bg); padding-top: 70px; }
  .klinikker-template-template-klinikker_bred .clinic-header__bg { position: relative !important; inset: auto !important; height: 230px !important; }
  .klinikker-template-template-klinikker_bred .clinic-header__bg :is(picture, img) { display: block; width: 100%; height: 100% !important; }
  .klinikker-template-template-klinikker_bred .clinic-header__bg img { object-fit: cover; object-position: 75% center; }
  .klinikker-template-template-klinikker_bred .clinic-header :is(.container, .row, .col-md-12) { height: auto !important; }
  .klinikker-template-template-klinikker_bred .clinic-header__content { min-height: 0 !important; padding: 26px 0 30px !important; }
  .klinikker-template-template-klinikker_bred .clinic-header__left { max-width: 100%; }
  .klinikker-template-template-klinikker_bred .clinic-header__left::before { font-size: 11px; letter-spacing: .22em; margin-bottom: 10px; }
  .klinikker-template-template-klinikker_bred .clinic-header__left h1.entry-title { font-size: 30px !important; line-height: 1.12; margin-bottom: 12px; }
  .klinikker-template-template-klinikker_bred .clinic-header__intro { font-size: 15px !important; margin-bottom: 22px; }
  .klinikker-template-template-klinikker_bred .clinic-header__btns { width: 100%; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .klinikker-template-template-klinikker_bred .clinic-header__btns a.btn { justify-content: center; width: 100%; padding: 15px 24px !important; font-size: 17px; }
  .klinikker-template-template-klinikker_bred .clinic-header ul.clinic_features { width: 100% !important; }
  .klinikker-template-template-klinikker_bred .clinic-header ul.clinic_features li:nth-child(-n+3) { flex-direction: column; text-align: center; flex: 1 1 0; max-width: none; font-size: 12px; gap: 8px; padding: 2px 8px !important; }
  .klinikker-template-template-klinikker_bred .clinic-header ul.clinic_features li::before { width: 26px; height: 26px; }

  .klinikker-template-template-klinikker_bred { --cdg-section: 56px; }
  .klinikker-template-template-klinikker_bred .entry-content p { font-size: 16px; }
  .klinikker-template-template-klinikker_bred .entry-content .cdg-split { margin: 56px auto !important; gap: 28px; padding: 0 20px !important; }
  .klinikker-template-template-klinikker_bred .entry-content :is(.cdg-dark, .cdg-warm) { padding: var(--cdg-section) 16px !important; }
  .klinikker-template-template-klinikker_bred .entry-content .wp-block-cover:is(:has(.mySwiper), :has(.clinic_pricelist)) { padding: var(--cdg-section) 16px !important; }
  .klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box { margin: 56px 12px !important; padding: 40px 20px !important; border-radius: 20px; }
  .klinikker-template-template-klinikker_bred .entry-content .cdg-cards .wp-block-column { padding: 24px !important; }
  .klinikker-template-template-klinikker_bred .entry-content :is(.wp-block-image, figure) img { box-shadow: 0 12px 28px rgba(15,30,61,.12) !important; }
}

/* ---------- 7. Tilføjelser: brødkrummer, løs tekst og flere komponenter ---------- */
/* Brødkrummer skjules (struktureret brødkrumme-data til Google ligger separat og bevares) */
.klinikker-template-template-klinikker_bred .klinikk_crumbs_wrapper { display: none !important; }

/* Løse tekstblokke direkte på siden holdes inden for en læsbar bredde */
.klinikker-template-template-klinikker_bred .entry-content > :is(h2, h3, p, ul, ol, .wp-block-buttons) { width: 100%; max-width: var(--cdg-width); margin-left: auto !important; margin-right: auto !important; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.klinikker-template-template-klinikker_bred .entry-content h3 { color: var(--cdg-navy); font-weight: 700; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 8px; }

/* cdg-section: sektion med indhold centreret i fast bredde. Kombinér med cdg-warm eller cdg-dark */
.klinikker-template-template-klinikker_bred .entry-content .cdg-section { padding: var(--cdg-section) 24px !important; margin-top: 0 !important; margin-bottom: 0 !important; width: 100%; align-self: stretch; box-sizing: border-box; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section > * { max-width: var(--cdg-width); margin-left: auto !important; margin-right: auto !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section > :is(h2, .cdg-eyebrow) + p:not(.cdg-eyebrow) { max-width: 720px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section > .wp-block-columns { margin-top: 40px !important; gap: 24px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-warm:not(.wp-block-cover) { background: var(--cdg-warm); }
.klinikker-template-template-klinikker_bred .entry-content .cdg-dark:not(.wp-block-cover) { background: var(--cdg-navy); }
.klinikker-template-template-klinikker_bred .entry-content .cdg-dark :is(h3, li) { color: #fff; }

/* cdg-steps: nummererede trin (fx "Sådan bliver du patient") */
.klinikker-template-template-klinikker_bred .entry-content .cdg-steps .wp-block-columns { counter-reset: cdg-step; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-steps .wp-block-column { counter-increment: cdg-step; text-align: center; position: relative; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-steps .wp-block-column::before {
  content: counter(cdg-step, decimal-leading-zero); display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; border: 1.5px solid var(--cdg-divider);
  font-size: 20px; font-weight: 700; color: var(--cdg-navy); background: #fff;
}
.klinikker-template-template-klinikker_bred .entry-content .cdg-dark.cdg-steps .wp-block-column::before { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.klinikker-template-template-klinikker_bred .entry-content .cdg-steps .wp-block-column p { font-size: 15px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-steps > .wp-block-buttons { justify-content: center; margin-top: 36px !important; }

/* cdg-features: fordele som kort med ikon */
.klinikker-template-template-klinikker_bred .entry-content .cdg-features .wp-block-column {
  background: #fff; border: 1px solid var(--cdg-line); border-radius: var(--cdg-radius); padding: 28px 26px !important; box-shadow: var(--cdg-shadow-sm);
}
.klinikker-template-template-klinikker_bred .entry-content .cdg-features .wp-block-column::before {
  content: ""; display: block; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px;
  background: var(--cdg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1E3D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.klinikker-template-template-klinikker_bred .entry-content .cdg-features .wp-block-column p { font-size: 15px; margin: 0; }

/* cdg-stats: store tal */
.klinikker-template-template-klinikker_bred .entry-content .cdg-stats .wp-block-column { text-align: center; padding: 8px 12px !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-stats .wp-block-column + .wp-block-column { border-left: 1px solid var(--cdg-line); }
.klinikker-template-template-klinikker_bred .entry-content .cdg-stats .wp-block-column > p:first-child { font-size: clamp(36px, 3.4vw, 52px); font-weight: 800; color: var(--cdg-navy) !important; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 8px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-stats .wp-block-column > p:last-child:not(:first-child) { font-size: 15px; margin: 0; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-dark.cdg-stats .wp-block-column > p:first-child { color: #fff !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-dark.cdg-stats .wp-block-column + .wp-block-column { border-left-color: rgba(255,255,255,.2); }

/* cdg-faq: spørgsmål og svar (Detaljer-blokke) */
.klinikker-template-template-klinikker_bred .entry-content .cdg-faq > .wp-block-details { max-width: 860px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-faq .wp-block-details {
  background: #fff; border: 1px solid var(--cdg-line); border-radius: 14px; padding: 0 !important; margin-top: 12px !important; box-shadow: var(--cdg-shadow-sm);
}
.klinikker-template-template-klinikker_bred .entry-content .cdg-faq .wp-block-details summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 17px; color: var(--cdg-navy); position: relative;
}
.klinikker-template-template-klinikker_bred .entry-content .cdg-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-faq .wp-block-details summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--cdg-navy); transition: transform .2s ease;
}
.klinikker-template-template-klinikker_bred .entry-content .cdg-faq .wp-block-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.klinikker-template-template-klinikker_bred .entry-content .cdg-faq .wp-block-details > :not(summary) { padding: 0 24px; margin: 0 0 18px !important; font-size: 16px; }

/* cdg-cta-band: afrundet mørk CTA-boks med knapper. Sekundær knap: stilen "Kontur" */
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-band {
  width: 100%; max-width: var(--cdg-width); margin: var(--cdg-section) auto !important; border-radius: var(--cdg-radius-lg); padding: 64px 56px !important; box-sizing: border-box;
  background: linear-gradient(135deg, var(--cdg-navy) 0%, #1C3260 100%); text-align: center;
}
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-band h2 { color: #fff !important; margin-top: 0; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-band p { color: rgba(255,255,255,.78) !important; max-width: 640px; margin-left: auto !important; margin-right: auto !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-band p.cdg-eyebrow { color: #fff !important; opacity: .7; text-align: center; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-band .wp-block-buttons { justify-content: center; gap: 14px; margin-top: 28px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-band .is-style-outline .wp-block-button__link { background: transparent !important; border: 1.5px solid rgba(255,255,255,.6) !important; color: #fff !important; box-shadow: none; }

/* cdg-team: medarbejderkort */
.klinikker-template-template-klinikker_bred .entry-content .cdg-team .wp-block-column { background: #fff; border: 1px solid var(--cdg-line); border-radius: var(--cdg-radius); padding: 14px 14px 22px !important; box-shadow: var(--cdg-shadow-sm); text-align: center; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-team .wp-block-image { margin: 0 0 16px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-team .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; box-shadow: none !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-team h3 { margin-bottom: 4px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-team .wp-block-column p { font-size: 15px; margin: 0; }

/* cdg-quote: fremhævet anmeldelse */
.klinikker-template-template-klinikker_bred .entry-content .cdg-quote { width: 100%; max-width: 900px; margin: var(--cdg-section) auto !important; text-align: center; padding: 0 24px; box-sizing: border-box; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-quote p.cdg-stars { color: #00B67A !important; font-size: 22px; letter-spacing: .12em; margin: 0 0 18px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-quote p.cdg-quote-text { font-size: clamp(20px, 2vw, 28px); line-height: 1.45; color: var(--cdg-navy) !important; font-weight: 500; margin: 0 0 18px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-quote p.cdg-quote-name { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cdg-text) !important; }

/* cdg-treatments: behandlinger som klikbare kort */
.klinikker-template-template-klinikker_bred .entry-content .cdg-treatments > .wp-block-columns + .wp-block-columns { margin-top: 24px !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-treatments .wp-block-column {
  background: #fff; border: 1px solid var(--cdg-line); border-radius: var(--cdg-radius); padding: 28px 26px !important; box-shadow: var(--cdg-shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease; display: flex; flex-direction: column;
}
.klinikker-template-template-klinikker_bred .entry-content .cdg-treatments .wp-block-column:hover { transform: translateY(-3px); box-shadow: var(--cdg-shadow); }
.klinikker-template-template-klinikker_bred .entry-content .cdg-treatments .wp-block-column p { font-size: 15px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-treatments .wp-block-column p:last-child { margin: auto 0 0; padding-top: 8px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-treatments .wp-block-column p:last-child a { font-weight: 600; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-treatments .wp-block-column p:last-child a::after { content: " →"; }

/* cdg-notice: infoboks med farvet kant */
.klinikker-template-template-klinikker_bred .entry-content .cdg-notice {
  width: 100%; max-width: 860px; margin: 48px auto !important; padding: 24px 28px !important; box-sizing: border-box;
  background: var(--cdg-warm); border-left: 4px solid var(--cdg-orange); border-radius: 12px;
}
.klinikker-template-template-klinikker_bred .entry-content .cdg-notice h3 { margin-bottom: 6px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-notice p { margin: 0; font-size: 16px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-notice .wp-block-buttons { margin-top: 14px; }

@media (max-width: 767px) {
  .klinikker-template-template-klinikker_bred .entry-content > :is(h2, h3, p, ul, ol, .wp-block-buttons) { padding-left: 16px; padding-right: 16px; }
  .klinikker-template-template-klinikker_bred .entry-content .cdg-section { padding: var(--cdg-section) 16px !important; }
  .klinikker-template-template-klinikker_bred .entry-content .cdg-section > .wp-block-columns { margin-top: 24px !important; gap: 14px; }
  .klinikker-template-template-klinikker_bred .entry-content .cdg-stats .wp-block-column + .wp-block-column { border-left: 0; border-top: 1px solid var(--cdg-line); padding-top: 20px !important; }
  .klinikker-template-template-klinikker_bred .entry-content .cdg-cta-band { width: calc(100% - 24px); margin: 56px 12px !important; padding: 40px 22px !important; border-radius: 20px; }
  .klinikker-template-template-klinikker_bred .entry-content .cdg-cta-band .wp-block-button { width: 100%; }
  .klinikker-template-template-klinikker_bred .entry-content .cdg-cta-band .wp-block-button__link { width: 100%; justify-content: center; }
  .klinikker-template-template-klinikker_bred .entry-content .cdg-notice { width: calc(100% - 32px); margin: 32px 16px !important; }
}

/* ---------- 8. Rettelser: klassisk tema + kort/åbningstider + kontakt/priser som blokke ---------- */
/* Klassisk tema: WordPress pakker sektionsblokkens indhold i .wp-block-group__inner-container */
.klinikker-template-template-klinikker_bred .entry-content .cdg-section > .wp-block-group__inner-container > :is(h2, .cdg-eyebrow) + p:not(.cdg-eyebrow) { max-width: 720px; margin-left: auto !important; margin-right: auto !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section > .wp-block-group__inner-container > .wp-block-columns { margin-top: 40px !important; margin-bottom: 0 !important; gap: 24px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-steps > .wp-block-group__inner-container > .wp-block-buttons { justify-content: center; margin-top: 36px !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-faq > .wp-block-group__inner-container > .wp-block-details { max-width: 860px; margin-left: auto !important; margin-right: auto !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-treatments .wp-block-columns + .wp-block-columns { margin-top: 24px !important; }
.klinikker-template-template-klinikker_bred .entry-content :is(.cdg-section, .cdg-cta-band, .cdg-cta-box) h2 + p { margin-top: 12px !important; }
.klinikker-template-template-klinikker_bred .entry-content :is(.cdg-section, .cdg-cta-band) h2 { margin-bottom: 0; }

/* Kort og åbningstider: de to kort flugter i top og bund */
.klinikker-template-template-klinikker_bred .entry-content .wp-block-columns:has(.clinic-map-app) { align-items: stretch !important; }
.klinikker-template-template-klinikker_bred .entry-content .wp-block-column:has(> .clinic-map-app) { display: flex; flex-direction: column; }
.klinikker-template-template-klinikker_bred .entry-content .wp-block-column > .clinic-map-app { margin: 0 !important; flex: 1 1 auto; }

/* Kontaktformular som blok (sektionsblok med cdg-cta-box) */
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box { width: 100%; box-sizing: border-box; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box:not(.wp-block-cover) { background: linear-gradient(135deg, var(--cdg-navy) 0%, #1C3260 100%); }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box :is(label, legend, .gfield_label, .gfield_consent_label, .gform_title, .gform_required_legend) { color: #fff !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .gfield_consent_label a { color: #9CC3F0 !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box :is(input[type=text], input[type=email], input[type=tel], textarea, select) { background: #fff !important; color: #1F2937 !important; }

/* Prisliste som blok (sektionsblok med [pricelist]) */
.klinikker-template-template-klinikker_bred .entry-content .cdg-section .clinic_pricelist_wrapper { max-width: var(--cdg-width); margin: 36px auto 0 !important; }

/* ---------- 9. Knapvariant: mørkeblå knap (klassen cdg-btn-navy på knappen) ---------- */
.klinikker-template-template-klinikker_bred .entry-content .cdg-btn-navy .wp-block-button__link { background: var(--cdg-navy) !important; color: #fff !important; }


/* ---------- Formular (vælg selv): samme udtryk som kontaktformularen, valgfri Gravity Form ---------- */
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-head { max-width: 770px; margin-left: auto !important; margin-right: auto !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box p.cdg-form-head:not(.cdg-eyebrow) { color: rgba(255,255,255,.85) !important; margin-bottom: 8px !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box p.cdg-eyebrow.cdg-form-head { margin-bottom: 12px !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri { max-width: 800px; margin: 24px auto 0 !important; padding: 0 15px !important; background: transparent !important; color: #fff; box-sizing: border-box; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri .gform_wrapper { max-width: none; margin: 0 !important; padding: 0 !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri :is(.gform_required_legend, .recaptcha-disclaimer) { display: none !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri .gfield_required { color: #ccc !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri :is(.gfield_description, .gsection_description, .gf_progressbar_title, .gform_confirmation_message, .gfield_html, .ginput_complex label, .gform-field-label--type-sub) { color: rgba(255,255,255,.85) !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri .gform_confirmation_message { color: #fff !important; font-size: 18px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri .gsection { border-bottom-color: rgba(255,255,255,.25) !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri .gsection_title { color: #fff !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri a { color: #9CC3F0 !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri :is(input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url], input[type=date], input[type=password], textarea, select) { background: #fff !important; color: #1F2937 !important; border-radius: 10px !important; border: 1px solid rgba(255,255,255,.18) !important; padding: 12px 14px !important; font-size: 15px !important; min-height: 0; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri select { line-height: 1.3 !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri .gchoice { display: flex; align-items: center; gap: 8px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri .gchoice :is(input[type=radio], input[type=checkbox]) { accent-color: var(--cdg-orange); margin: 0 !important; flex: 0 0 auto; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri .gchoice label { color: #fff !important; margin: 0 !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri :is(input[type=submit], button[type=submit], .gform_button, .gform_next_button, .gform_previous_button) { border-radius: 999px !important; padding: 14px 30px !important; font-weight: 600 !important; background: var(--cdg-orange) !important; border: 0 !important; color: #fff !important; cursor: pointer; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri .gform_previous_button { background: transparent !important; border: 1px solid rgba(255,255,255,.5) !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri .gf_progressbar { background: rgba(255,255,255,.15) !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri .gf_progressbar_percentage { background: var(--cdg-orange) !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri .gform_validation_errors { background: #fff !important; border-radius: 10px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri .gfield_error :is(.gfield_label, legend) { color: #fff !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-cta-box .cdg-form-valgfri .validation_message { color: #FFB4B4 !important; background: transparent !important; border: 0 !important; padding: 4px 0 0 !important; }


/* ---------- Find vej (Kort og åbningstider): kort til venstre, info-boks til højre ---------- */
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) > .wp-block-group__inner-container > h2 { text-align: center; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .wp-block-columns { display: grid !important; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px !important; align-items: stretch !important; max-width: var(--cdg-width); margin-left: auto !important; margin-right: auto !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .wp-block-columns > .wp-block-column { flex-basis: auto !important; width: auto !important; min-width: 0; margin: 0 !important; }
@media (max-width: 781px) { .klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .wp-block-columns { grid-template-columns: 1fr; gap: 20px !important; } }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic-map-app { padding: 0 !important; background: #E3E2DE !important; box-shadow: none !important; border-radius: 12px !important; overflow: hidden; min-height: 420px; display: flex !important; flex-direction: column; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic-map-app__layout { display: flex !important; flex: 1 1 auto; height: auto !important; padding: 0 !important; margin: 0 !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic-map-app__content { display: none !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic-map-app__map-column { flex: 1 1 auto !important; width: 100% !important; max-width: none !important; height: auto !important; padding: 0 !important; margin: 0 !important; display: flex; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic-map-app__map { flex: 1 1 auto; width: 100% !important; height: auto !important; min-height: 420px; border-radius: 0 !important; margin: 0 !important; }
@media (max-width: 781px) { .klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic-map-app, .klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic-map-app__map { min-height: 300px; } }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .wp-block-column:has(> .clinic_info_shortcode) { background: #F5F8FC !important; border: 0 !important; box-shadow: none !important; border-radius: 12px !important; padding: 28px 24px !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li { display: none !important; background-image: none !important; padding: 0 !important; margin: 0 !important; list-style: none !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li:has(.time_item) { display: block !important; order: 1; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li:has(.time_item) ~ li:has(.time_item) { order: 2; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li:has(> a[href*="google."]) { display: block !important; order: 3; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li:has(> a[href^="mailto:"]) { display: block !important; order: 4; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li:has(.time_item) ~ li:has(.time_item), .klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li:has(> a[href*="google."]), .klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li:has(> a[href^="mailto:"]) { border-top: 1px solid #DCE3EC; padding-top: 24px !important; margin-top: 24px !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li:has(.time_item)::before, .klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li:has(> a[href*="google."])::before, .klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li:has(> a[href^="mailto:"])::before { display: block; font-size: 17px; font-weight: 500; line-height: 1.3; color: var(--cdg-navy); margin-bottom: 12px; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li:has(.time_item)::before { content: "Åbningstider"; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li:has(.time_item) ~ li:has(.time_item)::before { content: "Telefontider"; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li:has(> a[href*="google."])::before { content: "Adresse"; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li:has(> a[href^="mailto:"])::before { content: "Kontakt"; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li .time_item { display: flex !important; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: 15px; line-height: 1.4; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li .time_item span { font-weight: 400 !important; color: #6B7280 !important; width: auto !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li .time_item span:last-child { text-align: right; white-space: nowrap; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li > a { color: #6B7280 !important; font-size: 15px; text-decoration: none !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-section:has(.clinic-map-app):has(.clinic_info_shortcode) .clinic_info_shortcode ul.icon_list > li > a:hover { color: var(--cdg-navy) !important; text-decoration: underline !important; }


/* ---------- Klinik – Video: stor video, starter uden lyd når man ruller ned til den ---------- */
.klinikker-template-template-klinikker_bred .entry-content .cdg-video-section .cdg-video-intro { max-width: 680px; margin-left: auto !important; margin-right: auto !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-video-section .cdg-video { max-width: var(--cdg-width); width: 100%; margin: 32px auto 0 !important; }
.klinikker-template-template-klinikker_bred .entry-content .cdg-video-section .cdg-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--cdg-radius); box-shadow: var(--cdg-shadow); background: var(--cdg-navy); }
.klinikker-template-template-klinikker_bred .entry-content .cdg-video-section .cdg-video figcaption { text-align: center; font-size: 14px; color: var(--cdg-text); margin-top: 12px; }
@media (max-width: 600px) { .klinikker-template-template-klinikker_bred .entry-content .cdg-video-section .cdg-video { margin-top: 24px !important; } .klinikker-template-template-klinikker_bred .entry-content .cdg-video-section .cdg-video video { border-radius: 12px; } }


.klinikker-template-template-klinikker_bred .wp-block-cover {
    margin: 0px 0; 
}