/* ============================================================
   Building Home Widgets — Shared Styles
   Palette variables + all widget styles
   ============================================================ */

:root {
  --bhw-cream:        #F7F2EA;
  --bhw-sage:         #bb674d;
  --bhw-sage-dark:    #7A9070;
  --bhw-sage-deeper:  #546858;
  --bhw-charcoal:     #2F3430;
  --bhw-charcoal-soft:#4a5248;
  --bhw-terra:        #B76E57;
  --bhw-terra-dark:   #8f5541;
  --bhw-clay:         #D8B7A5;
  --bhw-clay-light:   #EDD8CC;
  --bhw-offwhite:     #FFFDF8;
  --bhw-muted:        #7a7a72;
  --bhw-border:       rgba(47,52,48,0.12);
  --bhw-font-serif:   'Lora', Georgia, serif;
  --bhw-font-sans:    'Poppins', sans-serif;
  --bhw-radius-sm:    12px;
  --bhw-radius-md:    16px;
  --bhw-radius-lg:    20px;
  --bhw-radius-pill:  40px;
}

/* ---- SECTION HEADER ---- */
.bhw-section-header { margin-bottom: 20px; }
.bhw-eyebrow {
  font-family: var(--bhw-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bhw-terra);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bhw-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--bhw-terra);
  flex-shrink: 0;
}
.bhw-eyebrow.light { color: var(--bhw-clay); }
.bhw-eyebrow.light::before { background: var(--bhw-clay); }
.bhw-section-title {
  font-family: var(--bhw-font-serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--bhw-charcoal);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.bhw-section-title.on-dark { color: var(--bhw-cream); }
.bhw-section-sub {
  font-family: var(--bhw-font-sans);
  font-size: 16px;
  color: var(--bhw-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ---- BUTTONS ---- */
.bhw-btn-primary {
  display: inline-block;
  background: var(--bhw-terra);
  color: var(--bhw-offwhite) !important;
  padding: 13px 28px;
  border-radius: var(--bhw-radius-pill);
  text-decoration: none !important;
  font-family: var(--bhw-font-sans);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.bhw-btn-primary:hover {
  background: var(--bhw-terra-dark) !important;
  transform: translateY(-1px);
  color: var(--bhw-offwhite) !important;
}
.bhw-btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(168,184,160,0.55);
  color: var(--bhw-sage) !important;
  padding: 12px 26px;
  border-radius: var(--bhw-radius-pill);
  text-decoration: none !important;
  font-family: var(--bhw-font-sans);
  font-size: 15px;
  font-weight: 400;
  transition: border-color 0.2s, color 0.2s;
  background: transparent;
}
.bhw-btn-outline:hover {
  border-color: var(--bhw-sage) !important;
  color: var(--bhw-cream) !important;
}
.bhw-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bhw-terra);
  color: var(--bhw-offwhite) !important;
  padding: 9px 18px;
  border-radius: var(--bhw-radius-pill);
  font-family: var(--bhw-font-sans);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.bhw-btn-download:hover { background: var(--bhw-terra-dark) !important; }

/* ---- HERO PHOTO BLOCK ---- */
.bhw-hero-photo-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
}
.bhw-hero-photo-frame {
  width: 400px;
  height: 440px;
  border-radius: 180px 180px 12px 12px;
  overflow: hidden;
  border: 3px solid rgba(168,184,160,0.3);
  position: relative;
}
.bhw-hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.bhw-hero-badge {
  position: absolute;
  bottom: 50px;
  right: 0;
  background: var(--bhw-clay-light);
  border-radius: var(--bhw-radius-md);
  padding: 14px 18px;
  max-width: 160px;
  text-align: center;
  z-index: 2;
}
.bhw-hero-badge-num {
  font-family: var(--bhw-font-serif);
  font-size: 28px;
  color: var(--bhw-terra-dark);
  font-weight: 600;
  display: block;
  line-height: 1;
}
.bhw-hero-badge-txt {
  font-family: var(--bhw-font-sans);
  font-size: 11px;
  color: var(--bhw-charcoal-soft);
  line-height: 1.3;
  display: block;
  margin-top: 4px;
}

/* ---- TRUST STRIP ---- */
.bhw-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--bhw-offwhite);
  border-top: 1px solid var(--bhw-border);
  border-bottom: 1px solid var(--bhw-border);
  padding: 20px 40px;
}
.bhw-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--bhw-font-sans);
  font-size: 13px;
  color: var(--bhw-muted);
}
.bhw-trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bhw-sage);
  flex-shrink: 0;
}
.bhw-trust-highlight {
  font-weight: 500;
  color: var(--bhw-charcoal);
}

/* ---- STEP CARD ---- */
.bhw-step-card {
  background: var(--bhw-offwhite);
  border-radius: var(--bhw-radius-lg);
  padding: 28px 22px;
  border: 1px solid var(--bhw-border);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  box-sizing: border-box;
}
.bhw-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(47,52,48,0.08);
}
.bhw-step-num {
  font-family: var(--bhw-font-serif);
  font-size: 40px;
  color: var(--bhw-clay-light);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 12px;
}
.bhw-step-badge {
  background: var(--bhw-sage);
  color: var(--bhw-offwhite);
  font-family: var(--bhw-font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}
.bhw-step-title {
  font-family: var(--bhw-font-serif);
  font-size: 16px;
  color: var(--bhw-charcoal);
  margin-bottom: 8px;
  font-weight: 500;
}
.bhw-step-desc {
  font-family: var(--bhw-font-sans);
  font-size: 13px;
  color: var(--bhw-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.bhw-step-articles {
  font-family: var(--bhw-font-sans);
  font-size: 12px;
  color: var(--bhw-terra);
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}
.bhw-step-articles:hover { color: var(--bhw-terra-dark); }

/* ---- ARTICLE CATEGORY PANEL ---- */
.bhw-article-cat {
  background: rgba(255,253,248,0.05);
  border: 1px solid rgba(168,184,160,0.2);
  border-radius: var(--bhw-radius-lg);
  overflow: hidden;
  height: 100%;
}
.bhw-article-cat-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(168,184,160,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
}
.bhw-cat-icon {
    color: #fff;
    font-size: 22px !important;
    font-weight: bold;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--bhw-terra);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.bhw-cat-name {
  font-family: var(--bhw-font-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--bhw-cream);
}
.bhw-article-cat-body { padding: 16px 24px; }
.bhw-article-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,253,248,0.06);
  text-decoration: none !important;
  transition: gap 0.2s;
}
.bhw-article-link:last-of-type { border-bottom: none; }
.bhw-article-link:hover { gap: 12px; }
.bhw-article-link::before {
    content: '→';
    flex-shrink: 0;
    padding-top: 1px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    margin-top: 0px;
}
.bhw-article-link-text {
  font-family: var(--bhw-font-sans);
  font-size: 13px;
  color: #fffff;
  line-height: 1.4;
  color: #fff !important;
}
.bhw-cat-view-all {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--bhw-font-sans);
  font-size: 12px;
  color: var(--bhw-sage);
  text-decoration: none !important;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.bhw-cat-view-all:hover { color: var(--bhw-clay); }

/* ---- CHECKLIST CARD ---- */
.bhw-checklist-card {
  background: var(--bhw-offwhite);
  border-radius: var(--bhw-radius-lg);
  padding: 28px 26px;
  border: 1px solid var(--bhw-border);
  position: relative;
  overflow: hidden;
  height: 100%;
  box-sizing: border-box;
}
.bhw-checklist-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: var(--bhw-sage);
  opacity: 0.08;
  border-radius: 0 20px 0 80px;
  pointer-events: none;
}
.bhw-checklist-tag {
  display: inline-block;
  background: rgba(168,184,160,0.2);
  color: var(--bhw-sage-deeper);
  font-family: var(--bhw-font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.bhw-checklist-title {
  font-family: var(--bhw-font-serif);
  font-size: 17px;
  color: var(--bhw-charcoal);
  margin-bottom: 10px;
  font-weight: 500;
  line-height: 1.3;
}
.bhw-checklist-desc {
  font-family: var(--bhw-font-sans);
  font-size: 13px;
  color: var(--bhw-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ---- TOOL CARD ---- */
.bhw-tool-card {
  background: var(--bhw-offwhite);
  border-radius: var(--bhw-radius-lg);
  padding: 28px 22px;
  border: 1px solid var(--bhw-border);
  text-align: center;
  transition: transform 0.2s;
  height: 100%;
  box-sizing: border-box;
}
.bhw-tool-card:hover { transform: translateY(-3px); }
.bhw-tool-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bhw-clay-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
}
.bhw-tool-name {
  font-family: var(--bhw-font-serif);
  font-size: 15px;
  color: var(--bhw-charcoal);
  margin-bottom: 8px;
  font-weight: 500;
}
.bhw-tool-desc {
  font-family: var(--bhw-font-sans);
  font-size: 12px;
  color: var(--bhw-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.bhw-tool-cta {
  font-family: var(--bhw-font-sans);
  font-size: 12px;
  color: var(--bhw-terra) !important;
  font-weight: 500;
  text-decoration: none !important;
}
.bhw-tool-cta:hover { color: var(--bhw-terra-dark) !important; }

/* ---- TESTIMONIAL CARD ---- */
.bhw-testi-card {
  background: rgba(255,253,248,0.05);
  border: 1px solid rgba(168,184,160,0.2);
  border-radius: var(--bhw-radius-lg);
  padding: 28px 26px;
  height: 100%;
  box-sizing: border-box;
}
.bhw-testi-quote {
  font-family: var(--bhw-font-serif);
  font-size: 15px;
  color: rgba(247,242,234,0.82);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}
.bhw-testi-quote::before {
  content: '\201C';
  color: var(--bhw-clay);
  font-size: 36px;
  line-height: 0;
  vertical-align: -12px;
  margin-right: 4px;
  font-style: normal;
}
.bhw-testi-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bhw-testi-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bhw-sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bhw-font-sans);
  font-size: 13px;
  color: var(--bhw-cream);
  font-weight: 500;
  flex-shrink: 0;
  overflow: hidden;
}
.bhw-testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bhw-testi-name {
  font-family: var(--bhw-font-sans);
  font-size: 13px;
  color: var(--bhw-cream);
  font-weight: 500;
  margin-bottom: 2px;
}
.bhw-testi-location {
  font-family: var(--bhw-font-sans);
  font-size: 12px;
  color: rgba(247,242,234,0.45);
}

/* ---- LIFESTYLE IMAGE ---- */
.bhw-lifestyle-img {
  border-radius: var(--bhw-radius-lg);
  overflow: hidden;
  height: 220px;
  position: relative;
}
.bhw-lifestyle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.bhw-lifestyle-img:hover img { transform: scale(1.03); }
.bhw-lifestyle-img .bhw-lifestyle-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 16px 14px;
  background: linear-gradient(transparent, rgba(47,52,48,0.55));
  font-family: var(--bhw-font-sans);
  font-size: 12px;
  color: rgba(247,242,234,0.85);
  font-style: italic;
}

/* ---- ABOUT PHOTO STACK ---- */
.bhw-about-photo-stack {
  position: relative;
}
.bhw-about-photo-main {
  width: 300px;
  height: 380px;
  border-radius: 160px 160px 20px 20px;
  overflow: hidden;
}
.bhw-about-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.bhw-about-photo-sm {
  width: 160px;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  right: 0;
  border: 4px solid var(--bhw-offwhite);
}
.bhw-about-photo-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- EMAIL CAPTURE BAR ---- */
.bhw-email-capture {
  background: var(--bhw-charcoal);
  border-radius: var(--bhw-radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.bhw-email-capture h3 {
  font-family: var(--bhw-font-serif);
  font-size: 22px;
  color: var(--bhw-cream);
  margin-bottom: 6px;
  font-weight: 500;
}
.bhw-email-capture p {
  font-family: var(--bhw-font-sans);
  font-size: 14px;
  color: rgba(247,242,234,0.6);
}

/* Elementor column height fix for equal-height cards */
.elementor-column > .elementor-widget-wrap {
  height: 100%;
}

a.bhw-cat-view-all {
    background: #BB674D;
    color: #fff;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 5px;
}
