/* BHR Modern v0.7 release-candidate polish */
.bhr-modern img { max-width: 100%; height: auto; }
.bhr-modern .bhr-card,
.bhr-modern .review-card,
.bhr-modern .bhr-review-panel,
.bhr-modern .bhr-hero {
  box-sizing: border-box;
}
.bhr-modern .bhr-inline-rating {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-weight: 800;
  color: var(--bhr-accent, #025A92);
}
.bhr-modern .custom-summary-shortcode {
  border-left: 4px solid var(--bhr-accent, #025A92);
  padding-left: 1rem;
}
@media (max-width: 780px) {
  .bhr-modern .bhr-site-main,
  .bhr-modern .bhr-container,
  .bhr-modern .site_container {
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }
  .bhr-modern h1 { line-height: 1.15; }
  .bhr-modern .bhr-hero { min-height: auto; }
  .bhr-modern .bhr-card-grid,
  .bhr-modern .review-grid { grid-template-columns: 1fr !important; }
}

/* v0.7.2 legacy single review polish */
.single-layout-legacy {
  max-width: 1100px;
  margin-inline: auto;
}
.single-main-legacy {
  width: 100%;
  min-width: 0;
}
.single-article-legacy {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.single-header-legacy {
  margin-bottom: 8px;
}
.featured-post-title-large {
  display: block;
  width: 100%;
  margin: 0.45em 0 0.2em;
  text-align: left;
  font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
  font-weight: 800;
  line-height: 1.12;
  color: var(--bhr-text);
  text-decoration: none;
}
.single-featured-legacy {
  margin-bottom: 26px !important;
}
.bhr_hp2_image_wrap {
  position: relative;
  aspect-ratio: 16/9;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid #111;
  border-radius: 6px;
  background: #000;
}
.bhr_hp2_border_wrap {
  width: 100%;
  height: 100%;
  border: 0 !important;
  overflow: hidden;
  background: #000;
  box-sizing: border-box;
}
.bhr_hp2_featured_image,
.bhr_hp2_image_wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0 !important;
}
.bhr_hp2_big_type_top_left,
.bhr_hp2_big_type_top_left.bhr_type_color {
  background-color: var(--bhr-accent) !important;
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  padding: 8px 16px;
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 900;
  border-radius: 4px 0 6px 0 !important;
  border: 1px solid #111;
  z-index: 2;
}
.bhr_hp2_big_score_top_right {
  position: absolute;
  top: 0;
  right: 0;
  color: #fff;
  padding: 8px 16px;
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 900;
  border-radius: 0 4px 0 6px !important;
  border: 1px solid #111;
  border-top: 0;
  border-right: 0;
  z-index: 2;
  background: #1e88ff;
}
.bhr_hp2_big_score_top_right.score-mid { background:#f59e0b; }
.bhr_hp2_big_score_top_right.score-low { background:#dc2626; }
.entry-content.thecontent {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--bhr-text);
}
.entry-content.thecontent p,
.entry-content.thecontent li {
  font-size: 1.08rem !important;
  line-height: 1.75 !important;
}
.entry-content.thecontent h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  margin: 1.1em 0 .55em;
}
.entry-content.thecontent h3,
.entry-content.thecontent h4 {
  margin: 1em 0 .45em;
}
.entry-content .custom-summary-shortcode,
.entry-content .thoughts {
  color: var(--bhr-accent) !important;
  font-size: 1.35em !important;
  line-height: 1.6 !important;
  text-align: left !important;
}
.entry-content .review_meta_shortcode_container {
  float: right;
  width: 28%;
  max-width: 320px;
  margin: 0 0 16px 22px;
}
.entry-content .review_meta_details_header {
  margin-left: 0 !important;
  background: var(--bhr-accent) !important;
}
.entry-content .review_meta_shortcode_review_details_block {
  margin-left: 0 !important;
  background: var(--bhr-card) !important;
}
.bhr-after-content-legacy {
  clear: both;
  margin-top: 28px;
}
.bhr-after-content-legacy .related-posts-panel {
  display: none;
}
.bhr-author-block-legacy {
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: 1100px;
  margin: 36px auto 52px;
  padding: 8px 0 0;
  flex-wrap: nowrap;
}
.bhr-author-block-legacy .author-avatar {
  margin-right: 0;
  flex: 0 0 auto;
}
.bhr-author-block-legacy .author-avatar img,
.bhr-author-block-legacy .author-avatar img.avatar {
  width: 180px !important;
  height: 180px !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: block !important;
}
.bhr-author-block-legacy .author-info {
  flex: 1;
  text-align: left;
}
.bhr-author-block-legacy .author-info h3 {
  margin: 0 0 8px !important;
  font-size: 1.8rem;
  line-height: 1.1;
}
.bhr-author-block-legacy .author-info h3 a {
  color: var(--bhr-text) !important;
  font-size: inherit !important;
}
.bhr-author-block-legacy .author-info p {
  margin: 0 0 12px;
  color: var(--bhr-muted);
  font-size: 1rem !important;
  line-height: 1.45 !important;
}
.bhr-author-block-legacy .author-info a {
  color: var(--bhr-accent) !important;
  font-weight: 800;
}
.bhr-footer-legacy {
  background: #111;
  color: #fff;
  padding: 40px 0 28px;
  margin-top: 36px;
  border-top: 0;
}
.bhr-footer-legacy .div_footer {
  max-width: 1100px;
  margin: auto;
  text-align: left !important;
  padding: 10px !important;
  color: #fff !important;
  font-size: 1rem !important;
}
.bhr-footer-legacy h3 {
  color: #fff;
  font-size: 1.6rem;
  margin: 0 0 22px;
}
.bhr-footer-legacy .footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 26px;
}
.bhr-footer-legacy .footer-column { flex: 1; margin-right: 0; }
.bhr-footer-legacy .footer-column ul { list-style: none; padding: 0; margin: 0; }
.bhr-footer-legacy .footer-column li { margin-bottom: 10px; text-align: left; }
.bhr-footer-legacy a { color: #fff !important; font-size: 1rem !important; font-weight: 700; }
.bhr-footer-legacy a:hover { color: #9ed8ff !important; text-decoration: none; }
.bhr-footer-legacy .footer_disclaimer {
  text-align: center !important;
  margin-top: 28px;
  line-height: 1.25;
  color: #fff;
}

@media (max-width: 900px) {
  .single-layout-legacy { padding-inline: 14px; }
  .entry-content .review_meta_shortcode_container {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 18px;
  }
  .bhr-author-block-legacy {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .bhr-author-block-legacy .author-info { text-align: center; }
  .bhr-footer-legacy .footer-columns { flex-direction: column; gap: 12px; }
}


/* v0.7.3 BHR Classic Reimagined - branding and single-post refinement */
.site-branding {
  display: flex;
  align-items: center;
  min-width: 0;
}
.site-logo,
.site-logo:hover {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}
.site-logo img,
.custom-logo {
  display: block;
  max-width: min(320px, 32vw);
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.site-logo-text {
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.site-logo-main {
  font-weight: 950;
  letter-spacing: -.04em;
  font-size: clamp(1.55rem, 2.4vw, 2.45rem);
  color: #fff;
  text-transform: uppercase;
}
.site-logo-tagline {
  display: block;
  margin-top: 4px;
  color: #dbeafe;
  font-size: clamp(.72rem, 1vw, .95rem);
  font-weight: 800;
  letter-spacing: .01em;
}
.site-header {
  background: #050505 !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.07), 0 10px 22px rgba(0,0,0,.14);
}
.header-inner {
  min-height: 76px;
}
.main-navigation a {
  font-weight: 800;
  letter-spacing: -.01em;
}
.header-actions .search-field {
  background: #fff;
  color: #111;
  border-color: rgba(255,255,255,.28);
  border-radius: 2px;
  min-height: 30px;
  padding: 6px 10px;
}
.header-actions .search-submit,
.theme-toggle {
  min-height: 30px;
  border-radius: 2px;
  padding: 6px 10px;
}
.theme-toggle {
  border-radius: 999px;
  min-width: 38px;
}

/* Keep single reviews closer to the established BHR reading feel */
.single-layout-legacy {
  max-width: 1060px;
}
.single-article-legacy {
  background: transparent !important;
}
.entry-content.thecontent {
  max-width: none;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.12rem;
  line-height: 1.78;
}
.entry-content.thecontent p,
.entry-content.thecontent li {
  font-size: 1.12rem !important;
  line-height: 1.78 !important;
}
.entry-content.thecontent h2 {
  color: #333;
  font-size: clamp(1.85rem, 3vw, 2.4rem) !important;
  line-height: 1.18 !important;
  margin-top: 1.2em;
}
html[data-theme="dark"] .entry-content.thecontent h2 { color: var(--bhr-text); }
.entry-content.thecontent h3,
.entry-content.thecontent h4 {
  color: #111827;
  font-weight: 900;
}
html[data-theme="dark"] .entry-content.thecontent h3,
html[data-theme="dark"] .entry-content.thecontent h4 { color: var(--bhr-text); }
.entry-content .review_meta_shortcode_container,
.review_meta_shortcode_container {
  float: right !important;
  width: 28% !important;
  max-width: 320px !important;
  min-width: 250px;
  margin: 0 0 16px 24px !important;
  clear: right;
}
.review_meta_details_header,
.entry-content .review_meta_details_header {
  background: var(--bhr-accent) !important;
  color: #fff !important;
  text-align: center !important;
  text-transform: uppercase;
  font-weight: 900;
  margin-left: 0 !important;
  border-radius: 0;
}
.review_meta_shortcode_review_details_block,
.entry-content .review_meta_shortcode_review_details_block {
  background: #fff !important;
  border: 1px solid #dedede !important;
  margin-left: 0 !important;
  color: #111 !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .review_meta_shortcode_review_details_block,
html[data-theme="dark"] .entry-content .review_meta_shortcode_review_details_block {
  background: #101923 !important;
  color: var(--bhr-text) !important;
  border-color: var(--bhr-border) !important;
}
.bhr-after-content-legacy {
  clear: both;
}
.bhr-author-block-legacy {
  border-top: 0;
  background: transparent;
  padding-top: 22px;
}
.bhr-footer-legacy {
  background: #111 !important;
  color: #fff;
  border-top: 4px solid #025A92;
}
.bhr-footer-legacy .footer_disclaimer {
  font-size: .95rem !important;
}

@media (max-width: 900px) {
  .entry-content .review_meta_shortcode_container,
  .review_meta_shortcode_container {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 0 18px 0 !important;
  }
  .site-logo img,
  .custom-logo { max-width: 230px; max-height: 50px; }
  .header-actions .search-form { display: none; }
}

/* v0.7.4 homepage row controls + bigger cards */
.home-main-sections .panel.home-section {
  padding: 22px;
}
.home-main-sections .card-grid,
.home-main-sections .mini-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.home-main-sections .mini-grid .bhr-card-small,
.home-main-sections .card-grid .bhr-card {
  min-height: 100%;
}
.home-main-sections .mini-grid .bhr-card-small {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}
.home-main-sections .mini-grid .bhr-card-small .bhr-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 0;
}
.home-main-sections .mini-grid .bhr-card-small .bhr-card-body {
  padding: 14px;
}
.home-main-sections .mini-grid .bhr-card-small h3 {
  font-size: 1.06rem;
  line-height: 1.15;
}
.home-main-sections .mini-grid .bhr-card-small .card-meta-row,
.home-main-sections .card-grid .card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin: 8px 0 12px;
  color: var(--bhr-muted);
  font-size: .9rem;
  font-weight: 800;
}
.home-main-sections .bhr-card .read-more {
  display: inline-flex;
  margin-top: auto;
}

@media (max-width: 1180px) {
  .home-main-sections .card-grid,
  .home-main-sections .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .home-main-sections .card-grid,
  .home-main-sections .mini-grid {
    grid-template-columns: 1fr;
  }
  .home-main-sections .panel.home-section { padding: 14px; }
}


/* v0.7.5 markup/layout repair */
.site-main {
  display: block;
  clear: both;
  width: 100%;
}
.site-main::after,
.bhr-wrap::after,
.single-layout-legacy::after,
.single-main-legacy::after,
.single-article-legacy::after,
.entry-content::after {
  content: "";
  display: table;
  clear: both;
}
.single-layout-legacy {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.single-main-legacy {
  width: 100%;
  max-width: none;
}
.single-article-legacy {
  width: 100%;
  max-width: none;
  overflow: visible;
}
.site-header {
  width: 100%;
}
.site-header .bhr-wrap.header-inner {
  width: min(1440px, calc(100% - 48px));
  max-width: 1440px;
}
.site-logo-text {
  max-width: 360px;
  overflow: hidden;
}
.site-logo-main {
  white-space: nowrap;
  font-size: clamp(1.4rem, 1.8vw, 2rem);
}
.site-logo-tagline {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.single-featured-legacy,
.bhr_hp2_block-featured {
  clear: both;
}
.bhr-after-content-legacy {
  clear: both;
  width: 100%;
}
@media (max-width: 900px) {
  .single-layout-legacy,
  .site-header .bhr-wrap.header-inner {
    width: min(100% - 24px, 100%);
  }
}

/* v0.7.7 - restore legacy BHR dropdown header labels and links */
.bhr-classic-header{
  background:#050505;
  color:#fff;
  border-bottom:3px solid var(--bhr-accent, #025A92);
  position:relative;
  z-index:1000;
}
.bhr-classic-header-inner{
  max-width:var(--bhr-site-width, 1450px);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:76px;
  padding:8px 18px;
  box-sizing:border-box;
}
.bhr-classic-branding .site-logo,
.bhr-classic-branding .custom-logo-link{
  display:flex;
  align-items:center;
  text-decoration:none;
  color:#fff;
}
.bhr-classic-branding .custom-logo{max-height:62px;width:auto;display:block;}
.bhr-classic-branding .site-logo-text{display:block;line-height:1;}
.bhr-classic-branding .site-logo-main{display:block;font-size:34px;font-weight:900;letter-spacing:-1px;text-transform:uppercase;}
.bhr-classic-branding .site-logo-tagline{display:block;font-size:14px;font-weight:800;color:#fff;opacity:.95;margin-top:2px;}
.bhr-classic-header-actions{display:flex;align-items:center;gap:10px;}
.bhr-classic-header-actions .searchform div{display:flex;align-items:center;gap:4px;}
.bhr-classic-header-actions input[type="text"]{height:30px;min-width:240px;border:0;padding:0 10px;}
.bhr-classic-header-actions input[type="submit"]{height:30px;border:0;background:#fff;color:#111;font-weight:700;padding:0 10px;cursor:pointer;}
.bhr_nav_outer{width:100%;background:var(--bhr-accent,#025A92);position:relative;z-index:9999;}
.bhr_nav_inner{max-width:var(--bhr-site-width,1450px);margin:0 auto;padding:0 18px;box-sizing:border-box;}
.bhr_main_nav{display:flex;align-items:stretch;background:var(--bhr-accent,#025A92);min-height:48px;}
.bhr_nav_link,
.bhr_nav_button,
.bhr_nav_subbutton,
.bhr_mobile_menu_button{color:#fff;background:var(--bhr-accent,#025A92);border:0;padding:14px 16px;font-size:17px;font-family:inherit;font-weight:800;text-decoration:none;cursor:pointer;line-height:1.25;display:flex;align-items:center;}
.bhr_nav_link:hover,
.bhr_nav_button:hover,
.bhr_nav_subbutton:hover,
.bhr_mobile_menu_button:hover{background:#3B89C9;color:#fff;text-decoration:none;}
.bhr_nav_dropdown,.bhr_nav_subdropdown{position:relative;}
.bhr_nav_dropdown_menu,.bhr_nav_submenu{display:none;position:absolute;background:#3B89C9;min-width:240px;z-index:10000;box-shadow:0 10px 24px rgba(0,0,0,.22);}
.bhr_nav_dropdown_menu{top:100%;left:0;}
.bhr_nav_submenu{top:0;left:100%;}
.bhr_nav_dropdown:hover>.bhr_nav_dropdown_menu,
.bhr_nav_dropdown:focus-within>.bhr_nav_dropdown_menu,
.bhr_nav_subdropdown:hover>.bhr_nav_submenu,
.bhr_nav_subdropdown:focus-within>.bhr_nav_submenu{display:block;}
.bhr_nav_dropdown_menu a,.bhr_nav_submenu a{display:block;color:#fff;padding:12px 16px;text-decoration:none;white-space:nowrap;font-weight:800;}
.bhr_nav_dropdown_menu a:hover,.bhr_nav_submenu a:hover{background:#fff;color:var(--bhr-accent,#025A92)!important;text-decoration:none;}
.bhr_nav_subbutton{width:100%;text-align:left;box-sizing:border-box;}
.bhr_nav_direct_link{display:block;width:100%;box-sizing:border-box;text-align:left;}
.bhr_mobile_menu_button{display:none;margin-left:auto;}
.menu-toggle,.main-navigation{display:none!important;}
@media (max-width:1000px){
  .bhr-classic-header-inner{display:block;text-align:center;padding:8px 12px;}
  .bhr-classic-branding .site-logo,.bhr-classic-branding .custom-logo-link{justify-content:center;}
  .bhr-classic-branding .custom-logo{max-height:54px;}
  .bhr-classic-branding .site-logo-main{font-size:26px;}
  .bhr-classic-header-actions{justify-content:center;flex-wrap:wrap;margin-top:8px;}
  .bhr-classic-header-actions .searchform{width:100%;}
  .bhr-classic-header-actions .searchform div{display:flex;width:100%;}
  .bhr-classic-header-actions input[type="text"]{min-width:0;flex:1;width:auto;}
  .bhr_nav_inner{padding:0;}
  .bhr_main_nav{display:block;position:relative;min-height:48px;}
  .bhr_nav_link,.bhr_nav_dropdown{display:none;}
  .bhr_nav_link:first-child,.bhr_mobile_menu_button{display:flex;}
  .bhr_mobile_menu_button{position:absolute;right:0;top:0;}
  .bhr_main_nav.bhr_nav_open .bhr_nav_link,
  .bhr_main_nav.bhr_nav_open .bhr_nav_dropdown{display:block;width:100%;}
  .bhr_nav_button,.bhr_nav_subbutton{width:100%;text-align:left;box-sizing:border-box;}
  .bhr_main_nav.bhr_nav_open .bhr_nav_dropdown_menu,
  .bhr_main_nav.bhr_nav_open .bhr_nav_submenu{display:block;position:static;width:100%;min-width:100%;box-shadow:none;}
  .bhr_nav_submenu{padding-left:18px;box-sizing:border-box;background:#01456f;}
}

/* v0.8 Classic Single Rebuild */
.bhr-single-classic-rebuilt,
.single-layout-legacy.bhr-single-classic-rebuilt {
  max-width: 960px !important;
  width: min(960px, calc(100% - 48px)) !important;
  margin-inline: auto !important;
}

.bhr-single-header-rebuilt {
  margin: 26px 0 14px;
}

.bhr-article-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 0 0 10px;
  padding: 6px 12px;
  background: var(--bhr-accent, #025A92);
  color: #fff;
  border-radius: 4px;
  font-size: .85rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.bhr-single-title-rebuilt,
.featured-post-title-large.bhr-single-title-rebuilt {
  margin: 0 0 12px !important;
  color: #071527 !important;
  font-size: clamp(2rem, 4.2vw, 3rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em;
}
html[data-theme="dark"] .bhr-single-title-rebuilt,
html[data-theme="dark"] .featured-post-title-large.bhr-single-title-rebuilt {
  color: var(--bhr-text) !important;
}

.bhr-single-summary-rebuilt,
.custom-summary-shortcode.bhr-single-summary-rebuilt {
  display: block;
  margin: 12px 0 18px !important;
  padding: 8px 0 8px 18px !important;
  border-left: 4px solid var(--bhr-accent, #025A92) !important;
  color: var(--bhr-accent, #025A92) !important;
  font-size: clamp(1.25rem, 2.3vw, 1.55rem) !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
  font-style: italic;
  text-align: left !important;
}

.bhr-single-meta-rebuilt {
  margin: 0 0 18px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--bhr-border, #dbe3ee);
  color: #5f6b7a;
  font-size: .98rem;
  line-height: 1.35;
  font-weight: 600;
}
.bhr-single-meta-rebuilt a {
  color: var(--bhr-accent, #025A92) !important;
  font-weight: 800;
}
html[data-theme="dark"] .bhr-single-meta-rebuilt {
  color: var(--bhr-muted);
}

.bhr-featured-rebuilt,
.single-featured-legacy.bhr-featured-rebuilt {
  max-width: 920px;
  margin: 0 auto 24px !important;
}
.bhr-featured-rebuilt .bhr_hp2_image_wrap {
  max-width: 920px;
  margin-inline: auto;
}

/* Remove the loose body rating; the canonical rating message appears after the article. */
.entry-content.thecontent > .bhr-inline-rating,
.entry-content.thecontent > p:has(.bhr-inline-rating) {
  display: none !important;
}

/* Author block polish and light-mode colour safety */
.bhr-author-block-legacy,
.author-block.bhr-author-block-legacy {
  max-width: 960px !important;
  margin: 34px auto 48px !important;
  padding: 22px 0 0 !important;
  border-top: 1px solid var(--bhr-border, #dbe3ee) !important;
  background: transparent !important;
  color: var(--bhr-text, #111827) !important;
}
.bhr-author-block-legacy .author-avatar,
.bhr-author-block-legacy .author-avatar img,
.bhr-author-block-legacy .author-avatar img.avatar {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.bhr-author-block-legacy .author-info,
.bhr-author-block-legacy .author-info p,
.bhr-author-block-legacy .author-details,
.bhr-author-block-legacy .author-details p {
  color: #334155 !important;
}
.bhr-author-block-legacy .author-info h3,
.bhr-author-block-legacy .author-info h3 a {
  color: #071527 !important;
}
html[data-theme="dark"] .bhr-author-block-legacy .author-info,
html[data-theme="dark"] .bhr-author-block-legacy .author-info p,
html[data-theme="dark"] .bhr-author-block-legacy .author-details,
html[data-theme="dark"] .bhr-author-block-legacy .author-details p {
  color: var(--bhr-muted) !important;
}
html[data-theme="dark"] .bhr-author-block-legacy .author-info h3,
html[data-theme="dark"] .bhr-author-block-legacy .author-info h3 a {
  color: var(--bhr-text) !important;
}

@media (max-width: 900px) {
  .bhr-single-classic-rebuilt,
  .single-layout-legacy.bhr-single-classic-rebuilt {
    width: min(100% - 24px, 960px) !important;
  }
  .bhr-single-header-rebuilt { margin-top: 18px; }
  .bhr-single-summary-rebuilt,
  .custom-summary-shortcode.bhr-single-summary-rebuilt {
    font-size: 1.18rem !important;
  }
}


/* v0.8.1 - BHR classic header/content fixes */
:root { --bhr-site-width: 1180px; --bhr-content-width: 960px; }
.bhr-wrap,
.archive .bhr-wrap,
.search .bhr-wrap,
.page .bhr-wrap,
.single-layout-legacy.bhr-single-classic-rebuilt {
  width: min(var(--bhr-site-width), calc(100% - 48px)) !important;
  max-width: var(--bhr-site-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.single-main-legacy,
.single-article-legacy,
.bhr-after-content-legacy {
  max-width: var(--bhr-content-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.bhr-single-header-rebuilt,
.bhr-featured-rebuilt,
.bhr-featured-rebuilt .bhr_hp2_image_wrap,
.entry-content.thecontent.review-main-content,
.review_main_content {
  max-width: var(--bhr-content-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.bhr-single-title-rebuilt,
.featured-post-title-large.bhr-single-title-rebuilt {
  display: block !important;
  margin: 0 0 12px !important;
  font-size: clamp(2rem, 3.8vw, 3rem) !important;
  line-height: 1.08 !important;
}
.bhr-title-prefix {
  color: var(--bhr-accent, #025A92) !important;
  font-weight: 900 !important;
  white-space: nowrap;
}
.bhr-title-score {
  display: inline-block;
  margin-left: .45em;
  color: var(--bhr-accent-2, #0277c2) !important;
  font-weight: 900 !important;
  white-space: nowrap;
}
.bhr-article-type-pill { display: none !important; }
.bhr_hp2_big_type_top_left,
.bhr_hp2_big_score_top_right { display: none !important; }
.bhr-single-summary-rebuilt,
.custom-summary-shortcode.bhr-single-summary-rebuilt {
  font-style: normal !important;
  font-size: clamp(1.25rem, 2vw, 1.48rem) !important;
  line-height: 1.55 !important;
  color: var(--bhr-accent, #025A92) !important;
  font-weight: 600 !important;
  padding: 8px 0 8px 18px !important;
  border-left: 4px solid var(--bhr-accent, #025A92) !important;
}
/* Stronger author card; never let legacy shortcode colours bleed through. */
.bhr-author-block-legacy,
.author-block.bhr-author-block-legacy {
  display: grid !important;
  grid-template-columns: 170px minmax(0,1fr) !important;
  gap: 24px !important;
  align-items: center !important;
  max-width: var(--bhr-content-width) !important;
  margin: 42px auto 48px !important;
  padding: 24px !important;
  border: 1px solid var(--bhr-border,#dbe3ee) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #111827 !important;
}
.bhr-author-block-legacy .author-avatar img,
.bhr-author-block-legacy .author-avatar img.avatar {
  width: 150px !important;
  height: 150px !important;
  border: 0 !important;
  border-radius: 8px !important;
  object-fit: cover !important;
}
.bhr-author-block-legacy .author-info,
.bhr-author-block-legacy .author-info p { color:#334155 !important; font-size:1rem !important; line-height:1.55 !important; }
.bhr-author-block-legacy .author-info h3,
.bhr-author-block-legacy .author-info h3 a { color:#071527 !important; margin-top:0 !important; }
html[data-theme="dark"] .bhr-author-block-legacy,
html[data-theme="dark"] .author-block.bhr-author-block-legacy { background: var(--bhr-card) !important; color: var(--bhr-text) !important; }
html[data-theme="dark"] .bhr-author-block-legacy .author-info,
html[data-theme="dark"] .bhr-author-block-legacy .author-info p { color: var(--bhr-muted) !important; }
/* Category/archive/page grid repair */
.archive .card-grid,
.search .card-grid,
.page .card-grid,
.bhr_hp2_grid,
.grouped-posts-wrapper .bhr_hp2_grid,
.review-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}
.bhr_hp2_container,
.grouped-posts-wrapper,
#group-page {
  max-width: var(--bhr-site-width) !important;
  width: min(var(--bhr-site-width), calc(100% - 48px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.bhr_hp2_block,
.grouped-posts-wrapper .bhr_hp2_block {
  background: #fff !important;
  border: 1px solid var(--bhr-border,#dbe3ee) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  padding: 0 !important;
  box-shadow: 0 8px 20px rgba(15,23,42,.05) !important;
  color: #111827 !important;
}
.bhr_hp2_block_wrap { padding: 0 !important; }
.bhr_hp2_image_wrap:not(.single-featured-legacy .bhr_hp2_image_wrap) {
  aspect-ratio: 16/9 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: #111 !important;
}
.bhr_hp2_grid .bhr_hp2_image_wrap img,
.review-grid img,
.grouped-posts-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.bhr_hp2_title,
.bhr_hp2_block h3 {
  font-size: 1.2rem !important;
  line-height: 1.2 !important;
  color: #111827 !important;
  margin: 12px 14px 8px !important;
}
.bhr_hp2_summary_override,
.bhr_hp2_block .summary-text { margin-left:14px!important; margin-right:14px!important; }
.bhr_hp2_type_top_left.bhr_type_color,
.bhr_hp2_score_top_right {
  display: block !important; /* keep badges on archive cards only */
}
.single-featured-legacy .bhr_hp2_type_top_left,
.single-featured-legacy .bhr_hp2_score_top_right { display:none!important; }
.page .entry-content > p > a:only-child img,
.page .entry-content > p > img {
  max-height: 220px !important;
  width: 100% !important;
  object-fit: cover !important;
}
@media (max-width: 1000px) {
  .archive .card-grid,
  .search .card-grid,
  .page .card-grid,
  .bhr_hp2_grid,
  .grouped-posts-wrapper .bhr_hp2_grid,
  .review-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 680px) {
  .archive .card-grid,
  .search .card-grid,
  .page .card-grid,
  .bhr_hp2_grid,
  .grouped-posts-wrapper .bhr_hp2_grid,
  .review-grid { grid-template-columns: 1fr !important; }
  .bhr-author-block-legacy,
  .author-block.bhr-author-block-legacy { grid-template-columns: 1fr !important; text-align:center !important; }
  .bhr-author-block-legacy .author-avatar { margin-inline:auto !important; }
  .bhr-title-score { display:block; margin-left:0; margin-top:.2em; }
}

/* v0.8.2 unified shortcode/search card grids */
.bhr-shortcode-results {
  max-width: var(--bhr-width);
  margin: 28px auto;
}
.bhr-shortcode-results-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--bhr-text);
}
.bhr-shortcode-card-grid,
.bhr-unified-card-results .card-grid {
  display: grid !important;
  grid-template-columns: repeat(var(--bhr-grid-cols, 3), minmax(0, 1fr)) !important;
  gap: 22px !important;
  width: 100%;
}
.bhr-shortcode-card-grid .bhr-card {
  height: 100%;
}
@media (max-width: 1100px) {
  .bhr-shortcode-card-grid,
  .bhr-unified-card-results .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 680px) {
  .bhr-shortcode-card-grid,
  .bhr-unified-card-results .card-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v0.8.3 - BHR width, hero, summary, platform, pagination and invalid rating polish */
:root{
  --bhr-site-width: 1160px;
  --bhr-content-width: 1000px;
}
.bhr-wrap,
.archive .bhr-wrap,
.search .bhr-wrap,
.page .bhr-wrap,
.home .bhr-wrap,
.single-layout-legacy.bhr-single-classic-rebuilt{
  max-width: var(--bhr-site-width) !important;
}
.single-main-legacy,
.single-article-legacy,
.bhr-after-content-legacy,
.bhr-single-header-rebuilt,
.single-featured-legacy.bhr-featured-rebuilt,
.entry-content.review-main-content,
.entry-content.review_main_content{
  max-width: var(--bhr-content-width) !important;
}
/* Hero cleanup: no Featured Review/platform clutter; reading time sits lower */
.hero .hero-kicker-row,
.hero .hero-platforms,
.hero .platform-pill,
.hero .hero-platform-pill{display:none!important;}
.hero-read-lower{
  margin:12px 0 18px;
  color:#334155;
  font-weight:800;
  font-size:.95rem;
}
/* Hide platform tags everywhere by default in card/meta rows. */
.card-meta-row span + span,
.platform-pills,
.hero-platforms{display:none!important;}
/* Summary: non-italic, darker, clearer, no quote-pipe feel */
.bhr-single-summary-rebuilt,
.custom-summary-shortcode.bhr-single-summary-rebuilt{
  color:#025A92!important;
  font-size:1.35rem!important;
  line-height:1.55!important;
  font-style:normal!important;
  font-weight:700!important;
  border-left:4px solid #025A92!important;
  padding:4px 0 4px 18px!important;
  margin:18px 0 16px!important;
  max-width:var(--bhr-content-width)!important;
}
/* Prefix as coloured words, not a box and not visually separated by a pipe. */
.bhr-title-prefix{
  color:#025A92!important;
  font-weight:900!important;
  margin-right:.25em!important;
}
.bhr-title-prefix::after{content:""!important;}
.bhr-title-score{
  color:#025A92!important;
  font-size:.62em!important;
  white-space:nowrap!important;
  margin-left:.35em!important;
}
/* Remove image overlay badges on singles completely. */
.single-featured-legacy .bhr_hp2_type_top_left,
.single-featured-legacy .bhr_hp2_score_top_right,
.bhr-featured-rebuilt .bhr_hp2_type_top_left,
.bhr-featured-rebuilt .bhr_hp2_score_top_right{display:none!important;}
/* Category/search grid should be actual cards and use the site width. */
.archive-header{
  background:#fff;
  border:1px solid var(--bhr-border);
  border-radius:10px;
  padding:28px 32px;
  margin:28px auto 24px;
  max-width:var(--bhr-site-width);
}
.archive-header h1{font-size:clamp(2rem,4vw,3.4rem)!important;line-height:1.05!important;margin:0 0 12px!important;}
.card-grid,
.bhr-card-grid,
.bhr-shortcode-card-grid{
  display:grid!important;
  grid-template-columns:repeat(var(--bhr-grid-cols,3), minmax(0,1fr))!important;
  gap:24px!important;
  max-width:var(--bhr-site-width)!important;
  margin:0 auto 34px!important;
}
.bhr-card{min-width:0!important;}
.bhr-card-image img{aspect-ratio:16/9!important;object-fit:cover!important;width:100%!important;display:block!important;}
/* Pagination for archives/search/shortcodes. */
.pagination,
.bhr-pagination{margin:28px auto 48px!important;text-align:center!important;max-width:var(--bhr-site-width)!important;}
.pagination ul,
.bhr-pagination ul{list-style:none!important;padding:0!important;margin:0!important;display:flex!important;gap:8px!important;justify-content:center!important;flex-wrap:wrap!important;}
.pagination a,.pagination span,
.bhr-pagination a,.bhr-pagination span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:40px!important;min-height:40px!important;padding:8px 12px!important;border:1px solid var(--bhr-border)!important;border-radius:8px!important;background:#fff!important;font-weight:800!important;}
.pagination .current,.bhr-pagination .current{background:#025A92!important;color:#fff!important;border-color:#025A92!important;}
/* Invalid legacy rating text should not appear. */
p:empty + .rating-message-block,
.rating-missing,
.rating-invalid{display:none!important;}
@media (max-width: 1000px){.card-grid,.bhr-card-grid,.bhr-shortcode-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media (max-width: 680px){.card-grid,.bhr-card-grid,.bhr-shortcode-card-grid{grid-template-columns:1fr!important}.bhr-single-summary-rebuilt,.custom-summary-shortcode.bhr-single-summary-rebuilt{font-size:1.15rem!important}}

/* v0.8.4 - unified width, single polish, meta/disclaimer cleanup */
:root{
  --bhr-site-width: var(--bhr-max-width, 1200px) !important;
  --bhr-content-width: var(--bhr-site-width) !important;
}
.bhr-wrap,
.archive .bhr-wrap,
.search .bhr-wrap,
.page .bhr-wrap,
.home .bhr-wrap,
.single-layout-legacy.bhr-single-classic-rebuilt,
.bhr_hp2_container,
.grouped-posts-wrapper,
#group-page,
.archive-header,
.card-grid,
.bhr-card-grid,
.bhr-shortcode-card-grid,
.bhr-pagination,
.pagination,
.bhr-footer-legacy .div_footer{
  width: min(var(--bhr-site-width), calc(100% - 48px)) !important;
  max-width: var(--bhr-site-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.single-main-legacy,
.single-article-legacy,
.bhr-after-content-legacy,
.bhr-single-header-rebuilt,
.single-featured-legacy.bhr-featured-rebuilt,
.bhr-featured-rebuilt .bhr_hp2_image_wrap,
.entry-content.review-main-content,
.entry-content.review_main_content,
.review_main_content,
.thecontent{
  width: 100% !important;
  max-width: var(--bhr-site-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Header: remove duplicated author from the top meta; bottom author card carries authorship. */
.bhr-single-meta-rebuilt{
  color:#52606f !important;
  font-size:.96rem !important;
  font-weight:700 !important;
  margin: 0 0 18px !important;
  padding: 0 0 14px !important;
}

/* Title line: cleaner prefix/score without the cramped double-label feel. */
.bhr-single-title-rebuilt,
.featured-post-title-large.bhr-single-title-rebuilt{
  margin-bottom: 10px !important;
}
.bhr-title-prefix{
  display:inline !important;
  color:#025A92 !important;
  margin-right:.34em !important;
}
.bhr-title-score{
  color:#025A92 !important;
  font-size:.56em !important;
  margin-left:.45em !important;
  vertical-align:baseline !important;
}

/* Summary: clearer, less shouty, still BHR blue. */
.bhr-single-summary-rebuilt,
.custom-summary-shortcode.bhr-single-summary-rebuilt{
  color:#075985 !important;
  background:#f3f9ff !important;
  border-left:5px solid #025A92 !important;
  border-radius:0 6px 6px 0 !important;
  padding:12px 16px !important;
  margin: 14px 0 14px !important;
  font-size: clamp(1.18rem, 1.65vw, 1.38rem) !important;
  line-height:1.52 !important;
  font-weight:700 !important;
  font-style:normal !important;
}
html[data-theme="dark"] .bhr-single-summary-rebuilt,
html[data-theme="dark"] .custom-summary-shortcode.bhr-single-summary-rebuilt{
  background:rgba(2,90,146,.16) !important;
  color:#bfdbfe !important;
}

/* Featured images keep 720p-friendly scale inside the unified width. */
.bhr-featured-rebuilt,
.single-featured-legacy.bhr-featured-rebuilt{
  max-width: var(--bhr-site-width) !important;
  margin-bottom: 24px !important;
}
.bhr-featured-rebuilt .bhr_hp2_image_wrap{
  max-width: var(--bhr-site-width) !important;
}

/* Key disclaimer: soften the old inline shortcode styling. */
.bhr-free-key-disclaimer,
.bhr-free-key-disclaimer[style]{
  display:block !important;
  width:100% !important;
  box-sizing:border-box !important;
  margin:22px auto 26px !important;
  padding:16px 20px !important;
  background:#fff8db !important;
  border:1px solid #ead98e !important;
  border-left:5px solid #d6a900 !important;
  border-radius:8px !important;
  color:#4f430b !important;
  text-align:left !important;
  font-size:1rem !important;
  line-height:1.55 !important;
}
.bhr-free-key-disclaimer p{
  margin:0 0 8px !important;
  color:#4f430b !important;
}
.bhr-free-key-disclaimer a{
  color:#6b5600 !important;
  font-weight:900 !important;
}

/* Product details/game meta: cleaner float card. */
.review_meta_shortcode_container{
  float:right !important;
  width:300px !important;
  max-width:34% !important;
  margin:0 0 20px 28px !important;
}
.review_meta_details_header,
.entry-content .review_meta_details_header{
  margin:0 !important;
  height:auto !important;
  line-height:1.2 !important;
  padding:10px 12px !important;
  border-radius:8px 8px 0 0 !important;
  background:#025A92 !important;
  color:#fff !important;
  font-size:1rem !important;
  letter-spacing:.03em !important;
}
.review_meta_shortcode_review_details_block,
.entry-content .review_meta_shortcode_review_details_block{
  margin:0 !important;
  padding:12px 14px !important;
  border:1px solid #d7e0ea !important;
  border-top:0 !important;
  border-radius:0 0 8px 8px !important;
  background:#fff !important;
  color:#111827 !important;
  box-shadow:0 8px 22px rgba(15,23,42,.06) !important;
  font-size:.98rem !important;
  line-height:1.45 !important;
}
.review_meta_shortcode_review_details_block p,
.entry-content .review_meta_shortcode_review_details_block p{
  margin:0 0 6px !important;
  font-size:.98rem !important;
  line-height:1.45 !important;
}
html[data-theme="dark"] .review_meta_shortcode_review_details_block,
html[data-theme="dark"] .entry-content .review_meta_shortcode_review_details_block{
  background:#101923 !important;
  color:#e5edf7 !important;
  border-color:#233549 !important;
}

/* Rating block: remove the awkward gulf after final verdict. */
.bhr-after-content-legacy{
  margin-top: 18px !important;
}
.rating-message-block{
  margin: 18px auto 26px !important;
  padding: 10px 0 !important;
}
.rating-message-block p{
  margin: 8px 0 !important;
}
.rating-message-block + hr,
.bhr-after-content-legacy > hr{
  margin: 18px 0 !important;
}
.entry-content + .bhr-after-content-legacy,
.single-article-legacy + .bhr-after-content-legacy{
  margin-top: 12px !important;
}

/* Hide plugin/plain invalid rating text if legacy content emits it anyway. */
.bhr-after-content-legacy > p:first-child:has(+ .bhr-author-block-legacy),
p.rating-missing,
p.rating-invalid{
  display:none !important;
}

/* Author card: keep it polished but less bulky. */
.bhr-author-block-legacy,
.author-block.bhr-author-block-legacy{
  max-width: var(--bhr-site-width) !important;
  margin: 28px auto 42px !important;
  padding: 22px 24px !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
}
.bhr-author-block-legacy .author-avatar img,
.bhr-author-block-legacy .author-avatar img.avatar{
  width:130px !important;
  height:130px !important;
}
.bhr-author-block-legacy .author-info h3,
.bhr-author-block-legacy .author-info h3 a{
  font-size:1.6rem !important;
  line-height:1.15 !important;
}

@media (max-width: 900px){
  .bhr-wrap,
  .archive .bhr-wrap,
  .search .bhr-wrap,
  .page .bhr-wrap,
  .home .bhr-wrap,
  .single-layout-legacy.bhr-single-classic-rebuilt,
  .bhr_hp2_container,
  .grouped-posts-wrapper,
  #group-page,
  .archive-header,
  .card-grid,
  .bhr-card-grid,
  .bhr-shortcode-card-grid,
  .bhr-pagination,
  .pagination{
    width: min(100% - 24px, var(--bhr-site-width)) !important;
  }
  .review_meta_shortcode_container{
    float:none !important;
    width:100% !important;
    max-width:100% !important;
    margin:18px 0 !important;
  }
  .bhr-author-block-legacy,
  .author-block.bhr-author-block-legacy{
    grid-template-columns:1fr !important;
    text-align:center !important;
  }
}


/* v0.8.5 - title colon, clean summary, tighter rating, archive title cleanup */
/* Site width: one rule to bind pages, archives, search, single and shortcode outputs to the same setting. */
:root{
  --bhr-site-width: var(--bhr-max-width, 1200px) !important;
  --bhr-content-width: var(--bhr-site-width) !important;
}
.bhr-wrap,
.site-header .bhr-wrap,
.bhr_nav_inner,
.archive .bhr-wrap,
.search .bhr-wrap,
.page .bhr-wrap,
.single .bhr-wrap,
.home .bhr-wrap,
.bhr_hp2_container,
.grouped-posts-wrapper,
#group-page,
.archive-header,
.card-grid,
.bhr-card-grid,
.bhr-shortcode-card-grid,
.bhr-shortcode-results,
.bhr-pagination,
.pagination,
.bhr-footer-legacy .div_footer{
  width:min(var(--bhr-site-width), calc(100% - 48px)) !important;
  max-width:var(--bhr-site-width) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  box-sizing:border-box !important;
}
.single-main-legacy,
.single-article-legacy,
.bhr-after-content-legacy,
.bhr-single-header-rebuilt,
.single-featured-legacy.bhr-featured-rebuilt,
.bhr-featured-rebuilt .bhr_hp2_image_wrap,
.entry-content.review-main-content,
.entry-content.review_main_content,
.review_main_content,
.thecontent{
  width:100% !important;
  max-width:var(--bhr-site-width) !important;
}

/* Title prefix remains part of the headline, now as natural BHR wording: Review: Title. */
.bhr-single-title-rebuilt,
.featured-post-title-large.bhr-single-title-rebuilt{
  display:block !important;
  margin:0 0 12px !important;
  line-height:1.08 !important;
}
.bhr-title-prefix{
  display:inline !important;
  color:#025A92 !important;
  font-weight:900 !important;
  margin-right:.35em !important;
}
.bhr-title-prefix::after{content:"" !important;}
.bhr-title-text{display:inline !important;}
.bhr-title-score{
  display:inline-block !important;
  color:#025A92 !important;
  font-size:.52em !important;
  line-height:1 !important;
  margin-left:.45em !important;
  white-space:nowrap !important;
  vertical-align:baseline !important;
}

/* Summary: no quote marks, no blue pipe, no box; just a strong BHR blue intro. */
.bhr-single-summary-rebuilt,
.custom-summary-shortcode.bhr-single-summary-rebuilt{
  display:block !important;
  color:#025A92 !important;
  background:transparent !important;
  border:0 !important;
  border-left:0 !important;
  border-radius:0 !important;
  padding:0 !important;
  margin:10px 0 14px !important;
  font-size:clamp(1.2rem, 1.55vw, 1.42rem) !important;
  line-height:1.5 !important;
  font-weight:800 !important;
  font-style:normal !important;
  max-width:var(--bhr-site-width) !important;
}
.bhr-single-summary-rebuilt::before,
.bhr-single-summary-rebuilt::after,
.custom-summary-shortcode.bhr-single-summary-rebuilt::before,
.custom-summary-shortcode.bhr-single-summary-rebuilt::after{content:"" !important;}
html[data-theme="dark"] .bhr-single-summary-rebuilt,
html[data-theme="dark"] .custom-summary-shortcode.bhr-single-summary-rebuilt{
  background:transparent !important;
  color:#93c5fd !important;
}
.bhr-single-meta-rebuilt{
  margin:6px 0 14px !important;
  padding:0 0 12px !important;
  border-bottom:1px solid #d9e3ec !important;
  color:#475569 !important;
  font-weight:800 !important;
}

/* Rating block: close the dead air after verdicts without crushing the section. */
.bhr-after-content-legacy{
  margin-top:8px !important;
}
.bhr-after-content-legacy > h3:first-child,
.bhr-after-content-legacy > h2:first-child{
  margin-top:14px !important;
}
.rating-message-block{
  margin:10px auto 20px !important;
  padding:0 !important;
}
.rating-message-block p{margin:6px 0 !important;}
.rating-message-block .star-filled{font-size:19px !important;}
.rating-message-block div[style*="font-size: 24px"],
.rating-message-block div[style*="font-size:24px"]{
  font-size:22px !important;
  margin-top:2px !important;
}

/* Archive/page shortcode duplicate heading safety. */
.page .entry-content > h2:first-child + .bhr-shortcode-results .bhr-shortcode-results-title,
.page .entry-content > h1:first-child + .bhr-shortcode-results .bhr-shortcode-results-title,
.archive-header + .bhr-shortcode-results .bhr-shortcode-results-title,
.archive-header + .card-grid + .bhr-shortcode-results .bhr-shortcode-results-title{
  display:none !important;
}
.bhr-shortcode-results-title{
  margin:0 0 18px !important;
  font-size:clamp(1.6rem, 2.4vw, 2.1rem) !important;
}

/* Product details and key disclaimer final polish. */
.bhr-free-key-disclaimer,
.bhr-free-key-disclaimer[style]{
  background:#fff9e7 !important;
  border:1px solid #ead98e !important;
  border-left:0 !important;
  border-radius:6px !important;
  text-align:center !important;
  padding:14px 18px !important;
  margin:20px auto 24px !important;
  color:#5b4b08 !important;
}
.review_meta_shortcode_container{
  margin:4px 0 18px 28px !important;
}
.review_meta_details_header,
.entry-content .review_meta_details_header{
  border-radius:6px 6px 0 0 !important;
}
.review_meta_shortcode_review_details_block,
.entry-content .review_meta_shortcode_review_details_block{
  border-radius:0 0 6px 6px !important;
  box-shadow:0 4px 14px rgba(15,23,42,.05) !important;
}

@media (max-width:900px){
  .bhr-wrap,
  .site-header .bhr-wrap,
  .bhr_nav_inner,
  .archive .bhr-wrap,
  .search .bhr-wrap,
  .page .bhr-wrap,
  .single .bhr-wrap,
  .home .bhr-wrap,
  .bhr_hp2_container,
  .grouped-posts-wrapper,
  #group-page,
  .archive-header,
  .card-grid,
  .bhr-card-grid,
  .bhr-shortcode-card-grid,
  .bhr-shortcode-results,
  .bhr-pagination,
  .pagination{
    width:min(100% - 24px, var(--bhr-site-width)) !important;
  }
  .bhr-title-score{display:block !important;margin:.2em 0 0 !important;font-size:.62em !important;}
}

/* v0.8.6 - built-in post views + trending sidebar + hero readability */
.hero .hero-summary{
  font-size:clamp(1.28rem,2vw,1.7rem)!important;
  line-height:1.42!important;
  font-weight:800!important;
  color:#12345a!important;
  max-width:760px!important;
  text-shadow:0 1px 0 rgba(255,255,255,.38);
}
html[data-theme="dark"] .hero .hero-summary{
  color:#d8ecff!important;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
}
.hero-byline{
  margin-top:14px;
  font-weight:900;
  color:#111827;
  font-size:1rem;
}
html[data-theme="dark"] .hero-byline{color:#f1f5f9;}
.hero-read-lower{margin-top:14px;}
.site-sidebar .section-heading h2::after{
  content:"";
}
.site-sidebar .sidebar-list .bhr-card-small{
  background:#fff;
}
html[data-theme="dark"] .site-sidebar .sidebar-list .bhr-card-small{
  background:var(--bhr-card);
}


/* v0.8.8 - homepage trending row, lighter hero typography, sidebar de-emphasis */
.hero h1{
  font-size:clamp(2.6rem, 4.1vw, 4.35rem)!important;
  line-height:1.02!important;
  max-width:760px!important;
}
.hero .hero-content{
  max-width:min(760px, 52%)!important;
}
.hero .hero-summary{
  font-size:clamp(1.15rem,1.55vw,1.45rem)!important;
  line-height:1.38!important;
  max-width:680px!important;
}
.hero-byline{
  font-size:.98rem!important;
}
.hero-actions{
  align-items:center!important;
  gap:18px!important;
}
.hero-score{
  font-size:clamp(1.45rem,1.8vw,1.85rem)!important;
}

/* Sidebar is no longer the preferred homepage layout. Keep it clean if enabled manually. */
.site-sidebar .card-meta-row,
.site-sidebar .bhr-card-small .card-meta-row{
  display:none!important;
}
.site-sidebar .bhr-card-small .read-more{
  margin-top:6px!important;
}
.home-section-trending-now .section-heading h2::before{
  background:#f59e0b!important;
}
.content-sidebar.no-sidebar{
  display:block!important;
}
.content-sidebar.no-sidebar .home-main-sections{
  width:100%!important;
  max-width:var(--bhr-site-width)!important;
}

@media (max-width:900px){
  .hero .hero-content{
    max-width:88%!important;
  }
  .hero h1{
    font-size:clamp(2.25rem, 9vw, 3.4rem)!important;
  }
  .hero .hero-summary{
    font-size:1.15rem!important;
  }
}


/* v0.8.9 - Remove sidebars site-wide; use full-width magazine rows instead */
.content-sidebar,
.content-sidebar.no-sidebar,
.bhr-no-sidebar-layout{
    display:block !important;
    grid-template-columns:1fr !important;
}
.site-sidebar,
aside.site-sidebar,
.home-sidebar,
.bhr-home-sidebar{
    display:none !important;
}
.home-main-sections{
    width:100% !important;
    max-width:100% !important;
}
.bhr-home-section,
.panel.bhr-home-section{
    width:100%;
}
/* Legacy stat/search sidebars are hidden in BHR Modern pages unless explicitly called by legacy shortcode content. */
body.wp-theme-bhr-modern .stat-page-sidebar{
    display:none !important;
}
body.wp-theme-bhr-modern .stat-page-content{
    width:100% !important;
    max-width:100% !important;
}

/* v0.9.0 - hero scale and homepage fallback repair */
.hero{
  min-height:clamp(360px, 46vw, 560px) !important;
}
.hero .hero-content{
  max-width:min(640px, 46%) !important;
  padding:clamp(34px, 4vw, 54px) !important;
}
.hero h1{
  font-size:clamp(2.25rem, 3.3vw, 3.85rem) !important;
  line-height:1.04 !important;
  margin:12px 0 16px !important;
  max-width:620px !important;
}
.hero .hero-summary{
  font-size:clamp(1.05rem, 1.18vw, 1.32rem) !important;
  line-height:1.42 !important;
  font-weight:800 !important;
  max-width:560px !important;
  color:#073f69 !important;
}
.hero-byline{
  margin-top:18px !important;
  font-size:.95rem !important;
}
.hero-actions{
  margin-top:22px !important;
}
.hero-score{
  font-size:clamp(1.35rem, 1.5vw, 1.65rem) !important;
}
@media (max-width:1100px){
  .hero .hero-content{max-width:58% !important;}
  .hero h1{font-size:clamp(2rem,5vw,3.2rem) !important;}
}
@media (max-width:900px){
  .hero{min-height:auto !important;}
  .hero .hero-content{max-width:100% !important;padding:24px !important;}
  .hero h1{font-size:clamp(2rem,8vw,3rem) !important;}
  .hero .hero-summary{font-size:1.08rem !important;}
}


/* === v0.9.2: Single byline + rating pill polish === */
.bhr-single-meta-rebuilt{
    font-size:1rem !important;
    color:#334155 !important;
    font-weight:700 !important;
    margin-top:12px !important;
}
.bhr-single-meta-rebuilt a{
    color:#025A92 !important;
    font-weight:800 !important;
    text-decoration:none !important;
}
.bhr-single-meta-rebuilt a:hover{text-decoration:underline !important;}
.bhr-title-score{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    vertical-align:middle !important;
    margin-left:.45em !important;
    padding:.16em .42em !important;
    border-radius:8px !important;
    background:var(--bhr-score-bg,#025A92) !important;
    color:var(--bhr-score-fg,#fff) !important;
    font-size:.56em !important;
    line-height:1 !important;
    font-weight:900 !important;
    box-shadow:0 2px 8px rgba(0,0,0,.10) !important;
    white-space:nowrap !important;
}
@media (max-width: 760px){
    .bhr-title-score{
        display:inline-flex !important;
        margin-left:.25em !important;
        font-size:.52em !important;
        transform:translateY(-.05em);
    }
    .bhr-single-meta-rebuilt{font-size:.95rem !important;}
}
html[data-theme="dark"] .bhr-single-meta-rebuilt{color:#cbd5e1 !important;}

/* === v0.9.5: master alignment grid + cleaner responsive layout === */
:root{
  --bhr-site-width: var(--bhr-max-width, 1280px) !important;
  --bhr-content-width: var(--bhr-site-width) !important;
  --bhr-page-gutter: clamp(16px, 3vw, 32px);
}

/* One horizontal grid for header, nav, homepage, single posts, archives, search, footer and shortcodes. */
.bhr-classic-header-inner,
.bhr_nav_inner,
.bhr-wrap,
.home .bhr-wrap,
.single .bhr-wrap,
.archive .bhr-wrap,
.search .bhr-wrap,
.page .bhr-wrap,
.bhr_hp2_container,
.grouped-posts-wrapper,
#group-page,
.archive-header,
.bhr-shortcode-results,
.card-grid,
.bhr-card-grid,
.bhr-shortcode-card-grid,
.bhr-pagination,
.pagination,
.bhr-footer-legacy .div_footer{
  width:min(var(--bhr-site-width), calc(100% - (var(--bhr-page-gutter) * 2))) !important;
  max-width:var(--bhr-site-width) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  box-sizing:border-box !important;
}

/* Header and nav use the same left edge as the content below. */
.bhr-classic-header-inner,
.bhr_nav_inner{
  padding-left:0 !important;
  padding-right:0 !important;
}
.bhr_main_nav{
  width:100% !important;
}

/* Homepage is full-width magazine content, but still locked to the same grid. */
.home-main-sections,
.content-sidebar.no-sidebar .home-main-sections,
.content-sidebar.no-sidebar,
.bhr-no-sidebar-layout{
  width:100% !important;
  max-width:100% !important;
}
.home .hero,
.hero{
  width:100% !important;
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

/* Hero: strong, readable, but no longer overpowering the image. */
.hero{
  min-height:clamp(340px, 41vw, 520px) !important;
  border-radius:10px !important;
}
.hero .hero-content{
  max-width:min(600px, 45%) !important;
  padding:clamp(28px, 4vw, 48px) !important;
}
.hero h1{
  font-size:clamp(2.05rem, 3vw, 3.35rem) !important;
  line-height:1.05 !important;
  max-width:560px !important;
  margin:8px 0 16px !important;
}
.hero .hero-summary{
  font-size:clamp(1.02rem, 1.08vw, 1.24rem) !important;
  line-height:1.42 !important;
  font-weight:800 !important;
  max-width:520px !important;
  color:#073f69 !important;
}
.hero-byline{
  font-size:.92rem !important;
  line-height:1.35 !important;
  margin-top:16px !important;
}
.hero-actions{
  margin-top:20px !important;
  gap:18px !important;
}
.hero-score{
  font-size:clamp(1.25rem, 1.4vw, 1.55rem) !important;
}

/* Single articles share the same global site width and do not use a separate hidden narrow column. */
.single-main-legacy,
.single-article-legacy,
.bhr-after-content-legacy,
.bhr-single-header-rebuilt,
.single-featured-legacy.bhr-featured-rebuilt,
.bhr-featured-rebuilt .bhr_hp2_image_wrap,
.entry-content.review-main-content,
.entry-content.review_main_content,
.review_main_content,
.thecontent{
  width:100% !important;
  max-width:var(--bhr-site-width) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  box-sizing:border-box !important;
}

/* v0.9.5: score is intentionally removed from the article header; final verdict/rating remains the score source. */
.bhr-single-title-rebuilt .bhr-title-score,
.featured-post-title-large .bhr-title-score{
  display:none !important;
}
.bhr-single-title-rebuilt,
.featured-post-title-large.bhr-single-title-rebuilt{
  font-size:clamp(2.05rem, 3.25vw, 3.15rem) !important;
  line-height:1.08 !important;
  margin-bottom:12px !important;
}
.bhr-single-summary-rebuilt,
.custom-summary-shortcode.bhr-single-summary-rebuilt{
  font-size:clamp(1.15rem, 1.35vw, 1.34rem) !important;
  line-height:1.5 !important;
  max-width:calc(var(--bhr-site-width) - 60px) !important;
  margin:10px 0 12px !important;
}
.bhr-single-meta-rebuilt{
  margin:8px 0 24px !important;
  padding:0 0 14px !important;
}
.bhr-featured-rebuilt{
  margin-top:0 !important;
}

/* Archive/search/page grids should align with the header and use the same card engine. */
.archive .panel,
.search .panel,
.page .panel,
.home .panel,
.bhr-home-section{
  width:100% !important;
  box-sizing:border-box !important;
}
.card-grid,
.bhr-card-grid,
.bhr-shortcode-card-grid{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:24px !important;
}

@media (min-width: 1450px){
  .card-grid,
  .bhr-card-grid,
  .bhr-shortcode-card-grid{
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1100px){
  .hero .hero-content{
    max-width:58% !important;
  }
  .hero h1{
    font-size:clamp(2rem, 4.6vw, 3rem) !important;
  }
}

@media (max-width: 900px){
  :root{--bhr-page-gutter:16px;}
  .bhr-classic-header-inner{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
    gap:10px !important;
    padding-top:12px !important;
    padding-bottom:12px !important;
  }
  .bhr-classic-header-actions{
    width:100% !important;
    justify-content:center !important;
  }
  .bhr-classic-header-actions .searchform,
  .bhr-classic-header-actions .searchform div{
    width:100% !important;
  }
  .bhr-classic-header-actions input[type="text"]{
    min-width:0 !important;
    width:100% !important;
    flex:1 !important;
  }
  .bhr_nav_inner{width:100% !important;max-width:100% !important;}
  .bhr_main_nav{padding-left:var(--bhr-page-gutter);padding-right:var(--bhr-page-gutter);box-sizing:border-box;}
  .hero{
    min-height:auto !important;
  }
  .hero .hero-content{
    max-width:100% !important;
    width:100% !important;
    padding:24px !important;
  }
  .hero h1{
    font-size:clamp(2rem, 8vw, 3rem) !important;
    max-width:100% !important;
  }
  .hero .hero-summary{
    max-width:100% !important;
    font-size:1.08rem !important;
  }
  .hero-byline{font-size:.9rem !important;}
  .hero-actions{flex-wrap:wrap !important;}
  .card-grid,
  .bhr-card-grid,
  .bhr-shortcode-card-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:18px !important;
  }
}

@media (max-width: 620px){
  .bhr-classic-branding .custom-logo{max-width:230px !important;height:auto !important;}
  .bhr-classic-branding .site-logo-main{font-size:26px !important;}
  .bhr-classic-branding .site-logo-tagline{font-size:12px !important;}
  .bhr_main_nav{display:block !important;}
  .bhr-single-title-rebuilt,
  .featured-post-title-large.bhr-single-title-rebuilt{
    font-size:clamp(1.85rem, 9vw, 2.45rem) !important;
  }
  .bhr-title-prefix{display:inline !important;}
  .bhr-single-summary-rebuilt,
  .custom-summary-shortcode.bhr-single-summary-rebuilt{
    font-size:1.08rem !important;
  }
  .card-grid,
  .bhr-card-grid,
  .bhr-shortcode-card-grid{
    grid-template-columns:1fr !important;
  }
}
