/*
 * DHL — nowy szablon pojedynczego wpisu.
 * Paleta i typografia zgodne z nowymi podstronami #dlaHanki.
 * Wszystkie reguły są ograniczone do .dhl-single-post-page lub modułów
 * szablonu renderowanych bezpośrednio pod nią.
 */

.dhl-single-post-page {
  --dhl-sp-ink: #332f2d;
  --dhl-sp-text: #514b47;
  --dhl-sp-muted: #736c68;
  --dhl-sp-plum: #a85f6b;
  --dhl-sp-plum-deep: #77454f;
  --dhl-sp-rose: #c67d87;
  --dhl-sp-rose-pale: #f7e9e7;
  --dhl-sp-paper: #fffaf7;
  --dhl-sp-card: #fffdfb;
  --dhl-sp-line: #eadbd5;
  --dhl-sp-shadow: 0 14px 38px rgba(51, 47, 45, 0.07);

  display: block;
  width: 100%;
  padding: clamp(30px, 4.5vw, 66px) 0 clamp(42px, 5vw, 76px);
  color: var(--dhl-sp-text);
  background: linear-gradient(125deg, #fffaf7 0%, #fdf6f1 56%, #fffaf7 100%);
  font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  isolation: isolate;
}

.dhl-single-post-page,
.dhl-single-post-page *,
.dhl-single-post-page *::before,
.dhl-single-post-page *::after {
  box-sizing: border-box;
}

.dhl-single-post-page .dhl-single-post-container {
  width: min(100% - 44px, 1010px);
  margin: 0 auto;
}

.dhl-single-post-page .dhl-article-card {
  min-width: 0;
  margin: 0;
  padding: clamp(24px, 4.5vw, 58px);
  overflow-wrap: anywhere;
  color: var(--dhl-sp-text);
  background: rgba(255, 253, 251, 0.97);
  border: 1px solid var(--dhl-sp-line);
  border-radius: 24px;
  box-shadow: var(--dhl-sp-shadow);
}

.dhl-single-post-page .dhl-article-header {
  margin: 0;
}

.dhl-single-post-page .dhl-article-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 17px;
  color: var(--dhl-sp-plum-deep);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dhl-single-post-page .dhl-article-eyebrow-rule {
  display: inline-block;
  width: 26px;
  height: 2px;
  flex: 0 0 26px;
  border-radius: 99px;
  background: var(--dhl-sp-rose);
}

.dhl-single-post-page .dhl-article-eyebrow-dot {
  color: var(--dhl-sp-rose);
  font-size: 18px;
  line-height: 0.8;
}

.dhl-single-post-page .dhl-article-title {
  max-width: 880px;
  margin: 0;
  color: var(--dhl-sp-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 4.3vw, 55px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-wrap: pretty;
}

.dhl-single-post-page .dhl-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 19px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--dhl-sp-muted);
  font-size: 13px;
  line-height: 1.5;
}

.dhl-single-post-page .dhl-article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--dhl-sp-muted);
  text-decoration: none;
}

.dhl-single-post-page .dhl-article-meta-item i {
  color: var(--dhl-sp-plum);
  font-size: 13px;
}

.dhl-single-post-page .dhl-article-meta-item a,
.dhl-single-post-page .dhl-article-meta-item span {
  color: inherit;
  text-decoration: none;
}

.dhl-single-post-page .dhl-article-meta-item a:hover,
.dhl-single-post-page .dhl-article-meta-item:hover span {
  color: var(--dhl-sp-plum-deep);
}

.dhl-single-post-page .dhl-article-featured {
  margin: 31px 0 36px;
  padding: 0;
}

.dhl-single-post-page .dhl-article-featured-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 1px solid rgba(234, 219, 213, 0.75);
  border-radius: 18px;
  background: var(--dhl-sp-paper);
  object-fit: contain;
}

.dhl-single-post-page .dhl-article-content {
  min-width: 0;
  color: var(--dhl-sp-text);
  font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.dhl-single-post-page .dhl-article-content > :first-child {
  margin-top: 0;
}

.dhl-single-post-page .dhl-article-content > :last-child {
  margin-bottom: 0;
}

.dhl-single-post-page .dhl-article-content p,
.dhl-single-post-page .dhl-article-content ul,
.dhl-single-post-page .dhl-article-content ol {
  color: var(--dhl-sp-text);
  font-size: inherit;
  line-height: inherit;
}

.dhl-single-post-page .dhl-article-content p {
  margin: 0 0 1.28em;
}

.dhl-single-post-page .dhl-article-content h2,
.dhl-single-post-page .dhl-article-content h3,
.dhl-single-post-page .dhl-article-content h4,
.dhl-single-post-page .dhl-article-content h5,
.dhl-single-post-page .dhl-article-content h6 {
  margin: 1.65em 0 0.55em;
  color: var(--dhl-sp-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.dhl-single-post-page .dhl-article-content h2 { font-size: clamp(27px, 3vw, 36px); }
.dhl-single-post-page .dhl-article-content h3 { font-size: clamp(23px, 2.5vw, 29px); }
.dhl-single-post-page .dhl-article-content h4 { font-size: 22px; }
.dhl-single-post-page .dhl-article-content h5 { font-size: 19px; }
.dhl-single-post-page .dhl-article-content h6 { font-size: 17px; }

.dhl-single-post-page .dhl-article-content a {
  color: var(--dhl-sp-plum-deep);
  text-decoration: underline;
  text-decoration-color: rgba(168, 95, 107, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.dhl-single-post-page .dhl-article-content a:hover {
  color: var(--dhl-sp-plum);
  text-decoration-color: currentColor;
}

.dhl-single-post-page .dhl-article-content strong,
.dhl-single-post-page .dhl-article-content b {
  color: var(--dhl-sp-ink);
  font-weight: 750;
}

.dhl-single-post-page .dhl-article-content ul,
.dhl-single-post-page .dhl-article-content ol {
  margin: 0 0 1.35em;
  padding-left: 1.45em;
}

.dhl-single-post-page .dhl-article-content li {
  margin: 0 0 0.45em;
  padding-left: 0.18em;
}

.dhl-single-post-page .dhl-article-content li::marker {
  color: var(--dhl-sp-rose);
}

.dhl-single-post-page .dhl-article-content blockquote,
.dhl-single-post-page .dhl-article-content .wp-block-quote {
  margin: 1.7em 0;
  padding: 20px 24px;
  color: var(--dhl-sp-ink);
  background: #fff8f6;
  border: 1px solid #f0e2df;
  border-left: 4px solid var(--dhl-sp-rose);
  border-radius: 0 14px 14px 0;
}

.dhl-single-post-page .dhl-article-content blockquote p:last-child,
.dhl-single-post-page .dhl-article-content .wp-block-quote p:last-child {
  margin-bottom: 0;
}

.dhl-single-post-page .dhl-article-content figure,
.dhl-single-post-page .dhl-article-content .wp-block-image {
  max-width: 100%;
  margin-top: 1.7em;
  margin-bottom: 1.7em;
}

.dhl-single-post-page .dhl-article-content img,
.dhl-single-post-page .dhl-article-content video,
.dhl-single-post-page .dhl-article-content canvas,
.dhl-single-post-page .dhl-article-content svg {
  max-width: 100%;
  height: auto;
}

.dhl-single-post-page .dhl-article-content img {
  border-radius: 12px;
}

.dhl-single-post-page .dhl-article-content .wp-caption,
.dhl-single-post-page .dhl-article-content figcaption,
.dhl-single-post-page .dhl-article-content .wp-element-caption {
  max-width: 100%;
  margin-top: 9px;
  color: var(--dhl-sp-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.dhl-single-post-page .dhl-article-content .alignleft {
  float: left;
  margin: 0.45em 1.4em 1em 0;
}

.dhl-single-post-page .dhl-article-content .alignright {
  float: right;
  margin: 0.45em 0 1em 1.4em;
}

.dhl-single-post-page .dhl-article-content .aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.dhl-single-post-page .dhl-article-content::after {
  display: table;
  clear: both;
  content: "";
}

.dhl-single-post-page .dhl-article-content table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--dhl-sp-line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.94em;
}

.dhl-single-post-page .dhl-article-content th,
.dhl-single-post-page .dhl-article-content td {
  padding: 11px 14px;
  border-right: 1px solid var(--dhl-sp-line);
  border-bottom: 1px solid var(--dhl-sp-line);
  vertical-align: top;
}

.dhl-single-post-page .dhl-article-content th {
  color: var(--dhl-sp-ink);
  background: #fbf0eb;
  font-weight: 750;
  text-align: left;
}

.dhl-single-post-page .dhl-article-content tr:last-child td { border-bottom: 0; }
.dhl-single-post-page .dhl-article-content th:last-child,
.dhl-single-post-page .dhl-article-content td:last-child { border-right: 0; }

.dhl-single-post-page .dhl-article-content pre,
.dhl-single-post-page .dhl-article-content code {
  max-width: 100%;
  color: #4b3c3d;
  background: #f7efeb;
  border-radius: 6px;
}

.dhl-single-post-page .dhl-article-content code { padding: 0.12em 0.35em; }
.dhl-single-post-page .dhl-article-content pre {
  padding: 16px 18px;
  overflow: auto;
}
.dhl-single-post-page .dhl-article-content pre code { padding: 0; background: transparent; }

.dhl-single-post-page .dhl-article-content hr {
  height: 1px;
  margin: 2.4em 0;
  border: 0;
  background: var(--dhl-sp-line);
}

.dhl-single-post-page .dhl-article-content .wp-block-buttons,
.dhl-single-post-page .dhl-article-content .wp-block-button {
  max-width: 100%;
}

.dhl-single-post-page .dhl-article-content .wp-block-button__link,
.dhl-single-post-page .dhl-article-content a.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 11px 19px;
  color: #fff;
  background: var(--dhl-sp-plum);
  border: 1px solid var(--dhl-sp-plum);
  border-radius: 999px;
  box-shadow: 0 7px 18px rgba(168, 95, 107, 0.15);
  font-family: inherit;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.dhl-single-post-page .dhl-article-content .wp-block-button__link:hover {
  color: #fff;
  background: var(--dhl-sp-plum-deep);
  border-color: var(--dhl-sp-plum-deep);
  box-shadow: 0 9px 22px rgba(119, 69, 79, 0.17);
  transform: translateY(-1px);
}

.dhl-single-post-page .dhl-article-page-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--dhl-sp-line);
}
.dhl-single-post-page .dhl-article-page-links-title { color: var(--dhl-sp-muted); font-size: 13px; }
.dhl-single-post-page .dhl-article-page-link { display: inline-flex; padding: 5px 10px; background: #fff4f2; border: 1px solid var(--dhl-sp-line); border-radius: 8px; }

.dhl-single-post-page .dhl-article-taxonomy {
  display: grid;
  gap: 15px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--dhl-sp-line);
}

.dhl-single-post-page .dhl-taxonomy-group {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 13px;
}

.dhl-single-post-page .dhl-taxonomy-label {
  padding-top: 5px;
  color: var(--dhl-sp-muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.dhl-single-post-page .dhl-taxonomy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.dhl-single-post-page .dhl-taxonomy-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  color: var(--dhl-sp-plum-deep);
  background: #fff4f2;
  border: 1px solid #f0dfdc;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.dhl-single-post-page .dhl-taxonomy-chip:hover {
  color: var(--dhl-sp-plum-deep);
  background: var(--dhl-sp-rose-pale);
  border-color: #e5c6c8;
}

.dhl-single-post-page .dhl-article-module {
  min-width: 0;
  margin: 22px 0 0;
  padding: clamp(20px, 3vw, 30px);
  color: var(--dhl-sp-text);
  background: rgba(255, 253, 251, 0.9);
  border: 1px solid var(--dhl-sp-line);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(51, 47, 45, 0.035);
}

.dhl-single-post-page .dhl-article-share {
  padding-top: 19px;
  padding-bottom: 19px;
}

.dhl-single-post-page .dhl-article-share .share_icon {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.dhl-single-post-page .dhl-article-share .socila_share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  color: var(--dhl-sp-ink);
  font-size: 14px;
}

.dhl-single-post-page .dhl-article-share .share_icon a {
  text-decoration: none;
}

.dhl-single-post-page .dhl-article-share .share_icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  color: var(--dhl-sp-plum-deep);
  background: #fffaf7;
  border: 1px solid var(--dhl-sp-line);
  border-radius: 50%;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.dhl-single-post-page .dhl-article-share .share_icon a:hover i {
  color: #fff;
  background: var(--dhl-sp-plum);
  border-color: var(--dhl-sp-plum);
}

.dhl-single-post-page .dhl-article-author-box .authordetails {
  margin: 0;
  padding: 0;
  border: 0;
}

.dhl-single-post-page .dhl-article-author-box .author_links {
  margin: 0 0 12px;
  padding: 0;
  color: var(--dhl-sp-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
}

.dhl-single-post-page .dhl-article-author-box .author_links a {
  color: var(--dhl-sp-ink);
  text-decoration: none;
}

.dhl-single-post-page .dhl-article-author-box .author_details img {
  max-width: 90px;
  height: auto;
  border-radius: 50%;
}

.dhl-single-post-page .dhl-article-author-box .b-content {
  color: var(--dhl-sp-muted);
  font-size: 14px;
  line-height: 1.7;
}

.dhl-single-post-page .dhl-article-author-box .social-profile {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.dhl-single-post-page .dhl-article-author-box .social-profile li { display: inline-flex; }
.dhl-single-post-page .dhl-article-author-box .social-profile a { text-decoration: none; }

.dhl-single-post-page .dhl-article-author-box .social-profile a i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  color: var(--dhl-sp-plum-deep);
  background: #fff4f2;
  border: 1px solid var(--dhl-sp-line);
  border-radius: 50%;
}

.dhl-single-post-page .dhl-article-author-box .social-profile a:hover i {
  color: #fff;
  background: var(--dhl-sp-plum);
}

.dhl-single-post-page .dhl-article-comments #comments {
  margin: 0;
  padding: 0;
}

.dhl-single-post-page #comments > h2,
.dhl-single-post-page #comments .comments-title,
.dhl-single-post-page #reply-title,
.dhl-single-post-page .dhl-article-related h2,
.dhl-single-post-page .dhl-article-related h3,
.dhl-single-post-page .dhl-article-navigation .post-title {
  color: var(--dhl-sp-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.dhl-single-post-page #comments > h2,
.dhl-single-post-page #comments .comments-title,
.dhl-single-post-page .dhl-article-related h2,
.dhl-single-post-page .dhl-article-related h3 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.8vw, 31px);
}

.dhl-single-post-page #comments ol,
.dhl-single-post-page #comments ul {
  padding-left: 0;
  list-style: none;
}

.dhl-single-post-page #comments .comment-list > li,
.dhl-single-post-page #comments .comment-body {
  margin: 0 0 15px;
  padding: 17px;
  background: #fffaf7;
  border: 1px solid var(--dhl-sp-line);
  border-radius: 14px;
}

.dhl-single-post-page #comments .comment-author,
.dhl-single-post-page #comments .comment-author .fn {
  color: var(--dhl-sp-ink);
  font-weight: 750;
}

.dhl-single-post-page #comments .comment-meta,
.dhl-single-post-page #comments .comment-metadata {
  color: var(--dhl-sp-muted);
  font-size: 12px;
}

.dhl-single-post-page #comments .comment-content {
  color: var(--dhl-sp-text);
  font-size: 15px;
  line-height: 1.7;
}

.dhl-single-post-page #comments a {
  color: var(--dhl-sp-plum-deep);
  text-decoration-color: rgba(168, 95, 107, 0.4);
  text-underline-offset: 3px;
}

.dhl-single-post-page #comments label {
  display: block;
  margin: 0 0 6px;
  color: var(--dhl-sp-ink);
  font-size: 14px;
  font-weight: 700;
}

.dhl-single-post-page #comments input[type="text"],
.dhl-single-post-page #comments input[type="email"],
.dhl-single-post-page #comments input[type="url"],
.dhl-single-post-page #comments textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  color: var(--dhl-sp-ink);
  background: #fff;
  border: 1px solid #e5d4cf;
  border-radius: 11px;
  box-shadow: none;
  font: inherit;
}

.dhl-single-post-page #comments input:focus,
.dhl-single-post-page #comments textarea:focus {
  outline: 3px solid rgba(198, 125, 135, 0.2);
  border-color: var(--dhl-sp-rose);
}

.dhl-single-post-page #comments input#submit,
.dhl-single-post-page #comments input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  color: #fff;
  background: var(--dhl-sp-plum);
  border: 1px solid var(--dhl-sp-plum);
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.dhl-single-post-page #comments input#submit:hover,
.dhl-single-post-page #comments input[type="submit"]:hover {
  background: var(--dhl-sp-plum-deep);
  border-color: var(--dhl-sp-plum-deep);
}

.dhl-single-post-page .dhl-article-related .related-post-wrapper > h3,
.dhl-single-post-page .dhl-article-related .related-post-wrapper > h2 {
  margin: 0 0 20px;
  color: var(--dhl-sp-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 2.8vw, 31px);
  font-weight: 600;
}

.dhl-single-post-page .dhl-article-related .related-post-wrapper .row {
  /* Zachowujemy siatkę Bootstrap z oryginalnego motywu. */
  margin-right: -15px;
  margin-left: -15px;
}

.dhl-single-post-page .dhl-article-related .related-post-wrap {
  min-width: 0;
  margin-bottom: 22px;
  padding: 0 15px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.dhl-single-post-page .dhl-article-related .related-post-wrap img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 0 8px;
  border-radius: 8px;
}

.dhl-single-post-page .dhl-article-related .related-post-wrap .post-page-title {
  display: inline-block;
  margin: 0;
  padding: 8px 0 !important;
  color: var(--dhl-sp-ink);
  font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
}

.dhl-single-post-page .dhl-article-related .related-post-wrap .post-page-title:hover {
  color: var(--dhl-sp-plum-deep);
}

.dhl-single-post-page .dhl-article-related .related-post-wrap .post-single-text {
  color: var(--dhl-sp-muted);
  font-size: 14px;
  line-height: 1.65;
}

.dhl-single-post-page .dhl-article-navigation .post-navigation {
  margin: 0;
  padding: 0;
  border: 0;
}

.dhl-single-post-page .dhl-article-navigation .nav-links {
  display: block;
  overflow: hidden;
  margin: 0;
}

.dhl-single-post-page .dhl-article-navigation .nav-previous,
.dhl-single-post-page .dhl-article-navigation .nav-next {
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.dhl-single-post-page .dhl-article-navigation .nav-previous {
  float: left;
  text-align: left;
}

.dhl-single-post-page .dhl-article-navigation .nav-next {
  float: right;
  text-align: right;
}

.dhl-single-post-page .dhl-article-navigation .post-title {
  display: block;
  margin: 8px 0 0;
  padding: 0;
  color: var(--dhl-sp-ink);
  background: transparent;
  font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.dhl-single-post-page .dhl-article-navigation a {
  text-decoration: none;
}

.dhl-single-post-page .dhl-article-navigation a:hover .post-title {
  color: var(--dhl-sp-plum-deep);
}

.dhl-single-post-page .dhl-article-content .wp-block-embed,
.dhl-single-post-page .dhl-article-content .wp-block-embed__wrapper,
.dhl-single-post-page .dhl-article-content .wp-block-video {
  max-width: 100%;
}

.dhl-single-post-page .dhl-article-content .wp-block-embed iframe,
.dhl-single-post-page .dhl-article-content iframe {
  max-width: 100%;
  border: 0;
}

.dhl-single-post-page a:focus-visible,
.dhl-single-post-page button:focus-visible,
.dhl-single-post-page input:focus-visible,
.dhl-single-post-page textarea:focus-visible {
  outline: 3px solid rgba(198, 125, 135, 0.55);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .dhl-single-post-page .dhl-article-card {
    padding: clamp(24px, 4vw, 38px);
  }

}

@media (max-width: 640px) {
  .dhl-single-post-page {
    padding: 26px 0 42px;
    font-size: 16px;
  }

  .dhl-single-post-page .dhl-single-post-container {
    width: calc(100% - 28px);
  }

  .dhl-single-post-page .dhl-article-card {
    padding: 23px 19px;
    border-radius: 18px;
  }

  .dhl-single-post-page .dhl-article-eyebrow {
    margin-bottom: 13px;
    gap: 7px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .dhl-single-post-page .dhl-article-title {
    font-size: clamp(31px, 8.8vw, 42px);
    letter-spacing: -0.03em;
    line-height: 1.13;
  }

  .dhl-single-post-page .dhl-article-meta {
    gap: 8px 13px;
    margin-top: 17px;
    font-size: 12px;
  }

  .dhl-single-post-page .dhl-article-featured {
    margin: 23px 0 27px;
  }

  .dhl-single-post-page .dhl-article-featured-image {
    border-radius: 13px;
  }

  .dhl-single-post-page .dhl-article-content {
    font-size: 16px;
    line-height: 1.76;
  }

  .dhl-single-post-page .dhl-article-content h2 { font-size: 27px; }
  .dhl-single-post-page .dhl-article-content h3 { font-size: 23px; }
  .dhl-single-post-page .dhl-article-content h4 { font-size: 20px; }

  .dhl-single-post-page .dhl-article-content .alignleft,
  .dhl-single-post-page .dhl-article-content .alignright {
    float: none;
    display: block;
    margin: 1.3em auto;
  }

  .dhl-single-post-page .dhl-article-content blockquote,
  .dhl-single-post-page .dhl-article-content .wp-block-quote {
    padding: 16px 17px;
  }

  .dhl-single-post-page .dhl-article-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dhl-single-post-page .dhl-article-content th,
  .dhl-single-post-page .dhl-article-content td {
    min-width: 110px;
    padding: 9px 10px;
  }

  .dhl-single-post-page .dhl-article-taxonomy {
    gap: 12px;
    margin-top: 27px;
    padding-top: 20px;
  }

  .dhl-single-post-page .dhl-article-module {
    margin-top: 15px;
    padding: 19px 17px;
    border-radius: 16px;
  }

  .dhl-single-post-page .dhl-article-author-box .author_details {
    margin-bottom: 12px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .dhl-single-post-page *,
  .dhl-single-post-page *::before,
  .dhl-single-post-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* v1.0.2 — pełne, klikalne kafelki proponowanych wpisów. */
.dhl-single-post-page .dhl-article-related .related-post-wrap {
  display: flex;
  min-width: 0;
  margin-bottom: 22px;
  padding: 0 15px;
}

.dhl-single-post-page .dhl-related-post-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  color: var(--dhl-sp-text);
  background: #fffdfb;
  border: 1px solid var(--dhl-sp-line);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(51, 47, 45, 0.045);
  text-align: left;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.dhl-single-post-page .dhl-related-post-card:hover {
  color: var(--dhl-sp-text);
  border-color: #d7b3b7;
  box-shadow: 0 12px 28px rgba(119, 69, 79, 0.11);
  text-decoration: none;
  transform: translateY(-3px);
}

.dhl-single-post-page .dhl-related-post-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0;
  background: var(--dhl-sp-rose-pale);
}

.dhl-single-post-page .dhl-related-post-image img,
.dhl-single-post-page .dhl-related-post-thumbnail {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.dhl-single-post-page .dhl-related-post-card:hover .dhl-related-post-thumbnail {
  transform: scale(1.025);
}

.dhl-single-post-page .dhl-related-post-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 18px 17px;
}

.dhl-single-post-page .dhl-article-related .related-post-wrap .post-page-title {
  display: block;
  margin: 0 0 9px;
  padding: 0 !important;
  color: var(--dhl-sp-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.38;
  text-decoration: none;
}

.dhl-single-post-page .dhl-related-post-card:hover .post-page-title {
  color: var(--dhl-sp-plum-deep);
}

.dhl-single-post-page .dhl-article-related .related-post-wrap .post-single-text {
  display: block;
  margin: 0;
  color: var(--dhl-sp-muted);
  font-size: 14px;
  line-height: 1.6;
}

.dhl-single-post-page .dhl-related-post-cta {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  color: var(--dhl-sp-plum-deep);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.dhl-single-post-page .dhl-related-post-card:focus-visible {
  outline: 3px solid rgba(198, 125, 135, 0.65);
  outline-offset: 4px;
}

/* v1.0.2 — symetryczne przyciski poprzedni/następny wpis bez tytułów artykułów. */
.dhl-single-post-page .dhl-article-navigation {
  padding: clamp(16px, 2.5vw, 24px);
}

.dhl-single-post-page .dhl-post-navigation-buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  margin: 0;
}

.dhl-single-post-page .dhl-post-nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 12px 16px;
  color: #fff;
  background: var(--dhl-sp-plum);
  border: 1px solid var(--dhl-sp-plum);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(168, 95, 107, 0.13);
  font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.dhl-single-post-page a.dhl-post-nav-button:hover {
  color: #fff;
  background: var(--dhl-sp-plum-deep);
  border-color: var(--dhl-sp-plum-deep);
  box-shadow: 0 9px 20px rgba(119, 69, 79, 0.18);
  text-decoration: none;
  transform: translateY(-1px);
}

.dhl-single-post-page .dhl-post-nav-arrow {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

.dhl-single-post-page .dhl-post-nav-label {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.dhl-single-post-page .dhl-post-nav-placeholder {
  visibility: hidden;
  pointer-events: none;
}

.dhl-single-post-page .dhl-post-nav-button:focus-visible {
  outline: 3px solid rgba(198, 125, 135, 0.65);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .dhl-single-post-page .dhl-article-related .related-post-wrap {
    margin-bottom: 16px;
  }

  .dhl-single-post-page .dhl-related-post-body {
    padding: 15px 15px 14px;
  }

  .dhl-single-post-page .dhl-article-related .related-post-wrap .post-page-title {
    font-size: 18px;
  }

  .dhl-single-post-page .dhl-post-navigation-buttons {
    gap: 9px;
  }

  .dhl-single-post-page .dhl-post-nav-button {
    min-height: 50px;
    gap: 7px;
    padding: 10px 9px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dhl-single-post-page .dhl-related-post-card,
  .dhl-single-post-page .dhl-related-post-thumbnail,
  .dhl-single-post-page .dhl-post-nav-button {
    transition: none;
  }
}
