/* =============================================================================
   DPL Blog — text-focused listing + Red Fox–style article components
   (matches the design reference; differs only in brand colour + fonts)
   ============================================================================= */

/* ---------- Width ---------- */
/* Blog matches the rest of the store: full page-width container, no narrow
   reading column. */

/* ============================ LISTING ============================ */

.dpl-blog {
  padding: 64px 0;
}

.dpl-blog__header {
  margin-bottom: 8px;
}

.dpl-blog__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  color: #0D0D0D;
  margin: 0 0 10px;
  line-height: 1.2;
}

.dpl-blog__subtitle {
  font-size: 16px;
  font-weight: 400;
  color: #6B6B6B;
  line-height: 1.6;
  margin: 0;
  max-width: 56ch;
}

.dpl-blog__list {
  list-style: none;
  padding: 0;
  margin: 24px auto 0;
  border-top: 1px solid #E5E5E5;
}

.dpl-blog__item {
  border-bottom: 1px solid #E5E5E5;
}

.dpl-blog__link {
  display: block;
  padding: 30px 0;
  text-decoration: none;
}

.dpl-blog__date {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ADADAD;
  margin-bottom: 12px;
}

.dpl-blog__item-title {
  font-size: 22px;
  font-weight: 500;
  color: #0D0D0D;
  line-height: 1.3;
  margin: 0 0 10px;
  transition: color 0.15s;
}

.dpl-blog__link:hover .dpl-blog__item-title {
  color: #FF9A01;
}

.dpl-blog__excerpt {
  font-size: 15px;
  color: #6B6B6B;
  line-height: 1.6;
  margin: 0 0 14px;
}

.dpl-blog__readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #FF9A01;
}

.dpl-blog__readmore svg {
  transition: transform 0.15s ease;
}

.dpl-blog__link:hover .dpl-blog__readmore svg {
  transform: translateX(3px);
}

/* Pagination */
.dpl-blog__pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
}

.dpl-blog__page-link {
  font-size: 13px;
  font-weight: 500;
  color: #0D0D0D;
  text-decoration: none;
  transition: color 0.15s;
}

.dpl-blog__page-link:hover {
  color: #FF9A01;
}

.dpl-blog__page-link--disabled {
  color: #D0D0D0;
  pointer-events: none;
}

.dpl-blog__page-info {
  font-size: 13px;
  color: #6B6B6B;
}

/* Empty state */
.dpl-blog__empty {
  text-align: center;
  padding: 64px 24px;
  margin-top: 24px;
  border: 1px solid #E5E5E5;
  border-radius: 20px;
  background: #F7F7F7;
}

.dpl-blog__empty-icon {
  display: inline-flex;
  color: #CFCFCF;
  margin-bottom: 16px;
}

.dpl-blog__empty-title {
  font-size: 18px;
  font-weight: 500;
  color: #0D0D0D;
  margin: 0 0 6px;
}

.dpl-blog__empty-text {
  font-size: 14px;
  color: #6B6B6B;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 40ch;
}

/* ============================ ARTICLE ============================ */

.dpl-article {
  padding: 40px 0 64px;
}

.dpl-article__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #6B6B6B;
  text-decoration: none;
  transition: color 0.15s;
}

.dpl-article__back:hover {
  color: #FF9A01;
}

.dpl-article__header {
  margin-top: 28px;
}

.dpl-article__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ADADAD;
  margin-bottom: 16px;
}

/* Title in a bordered callout box */
.dpl-article__title {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 500;
  color: #0D0D0D;
  line-height: 1.25;
  margin: 0;
  background: #F7F7F7;
  border-left: 4px solid #FF9A01;
  border-radius: 0 16px 16px 0;
  padding: 22px 26px;
}

/* Reading body */
.dpl-article__body {
  margin-top: 36px;
  font-size: 17px;
  line-height: 1.75;
  color: #1A1A1A;
}

.dpl-article__body p {
  margin: 0 0 1.15em;
}

/* Section heading: full hairline + short orange underline segment */
.dpl-article__body h2 {
  font-size: 26px;
  font-weight: 500;
  color: #0D0D0D;
  line-height: 1.3;
  margin: 2em 0 0.9em;
  padding-bottom: 12px;
  border-bottom: 1px solid #E5E5E5;
  position: relative;
}

.dpl-article__body h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: #FF9A01;
}

.dpl-article__body h3 {
  font-size: 20px;
  font-weight: 500;
  color: #0D0D0D;
  line-height: 1.35;
  margin: 1.5em 0 0.3em;
}

.dpl-article__body a {
  color: #FF9A01;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Plain lists (dose examples etc.) */
.dpl-article__body ul:not(.dpl-check),
.dpl-article__body ol:not(.dpl-steps) {
  margin: 0 0 1.15em;
  padding-left: 1.4em;
}

.dpl-article__body ul:not(.dpl-check) > li,
.dpl-article__body ol:not(.dpl-steps) > li {
  margin: 0.4em 0;
}

/* Checklist cards ("Wat heb je nodig") — 2-column grid */
.dpl-article__body ul.dpl-check {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dpl-article__body ul.dpl-check > li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #1A1A1A;
}

.dpl-article__body ul.dpl-check > li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FF9A01;
  color: #FFFFFF;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
}

/* Numbered step timeline ("Stap-voor-stap instructies") */
.dpl-article__body ol.dpl-steps {
  list-style: none;
  counter-reset: dpl-step;
  padding: 0;
  margin: 0 0 1.6em;
}

.dpl-article__body ol.dpl-steps > li {
  counter-increment: dpl-step;
  position: relative;
  padding-left: 60px;
  padding-bottom: 30px;
  margin: 0;
}

.dpl-article__body ol.dpl-steps > li::before {
  content: counter(dpl-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FF9A01;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
  line-height: 40px;
  text-align: center;
  z-index: 1;
}

.dpl-article__body ol.dpl-steps > li::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 46px;
  bottom: -2px;
  width: 2px;
  background: #E5E5E5;
}

.dpl-article__body ol.dpl-steps > li:last-child {
  padding-bottom: 0;
}

.dpl-article__body ol.dpl-steps > li:last-child::after {
  display: none;
}

.dpl-article__body ol.dpl-steps > li > strong:first-child {
  display: block;
  font-size: 16px;
  color: #0D0D0D;
  margin-bottom: 4px;
  padding-top: 7px;
}

.dpl-article__body ol.dpl-steps > li p {
  margin: 0 0 0.85em;
}

/* Neutral grey sub-note box (inside steps) */
.dpl-article__body .dpl-note {
  background: #F6F6F6;
  border-left: 3px solid #D6D6D6;
  border-radius: 4px;
  padding: 12px 16px;
  margin: 12px 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #4A4A4A;
}

.dpl-article__body .dpl-note strong {
  color: #0D0D0D;
}

/* Orange callout (recommended / formula) */
.dpl-article__body blockquote {
  background: #FFF7EC;
  border-left: 4px solid #FF9A01;
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 1.6em 0;
  color: #4A4A4A;
}

.dpl-article__body blockquote > *:last-child {
  margin-bottom: 0;
}

.dpl-article__body blockquote strong {
  color: #0D0D0D;
}

/* FAQ accordion — bordered cards, left +/- icon, orange open state */
.dpl-article__body details {
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  padding: 0 18px;
  margin: 0 0 10px;
  transition: border-color 0.15s;
}

.dpl-article__body details[open] {
  border-color: #FF9A01;
}

.dpl-article__body summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  color: #0D0D0D;
}

.dpl-article__body summary::-webkit-details-marker {
  display: none;
}

.dpl-article__body summary::before {
  content: "+";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFF1DF;
  color: #FF9A01;
  font-size: 15px;
  line-height: 22px;
  text-align: center;
}

.dpl-article__body details[open] > summary {
  color: #FF9A01;
}

.dpl-article__body details[open] > summary::before {
  content: "\2212";
  background: #FF9A01;
  color: #FFFFFF;
}

.dpl-article__body details p {
  margin: 0 0 0.85em;
  font-size: 15px;
  line-height: 1.65;
  color: #4A4A4A;
}

.dpl-article__body details > p:first-of-type {
  padding-top: 2px;
}

.dpl-article__body details > p:last-child {
  margin-bottom: 16px;
}

/* Images / rule */
.dpl-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  margin: 1.5em 0;
}

.dpl-article__body hr {
  border: none;
  border-top: 1px solid #E5E5E5;
  margin: 2em 0;
}

.dpl-article__body > *:last-child {
  margin-bottom: 0;
}

.dpl-article__footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #E5E5E5;
}

/* ---------- Mobile ---------- */
@media screen and (max-width: 767px) {
  .dpl-blog { padding: 40px 0; }
  .dpl-article { padding: 24px 0 40px; }
  .dpl-article__body { font-size: 16px; }
  .dpl-article__body ul.dpl-check { grid-template-columns: 1fr; }
}

/* ---------- Featured images ---------- */
.dpl-blog__media,
.dpl-article__media {
  overflow: hidden;
  border-radius: 20px;
  background: #F7F7F7;
  margin-bottom: 16px;
}

.dpl-blog__media { aspect-ratio: 3 / 2; }

/* The cover otherwise stretches the full 1280px container, which at 3:2 is ~850px tall and lets
   only one post fit on screen. Capped so roughly two listings fit a 1080p viewport. */
@media screen and (min-width: 768px) {
  .dpl-blog__media {
    max-width: 360px;
  }

  .dpl-blog__link {
    padding: 24px 0;
  }
}

.dpl-blog__img,
.dpl-article__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dpl-article__media {
  aspect-ratio: 16 / 9;
  margin-bottom: 32px;
}

@media screen and (max-width: 767px) {
  .dpl-article__media { aspect-ratio: 3 / 2; margin-bottom: 24px; }
}
