/* WF Hero Banner */
.wfhb {
  --wfhb-bg: #F3EBDD;
  --wfhb-text: #4A352D;
  --wfhb-btn: #4E7549;
  position: relative;
  overflow: hidden;
  margin: 0 0 50px;
  background: var(--wfhb-bg);
  color: var(--wfhb-text);
  isolation: isolate;
}

/* Image: right side on desktop, fading into the background on its left edge */
.wfhb__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  z-index: 0;
}
.wfhb__media picture,
.wfhb__media img {
  display: block;
  width: 100%;
  height: 100%;
}
.wfhb__media img {
  object-fit: cover;
  object-position: center right;
}
.wfhb__media::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 48%;
  z-index: 1;
  background: linear-gradient(to right, var(--wfhb-bg) 0%, transparent 100%);
  pointer-events: none;
}
.wfhb__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 420px;
    padding: 60px 50px;
    max-width: 1300px;
    margin: 0px auto;
}
.wfhb__content {
  max-width: 500px;
}

.wfhb__leaf {
  display: block;
  margin-bottom: 1.1rem;
  color: #5f8f5f;
}

.wfhb__title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.9rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--wfhb-text);
}

.wfhb__desc {
  margin: 0 0 2rem;
  max-width: 34ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--wfhb-text);
}

.wfhb__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}

.wfhb__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.7rem;
  border-radius: 0.3rem;
  background: var(--wfhb-btn);
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: filter 0.2s ease;
}
.wfhb__btn:hover,
.wfhb__btn:focus-visible, .wfhb__btn:focus {
	color: #fff !important;
	text-decoration: none;
	background: #8A6C60;
	outline: none;
}

.wfhb__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid currentColor;
  color: var(--wfhb-text);
  font-weight: 500;
  text-decoration: none;
}
.wfhb__link:hover,
.wfhb__link:focus-visible {
  color: var(--wfhb-text);
  text-decoration: none;
  opacity: 0.75;
}

.wfhb__btn:focus-visible,
.wfhb__link:focus-visible {
  outline: 0px solid var(--wfhb-text);
  outline-offset: 3px;
}

/* No image uploaded: text only */
.wfhb--noimg .wfhb__inner {
  min-height: 0;
}

/* Mobile: image on top, text below */
@media (max-width: 767px) {
  .wfhb {
    display: flex;
    flex-direction: column;
  }
  .wfhb__media {
    position: relative;
    width: 100%;
    height: auto;
  }
  .wfhb__media picture,
  .wfhb__media img {
    height: auto;
    max-height: 340px;
  }
  .wfhb__media img {
    width: 100%;
    object-position: center;
  }
  .wfhb__media::before {
    top: auto;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 45%;
    background: linear-gradient(to top, var(--wfhb-bg) 0%, transparent 100%);
  }
  .wfhb__inner {
    display: block;
    min-height: 0;
    padding: 20px;
  }
  .wfhb--noimg .wfhb__inner {
    padding-top: 2rem;
  }
  .wfhb__desc {
    max-width: none;
  }
	.wfhb__title {
		margin: 0 0 1rem;
		font-size: clamp(1.5rem, 1.2rem + 2.6vw, 2.9rem);
	}
	.wfhb__leaf, .wfhb__desc{
		margin-bottom: 1rem;
	}  
	.wfhb__btn {
		padding: 0.9rem 1.5rem;
	}
  
  
  
  
}

@media (prefers-reduced-motion: reduce) {
  .wfhb__btn,
  .wfhb__link {
    transition: none;
  }
}
