@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');


:root {
  --white-color: #ffffff;
  --primary-color: #F6A313; /*MAIN CD COLOR*/
  --secondary-color: #F07C0E;/*MAIN CD COLOR*/
  --section-bg-color: #F9F0E1;
  --navbar-bg-color: #E7490C;/*MAIN CD COLOR*/
  --p-color: #1E1E1E;
  --dark-color: #1E1E1E;
  --highlight-icon-color: #D7260D;/*MAIN CD COLOR*/
  --green: #0DD78A; /*NOT FOR CD, ONLY USE IN CHARTS WHEN GREEN IS NEEDED*/
  --blue: #0D5AD7;/*NOT FOR CD, ONLY USE IN CHARTS WHEN BLUE IS NEEDED*/

  --gradient-dark: radial-gradient(ellipse 100% 200% at 0% 108%,
    #F6A313 10%, #F07C0E 35%, #E74A0C 50%,
    rgba(215, 38, 13, 0.9) 65%, rgba(215, 38, 13, 0.65) 80%,
    rgba(215, 38, 13, 0.35) 90%, rgba(215, 38, 13, 0.10) 95%,
    rgba(215, 38, 13, 0) 100%);
  --gradient-bright: radial-gradient(ellipse 100% 75% at -8% 108%,
    #F6A313 10%, #F07C0E 25%, #E74A0C 35%,
    rgba(215, 38, 13, 0.9) 50%, rgba(215, 38, 13, 0.65) 60%,
    rgba(215, 38, 13, 0.35) 80%, rgba(215, 38, 13, 0.10) 90%,
    rgba(215, 38, 13, 0) 100%);

  --img-shadow: drop-shadow(0 1rem 3rem rgba(0, 0, 0, 0.25));

  --body-font-family: 'DM Sans', sans-serif;
  --navbar-height: 80px;
  --page-intent: 60px;
}

.btn-doc {
  display: inline-block;
  background-color: var(--highlight-icon-color);
  color: var(--white-color) !important;
  text-decoration: none !important;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.85em;
  margin: 4px 4px 4px 0;
  transition: opacity 0.15s;
}
.btn-doc:hover {
  opacity: 0.85;
  color: var(--white-color) !important;
  text-decoration: none !important;
}

.btn-datenschutz {
  display: inline-block;
  color: var(--p-color) !important;
  text-decoration: none !important;
  font-size: 0.78em;
  opacity: 0.5;
  margin: 12px 0 20px 0;
  transition: opacity 0.15s;
}
.btn-datenschutz:hover {
  opacity: 0.85;
  text-decoration: underline !important;
}

.title-section h1 {
  font-size: 44px;
  font-size: 44px;
  margin-top: 2px;
  margin-bottom:40px;
  
}

.subtitle-section p {
  font-weight: bold;
  color:  var(-primary-color);
  margin-bottom: 8px;
  margin-top: 35px;
}


element.style {
    font-style: italic;
    color: orange;

}

h1 {
  font-size: 36px;
  border-bottom: solid 1px lightgray;
}

h2 {
  margin-top: 45px;
  font-size: 24px;
  border-bottom: none;
}

h3 {
  margin-top: 35px;
  font-size: 20px;
  text-transform: inherit !important;
    letter-spacing: 1px;
}

h4 {
  font-size: 16px;
  font-weight: 600;
}

p {
  font-size: 16px;
}

li {
  font-size: 16px;
}

/* Apply square bullets and red color globally to all unordered lists */
ul {
    list-style-type: square; /* Change bullet style to square */
}

/* Ensure bullet color is red by targeting the marker */
ul li::marker {
    color: var(--highlight-icon-color);
}


.subline p {
    color: lightgray;
    font-size: 14px;
    font-style: italic;
}

.subline-red p {
    color: var(--primary-color);
    font-size: 14px;
    font-style: italic;
}



.intro-note {
  font-style: italic;
  color: #6c757d;
  margin-top: 10px;
  margin-bottom: 20px;
}


.navbar-logo {
  height: calc(var(--navbar-height) - 8px);
  width: auto;
  padding: 4px 0 4px 0px;
  max-height: fit-content;
}

footer.footer .nav-footer, #quarto-header>nav {
    padding-left: var(--page-intent);
    padding-right: var(--page-intent);
}

.navbar {
   /*background: var(--white-color);*/
  height: var(--navbar-height) ;
  back
  position: sticky;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
 /* position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}

.navbar a {
 /*color: var(--dark-color);*/
  /* text-decoration: none;
  padding: 10px 15px;*/
}

.navbar a:hover,
.navbar-dark .navbar-nav .nav-link.active {
   /*color: var(--dark-color);*/
}


.demo-ribbon {
  position: fixed;
  top: 100px;
  left: -48px;
  z-index: 999;
  
  width: 180px;
  padding: 10px 0;
  
  background: var(--highlight-icon-color);;
  color: white;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.5px;
  
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/********Team box********/

.project-team-box {
  margin-top: 24px;
  margin-bottom: 24px;
}

.project-team-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--p-color);
  margin-bottom: 18px;
}

.project-team-grid {
  display: grid;
 /* grid-template-columns: repeat(3, minmax(0, 1fr));*/
  gap: 18px;
}

.team-card {
  margin-left: 10px;
  border-radius: 15px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

.team-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.team-photo {
  width: 135px;
  height: 135px;
  border-radius: 500px;
  object-fit: cover;
  flex-shrink: 0;
}

.team-main {
  min-width: 0;
  width: 100%;
}

.team-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.team-name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--p-color);
  line-height: 1.2;
}

.team-title {
  margin: 4px 0 0 0;
  font-size: 0.92rem;
  color: #5c5c5c;
  line-height: 1.35;
}

.team-linkedin {
  color: var(--highlight-icon-color);
  font-size: 28px;
  text-decoration: none;
  flex-shrink: 0;
}

.team-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.team-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.team-value {
  font-size: 0.92rem;
  color: var(--p-color);
  line-height: 1.35;
}

.team-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.team-lang {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
}

.lang-de { background: #FDE7D7; color: #B44A0A; }
.lang-en { background: #E8F1FD; color: #215CA8; }
.lang-fr { background: #EAF7EE; color: #2D7A46; }
.lang-es { background: #FCE8EE; color: #A63B63; }
.lang-it { background: #FFF2DD; color: #9A6500; }
.lang-default { background: #F6A31350; color: #F6A313; }

@media (max-width: 900px) {
  .project-team-grid {
    grid-template-columns: 1fr;
  }
}


/* ── Stat strip / Stat bubble (both supported) ──────────────────────────────
   New: use .strip-section.strip-gradient-dark + .strip-content for full-bleed.
   Legacy .stat-bubble kept for any existing usage — maps to the same visual.
*/
.stat-bubble {
  position: relative;
  isolation: isolate;
  padding: 32px 0;
  color: var(--white-color);
  margin-top: 32px;
  margin-bottom: 32px;
}
.stat-bubble::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -9999px;
  right: -9999px;
  background: var(--gradient-dark);
  z-index: -1;
}
.stat-bubble .stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  color: var(--white-color);
  display: block;
}
.stat-bubble .stat-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white-color);
}


.bot-text p {
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
  color: var(--white-color);
}

.stat-bubble .stat-text strong {
  font-weight: 700;
}

/* ── Cover / hero text (no heading semantics) ───────────────────────────── */
.cover-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.cover-subtitle {
  font-size: 1.1rem;
  color: #5c5c5c;
  margin-bottom: 2rem;
}








.article-header {
  margin-bottom: 20px;
}

.article-header-image {
  width: 100%;
  height: 450px; /* Höhe des Bildes */
  object-fit: cover; /* Skaliert das Bild ohne Verzerrung */
  display: block;
  object-position: center;
}

#quarto-content>* {
  padding-top: 0;
}

@media (min-width: 992px) {
    body .page-columns {
    display: grid !important;
    gap: 0 !important;
    grid-template-columns: [screen-start] var(--page-intent)
    [screen-start-inset] 0
    [page-start page-start-inset] 00
    [body-start-outset] 0
    [body-start] 0
    [body-content-start] minmax(500px, calc(850px - 3em)) 
    [body-content-end] 1.5em 
    [body-end] 35px 
    [body-end-outset] minmax(75px, 1000px) 
    [page-end-inset] 35px 
    [page-end] 5fr 
    [screen-end-inset] 1.5em 
    [screen-end] !important;
}
}


.nav-footer {
  background: var(--gradient-dark) !important;
  color: var(--section-bg-color);
  padding-left: var(--page-intent);
  padding-right: var(--page-intent);
  padding-top: 120px !important;
  padding-bottom: 50px !important;

}

.nav-footer p {
  font-size: 16px;
  text-align: left;
  color: white;
}


.author-box {
display: block;
    width: 200px;
    margin-bottom: 20px;
    align-items: center;
    padding: 0;
    border-radius: 10px;
    background-color: transparent;
}


.author-image {
  width: 130px;
  height: 130px;
  margin-left:35px;
  margin-right:35px;
  border-radius: 50%;
  object-fit: cover;
}

.author-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.author-name {
  font-size: 18px;
  font-weight: bold;
  margin: auto;
  color: #E7490C;
}


.social-icons {
  display: flex; /* Use flexbox for layout */
  margin: auto;
  justify-content: center; /* Center the buttons horizontally */
  align-items: center; /* Center the buttons vertically (if needed) */
  gap: 5px; /* Add space between the buttons */
}

.social-icon {
  display: inline-block; /* Ensure buttons are inline-block */
  background: var(--white-color);
  font-size: 24px;
  color: var(--dark-color);
  text-decoration: none;
  border-radius: 50%; /* Optional: For round buttons */
  width: 40px; /* Set width for button */
  height: 40px; /* Set height for button */
  display: flex;
  justify-content: center;
  align-items: center;
}




.article-meta {
  font-weight: bold;
  margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-published {
 
}

.spaced {
  margin-right: 10px;
}

.divider {
}

.author {
}

.author-link {
  text-decoration: none;
  color: var(--dark-color);
}

.author-link:hover {

}

.toc-only {
  color: #FFF;
  font-size: 0;
  padding: 0;
  margin:0;
}

.highlight {
  background-color: #F6A313AA;
  padding: 0 4px;
}


/******HIGHLIGHT SECTIONS ************/


.highlight-box {
  position: relative;
  isolation: isolate;
  margin: 25px 0;
  padding: 25px 0;
}

/* full width background */
.highlight-box::before {
  content: '';
  position: absolute;
  inset: 0;
  left: calc(-1.1 * var(--page-intent));
  width: 110vw;
  z-index: -1;
}

.strip-dark::before {
  background: var(--dark-color);
}


.gradient-dark::before {
  background: var(--gradient-dark);
}

.gradient-bright::before {
  background: var(--gradient-bright);
}

.gradient-dark,
.strip-dark {
  color: var(--white-color);
}

.gradient-bright {
  color: var(--dark-color);
}

/* inherit to children */
.highlight-box h2,
.highlight-box h3,
.highlight-box h4,
.highlight-box p,
.highlight-box li {
  color: inherit;
}

.highlight-title h2,
.highlight-title h3 {
  font-weight: 100;
  letter-spacing: 10px;
  text-transform: uppercase;
}



.highlight-box.stat-layout {
  display: grid;
    grid-template-columns: 120px 1fr;
    column-gap: 150px;
    align-items: center;
}

.highlight-box.stat-layout .stat-number {
  font-size: 105px;
    letter-spacing: -6px;
    line-height: 0.9;
    font-family: Arial, sans-serif;
}



.highlight-box.bot-layout {
  display: grid;
    grid-template-columns: 120px 0.8fr;
    column-gap: 10px;
    align-items: center;
}

.highlight-box.stat-layout .stat-text {
    align-items: center;
}

    

/* WHY WE NEED THIS????*/

.responsive-video {
  display: block;
  position: relative;
  width: 90%; /* Ensure it fits the column width */
  padding-bottom: 177.78%; /* Aspect ratio for mobile format (9:16) */
  height: 0;
  overflow: hidden;
  border-radius: 5px;
  margin: 0 auto;
  max-height: 85vh; /* Ensure iframe adheres to max height */
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 100%;
  border: none;
  max-height: 85vh; /* Maximum height constraint */
}


.hanging-indent div.csl-entry {
    margin-left: 2em;
    text-indent: -2em;
    margin-bottom: 20px;
    font-size: 12px;
}
/* Styling for the container */
.title-list {
  list-style-type: none; /* Remove default bullets globally */
  padding: 0;
}

/* Main list items (li) */
.title-list > li {
  font-size: 1.25em; /* H4 equivalent */
  font-weight: bold;
  margin-bottom: 5px; /* Small gap after main title */
  list-style-type: square; /* Use square bullets */
  color: #E7490C; /* Square bullet color */
}

.title-list > li::marker {
  color: #E7490C; /* Square bullet color */
  content: "■ "; /* Use square symbol for a clean square look */
}

/* Sub-list items (sub-li, nested inside li) */
.title-list li > ul > li {
  font-size: 0.9em; /* H6 equivalent */
  color: gray; /* Subtitle styling */
  list-style-type: none; /* Remove bullet points */
  margin-left: 0; /* Align with the main list */
  padding-left: 0; /* Align left */
  margin-bottom: 20px;
}

.title-list li > ul {
  padding-left: 0; /* Align left */
}

/* Meta information */
.meta-info {
  font-size: 0.85em; /* Smaller font for meta details */
  color: darkgray;
  margin-top: 5px;
  display: block; /* Align meta-info consistently */
}



.quarto-sidebar-toggle {
    border-color: #dee2e6;
    background: white !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-style: solid;
    border-width: 0;
    overflow: hidden;
    border-top-width: 0px;
    padding-top: 0px !important;
}


/* ── Image zoom / modal ─────────────────────────────────────────────────────
   Add class="zoom-trigger" to any wrapper or <img> to enable click-to-zoom.
   Hover gives a subtle scale preview. Click opens a full-screen modal with
   the brand gradient background (matching pb-website).
*/

.content_block {
}


.zoom-trigger {
  cursor: pointer;
  transition: transform 0.25s ease;
  display: block;
}
.zoom-trigger:hover {
  transform: scale(1.04);
}
.zoom-trigger img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  filter: var(--img-shadow);
}

/* Module / content images with padding */

.img-body {
  padding: 0 100px;
  margin: 0px 0;
}
.img-body img {

  filter: var(--img-shadow);
}


.img-margin {
  padding: 0 30px;
  margin: 0px 0;
}

.img-margin img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 230px;
    display: block;
    filter: var(--img-shadow);
}

.img-zoom-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--gradient-dark);
  z-index: 9999;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  padding: 40px;
}
.img-zoom-overlay.active {
  display: flex;
}
.img-zoom-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}
.img-zoom-content img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 10px;
  display: block;
  object-fit: contain;
  filter: none; /* no shadow in modal */
}


.content_txt_img {
  min-height: 230px;
}

.content_txt {
 /* min-height: 130px; */
}



/* ── Ref strip / partner logos ───────────────────────────────────────── */

.ref-strip {
  text-align: center;
}

/* full-width white strip aligned to text column width */
.ref-strip .whiteband-header {
  display: block;
  width: 100%;
  margin: 0 0 16px 0 !important;
  padding: 10px 16px !important;

  background: rgb(255 255 255 / 0.18) !important;
  color: var(--white-color) !important;

  text-align: center;
  text-transform: uppercase;
  font-weight: 100 !important;
  letter-spacing: 4px !important;
  font-size: 0.85rem;
  line-height: 1.3;
}

/* exact full content width, equal columns, 16px gap */
.ref-logo-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  padding: 0;
  margin: 0;
  align-items: stretch;
}

/* boxes fill available width exactly */
.ref-logo-box {
  background: #fff;
  height: 88px;
  padding: 14px 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 0;
  box-sizing: border-box;
}

/* keep logo aspect ratio */
.ref-logo-box img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
}

/* tablet */
@media (max-width: 900px) {
  .ref-logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* mobile */
@media (max-width: 480px) {
  .ref-logo-row {
    grid-template-columns: 1fr;
  }

  .ref-logo-box {
    height: 72px;
    padding: 12px 16px;
  }
}

/* ── Stat strip (replaces .stat-bubble) ─────────────────────────────────────
   Full-bleed gradient strip. Text body in main column, big number in margin.
   Usage in QMD:
     ::: {.strip-section .strip-gradient-dark}
     ::: {.strip-content}
     ::: {.column-margin}
     <span class="stat-number">24%</span>
     :::
     [body text here]
     :::
     :::
*/
.stat-strip {
  /* no additional rules needed — just strip-section + strip-content */
}
.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white-color);
  display: block;
  white-space: nowrap;
}
/* Text inside a stat strip */
.strip-content p,
.strip-content li,
.strip-content strong {
  color: var(--white-color);
}



/* PDF team-box copy: hidden on screen, shown only in print */
.team-box-pdf               { display: none; }

/* "Angebot Online" button: hidden on screen, shown only in print */
.online-link-pdf            { display: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   PRINT / PDF  (Chrome --print-to-pdf)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Page setup ─────────────────────────────────────────────────────────── */
@page {
  margin-top:    1cm;
  margin-bottom: 1.5cm;
  margin-left:   1.5cm;
  margin-right:  1.5cm;
}
@page :first {
  margin-top: 0;
}

@media print {

  /* ── Hide screen-only elements ───────────────────────────────────────── */
  .navbar,
  .nav-footer,
  #quarto-sidebar,
  #TOC,
  #quarto-margin-sidebar,
  .img-zoom-overlay           { display: none !important; }

  /* PDF-download button: only in HTML, not PDF */
  a.btn-doc[download]         { display: none !important; }

  /* All other btn-doc links (Referenzen, Testen, etc.): show in PDF */
  a.btn-doc                   { display: inline-block !important; }

  /* Cross-doc links (roi.html ↔ angebot.html): relative paths break in PDF */
  /* Must come after a.btn-doc to win the specificity war */
  a.btn-doc.cross-doc-link    { display: none !important; }

  /* Demo ribbon: HTML only */
  .demo-ribbon                { display: none !important; }

  /* "Angebot Online" button: only in PDF */
  .online-link-pdf            { display: inline-block !important; }

  /* Team-box: hide margin version, show inline PDF version */
  .project-team-box           { display: none !important; }
  .team-box-pdf               { display: block !important; }
  .team-box-pdf .project-team-box { display: block !important; }

  /* Team-box in PDF: smaller padding and images */
  .team-box-pdf .team-card    { padding: 8pt 10pt !important; }
  .team-card-photo,
  .team-card-photo img        { width: 44px !important; height: 44px !important; }

  /* Vision title: no letter-spacing in PDF */
  .highlight-title h2,
  .highlight-title h3         { letter-spacing: 0 !important;
                                font-weight: 600 !important; }

  .zoom-trigger               { cursor: default !important;
                                transform: none !important; }
  .zoom-trigger:hover         { transform: none !important; }

  /* ── Remove all shadows / drop-shadows ──────────────────────────────── */
  *                           { box-shadow: none !important;
                                filter: none !important;
                                text-shadow: none !important; }

  /* ── Title hero image — full bleed, flush to top of page ───────────── */
  .article-header-image {
    display: block !important;
    width:   100% !important;
    max-width: 100% !important;
    margin-left:  0 !important;
    margin-right: 0 !important;
    margin-top:   0 !important;
    margin-bottom: 16pt;
    height: auto !important;
    object-fit: contain !important;
  }

  /* ── Typography ──────────────────────────────────────────────────────── */
  body, p, li                 { font-size: 9pt; line-height: 1.45; }

  /* Tables match body font size */
  table, td, th,
  .flextable-shadow-defaut *  { font-size: 9pt !important; }

  h1 {
    font-size: 18pt;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 0.5pt solid #ccc;
    margin-top: 0;
  }
  h2 {
    font-size: 14pt;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: none;
  }
  h3  { font-size: 11pt; font-weight: 600; margin-top: 14pt; }
  h4  { font-size: 10pt; font-weight: 600; }

  /* ── Prevent orphans / widows ───────────────────────────────────────── */
  body                        { orphans: 3; widows: 3; }

  /* ── Page breaks: h1 always new page, h2 never ─────────────────────── */
  h1                          { break-before: page !important; }
  /* Cover title is the first element — no leading blank page             */
  h1.title-section,
  .title-section h1           { break-before: avoid !important; }
  h2                          { break-before: auto !important; }
  /* Keep headings glued to the content that follows them                 */
  h1, h2, h3, h4              { break-after: avoid !important; }

  /* Allow highlight-boxes to fragment across pages (no more gaps)        */
  /* Only keep avoid on small elements that should never split            */
  .highlight-box              { break-inside: auto; }
  .flextable-shadow-defaut,
  table                       { break-inside: avoid; }

  /* ── All highlight-box: fix bleed + restore padding ─────────────────── */
  .highlight-box {
    padding: 20pt 24pt !important;
  }
  .highlight-box::before {
    left:  -1.5cm !important;
    width: calc(100% + 3cm) !important;
  }

  /* ── ref-strip: 2-col logo grid, gradient background, white text ─────── */
  .highlight-box.gradient-dark.ref-strip            { display: block !important; }
  .highlight-box.gradient-dark.ref-strip::before    { background: var(--gradient-dark) !important; }
  .highlight-box.gradient-dark.ref-strip,
  .highlight-box.gradient-dark.ref-strip *          { color: var(--white-color) !important; }
  .ref-logo-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
  }
  .ref-logo-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    height: 88px !important;
    padding: 14px 18px !important;
  }
  .ref-logo-box img {
    filter: none !important;
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
  }

  /* ── Collapse Quarto's CSS Grid to single column ────────────────────── */
  /* .page-columns sets up a multi-track grid on every section/container. */
  /* In print we flatten everything to a simple block flow.               */
  .page-columns,
  .page-full,
  .page-columns.page-full,
  main.content.page-columns   {
    display:     block !important;
    grid-template-columns: 1fr !important;
    grid-template-rows:    auto !important;
  }

  /* Reset all grid-column placements so nothing bleeds into the margin   */
  .page-columns > *,
  .page-full > *              {
    grid-column: unset !important;
    grid-row:    unset !important;
  }

  /* Margin containers: flow into body, don't float or position           */
  .column-margin,
  .column-margin.column-container,
  .no-row-height.column-margin,
  .no-row-height.column-margin.column-container {
    display:   block    !important;
    position:  static   !important;
    float:     none     !important;
    width:     100%     !important;
    max-width: 100%     !important;
    height:    auto     !important;
    overflow:  visible  !important;
    margin:    6pt 0    !important;
    padding:   0        !important;
    break-inside: avoid;
    break-before: avoid;
  }

  /* no-row-height sets height:0 / overflow:hidden in screen mode — undo  */
  .no-row-height          { height: auto !important; overflow: visible !important; }

  .content_txt_img        { min-height: 0 !important; }

  /* Margin images flowing into body: max 90% width, aspect ratio kept ─── */
  .img-margin,
  .img-margin img {
    display:   block !important;
    width:     auto  !important;
    max-width: 90%   !important;
    height:    auto  !important;
    object-fit: contain !important;
  }

  /* ── strip-dark boxes: transparent bg, black text, no extra padding ─── */
  /* Targets ::::: {.highlight-box .strip-dark} only                       */
  /* Explicitly excludes .gradient-dark and .ref-strip (kept as HTML)      */
  .highlight-box.strip-dark::before {
    background: transparent !important;
  }
  .highlight-box.strip-dark {
    padding: 0 !important;
  }
  .highlight-box.strip-dark,
  .highlight-box.strip-dark h2,
  .highlight-box.strip-dark h3,
  .highlight-box.strip-dark h4,
  .highlight-box.strip-dark p,
  .highlight-box.strip-dark li,
  .highlight-box.strip-dark .highlight-title h2,
  .highlight-box.strip-dark .strip-content p,
  .highlight-box.strip-dark .strip-content li,
  .highlight-box.strip-dark .strip-content strong {
    color: var(--dark-color) !important;
  }

  /* ── gradient-dark boxes: keep as HTML (no override) ────────────────── */
  /* .gradient-dark::before is left intact                                 */

  /* Stat-layout: collapse grid to stacked ─────────────────────────────── */
  .highlight-box.stat-layout  { display: block !important; }
  .highlight-box.stat-layout .stat-number {
    font-size: 48pt !important;
    display: block;
    margin-bottom: 6pt;
  }

}

/* dead legacy screen styles — kept as reference only
@media (min-width: 992px) {





body {
  margin: 0;
  padding-top: var(--navbar-height); 
  font-family: var(--body-font-family);
  background: var(--white-color);
  color: var(--dark-color);
}

.navbar {
  background: var(--white-color);
  height: var(--navbar-height);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar a {
  color: var(--dark-color);
  text-decoration: none;
  padding: 10px 15px;
}

.navbar a:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.toc {
  background: var(--white-color);
  border-left: 1px solid #ddd;
  position: fixed;
  right: 0;
  top: var(--navbar-height);
  width: 300px;
  height: calc(100% - var(--navbar-height));
  overflow-y: auto;
  padding: 20px;
}

.toc a {
  color: var(--dark-color);
  text-decoration: none;
}

.toc a:hover {
  color: var(--primary-color);
}

.article-header {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
}

.article-content {
  margin: 20px auto;
  width: 66%;
}

aside {
  float: right;
  width: 30%;
  margin: 20px;
}

aside img,
aside table {
  width: 100%;
  margin-bottom: 20px;
}

#light-grey-background {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 5px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.g-col-8 {
  grid-column: span 8;
}

*/