/* Kadence ⇄ Minimum Pro bridge */
body, .content-bg, body.content-style-unboxed .site { background: #fff; }
body { font-family: 'Roboto Slab', serif; font-weight: 300; font-size: 16px; line-height: 1.625; color: #333; }
h1, h2, h3, h4, h5, h6, .entry-title { font-family: 'Roboto Slab', serif; font-weight: 400; color: #333; }
.site-container, .content-container.site-container { max-width: 1140px; padding-left: 0; padding-right: 0; }
#inner-wrap { padding-top: 0; }
.content-area { margin-top: 40px; margin-bottom: 40px; }
/* left sidebar ~ Minimum Pro proportions (content 740 / sidebar 340 of 1140) */
.has-left-sidebar .content-container { grid-template-columns: 340px minmax(0, 1fr) !important; column-gap: 60px !important; }
.primary-sidebar { padding-top: 0; }
.primary-sidebar .widget { margin-bottom: 40px; }
.primary-sidebar .widget-title { font-family: 'Roboto Slab', serif; font-size: 16px; line-height: 1.625; font-weight: 400; text-transform: uppercase; margin-bottom: 24px; letter-spacing: 0; color: #333; }
.primary-sidebar ul { padding-left: 0; margin: 0 0 0 1em; }
.primary-sidebar ul ul, .primary-sidebar .sub-menu { padding-left: 0; margin: 6px 0 0 0; }
.primary-sidebar li { margin-bottom: 6px; padding: 0; border: 0; }
.primary-sidebar li li { margin-left: 25px; }
.primary-sidebar .widget_nav_menu a, .primary-sidebar .menu a { display: inline; padding: 0; }
.entry-content p { margin: 0 0 24px; }
figcaption, .wp-element-caption { font-size: 16px; text-align: left; margin-top: 8px; }
/* links like Minimum Pro: dotted underline */
.entry-content a, .primary-sidebar a, .breadcrumb a { color: #333; text-decoration: none; border-bottom: 1px dotted #333; }
.entry-content a:hover, .primary-sidebar a:hover, .breadcrumb a:hover { color: #0ebfe9; }
.entry-content a.wp-block-button__link, .entry-content .gb-block-button a { border-bottom: 0; }
/* page title + breadcrumb */
.entry-header { margin-bottom: 16px; }
.entry-title { font-size: 30px; line-height: 1.2; margin: 0 0 16px; }
.breadcrumb { margin-bottom: 40px; font-size: 16px; }
.home .entry-header, .home .page-title { display: none; }
.entry.single-entry, .entry-content-wrap { padding: 0 !important; box-shadow: none !important; background: transparent !important; }
/* front-page featured row (former home-featured widgets) */
.boc-home-featured { max-width: 1140px; margin: 40px auto 0; padding-bottom: 40px; border-bottom: 4px solid #eee; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.boc-home-featured a.boc-feat-img { display: block; border-bottom: 1px dotted #333; padding-bottom: 0; }
.boc-home-featured img { max-height: 300px; width: auto; height: auto; display: block; margin: 0 auto; }
.boc-home-featured h2 { font-family: 'Roboto Slab', serif; font-weight: 400; font-size: 18px; margin: 20px 0 0; }
.boc-home-featured h2 a { color: #333; text-decoration: none; border: 0; }
/* header pieces reuse Minimum Pro markup; keep them full width */
#masthead.site-header.boc-header { background: #fff; border-bottom: 1px solid #eee; }
@media only screen and (min-width: 1024px) {
  #masthead.site-header.boc-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 999; }
  .admin-bar #masthead.site-header.boc-header { top: 32px; }
}
@media only screen and (max-width: 1023px) {
  #masthead.site-header.boc-header { position: static; }
  .site-tagline { margin-top: 0; }
}
#masthead.boc-header .wrap { min-height: 59px; }
.site-header .wrap, .site-tagline .wrap, .nav-primary .wrap { max-width: 1140px; margin: 0 auto; }
.boc-search-form { display: flex; }
/* sidebar toggle */
body.boc-sidebar-hidden .primary-sidebar { display: none; }
body.boc-sidebar-hidden .content-container { grid-template-columns: minmax(0, 1fr) !important; }
body.boc-sidebar-hidden .content-area { width: 90%; margin-left: auto; margin-right: auto; }
/* no site footer (as on the Genesis site) */
#colophon { display: none; }
@media only screen and (max-width: 1023px) {
  .site-container, .content-container.site-container { padding-left: 5%; padding-right: 5%; }
  .has-left-sidebar .content-container { grid-template-columns: minmax(0, 1fr) !important; }
  .boc-home-featured { grid-template-columns: repeat(2, 1fr); padding-left: 5%; padding-right: 5%; }
}
@media only screen and (max-width: 767px) {
  .entry-content { overflow-wrap: anywhere; }
}
/* round 3: specificity fixes against Kadence defaults */
.entry-content .bristlecone-markdown > p:last-child, .entry-content > p:last-child { margin-bottom: 24px; }
.widget-area .widget .widget-title, .primary-sidebar .widget .widget-title { font-family: 'Roboto Slab', serif !important; font-size: 16px !important; font-weight: 400 !important; line-height: 1.625 !important; }
.entry-content figcaption, .entry-content .wp-element-caption { font-size: 16px !important; line-height: 1.625; text-align: left; color: #333; }
.has-left-sidebar .content-container { grid-template-columns: 360px minmax(0, 1fr) !important; }
.boc-home-featured { margin-top: 66px; }
@media only screen and (max-width: 1023px) { .has-left-sidebar .content-container { grid-template-columns: minmax(0, 1fr) !important; } }
/* round 4 */
.primary-sidebar ul { margin-left: 0 !important; padding-left: 0 !important; list-style-position: outside; }
.primary-sidebar ul.menu { margin-left: 0; }
.primary-sidebar .sub-menu { margin: 0 !important; }
.primary-sidebar li { margin-bottom: 0.2em !important; list-style-type: disc; }
.primary-sidebar li li { margin-left: 30px !important; }
.primary-sidebar .current-menu-item, .primary-sidebar .current-menu-item > a { color: #ff0000; font-weight: 400; }
.primary-sidebar li.current-menu-item { color: #ff0000; list-style-type: none !important; }
.primary-sidebar li.current-menu-item:before { content: "\21D2  "; }
.primary-sidebar .current-menu-item li, .primary-sidebar .current-menu-ancestor li { color: #ff0000; }
.entry-content ul, .entry-content ol { padding-left: 40px; }
.entry-content ul ul, .entry-content ol ol { padding-left: 40px; }
.entry-content blockquote { border-left: 0 !important; padding: 0 40px !important; margin: 40px 0 24px !important; color: #999; font-style: normal; }
.entry-content blockquote::before { content: "\201C"; display: block; font-size: 30px; height: 0; left: -20px; position: relative; top: -10px; }
/* round 5 */
.primary-sidebar, .primary-sidebar .widget { font-size: 16px; line-height: 1.625; }
.entry-header { margin-bottom: 0 !important; }
.entry-content.single-content, .single-content { margin-top: 0 !important; }
.entry-content > :first-child { margin-top: 0; }
