:root {
  --bc-ink: #17242c;
  --bc-muted: #56656e;
  --bc-line: #d8e0e2;
  --bc-soft: #f5f7f7;
  --bc-soft-red: #fff4f4;
  --bc-accent: #d51012;
  --bc-accent-dark: #a70b0d;
  --bc-link: #7e1012;
  --bc-focus: #166a9b;
  --bc-radius: 0.75rem;
  --bc-shadow: 0 0.45rem 1.5rem rgba(23, 36, 44, 0.07);
  --bc-sticky-top: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--bc-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body.admin-bar {
  --bc-sticky-top: 56px;
}

.bc-site-header *,
.bc-site-header *::before,
.bc-site-header *::after,
.bc-main *,
.bc-main *::before,
.bc-main *::after,
.bc-site-footer *,
.bc-site-footer *::before,
.bc-site-footer *::after {
  box-sizing: border-box;
}

.bc-screen-reader-text,
.bc-skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bc-skip-link {
  position: fixed;
  z-index: 100000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.35rem;
  background: #fff;
  color: var(--bc-ink);
  font-weight: 750;
  box-shadow: 0 0 0 3px var(--bc-focus);
}

.bc-container {
  width: min(1180px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.bc-container--content,
.bc-content--narrow {
  max-width: 820px;
}

.bc-site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--bc-line);
  background: #fff;
}

.bc-header-inner {
  display: grid;
  grid-template-columns: minmax(170px, auto) minmax(0, 1fr) minmax(190px, 230px);
  gap: 1.75rem;
  min-height: 76px;
  align-items: center;
}

.bc-brand {
  min-width: 0;
}

.bc-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.bc-brand .custom-logo {
  display: block;
  width: 220px;
  height: auto;
  max-width: 220px;
  max-height: none;
}

.bc-site-title {
  color: var(--bc-ink);
  font-size: 1.25rem;
  font-weight: 820;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.bc-menu-toggle {
  display: none;
}

.bc-menu,
.bc-menu ul,
.bc-footer-menu,
.bc-breadcrumbs ol,
.bc-related ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.bc-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.bc-menu > li {
  position: relative;
}

.bc-menu a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border-radius: 0.4rem;
  color: var(--bc-ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.bc-menu a:hover {
  background: var(--bc-soft);
  color: var(--bc-accent-dark);
}

.bc-menu .sub-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% - 0.15rem);
  left: 0;
  display: none;
  width: 250px;
  padding: 0.45rem;
  border: 1px solid var(--bc-line);
  border-radius: 0.55rem;
  background: #fff;
  box-shadow: var(--bc-shadow);
}

.bc-menu li:hover > .sub-menu,
.bc-menu li:focus-within > .sub-menu {
  display: block;
}

.bc-menu .sub-menu a {
  min-height: 40px;
  font-size: 0.9rem;
  font-weight: 650;
}

.bc-search {
  margin: 0;
}

.bc-search label:not(.bc-screen-reader-text) {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--bc-ink);
  font-size: 0.94rem;
  font-weight: 750;
}

.bc-search__row,
.bc-search--compact {
  display: flex;
  min-width: 0;
}

.bc-search input[type="search"] {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0.68rem 0.8rem;
  border: 1px solid #aeb9bd;
  border-radius: 0.45rem 0 0 0.45rem;
  background: #fff;
  color: var(--bc-ink);
  font: inherit;
  font-size: 1rem;
}

.bc-search button {
  min-height: 46px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--bc-accent);
  border-radius: 0 0.45rem 0.45rem 0;
  background: var(--bc-accent);
  color: #fff;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.bc-search button:hover {
  border-color: var(--bc-accent-dark);
  background: var(--bc-accent-dark);
}

.bc-search--compact button {
  width: 46px;
  padding: 0;
  font-size: 1.35rem;
}

.bc-search--prominent {
  width: min(100%, 680px);
  margin-top: 1.6rem;
}

.bc-search--prominent input[type="search"] {
  min-height: 54px;
  padding-right: 1rem;
  padding-left: 1rem;
}

.bc-search--prominent button {
  min-height: 54px;
  padding-right: 1.4rem;
  padding-left: 1.4rem;
}

.bc-site-header a:focus-visible,
.bc-site-footer a:focus-visible,
.bc-main a:focus-visible,
.bc-search input:focus-visible,
.bc-search button:focus-visible,
.bc-menu-toggle:focus-visible {
  outline: 3px solid var(--bc-focus);
  outline-offset: 3px;
}

.bc-main {
  min-height: 60vh;
}

.bc-main--singular {
  padding: 1.5rem 0 4.5rem;
}

.bc-hero {
  border-bottom: 1px solid var(--bc-line);
  background: linear-gradient(135deg, #f7f9f9 0%, #fff 72%);
}

.bc-hero__inner {
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.bc-kicker {
  margin: 0 0 0.45rem;
  color: var(--bc-accent-dark);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.bc-hero h1,
.bc-page-header h1,
.bc-empty-state h1 {
  max-width: 900px;
  margin: 0;
  color: var(--bc-ink);
  font-size: clamp(2.15rem, 5vw, 4.25rem);
  font-weight: 840;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.bc-page-header h1,
.bc-empty-state h1 {
  font-size: clamp(2rem, 4.5vw, 3.55rem);
}

.bc-hero__lead,
.bc-page-lead {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--bc-muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.6;
}

.bc-section {
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
}

.bc-section + .bc-section {
  border-top: 1px solid #edf0f1;
}

.bc-section--soft {
  background: var(--bc-soft);
}

.bc-section--about {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
  background: var(--bc-ink);
  color: #fff;
}

.bc-section-heading {
  display: flex;
  gap: 1.5rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.bc-section-heading h2,
.bc-section > .bc-container > h2,
.bc-catalog-group h2,
.bc-about-panel h2 {
  margin: 0;
  color: var(--bc-ink);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.bc-text-link,
.bc-card__link {
  color: var(--bc-link);
  font-weight: 760;
  text-underline-offset: 0.18em;
}

.bc-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
}

.bc-card {
  min-width: 0;
  overflow: clip;
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius);
  background: #fff;
  box-shadow: 0 0.25rem 0.9rem rgba(23, 36, 44, 0.04);
}

.bc-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bc-soft);
}

.bc-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bc-card__body {
  padding: 1.25rem;
}

.bc-card__eyebrow {
  margin: 0 0 0.25rem;
  color: var(--bc-muted);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.bc-card__title {
  margin: 0;
  font-size: 1.24rem;
  letter-spacing: -0.018em;
  line-height: 1.25;
}

.bc-card__title a,
.bc-guide-card h3 a,
.bc-search-result h2 a {
  color: var(--bc-ink);
  text-decoration: none;
}

.bc-card__title a:hover,
.bc-guide-card h3 a:hover,
.bc-search-result h2 a:hover {
  color: var(--bc-accent-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.bc-card__description {
  margin: 0.7rem 0 0.9rem;
  color: var(--bc-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.bc-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.bc-category-link {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--bc-line);
  border-radius: 0.6rem;
  background: #fff;
  color: var(--bc-ink);
  font-weight: 760;
  text-decoration: none;
}

.bc-category-link:hover {
  border-color: #b8c3c6;
  color: var(--bc-accent-dark);
  box-shadow: 0 0.3rem 1rem rgba(23, 36, 44, 0.06);
}

.bc-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.bc-guide-card {
  padding: 1.25rem;
  border-left: 3px solid var(--bc-accent);
  background: var(--bc-soft);
}

.bc-guide-card h3 {
  margin: 0;
  font-size: 1.17rem;
  line-height: 1.3;
}

.bc-guide-card p {
  margin: 0.6rem 0 0;
  color: var(--bc-muted);
  font-size: 0.94rem;
}

.bc-about-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: center;
}

.bc-about-panel h2,
.bc-about-panel .bc-kicker {
  color: #fff;
}

.bc-about-panel p:last-child {
  margin: 0;
  color: #d9e0e2;
}

.bc-breadcrumbs {
  margin: 0 0 1.35rem;
  color: var(--bc-muted);
  font-size: 0.86rem;
}

.bc-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
}

.bc-breadcrumbs li {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.bc-breadcrumbs li:not(:last-child)::after {
  color: #98a4a8;
  content: "/";
}

.bc-breadcrumbs a {
  color: var(--bc-muted);
  text-underline-offset: 0.16em;
}

.bc-page-header {
  max-width: 840px;
  margin-bottom: 2rem;
}

.bc-page-header--catalog,
.bc-page-header--search {
  margin-bottom: 3rem;
}

.bc-page-intro {
  margin-top: 1rem;
}

.bc-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: stretch;
}

.bc-entry-content,
.bc-content {
  min-width: 0;
  color: var(--bc-ink);
  font-size: 1.02rem;
  line-height: 1.68;
}

.bc-entry-content > h2,
.bc-content > h2 {
  margin: 2.5rem 0 0.8rem;
  color: var(--bc-ink);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.bc-entry-content > h3,
.bc-content > h3 {
  margin: 2rem 0 0.6rem;
  font-size: 1.28rem;
  line-height: 1.3;
}

.bc-entry-content > p,
.bc-content > p,
.bc-entry-content > ul,
.bc-entry-content > ol,
.bc-content > ul,
.bc-content > ol {
  margin-top: 0;
  margin-bottom: 1.2rem;
}

.bc-entry-content > .wp-block-table,
.bc-content > .wp-block-table,
.bc-entry-content > table,
.bc-content > table {
  display: block;
  width: 100%;
  max-width: 100%;
	margin-right: 0;
	margin-left: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.bc-entry-content > .wp-block-table table,
.bc-content > .wp-block-table table,
.bc-entry-content > table,
.bc-content > table {
  width: 100%;
  border-collapse: collapse;
}

.bc-entry-content > .wp-block-table th,
.bc-entry-content > .wp-block-table td,
.bc-content > .wp-block-table th,
.bc-content > .wp-block-table td,
.bc-entry-content > table th,
.bc-entry-content > table td,
.bc-content > table th,
.bc-content > table td {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--bc-line);
  text-align: left;
  vertical-align: top;
}

.bc-entry-content > blockquote,
.bc-content > blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--bc-accent);
  background: var(--bc-soft-red);
}

.bc-entry-content > :first-child,
.bc-content > :first-child {
  margin-top: 0;
}

.bc-sidebar {
  min-width: 0;
  align-self: stretch;
}

.bc-related {
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--bc-line);
  border-radius: 0.65rem;
  background: var(--bc-soft);
}

.bc-related h2 {
  margin: 0 0 0.7rem;
  color: var(--bc-ink);
  font-size: 1rem;
  line-height: 1.3;
}

.bc-related li + li {
  margin-top: 0.55rem;
}

.bc-related a {
  color: var(--bc-link);
  font-size: 0.92rem;
  font-weight: 680;
  text-underline-offset: 0.15em;
}

.bc-related--mobile,
.bc-ad--mobile {
  display: none;
}

.bc-ad-sticky-wrap {
  width: 300px;
  max-width: 100%;
  margin-top: 2.5rem;
}

.bc-ad-sticky-wrap.is-sticky {
  position: sticky;
  top: var(--bc-sticky-top);
}

.bc-ad-preview,
.bc-ad-host {
  display: flex;
  width: 300px;
  max-width: 100%;
  height: 250px;
  align-items: center;
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
}

.bc-ad-preview {
  border: 1px solid #cbd3d5;
  background: repeating-linear-gradient(-45deg, #f5f7f7, #f5f7f7 12px, #eef1f2 12px, #eef1f2 24px);
  color: #56656e;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.bc-ad-host .adsbygoogle {
  display: inline-block;
  width: 300px;
  height: 250px;
}

.bc-catalog-group + .bc-catalog-group {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--bc-line);
}

.bc-empty-state {
  max-width: 760px;
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius);
  background: var(--bc-soft);
}

.bc-empty-state h2 {
  margin: 0;
  font-size: 1.55rem;
}

.bc-empty-state p {
  color: var(--bc-muted);
}

.bc-empty-state .bc-search {
  margin-top: 1.25rem;
}

.bc-search-results {
  display: grid;
  gap: 1rem;
}

.bc-search-result {
  padding: 1.25rem;
  border: 1px solid var(--bc-line);
  border-radius: 0.6rem;
}

.bc-search-result h2 {
  margin: 0;
  font-size: 1.3rem;
}

.bc-search-result p {
  margin: 0.55rem 0 0;
  color: var(--bc-muted);
}

.bc-pagination {
  margin-top: 2.5rem;
}

.bc-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.bc-pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--bc-line);
  border-radius: 0.35rem;
  color: var(--bc-ink);
}

.bc-pagination .current {
  border-color: var(--bc-accent);
  background: var(--bc-accent);
  color: #fff;
}

.bc-site-footer {
  border-top: 1px solid #334047;
  background: var(--bc-ink);
  color: #d9e0e2;
}

.bc-footer-inner {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.bc-footer-brand {
  margin: 0;
  font-size: 0.9rem;
}

.bc-footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.bc-footer-menu a {
  color: #fff;
  font-size: 0.9rem;
  text-underline-offset: 0.18em;
}

@media (max-width: 1099px) {
  .bc-header-inner {
    grid-template-columns: minmax(160px, 1fr) auto;
    gap: 0.75rem 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  html.bc-js .bc-menu-toggle {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--bc-line);
    border-radius: 0.45rem;
    background: #fff;
    color: var(--bc-ink);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 750;
    cursor: pointer;
  }

  .bc-menu-toggle__icon,
  .bc-menu-toggle__icon::before,
  .bc-menu-toggle__icon::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    content: "";
  }

  .bc-menu-toggle__icon {
    position: relative;
  }

  .bc-menu-toggle__icon::before {
    position: absolute;
    top: -6px;
  }

  .bc-menu-toggle__icon::after {
    position: absolute;
    top: 6px;
  }

  .bc-primary-nav {
	  display: block;
    grid-column: 1 / -1;
    padding-top: 0.5rem;
    border-top: 1px solid var(--bc-line);
  }

  html.bc-js .bc-primary-nav {
	  display: none;
  }

  html.bc-js .bc-primary-nav.is-open {
    display: block;
  }

  .bc-menu {
    display: block;
  }

  .bc-menu a {
    justify-content: flex-start;
  }

  .bc-menu .sub-menu {
    position: static;
    display: block;
    width: auto;
    padding: 0 0 0 1rem;
    border: 0;
    box-shadow: none;
  }

  .bc-menu .sub-menu a {
    min-height: 40px;
    color: var(--bc-muted);
  }

  .bc-header-search {
    grid-column: 1 / -1;
  }

  .bc-content-grid {
    display: block;
  }

  .bc-sidebar {
    display: none;
  }

  .bc-related--mobile {
    display: block;
    margin-top: 2.5rem;
  }

  .bc-ad--mobile {
    display: flex;
	  width: 100%;
    justify-content: center;
	  margin: 2.5rem 0;
  }
}

@media (min-width: 1100px) {
  .bc-primary-nav {
    display: block !important;
  }
}

@media (max-width: 767px) {
  .bc-container {
    width: min(1180px, calc(100% - 32px));
  }

  .bc-main--singular {
    padding-top: 1rem;
    padding-bottom: 3rem;
  }

  .bc-hero__inner {
    padding-top: 2.6rem;
    padding-bottom: 3rem;
  }

  .bc-search__row {
    display: block;
  }

  .bc-search--prominent input[type="search"] {
    border-radius: 0.45rem;
  }

  .bc-search--prominent button {
    width: 100%;
    margin-top: 0.55rem;
    border-radius: 0.45rem;
  }

  .bc-section-heading {
    display: block;
  }

  .bc-section-heading .bc-text-link {
    display: inline-block;
    margin-top: 0.75rem;
  }

  .bc-guide-grid,
  .bc-about-panel {
    grid-template-columns: 1fr;
  }

  .bc-page-header {
    margin-bottom: 1.5rem;
  }

  .bc-footer-inner {
    display: block;
  }

  .bc-footer-menu {
    margin-top: 1rem;
  }
}

@media (max-width: 390px) {
  .bc-container {
    width: min(1180px, calc(100% - 28px));
  }

  .bc-brand .custom-logo {
    max-width: 180px;
  }

  .bc-menu-toggle {
    padding-right: 0.6rem;
    padding-left: 0.6rem;
  }

  .bc-ad-preview,
  .bc-ad-host {
	  max-width: 300px;
  }
}

@media (max-width: 340px) {
  .bc-ad--mobile {
	  width: calc(100% + 28px);
	  margin-left: -14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Editable home preserves the existing palette, font, widths and card styles. */
.bc-home .elementor { --container-max-width: 1180px; }
.bc-home .bc-home-section.e-con {
  display: flex; flex-direction: column; gap: 1.25rem;
  width: min(1180px, calc(100% - 40px)); max-width: 1180px;
  margin: 0 auto; padding: clamp(3.25rem, 7vw, 5.5rem) 0;
  border-top: 1px solid #edf0f1;
}
.bc-home .bc-home-hero.e-con {
  width: 100%; max-width: none;
  padding: clamp(3rem, 7vw, 5.5rem) max(20px, calc((100% - 1180px) / 2));
  border-top: 0; border-bottom: 1px solid var(--bc-line);
  background: linear-gradient(135deg, #f7f9f9 0%, #fff 72%);
}
.bc-home .elementor-widget { width: 100%; min-width: 0; }
.bc-home .elementor-widget-heading .elementor-heading-title,
.bc-home .elementor-widget-text-editor { color: var(--bc-ink); font-family: inherit; }
.bc-home h1.elementor-heading-title {
  max-width: 900px; margin: 0; font-size: clamp(2.15rem, 5vw, 4.25rem);
  font-weight: 840; letter-spacing: -0.045em; line-height: 1.05;
}
.bc-home h2.elementor-heading-title {
  font-size: clamp(1.55rem, 3vw, 2.3rem); font-weight: 750;
  letter-spacing: -0.025em; line-height: 1.15;
}
.bc-home h3.elementor-heading-title { font-size: 1.17rem; font-weight: 750; line-height: 1.35; }
.bc-home .elementor-widget-text-editor { font-size: 17px; line-height: 1.62; }
.bc-home .elementor-widget-text-editor p { margin: 0; }
.bc-home .bc-home-hero .elementor-widget-text-editor { max-width: 760px; color: var(--bc-muted); }
.bc-home .bc-home-benefits { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; list-style: none; padding: 0; margin: 0; font-size: 0.9rem; }
.bc-home .bc-home-benefits li::before { content: '✓'; color: var(--bc-accent-dark); padding-right: 0.4rem; }
.bc-category-description { display: block; font-size: 0.92rem; font-weight: 400; color: var(--bc-muted); margin-top: 0.4rem; }
.bc-home .bc-home-prose .elementor-widget { max-width: 820px; }
.bc-home .bc-home-soft { background: var(--bc-soft); box-shadow: 0 0 0 100vmax var(--bc-soft); clip-path: inset(0 -100vmax); }
@media (max-width: 767px) {
  .bc-home .bc-home-section.e-con { width: calc(100% - 32px); }
  .bc-home .bc-home-hero.e-con { width: 100%; padding: 2.6rem 16px 3rem; }
}
@media (max-width: 390px) {
  .bc-home .bc-home-section.e-con { width: calc(100% - 28px); }
  .bc-home .bc-home-hero.e-con { width: 100%; padding-left: 14px; padding-right: 14px; }
}

/* About portrait and quotation: scoped to the new component. */
.bc-entry-content .bc-about-quote {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  margin: 1.75rem 0;
}
.bc-entry-content .bc-about-quote__photo {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin: 0;
}
.bc-entry-content .bc-about-quote blockquote {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.bc-entry-content .bc-about-quote blockquote p {
  margin: 0 0 .875rem;
}
.bc-entry-content .bc-about-quote blockquote footer {
  font-weight: 600;
}
@media (max-width: 639px) {
  .bc-entry-content .bc-about-quote {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .bc-entry-content .bc-about-quote__photo {
    justify-self: center;
  }
}

/* Shared decorative artwork for calculator cards and category previews only. */
.bc-card-grid .bc-card-heading,
.bc-category-grid .bc-card-heading,
.bc-search-result .bc-card-heading {
  display: grid; grid-template-columns: minmax(0, 1fr) 56px;
  align-items: center; column-gap: 12px;
}
.bc-card-heading > :is(h2,h3,h4) { min-width: 0; margin: 0; }
.bc-card-grid .bc-card-icon,
.bc-category-grid .bc-card-icon,
.bc-search-result .bc-card-icon {
  display: block; width: 56px; height: 56px; max-width: none; object-fit: contain;
}
.bc-card-grid .bc-card-heading + .bc-card__description { margin-top: .35rem; }
.bc-category-grid .bc-category-link { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: .4rem; }
.bc-category-link__body { min-width: 0; }
.bc-category-link__arrow { justify-self: end; line-height: 1; }
@media (max-width: 600px) {
  .bc-card-grid .bc-card-heading, .bc-category-grid .bc-card-heading, .bc-search-result .bc-card-heading { grid-template-columns: minmax(0, 1fr) 44px; }
  .bc-card-grid .bc-card-icon, .bc-category-grid .bc-card-icon, .bc-search-result .bc-card-icon { width: 44px; height: 44px; }
}
@media (max-width: 360px) {
  .bc-card-grid .bc-card-heading, .bc-category-grid .bc-card-heading, .bc-search-result .bc-card-heading { grid-template-columns: minmax(0, 1fr) 40px; }
  .bc-card-grid .bc-card-icon, .bc-category-grid .bc-card-icon, .bc-search-result .bc-card-icon { width: 40px; height: 40px; }
}
