
.dnk-body-text {
  --dc-red: #c60c30;
  --dc-navy: #1d3a4f;
  --dc-text: #1b2733;
  --dc-line: #d6e1e8;
  --dc-link: #14569f;
}

.dnk-body-text .dnk-main-block {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0 0 2.75rem;
  display: flow-root;
  color: var(--dc-text);
}

.dnk-body-text .dnk-main-block:last-of-type {
  margin-bottom: 1.5rem;
}

.dnk-body-text .dnk-main-block h2.custom-h2 {
  position: relative;
  display: block;
  margin: 0 0 1.4rem;
  padding: 0 0 0.85rem;
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--dc-navy);
  border-bottom: 1px solid var(--dc-line);
}

.dnk-body-text .dnk-main-block h2.custom-h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 4.5rem;
  height: 3px;
  background: var(--dc-red);
}

.dnk-body-text .dnk-main-block h2.custom-h2::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin: 0 0.75rem 0 0;
  top: -0.1rem;
  vertical-align: middle;
  border-radius: 50%;
  background: rgba(198, 12, 49, 0.09);
  color: var(--dc-red);
  font-size: 1.15rem;
}

.dnk-body-text .dnk-main-block h2.custom-h2.warning-icon::before {
  background: #fdf0d5;
  color: #b4690e;
}

/* FAQ questions / sub-headings: <h2><i>⮞ …</i></h2> */
.dnk-body-text .dnk-main-block h2:not(.custom-h2) {
  margin: 1.9rem 0 0.5rem;
  padding: 0;
  border: 0;
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--dc-navy);
}

.dnk-body-text .dnk-main-block h2:not(.custom-h2) i {
  font-style: italic;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* ---------- text ---------- */
.dnk-body-text .dnk-main-paragraphs {
  font-size: 1.2rem;
  line-height: 1.8;
  letter-spacing: 0;
  text-align: left;
  color: var(--dc-text);
  margin: 0 0 1.2rem;
  hyphens: auto;
  -webkit-hyphens: auto;
}


.dnk-body-text .dnk-main-paragraphs a,
.dnk-body-text .dnk-main-block li a {
  color: var(--dc-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.dnk-body-text .dnk-main-paragraphs a:hover,
.dnk-body-text .dnk-main-block li a:hover {
  color: var(--dc-red);
}

.dnk-body-text .dnk-main-block .font-bold,
.dnk-body-text .dnk-main-block b,
.dnk-body-text .dnk-main-block strong {
  color: #0f1c27;
}

.dnk-body-text .dnk-main-block a b,
.dnk-body-text .dnk-main-block a strong,
.dnk-body-text .dnk-main-block a em,
.dnk-body-text .dnk-main-block a i {
  color: inherit;
}

/* ---------- lists ---------- */
.dnk-body-text .dnk-main-block ul.dnk-main-lists {
  margin: 0.3rem 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 1.2rem;
}

.dnk-body-text .dnk-main-block ul.dnk-main-lists li {
  position: relative;
  margin: 0 0 0.7rem;
  padding: 0 0 0 2.2rem;
  font-size: 1.15rem;
  line-height: 1.65;
  letter-spacing: 0;
  text-align: left;
  color: var(--dc-text);
}

.dnk-body-text .dnk-main-block ul.dnk-main-lists li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 0.22em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  margin: 0;
  border-radius: 50%;
  background: var(--dc-red);
  color: #fff;
  font-size: 0.68rem;
}

/* warning sections (kontraindikationer, bivirkninger, interaktioner): amber "!" markers */
.dnk-body-text .dnk-main-block:has(> h2.warning-icon) ul.dnk-main-lists li::before {
  content: "\f12a";
  background: #e39a1c;
}

/* ---------- images ---------- */
.dnk-body-text .dnk-main-block img {
  box-shadow: none !important;
}

.dnk-body-text .dnk-main-block img.dnk-img-right,
.dnk-body-text .dnk-main-block img.dnk-img-left {
  height: auto;
  max-width: 42%;
  border-radius: 10px;
}

.dnk-body-text .dnk-main-block img.dnk-img-right {
  float: right;
  margin: 0.35rem 0 1rem 1.75rem;
}

.dnk-body-text .dnk-main-block img.dnk-img-left {
  float: left;
  margin: 0.35rem 1.75rem 1rem 0;
}

.dnk-body-text .dnk-main-block img.dnk-img-center {
  display: block;
  height: auto;
  max-width: 100%;
  margin: 0.5rem auto 1.5rem;
  border-radius: 10px;
}

/* ---------- tables ---------- */
.dnk-body-text .dnk-main-block table.dnk-smaller-font {
  font-size: 1.05rem;
  line-height: 1.5;
}

.dnk-body-text .dnk-main-block table.custom-table {
  border-radius: 8px;
  overflow: hidden;
  margin: 0.5rem 0 1.75rem;
}

.dnk-body-text .dnk-main-block table.custom-table th,
.dnk-body-text .dnk-main-block table.custom-table td {
  padding: 0.7rem 0.9rem;
}

/* ---------- tablet / phone ---------- */
@media screen and (max-width: 768px) {
  .dnk-body-text .dnk-main-block {
    padding: 0;
    margin-bottom: 2.25rem;
  }

  .dnk-body-text .dnk-main-block h2.custom-h2 {
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.7rem;
  }

  .dnk-body-text .dnk-main-block h2.custom-h2::before {
    width: 2.25rem;
    height: 2.25rem;
    margin-right: 0.6rem;
    font-size: 1rem;
  }

  .dnk-body-text .dnk-main-block h2:not(.custom-h2) {
    font-size: 1.22rem;
  }

  .dnk-body-text .dnk-main-block,
  .dnk-body-text .dnk-main-paragraphs {
    font-size: 1.2rem;
    line-height: 1.7;
    letter-spacing: 0;
    margin-bottom: 1rem;
  }

  .dnk-body-text .dnk-main-block ul.dnk-main-lists li,
  .dnk-body-text .dnk-main-block ul li {
    font-size: 1.125rem;
    line-height: 1.6;
    letter-spacing: 0;
    margin-bottom: 0.65rem;
  }
}

/* images on phones: centred, 80 % wide, no float */
@media screen and (max-width: 574px) {
  .dnk-body-text .dnk-main-block,
  .dnk-body-text .dnk-main-paragraphs {
    font-size: 1.125rem;
  }

  .dnk-body-text .dnk-main-block img.dnk-img-right,
  .dnk-body-text .dnk-main-block img.dnk-img-left,
  .dnk-body-text .dnk-main-block img.dnk-img-center {
    float: none;
    display: block;
    max-width: 80%;
    height: auto;
    margin: 0 auto 1.25rem !important;
  }
}

/* ---------- contact page (kontaktoplysninger.html) ---------- */
.dnk-body-text h2.mail-icon::before {
  content: "\f0e0";
}

.dnk-body-text .dnk-contact-map {
  margin: 0 0 1.75rem;
  border: 1px solid var(--dc-line);
  border-radius: 12px;
  overflow: hidden;
}

.dnk-body-text .dnk-contact-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.dnk-body-text .dnk-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 0 0 2.75rem;
}

.dnk-body-text .dnk-contact-card {
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: #f5f9fb;
  border: 1px solid var(--dc-line);
  border-radius: 12px;
}

.dnk-body-text .dnk-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  background: rgba(198, 12, 49, 0.09);
  color: var(--dc-red);
  font-size: 1.25rem;
}

.dnk-body-text .dnk-contact-card-title {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--dc-navy);
}

.dnk-body-text .dnk-contact-card p {
  margin: 0;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--dc-text);
}

.dnk-body-text .dnk-contact-phone-img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto;
}

@media screen and (max-width: 574px) {
  .dnk-body-text .dnk-contact-map iframe {
    height: 240px;
  }
}

/* ====================================================================
   Site footer (markup: resource/php/footer.php + inline copy in index.html)
   ==================================================================== */

.footer.dsf {
  --dsf-bg: #1f3647;
  --dsf-bg-2: #19303f;
  --dsf-red: #c60c30;
  --dsf-text: #d3e1ea;
  --dsf-muted: #9db8c7;
  --dsf-line: rgba(255, 255, 255, 0.13);
  margin-top: 2.5rem;
  padding: 0;
  background: var(--dsf-bg);
  color: var(--dsf-text);
  border-top: 4px solid var(--dsf-red);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.footer.dsf a {
  text-decoration: none;
}

.footer.dsf p {
  margin: 0;
  text-align: left;
}

.footer.dsf ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- call-to-action strip ---------- */
.dsf-cta {
  background: var(--dsf-bg-2);
  border-bottom: 1px solid var(--dsf-line);
}

.dsf-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 1.75rem 1rem;
}

.dsf-cta-title {
  font-size: 1.45rem;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
}

.dsf-cta-sub {
  margin-top: 0.2rem !important;
  color: var(--dsf-muted);
}

.dsf-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

.dsf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  background: var(--dsf-red);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background 0.15s ease, transform 0.15s ease;
}

.dsf-btn:hover,
.dsf-btn:focus {
  background: #e0113a;
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- main columns ---------- */
.dsf-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem 3rem;
  padding: 3rem 1rem 2.25rem;
}

.dsf-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
}

.dsf-logo img {
  display: block;
  width: 56px;
  height: 56px;
}

.dsf-logo-text {
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.dsf-slogan {
  margin-top: 1rem !important;
  max-width: 24rem;
  color: var(--dsf-muted);
}

.dsf-contact {
  margin-top: 1.25rem !important;
}

.dsf-contact li {
  color: var(--dsf-text);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}

.dsf-contact i {
  flex: 0 0 1.4rem;
  margin-top: 0.3rem;
  text-align: center;
  color: var(--dsf-red);
  filter: brightness(1.35);
}

.dsf-col-title {
  position: relative;
  margin-bottom: 1.1rem !important;
  padding-bottom: 0.7rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.dsf-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 3px;
  background: var(--dsf-red);
}

.dsf-col li {
  margin-bottom: 0.45rem;
}

.footer.dsf .dsf-col a.footer-nav-link {
  color: var(--dsf-text);
  font-size: 1.0625rem;
}

.footer.dsf .dsf-col a.footer-nav-link:hover,
.footer.dsf .dsf-col a.footer-nav-link.active {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- partners + payment ---------- */
.dsf-partners {
  padding: 1.75rem 1rem 2rem;
  border-top: 1px solid var(--dsf-line);
  text-align: center;
}

.footer.dsf .dsf-partners-title {
  margin-bottom: 1.25rem !important;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dsf-muted);
}

.dsf-partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2.75rem;
}

.dsf-partners-logos img {
  display: block;
  width: auto;
  height: 48px;
  opacity: 0.9;
}

.dsf-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.dsf-pay-title {
  margin-right: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dsf-muted);
}

.dsf-pay img {
  display: block;
  width: 52px;
  height: auto;
  padding: 3px 4px;
  border-radius: 5px;
  background: #fff;
}

/* ---------- legal ---------- */
.dsf-legal {
  padding: 1.5rem 1rem 1.75rem;
  background: var(--dsf-bg-2);
  border-top: 1px solid var(--dsf-line);
}

.dsf-legal .container {
  padding: 0 1rem;
}

.dsf-legal {
  text-align: center;
}

.footer.dsf .dsf-legal p {
  text-align: center;
}

.dsf-legal-text {
  max-width: 60rem;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dsf-muted);
}

.dsf-copy {
  margin-top: 0.75rem !important;
  font-size: 1rem;
  color: var(--dsf-text);
}

/* ---------- tablet / phone ---------- */
@media screen and (max-width: 1087px) {
  .dsf-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem 2rem;
  }

  .dsf-brand {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 767px) {
  .dsf-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 575px) {
  .dsf-cta-inner,
  .dsf-main,
  .dsf-partners,
  .dsf-legal {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .dsf-cta-title {
    font-size: 1.25rem;
  }

  .dsf-btn {
    justify-content: center;
    width: 100%;
  }

  .dsf-main {
    grid-template-columns: 1fr;
    padding-top: 2.25rem;
  }

  .dsf-legal .container {
    padding: 0;
  }

  .dsf-partners-logos {
    gap: 1rem 1.75rem;
  }

  .dsf-partners-logos img {
    height: 40px;
  }
}

/* ====================================================================
   Product header: title bar (.dnk-posthead) + legend (.dnk-postintro)
   ==================================================================== */

.dnk-body-text .dnk-posthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #d4113a 0%, #b00b2c 100%);
  border-radius: 12px 12px 0 0;
}

.dnk-body-text .dnk-posthead h1.title {
  display: block;
  margin: 0 !important;
  padding: 0;
  border: 0;
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.005em;
  color: #fff;
}

.dnk-body-text .dnk-posthead .rat {
  float: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.dnk-body-text .dnk-posthead .rat ul {
  display: inline-flex;
  gap: 3px;
  margin: 0;
  padding: 0;
}

.dnk-body-text .dnk-posthead .rat li {
  width: 18px;
  height: 17px;
}

.dnk-body-text .dnk-posthead .rat span {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.dnk-body-text .dnk-postintro {
  margin: 0 0 2.25rem;
  padding: 1.5rem 1.75rem;
  text-align: left;
  background: linear-gradient(180deg, #fff7e6 0%, #fffbf2 100%);
  border: 1px solid #f0dfb8;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.dnk-body-text .dnk-postintro .columns {
  align-items: center;
  margin: 0;
}

.dnk-body-text .dnk-postintro .dnk-introduktion {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dnk-body-text .dnk-postintro .dnk-introduktion img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 190px;
  margin: 0 auto;
}

.dnk-body-text .dnk-pillinfo {
  gap: 0.1rem;
}

.dnk-body-text .dnk-pillinfo p {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
  color: var(--dc-text);
}

.dnk-body-text .dnk-pillinfo p strong {
  font-weight: 700;
  color: var(--dc-navy);
}

.dnk-body-text .dnk-pillinfo p a {
  font-weight: 600;
  color: var(--dc-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.dnk-body-text .dnk-pillinfo p a:hover {
  color: var(--dc-red);
}

.dnk-body-text .dnk-pillinfo .dnk-pillinfo-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  margin-top: 0.55rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eedcaf;
}

.dnk-body-text .dnk-pillinfo .dnk-pillinfo-block + .dnk-pillinfo-block {
  margin-top: 0;
  padding-top: 0.25rem;
  border-top: 0;
}

.dnk-body-text .dnk-pillinfo .dnk-paybox {
  float: none;
  flex: 0 0 10.25rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--dc-navy);
}

.dnk-body-text .dnk-pillinfo ul.dnk-pay,
.dnk-body-text .dnk-pillinfo ul.dnk-deliv {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: auto;
  margin: 0;
  padding: 0;
}

.dnk-body-text .dnk-pillinfo ul.dnk-pay li img {
  display: block;
  width: auto;
  height: 28px;
  padding: 3px 5px;
  border: 1px solid #ecdcb4;
  border-radius: 5px;
  background: #fff;
}

.dnk-body-text .dnk-pillinfo ul.dnk-deliv li img.deliv-icon {
  display: block;
  width: auto;
  height: 22px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

@media screen and (max-width: 768px) {
  .dnk-body-text .dnk-posthead {
    padding: 0.8rem 1rem;
  }

  .dnk-body-text .dnk-posthead h1.title {
    font-size: 1.9rem;
  }

  .dnk-body-text .dnk-postintro {
    padding: 1.25rem 1rem 1.4rem;
    margin-bottom: 1.75rem;
  }

  .dnk-body-text .dnk-postintro .dnk-introduktion img {
    max-width: 60%;
    max-height: 150px;
    margin-bottom: 0.5rem;
  }

  .dnk-body-text .dnk-pillinfo p {
    font-size: 1.05rem;
    line-height: 1.5;
  }

  .dnk-body-text .dnk-pillinfo .dnk-paybox {
    flex: 0 0 100%;
  }
}

/* ====================================================================
   Info/legal pages: links inside headings, text tables
   ==================================================================== */

.dnk-body-text .dnk-main-block h2 a {
  color: var(--dc-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.dnk-body-text .dnk-main-block h2 a:hover {
  color: var(--dc-red);
}

.dnk-body-text .dnk-main-block h2 a b,
.dnk-body-text .dnk-main-block h2 a i {
  color: inherit;
}

.dnk-body-text .dnk-main-block table.dnk-table-text {
  display: table !important;
  white-space: normal !important;
}

.dnk-body-text .dnk-main-block table.dnk-table-text th,
.dnk-body-text .dnk-main-block table.dnk-table-text td {
  vertical-align: top;
  font-size: 1.05rem;
  line-height: 1.55;
}

.dnk-body-text .dnk-main-block table.dnk-table-text td:first-child {
  width: 26%;
  min-width: 8rem;
}
