/* ===== PHG CONTENT OVERRIDES START ===== */

/* ===== HIDE KADENCE PAGE TITLE HERO START ===== */
body.page:not(.home) .entry-hero{
  display:none !important;
}

body.page:not(.home) .site-main,
body.page:not(.home) .content-wrap,
body.page:not(.home) .entry-content-wrap{
  margin-top:0 !important;
  padding-top:0 !important;
}

body.page:not(.home) .content-bg{
  padding-top:24px !important;
}
/* ===== HIDE KADENCE PAGE TITLE HERO END ===== */

/* ===== PHG WIDEN SINGLE POST CONTENT START ===== */
body.single-post .content-container{
  width:min(1280px, calc(100% - 32px)) !important;
  max-width:1280px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.single-post .single-entry,
body.single-post .entry-content-wrap,
body.single-post .single-content,
body.single-post article.post,
body.single-post article.type-post{
  width:100% !important;
  max-width:1180px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

@media (max-width: 767px){
  body.single-post .content-container{
    width:min(100%, calc(100% - 20px)) !important;
  }

  body.single-post .single-entry,
  body.single-post .entry-content-wrap,
  body.single-post .single-content,
  body.single-post article.post,
  body.single-post article.type-post{
    max-width:none !important;
  }
}
/* ===== PHG WIDEN SINGLE POST CONTENT END ===== */

/* ===== PHG KNOWLEDGE FEATURED IMAGE FIX START ===== */
body.single-post .post-thumbnail,
body.single-post .entry-header .post-thumbnail,
body.single-post .title-entry-wrap .post-thumbnail,
body.single-post .entry-hero-container .post-thumbnail,
body.single-post .entry-hero .post-thumbnail,
body.single-post .post-thumbnail-inner,
body.single-post img.wp-post-image{
  display:none !important;
}

body.single-post .entry-header,
body.single-post .title-entry-wrap{
  margin-top:0 !important;
  padding-top:0 !important;
}
/* ===== PHG KNOWLEDGE FEATURED IMAGE FIX END ===== */

/* ===== PHG CONTENT OVERRIDES END ===== */

/* ===== PHG SINGLE POST MOBILE CLEAN ===== */
@media (max-width: 767px){
  body.single-post{
    overflow-x:hidden !important;
  }

  body.single-post .content-bg,
  body.single-post .content-container,
  body.single-post .content-wrap,
  body.single-post .entry-content-wrap,
  body.single-post .single-entry,
  body.single-post .single-content,
  body.single-post article.post,
  body.single-post article.type-post{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    box-sizing:border-box !important;
  }

  body.single-post .content-container{
    width:min(100%, calc(100% - 8px)) !important;
  }

  body.single-post .entry-header,
  body.single-post .title-entry-wrap,
  body.single-post .entry-hero-container,
  body.single-post .entry-meta,
  body.single-post .post-meta,
  body.single-post .title-meta-wrap,
  body.single-post .phg-breadcrumb{
    padding-left:16px !important;
    padding-right:16px !important;
    box-sizing:border-box !important;
  }

  body.single-post .entry-title,
  body.single-post h1.entry-title,
  body.single-post .title-entry-wrap h1{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    font-size:clamp(1.74rem, 6vw, 2.14rem) !important;
    line-height:1.08 !important;
    letter-spacing:-.026em !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
    hyphens:auto !important;
    text-wrap:pretty !important;
  }
}

@media (max-width: 480px){
  body.single-post .content-container{
    width:min(100%, calc(100% - 4px)) !important;
  }

  body.single-post .entry-header,
  body.single-post .title-entry-wrap,
  body.single-post .entry-hero-container,
  body.single-post .entry-meta,
  body.single-post .post-meta,
  body.single-post .title-meta-wrap,
  body.single-post .phg-breadcrumb{
    padding-left:14px !important;
    padding-right:14px !important;
  }

  body.single-post .entry-title,
  body.single-post h1.entry-title,
  body.single-post .title-entry-wrap h1{
    font-size:clamp(1.62rem, 5.8vw, 1.96rem) !important;
    line-height:1.10 !important;
  }
}
/* ===== END PHG SINGLE POST MOBILE CLEAN ===== */

/* ===== PHG HIDE HUB QUERY DUPLICATE TEXT 20260423 ===== */
body.page-id-178 .wp-block-kadence-query .wp-block-kadence-dynamichtml,
body.page-id-181 .wp-block-kadence-query .wp-block-kadence-dynamichtml,
body.page-id-183 .wp-block-kadence-query .wp-block-kadence-dynamichtml{
  display:none !important;
  margin:0 !important;
}

body.page-id-178 .wp-block-kadence-query .wp-block-kadence-dynamichtml + .wp-block-kadence-advancedbtn,
body.page-id-181 .wp-block-kadence-query .wp-block-kadence-dynamichtml + .wp-block-kadence-advancedbtn,
body.page-id-183 .wp-block-kadence-query .wp-block-kadence-dynamichtml + .wp-block-kadence-advancedbtn{
  margin-top:0 !important;
}
/* ===== END PHG HIDE HUB QUERY DUPLICATE TEXT 20260423 ===== */

/* ===== PHG SHOW HUB QUERY SAPO 20260423 ===== */
body.page-id-178 .wp-block-kadence-query .wp-block-kadence-dynamichtml,
body.page-id-181 .wp-block-kadence-query .wp-block-kadence-dynamichtml,
body.page-id-183 .wp-block-kadence-query .wp-block-kadence-dynamichtml{
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:4 !important;
  overflow:hidden !important;
  margin:0 0 18px !important;
  color:#3A3A3A !important;
  font-size:15px !important;
  line-height:1.82 !important;
  white-space:normal !important;
}

@media (max-width: 767px){
  body.page-id-178 .wp-block-kadence-query .wp-block-kadence-dynamichtml,
  body.page-id-181 .wp-block-kadence-query .wp-block-kadence-dynamichtml,
  body.page-id-183 .wp-block-kadence-query .wp-block-kadence-dynamichtml{
    -webkit-line-clamp:3 !important;
    font-size:14px !important;
    line-height:1.72 !important;
    margin:0 0 14px !important;
  }
}
/* ===== END PHG SHOW HUB QUERY SAPO 20260423 ===== */

