/* AP polish 2026 – samme farver: blå #3f687e, guld #C09780, lys #FFFCFC / #FBF4F4 */
:root {
  --ap-blue: #3f687e;
  --ap-blue-dark: #2f5163;
  --ap-gold: #C09780;
  --ap-ink: #2f3a40;
  --ap-soft: #FBF4F4;
  --ap-radius: 18px;
  --ap-gold-text: #8a604a;
  --ap-muted: #56646c;
}

/* Brødtekst */
body.breakdance { color: var(--ap-ink); -webkit-font-smoothing: antialiased; }
.breakdance .bde-text, .breakdance .bde-rich-text { line-height: 1.7; }

/* Overskrifter */
.breakdance h1 { letter-spacing: -0.01em; line-height: 1.2; font-weight: 600; }
.breakdance h2 { letter-spacing: -0.01em; line-height: 1.25; }
.breakdance .bde-section h2.bde-heading { font-size: 34px; }

/* Knapper: hvid tekst på blå, guld ved hover */
.breakdance .button-atom--primary { color: #ffffff; font-weight: 600; letter-spacing: 0.01em; box-shadow: 0 6px 18px rgba(63,104,126,0.18); transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.breakdance .button-atom--primary:hover, .breakdance .button-atom--primary:focus-visible { background-color: var(--ap-blue-dark); color: #ffffff; box-shadow: 0 8px 22px rgba(63,104,126,0.28); }
.breakdance .button-atom--custom { font-weight: 600; transition: background-color .2s ease, color .2s ease; }
.breakdance .button-atom--custom:hover { background-color: rgba(255,255,255,0.14); color: #ffffff; }

/* Hero: lidt dybere overlay og luft */
.breakdance .bde-section-2-100 h1, .breakdance .bde-section-90-100 h1 { text-shadow: 0 2px 18px rgba(0,0,0,0.25); }

/* Billeder i indhold: bløde hjørner */
.breakdance .bde-section:not(.bde-section-31-108) .bde-image img { border-radius: var(--ap-radius); }

/* Undersider: læsevenlig tekstkolonne */
.breakdance .bde-section:not(.bde-section-31-108) .bde-rich-text { max-width: 760px; margin-left: auto; margin-right: auto; font-size: 17px; line-height: 1.8; }
.breakdance .bde-section:not(.bde-section-31-108) .bde-rich-text p { margin: 0 0 1.1em; }
.breakdance .bde-section:not(.bde-section-31-108) .bde-rich-text h2 { font-size: 28px; color: var(--ap-blue); margin: 2em 0 0.6em; }
.breakdance .bde-section:not(.bde-section-31-108) .bde-rich-text h3 { color: var(--ap-blue); margin: 1.6em 0 0.5em; }
.breakdance .bde-section:not(.bde-section-31-108) .bde-rich-text h2 a, .breakdance .bde-section:not(.bde-section-31-108) .bde-rich-text h3 a { color: var(--ap-blue); text-decoration: none; }
.breakdance .bde-section:not(.bde-section-31-108) .bde-rich-text h2 a:hover, .breakdance .bde-section:not(.bde-section-31-108) .bde-rich-text h3 a:hover { color: var(--ap-gold-text); }
.breakdance .bde-section:not(.bde-section-31-108) .bde-rich-text p a { color: var(--ap-blue); text-decoration: underline; text-decoration-color: var(--ap-gold); text-underline-offset: 3px; }
.breakdance .bde-section:not(.bde-section-31-108) .bde-rich-text p a:hover { color: var(--ap-gold-text); }
.breakdance .bde-section:not(.bde-section-31-108) .bde-rich-text ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.breakdance .bde-section:not(.bde-section-31-108) .bde-rich-text li { margin-bottom: 0.4em; }

/* Blogkort */
.breakdance .ee-posts-grid .ee-post { background: #ffffff; border-radius: var(--ap-radius); padding: 0; overflow: hidden; box-shadow: 0 10px 30px rgba(63,104,126,0.08); display: flex; flex-direction: column; transition: box-shadow .2s ease; }
.breakdance .ee-posts-grid .ee-post:hover { box-shadow: 0 16px 40px rgba(63,104,126,0.14); }
.breakdance .ee-posts-grid .ee-post .ee-post-image-link { display: block; margin: 0; }
.breakdance .ee-posts-grid .ee-post .ee-post-image { margin: 0; border-radius: 0; padding-bottom: 62.5%; overflow: hidden; }
.breakdance .ee-posts-grid .ee-post .ee-post-image img { border-radius: 0; transition: transform .4s ease; }
.breakdance .ee-posts-grid .ee-post:hover .ee-post-image img { transform: scale(1.03); }
.breakdance .ee-posts-grid .ee-post .ee-post-wrap { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.breakdance .ee-posts-grid .ee-post .ee-post-content { flex: 1; }
.breakdance .ee-posts-grid .ee-post-title { color: var(--ap-blue); line-height: 1.35; }
.breakdance .ee-posts-grid .ee-post-title-link { color: var(--ap-blue); }
.breakdance .ee-posts-grid .ee-post-title-link:hover { color: var(--ap-gold-text); }
.breakdance .ee-posts-grid .ee-post-content { color: var(--ap-ink); line-height: 1.65; }
.breakdance .ee-posts-grid .ee-post a.ee-post-button { background: transparent; box-shadow: none; padding: 0; margin-top: 14px; color: var(--ap-gold-text); font-weight: 600; font-size: 15px; border: 0; }
.breakdance .ee-posts-grid .ee-post a.ee-post-button:hover { background: transparent; color: var(--ap-blue); box-shadow: none; }
.breakdance .ee-posts-grid .ee-post-meta { color: var(--ap-muted); font-size: 13px; }

/* Header */
.breakdance .bde-header-builder { box-shadow: 0 1px 0 rgba(63,104,126,0.08); }
.breakdance .bde-header-builder .breakdance-menu-link { font-weight: 500; }

/* Footer */
.breakdance .bde-section-31-108 { border-top: 1px solid rgba(63,104,126,0.12); }
.breakdance .bde-section-31-108 h3 { font-size: 16px; text-transform: none; letter-spacing: 0.02em; margin-bottom: 14px; }
.breakdance .bde-section-31-108 .bde-rich-text a { color: var(--ap-ink); text-decoration: none; }
.breakdance .bde-section-31-108 .bde-rich-text a:hover { color: var(--ap-gold-text); }
.breakdance .bde-section-31-108 .bde-rich-text p { line-height: 2; }

/* Kontaktformular */
.breakdance .bde-form-builder { border-radius: var(--ap-radius); overflow: hidden; }
.breakdance .breakdance-form .breakdance-form-field__input { border-radius: 10px; border: 1px solid rgba(63,104,126,0.18); }
.breakdance .breakdance-form .breakdance-form-field__input:focus { border-color: var(--ap-blue); box-shadow: 0 0 0 3px rgba(63,104,126,0.12); outline: none; }
.breakdance .breakdance-form .breakdance-form-button__submit { color: #ffffff; font-weight: 600; transition: background-color .2s ease; }
.breakdance .breakdance-form .breakdance-form-button__submit:hover { background-color: var(--ap-blue-dark); color: #ffffff; }

/* Indlæg og undersider: kraftigere mellemrubrikker */
.breakdance .bde-section:not(.bde-section-31-108) .bde-rich-text h2, .breakdance .bde-section:not(.bde-section-31-108) .bde-rich-text h3 { font-weight: 600; }

/* Footer: luft under logo */
.breakdance .bde-section-31-108 .bde-image { margin-bottom: 18px; }

/* Gammel Oxygen-tekst i rich text: ens afstand i stedet for dobbelte linjeskift */
.breakdance .bde-rich-text .ct-text-block { margin-bottom: 1.1em; }
.breakdance .bde-rich-text .ct-text-block > br:nth-last-child(-n+2) { display: none; }
.breakdance .ee-posts-grid { gap: 28px; }

/* Undersider med sidekolonne */
.breakdance .ap-article-main .bde-rich-text { max-width: none; margin-left: 0; margin-right: 0; }
.breakdance .ap-article-main .bde-rich-text > p:first-child, .breakdance .ap-article-main .bde-rich-text > div:first-child > p:first-child, .breakdance .ap-article-main .bde-rich-text > .ct-text-block:first-child { font-size: 19px; line-height: 1.75; color: var(--ap-blue-dark); }
.breakdance .bde-section:not(.bde-section-31-108) .bde-rich-text ul { list-style: none; padding-left: 0; }
.breakdance .bde-section:not(.bde-section-31-108) .bde-rich-text ul li { position: relative; padding-left: 26px; }
.breakdance .bde-section:not(.bde-section-31-108) .bde-rich-text ul li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background-color: var(--ap-gold); }
.breakdance .ap-article-main .bde-rich-text em { color: var(--ap-blue-dark); }
.breakdance .ap-article-aside .bde-table-of-contents__header { display: none; }
.breakdance .ap-article-aside .bde-table-of-contents__wrapper { padding: 0; background: transparent; border: 0; box-shadow: none; }
.breakdance .ap-article-aside .toc-list { list-style: none; margin: 0; padding: 0; }
.breakdance .ap-article-aside .toc-list-item { margin: 0; padding: 0; }
.breakdance .ap-article-aside .toc-link { display: block; color: var(--ap-ink); font-size: 15px; line-height: 1.45; padding: 8px 0 8px 14px; border-left: 2px solid rgba(63,104,126,0.12); text-decoration: none; }
.breakdance .ap-article-aside .toc-link::before { display: none; }
.breakdance .ap-article-aside .toc-link:hover { color: var(--ap-gold-text); }
.breakdance .ap-article-aside .is-active-link { color: var(--ap-blue); font-weight: 600; border-left-color: var(--ap-gold); }
.breakdance .ap-article-main .bde-rich-text h2 { scroll-margin-top: 130px; }

/* Tabeller i tekst */
.breakdance .bde-rich-text .ap-table-wrap { margin: 28px 0 32px; border-radius: var(--ap-radius); overflow-x: auto; background: #ffffff; box-shadow: 0 12px 34px rgba(63,104,126,0.08); }
.breakdance .bde-rich-text table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; margin: 0; min-width: 640px; }
.breakdance .bde-rich-text table thead th { background: var(--ap-blue); color: #ffffff; font-weight: 600; text-align: left; padding: 15px 14px; vertical-align: bottom; }
.breakdance .bde-rich-text table tbody th, .breakdance .bde-rich-text table tbody td { padding: 15px 14px; text-align: left; vertical-align: top; border-top: 1px solid rgba(63,104,126,0.1); color: var(--ap-ink); }
.breakdance .bde-rich-text table tbody th { color: var(--ap-blue); font-weight: 600; }
.breakdance .bde-rich-text table tbody tr:nth-child(even) { background: #FDF9F8; }
.breakdance .bde-rich-text table p { margin: 0; }
@media (max-width: 767px) {
  .breakdance .bde-rich-text .ap-table-wrap { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  .breakdance .bde-rich-text .ap-table thead { display: none; }
  .breakdance .bde-rich-text .ap-table { min-width: 0; }
  .breakdance .bde-rich-text .ap-table, .breakdance .bde-rich-text .ap-table tbody, .breakdance .bde-rich-text .ap-table tr, .breakdance .bde-rich-text .ap-table th, .breakdance .bde-rich-text .ap-table td { display: block; width: 100%; }
  .breakdance .bde-rich-text .ap-table tbody tr { background: #ffffff; border-radius: 16px; box-shadow: 0 8px 24px rgba(63,104,126,0.08); margin: 0 0 14px; padding: 6px 0; overflow: hidden; }
  .breakdance .bde-rich-text .ap-table tbody tr:nth-child(even) { background: #ffffff; }
  .breakdance .bde-rich-text .ap-table tbody th { white-space: normal; font-size: 17px; border-top: 0; padding: 14px 18px 6px; }
  .breakdance .bde-rich-text .ap-table tbody td { border-top: 0; padding: 6px 18px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; }
  .breakdance .bde-rich-text .ap-table tbody td::before { content: attr(data-label); color: #6b7a82; font-size: 13px; font-weight: 600; }
  .breakdance .bde-rich-text .ap-table tbody td:last-child { padding-bottom: 14px; }
}


/* Kontrast: ingen guld/lyserød tekst på mørk baggrund, mørkere guld som tekst på lys */
.breakdance .ap-legal-hero-sub { color: rgba(255,255,255,0.88); text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.breakdance .bde-section .bde-post-meta, .breakdance .bde-section .bde-post-meta a, .breakdance .ee-postmeta-author, .breakdance .ee-postmeta-date { color: rgba(255,255,255,0.92); }
.breakdance .bde-section .bde-post-meta svg { fill: rgba(255,255,255,0.75); color: rgba(255,255,255,0.75); }
.breakdance .ap-aside-cta-btn { background-color: #ffffff; color: var(--ap-blue); }
.breakdance .ap-aside-cta-btn:hover { background-color: #F6E9E4; color: var(--ap-blue-dark); }
.breakdance .ap-aside-cta-tel:hover { color: #F6E9E4; }
.breakdance .ap-btn:hover, .breakdance .ap-cta-btn:hover, .breakdance .ap-404-btn:hover { background-color: var(--ap-blue-dark); color: #ffffff; }
.breakdance .ap-btn-ghost:hover, .breakdance .ap-404-btn-alt:hover { border-color: var(--ap-blue); color: var(--ap-blue-dark); }
.breakdance .ap-about-role, .breakdance .ap-timeline-year { color: var(--ap-gold-text); }
.breakdance .ap-cta-link:hover, .breakdance .ap-about-area-link:hover, .breakdance .ap-about-link:hover, .breakdance .ap-p-link:hover { color: var(--ap-gold-text); }
.breakdance .ap-cta-role, .breakdance .ap-cta-card-sub, .breakdance .ap-price-unit, .breakdance .ap-price-note, .breakdance .ap-about-ext-desc { color: var(--ap-muted); }
.breakdance .bde-section .bde-post-meta .ee-postmeta-icon svg, .breakdance .bde-section .bde-post-meta .ee-postmeta-icon svg path { fill: rgba(255,255,255,0.8); }
