/**
 * Single Post (News details) — spacing + typography aligned with
 * single-offering (LOB-153: headline, body, in-content h2/h3). Scoped to body.single-post.
 */

body.single-post main {
  margin-top: 0 !important;
}

/* Space between featured image and first paragraph (replaces removed meta row) */
body.single-post .wp-block-post-featured-image {
  margin-bottom: 1.5rem;
}

body.single-post .wp-block-post-title {
  margin-bottom: 1rem;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-black, #000);
  font-family: var(--font-poppins, "Poppins", sans-serif);
  margin-top: 32px;
}

body.single-post .wp-block-post-title a {
  color: inherit;
  text-decoration: none;
}

/* Body — match .lob-offering-description p */
body.single-post .wp-block-post-content p,
body.single-post .entry-content p {
  margin-top: 0;
  margin-bottom: 1em;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
}

/* adjust all headings in a single selector*/
body.single-post .wp-block-post-content h1,
body.single-post .entry-content h1,
body.single-post .wp-block-post-content h2,
body.single-post .entry-content h2,
body.single-post .wp-block-post-content h3,
body.single-post .entry-content h3,
body.single-post .wp-block-post-content h4,
body.single-post .entry-content h4,
body.single-post .wp-block-post-content h5,
body.single-post .entry-content h5,
body.single-post .wp-block-post-content h6,
body.single-post .entry-content h6 {
  font-weight: 500;
  margin-top: 1.1em;
  margin-bottom: 0.5em;
  line-height: 1.3;
  color: var(--color-black, #000);
  font-family: var(--font-poppins, "Poppins", sans-serif);
}

/* In-content subheads — match .lob-offering-description h2 / offer detail h3 scale */
body.single-post .wp-block-post-content h1,
body.single-post .entry-content h1 {
  font-size: 24px;
}

body.single-post .wp-block-post-content h2,
body.single-post .entry-content h2 {
  font-size: 18px;
}

body.single-post .wp-block-post-content h3,
body.single-post .entry-content h3 {
  font-size: 16px;
}

body.single-post .wp-block-post-content h4,
body.single-post .entry-content h4 {
  font-size: 14px;
}

body.single-post .wp-block-post-content h5,
body.single-post .entry-content h5 {
  font-size: 12px;
}

body.single-post .wp-block-post-content h6,
body.single-post .entry-content h6 {
  font-size: 10px;
}


/* Match single-offering.css responsive type scale */
@media (max-width: 768px) {
  body.single-post .wp-block-post-title {
    font-size: 28px;
  }

  body.single-post .wp-block-post-content h1,
  body.single-post .entry-content h1 {
    font-size: 22px;
  }

  body.single-post .wp-block-post-content h2,
  body.single-post .entry-content h2 {
    font-size: 17px;
  }

  body.single-post .wp-block-post-content h3,
  body.single-post .entry-content h3 {
    font-size: 15px;
  }

  body.single-post .wp-block-post-content h4,
  body.single-post .entry-content h4 {
    font-size: 13px;
  }

  body.single-post .wp-block-post-content h5,
  body.single-post .entry-content h5 {
    font-size: 12px;
  }

  body.single-post .wp-block-post-content h6,
  body.single-post .entry-content h6 {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  body.single-post .wp-block-post-title {
    font-size: 24px;
  }

  body.single-post .wp-block-post-content h1,
  body.single-post .entry-content h1 {
    font-size: 20px;
  }

  body.single-post .wp-block-post-content h2,
  body.single-post .entry-content h2 {
    font-size: 16px;
  }

  body.single-post .wp-block-post-content h3,
  body.single-post .entry-content h3 {
    font-size: 14px;
  }

  body.single-post .wp-block-post-content h4,
  body.single-post .entry-content h4 {
    font-size: 12px;
  }

  body.single-post .wp-block-post-content h5,
  body.single-post .entry-content h5 {
    font-size: 11px;
  }

  body.single-post .wp-block-post-content h6,
  body.single-post .entry-content h6 {
    font-size: 10px;
  }
}

/* Lists — exact match with .lob-offering-description list typography */
body.single-post .entry-content ul,
body.single-post .entry-content ol,
body.single-post .wp-block-post-content ul,
body.single-post .wp-block-post-content ol {
  padding-left: 88px;
  margin-top: 16px;
  margin-bottom: 16px;
}

body.single-post .wp-block-post-content ul,
body.single-post .wp-block-post-content ol,
body.single-post .wp-block-post-content li,
body.single-post .entry-content ul,
body.single-post .entry-content ol,
body.single-post .entry-content li {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #333333;
}

/* Reduce padding around Tags section (single post only) */
body.single-post .wp-block-group:has(> .wp-block-post-terms) {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

/* If terms block doesn't render, still reduce the wrapper spacing */

/* .wp-container-core-group-is-layout-4efaea1e {
  margin-bottom: 60px !important;
} */
.wp-container-core-group-is-layout-4efaea1e {
  margin-bottom: 60px !important;
}

/* Comment form submit — match .lob-filter-reset (lob-overzicht filters) */
body.single-post .comment-form input[type="submit"],
body.single-post .comment-form input[type="submit"].wp-element-button,
body.single-post .comment-form .form-submit input[type="submit"],
body.single-post .wp-block-post-comments-form input[type="submit"],
body.single-post .wp-block-comments input[type="submit"] {
  display: block;
  /* width: 100%; */
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  margin-top: 1.25rem;
  background: var(--wp--preset--color--custom-00-c-8-b-0) !important;
  color: var(--color-black, #000) !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
  border-radius: 0;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

body.single-post .comment-form input[type="submit"]:hover,
body.single-post .comment-form input[type="submit"].wp-element-button:hover,
body.single-post .comment-form .form-submit input[type="submit"]:hover,
body.single-post .wp-block-post-comments-form input[type="submit"]:hover,
body.single-post .wp-block-comments input[type="submit"]:hover {
  background: var(--color-primary-hover, #00c8b0e6) !important;
  color: var(--color-black, #000) !important;
}

/* Mobile padding — match overview page comfortable gutters (desktop untouched) */
@media (max-width: 640px) {
  body.single-post main.wp-block-group {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  /* post-content is alignfull in template; add gutters back */
  body.single-post .wp-block-post-content.alignfull,
  body.single-post .wp-block-group.alignfull {
    box-sizing: border-box;
  }

  /* Avoid overly large list indent on mobile */
  body.single-post .entry-content ul,
  body.single-post .entry-content ol,
  body.single-post .wp-block-post-content ul,
  body.single-post .wp-block-post-content ol {
    padding-left: 1.25em;
  }
}