/*
Theme Name:  Twenty Twenty-Three Child
Template:    twentytwentythree
Version:     1.0.4
Description: Child theme of Twenty Twenty-Three. Overrides the single post template to remove the theme's built-in header and footer, leaving only the Code Snippets custom nav and footer.
Author:      Hospice Clarity
*/

body.single-post .wp-site-blocks {
  background: #fbf8f3;
}

body.single-post main.wp-block-group {
  padding-bottom: 4.5rem;
}

body.single-post .wp-block-post,
body.single-post .wp-block-group.has-global-padding.is-layout-constrained,
body.single-post .wp-block-post-content.has-global-padding.is-layout-constrained {
  width: min(100%, 820px);
  max-width: 820px;
  margin-inline: auto;
  padding-inline: 20px;
  box-sizing: border-box;
}

body.single-post .wp-block-post-title,
body.single-post .wp-block-post-content h1,
body.single-post .wp-block-post-content h2,
body.single-post .wp-block-post-content h3,
body.single-post .wp-block-post-content h4,
body.single-post .wp-block-post-content h5,
body.single-post .wp-block-post-content h6 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1c2b3a;
  text-wrap: balance;
}

body.single-post .wp-block-post-title {
  max-width: 18ch;
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: clamp(2.55rem, 5vw, 4.5rem);
  line-height: 0.98;
}

body.single-post .wp-block-post-content {
  color: #2c3135;
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
  line-height: 1.82;
}

body.single-post .wp-block-post-content h1 {
  margin-top: 3.2rem;
  margin-bottom: 1.1rem;
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  line-height: 1.02;
}

body.single-post .wp-block-post-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.06;
}

body.single-post .wp-block-post-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.9rem;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  line-height: 1.12;
}

body.single-post .wp-block-post-content h4 {
  margin-top: 2.15rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.28rem, 2.2vw, 1.65rem);
  line-height: 1.2;
}

body.single-post .wp-block-post-content h5 {
  margin-top: 1.9rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.28;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.single-post .wp-block-post-content h6 {
  margin-top: 1.65rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6d7f74;
}

body.single-post .wp-block-post-content p,
body.single-post .wp-block-post-content ul,
body.single-post .wp-block-post-content ol {
  max-width: 72ch;
}

body.single-post .wp-block-post-content ul,
body.single-post .wp-block-post-content ol {
  padding-left: 1.35rem;
}

body.single-post .wp-block-post-content li + li {
  margin-top: 0.45rem;
}

@media (max-width: 720px) {
  body.single-post .wp-block-post,
  body.single-post .wp-block-group.has-global-padding.is-layout-constrained,
  body.single-post .wp-block-post-content.has-global-padding.is-layout-constrained {
    width: 100%;
    padding-inline: 24px;
  }

  body.single-post .wp-block-post-title {
    font-size: clamp(2rem, 10vw, 3rem);
    margin-bottom: 1.4rem;
  }

  body.single-post .wp-block-post-content {
    font-size: 1rem;
    line-height: 1.76;
  }

  body.single-post .wp-block-post-content h2 {
    font-size: clamp(1.75rem, 7vw, 2.3rem);
  }

  body.single-post .wp-block-post-content h3 {
    font-size: clamp(1.4rem, 5.2vw, 1.8rem);
  }
}

@media (max-width: 720px) {
  body.single-post .wp-site-blocks,
  body.single-post main.wp-block-group,
  body.single-post .wp-block-post,
  body.single-post .wp-block-group.has-global-padding.is-layout-constrained,
  body.single-post .wp-block-post-content.has-global-padding.is-layout-constrained {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }
}
Theme Name:  Twenty Twenty-Three Child
Template:    twentytwentythree
Version:     1.0.1
Description: Child theme of Twenty Twenty-Three. Overrides the single post template to remove the theme's built-in header and footer, leaving only the Code Snippets custom nav and footer.
Author:      Hospice Clarity
*/

body.single-post .wp-site-blocks {
  background: #fbf8f3;
}

body.single-post main.wp-block-group {
  padding-bottom: 4.5rem;
}

body.single-post .wp-block-post-title,
body.single-post .wp-block-post-content h1,
body.single-post .wp-block-post-content h2,
body.single-post .wp-block-post-content h3,
body.single-post .wp-block-post-content h4,
body.single-post .wp-block-post-content h5,
body.single-post .wp-block-post-content h6 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1c2b3a;
  text-wrap: balance;
}

body.single-post .wp-block-post-title {
  max-width: 18ch;
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: clamp(2.55rem, 5vw, 4.5rem);
  line-height: 0.98;
}

body.single-post .wp-block-post-content {
  color: #2c3135;
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
  line-height: 1.82;
}

body.single-post .wp-block-post-content h1 {
  margin-top: 3.2rem;
  margin-bottom: 1.1rem;
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  line-height: 1.02;
}

body.single-post .wp-block-post-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.06;
}

body.single-post .wp-block-post-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.9rem;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  line-height: 1.12;
}

body.single-post .wp-block-post-content h4 {
  margin-top: 2.15rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.28rem, 2.2vw, 1.65rem);
  line-height: 1.2;
}

body.single-post .wp-block-post-content h5 {
  margin-top: 1.9rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.28;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.single-post .wp-block-post-content h6 {
  margin-top: 1.65rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6d7f74;
}

body.single-post .wp-block-post-content p,
body.single-post .wp-block-post-content ul,
body.single-post .wp-block-post-content ol {
  max-width: 72ch;
}

body.single-post .wp-block-post-content ul,
body.single-post .wp-block-post-content ol {
  padding-left: 1.35rem;
}

body.single-post .wp-block-post-content li + li {
  margin-top: 0.45rem;
}

body.single-post .wp-block-group.has-global-padding.is-layout-constrained,
body.single-post .wp-block-post-content.has-global-padding.is-layout-constrained {
  width: min(calc(100% - 40px), 820px);
}

@media (max-width: 720px) {
  body.single-post .wp-block-post-title {
    font-size: clamp(2rem, 10vw, 3rem);
    margin-bottom: 1.4rem;
  }

  body.single-post .wp-block-post-content {
    font-size: 1rem;
    line-height: 1.76;
  }

  body.single-post .wp-block-post-content h2 {
    font-size: clamp(1.75rem, 7vw, 2.3rem);
  }

  body.single-post .wp-block-post-content h3 {
    font-size: clamp(1.4rem, 5.2vw, 1.8rem);
  }
}



body.single-post main.wp-block-group {
  width: min(100%, 1080px);
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 48px);
  box-sizing: border-box;
}

body.single-post .wp-block-group.has-global-padding.is-layout-constrained,
body.single-post .wp-block-post,
body.single-post .wp-block-post-content.has-global-padding.is-layout-constrained {
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
}

@media (max-width: 720px) {
  body.single-post main.wp-block-group {
    width: 100%;
    padding-inline: 24px;
  }

  body.single-post .wp-block-group.has-global-padding.is-layout-constrained,
  body.single-post .wp-block-post,
  body.single-post .wp-block-post-content.has-global-padding.is-layout-constrained {
    max-width: 100%;
  }
}

/* Editorial polish for single-post reading rhythm and article close */
body.single-post .wp-block-post-content > p:first-of-type {
  font-size: clamp(1.12rem, 1.9vw, 1.26rem);
  line-height: 1.86;
  color: #24313b;
}

body.single-post .wp-block-post-content p {
  margin-block: 0;
}

body.single-post .wp-block-post-content p + p {
  margin-top: 1.18rem;
}

body.single-post .wp-block-post-content a:not(.wp-element-button) {
  color: #305f71;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  text-decoration-color: rgba(48, 95, 113, 0.32);
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

body.single-post .wp-block-post-content a:not(.wp-element-button):hover,
body.single-post .wp-block-post-content a:not(.wp-element-button):focus-visible {
  color: #1f4f61;
  text-decoration-color: currentColor;
}

body.single-post .wp-block-post-content strong {
  color: #1f2f3d;
  font-weight: 700;
}

body.single-post .wp-block-post-content ul,
body.single-post .wp-block-post-content ol {
  margin-block: 1.3rem 1.7rem;
  padding-left: 1.5rem;
}

body.single-post .wp-block-post-content li {
  padding-left: 0.25rem;
}

body.single-post .wp-block-post-content li::marker {
  color: #587163;
  font-weight: 600;
}

body.single-post .wp-block-post-content li + li {
  margin-top: 0.7rem;
}

body.single-post .wp-block-post-content ol:last-of-type,
body.single-post .wp-block-post-content ul:last-of-type {
  margin-bottom: 2rem;
}

body.single-post .wp-block-template-part {
  margin-top: 4.25rem;
}

body.single-post .wp-block-template-part > .wp-block-group.has-global-padding.is-layout-constrained {
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  padding-top: 0.35rem;
}

body.single-post .wp-block-template-part hr.wp-block-separator {
  opacity: 0.14;
  border-color: #94a39b;
  margin-bottom: 1.85rem;
}

body.single-post .wp-block-template-part .wp-block-columns {
  gap: 2rem;
}

body.single-post .wp-block-template-part p {
  margin: 0;
  color: #627077;
}

body.single-post .wp-block-template-part .wp-block-group.is-layout-flex {
  gap: 0.5rem;
  flex-wrap: wrap;
}

body.single-post .wp-block-post-date,
body.single-post .wp-block-post-author__name,
body.single-post .wp-block-post-terms {
  font-size: 0.96rem;
  color: #24313b;
}

body.single-post .wp-block-post-author__name {
  margin: 0;
  font-weight: 600;
}

body.single-post .wp-block-post-terms a {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: #e9efe8;
  color: #355243;
  text-decoration: none;
}

body.single-post .wp-block-post-terms a:hover,
body.single-post .wp-block-post-terms a:focus-visible {
  background: #dfe9df;
}

@media (max-width: 720px) {
  body.single-post .wp-block-post-content > p:first-of-type {
    font-size: 1.05rem;
    line-height: 1.8;
  }

  body.single-post .wp-block-post-content ul,
  body.single-post .wp-block-post-content ol {
    padding-left: 1.3rem;
  }

  body.single-post .wp-block-template-part {
    margin-top: 3.25rem;
  }

  body.single-post .wp-block-template-part .wp-block-columns {
    gap: 1.2rem;
  }
}


/* ============================================================
   SINGLE BLOG POST — READING EXPERIENCE
   ============================================================ */
.single-post .wp-site-blocks,
.single-post body { background: #faf8f4; }

.single-post .wp-block-post-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(2rem, 3.2vw, 2.8rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  color: #1C2B3A !important;
  max-width: 22ch !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 2rem !important;
  text-align: center !important;
}

.single-post .entry-content,
.single-post .wp-block-post-content > * {
  max-width: 740px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.single-post .entry-content p {
  font-size: 1.075rem !important;
  line-height: 1.85 !important;
  color: #2c3135 !important;
  margin-bottom: 1.4rem !important;
}

.single-post .entry-content h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.015em !important;
  color: #1C2B3A !important;
  margin-top: 2.8rem !important;
  margin-bottom: 0.9rem !important;
  font-weight: 400 !important;
}

.single-post .entry-content h3 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem) !important;
  line-height: 1.3 !important;
  color: #2E4257 !important;
  margin-top: 2rem !important;
  margin-bottom: 0.6rem !important;
  font-weight: 500 !important;
}

.single-post .entry-content h4 {
  font-size: 1rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #7A8C75 !important;
  margin-top: 1.6rem !important;
  margin-bottom: 0.4rem !important;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
  padding-left: 1.4rem !important;
  margin-bottom: 1.4rem !important;
}

.single-post .entry-content li {
  font-size: 1.075rem !important;
  line-height: 1.8 !important;
  color: #2c3135 !important;
  margin-bottom: 0.45rem !important;
}

.single-post .entry-content strong { color: #1C2B3A; font-weight: 600; }

.single-post .entry-content blockquote {
  border-left: 3px solid #7A8C75 !important;
  margin: 2rem 0 !important;
  padding: 0.75rem 1.25rem !important;
  background: #eef1ec !important;
  border-radius: 0 6px 6px 0 !important;
  font-style: italic !important;
  color: #2E4257 !important;
}

@media (max-width: 640px) {
  .single-post .wp-block-post-title {
    font-size: clamp(1.6rem, 7vw, 2rem) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .single-post .entry-content,
  .single-post .wp-block-post-content > * {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* SINGLE POST BREADCRUMB */
.single-post-breadcrumb {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: auto !important;
  background: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  border-bottom: none !important;
}
.single-post-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  max-width: 740px;
  margin: 0 auto 1.5rem;
  padding: 0 24px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7A8C75;
}
.single-post-breadcrumb a {
  color: #7A8C75;
  text-decoration: none;
  transition: color 0.15s ease;
}
.single-post-breadcrumb a:hover {
  color: #1C2B3A;
  text-decoration: underline;
}
.single-post-breadcrumb .bc-sep {
  color: #b0b8aa;
  font-size: 0.9rem;
  line-height: 1;
}
.single-post-breadcrumb span[aria-current="page"] {
  color: #2E4257;
  font-size: 0.78rem;
  max-width: 38ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}