
.dh-page-bg{background:#f6f8fb;padding:18px 14px 76px;}
@media (max-width:600px){.dh-page-bg{padding:16px 10px 48px;}}
.dh-wrap{max-width:1100px;margin:0 auto;}
.dh-panel{
  background:#ffffff;border:1px solid #e5e7eb;border-radius:28px;
  padding:40px 38px;box-shadow:0 12px 34px rgba(17,24,39,0.07);
  margin:0 0 40px 0;
}
.dh-panel:last-child{margin-bottom:0;}
@media (max-width:1024px){.dh-panel{padding:32px 24px;}}
@media (max-width:600px){.dh-panel{padding:24px 16px;border-radius:20px;margin-bottom:26px;}}
.dh-muted{color:#374151;font-size:1.05rem;line-height:1.65;}
.dh-card{
  border:1px solid #e5e7eb;border-radius:14px;padding:16px;background:#fff;
  box-shadow:0 10px 24px rgba(17,24,39,0.06);
}
.dh-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;}
.dh-note{
  border:1px solid rgba(243,111,33,0.35);background:rgba(243,111,33,0.10);
  color:#111827;border-radius:14px;padding:12px 14px;line-height:1.6;
}

/* Provider dashboard action buttons */
.dh-panel div[style*="justify-content:center"]{
  gap:18px !important;
  margin:20px 0 10px !important;
}

.dh-panel div[style*="justify-content:center"] .wp-element-button{
  min-width:220px;
  text-align:center;
}

/* Kadence compact header — single-row layout */

#masthead .site-header-row-container-inner,
#masthead .site-main-header-inner-wrap {
  min-height: 72px;
}

#masthead .site-header-row-layout-full-contained,
#masthead .site-header-row-layout-contained {
  padding-left: 18px;
  padding-right: 18px;
}

#masthead .site-branding img,
#masthead .custom-logo {
  max-height: 48px;
  width: auto;
}

#masthead .primary-navigation .menu > li > a,
#masthead .main-navigation .menu > li > a {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 14px;
  padding-right: 14px;
  font-size: 16px;
  line-height: 1.2;
}

#masthead .site-header-item {
  margin-top: 0;
  margin-bottom: 0;
}

/* Optional: subtle separation from content */
#masthead {
  box-shadow: 0 1px 0 rgba(16,42,67,.08);
}

/* Mobile */
@media (max-width: 1024px) {
  #masthead .site-header-row-container-inner,
  #masthead .site-main-header-inner-wrap {
    min-height: 62px;
  }

  #masthead .site-branding img,
  #masthead .custom-logo {
    max-height: 40px;
  }

  #masthead .site-header-row-layout-full-contained,
  #masthead .site-header-row-layout-contained {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Reduce the gap between the bottom of the header and the top of page content */

/* Kadence / general content containers */
.content-area,
.site-main,
.site-content,
.content-wrap,
.entry-content-wrap {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Remove extra top spacing from the first content block */
.entry-content > .dh-r4-bg:first-child,
.entry-content > .dh-page-bg:first-child,
.entry-content > .ea-portal-bg:first-child,
.entry-content > .wp-block-group.alignfull:first-child {
  margin-top: 0 !important;
}

/* Tighten page systems that were using larger top padding */
.dh-r4-bg,
.dh-page-bg,
.ea-portal-bg {
  padding-top: 12px !important;
}

@media (max-width: 600px) {
  .dh-r4-bg,
  .dh-page-bg,
  .ea-portal-bg {
    padding-top: 10px !important;
  }
}

.dh-r2-actions{
	justify-content:center;
}
