/* Homepage hero — barista-hire.jpg, top crop only */

.banner-section.barista-hero-banner {
  --barista-bronze: #B77211;
  --barista-bronze-dark: #9a5f0e;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #f5efe6;
  background-image: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  min-height: 0 !important;
  height: 600px;
}

/* Left wash so headline / CTAs stay readable over the photo */
.banner-section.barista-hero-banner::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.88) 28%,
    rgba(255, 255, 255, 0.45) 48%,
    rgba(255, 255, 255, 0) 66%
  );
}

.banner-section.barista-hero-banner .barista-hero-media {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  pointer-events: none;
  overflow: hidden;
}

.banner-section.barista-hero-banner .barista-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: right top;
}

.banner-section.barista-hero-banner .rt-single-banner5 {
  position: absolute;
  z-index: 2;
  inset: 0;
  margin: 0;
  padding: 0 !important;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.banner-section.barista-hero-banner .rt-single-banner5 .container {
  pointer-events: auto;
  width: 100%;
}

.banner-section.barista-hero-banner .barista-hero-content {
  max-width: 36rem;
}

.banner-section.barista-hero-banner .barista-hero-title {
  margin: 0 0 14px;
  color: #1f1f1f !important;
  letter-spacing: -0.02em;
}

.banner-section.barista-hero-banner .barista-hero-title-line {
  display: block;
  color: #1f1f1f;
  white-space: nowrap;
}

.banner-section.barista-hero-banner .barista-hero-accent {
  color: var(--barista-bronze) !important;
  font-style: normal;
  font-weight: inherit;
}

.banner-section.barista-hero-banner .barista-hero-subtitle {
  margin: 0 0 26px;
  max-width: 32rem;
  color: #4a4a4a !important;
  font-weight: 400;
  line-height: 1.55;
}

.banner-section.barista-hero-banner .barista-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.banner-section.barista-hero-banner .barista-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.banner-section.barista-hero-banner .barista-hero-btn i {
  flex-shrink: 0;
  font-size: 1.15rem;
}

.banner-section.barista-hero-banner .barista-hero-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
}

.banner-section.barista-hero-banner .barista-hero-btn-text strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.banner-section.barista-hero-banner .barista-hero-btn-text small {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.9;
}

.banner-section.barista-hero-banner .barista-hero-btn--primary {
  background: var(--barista-bronze);
  border: 1.5px solid var(--barista-bronze);
  color: #fff !important;
}

.banner-section.barista-hero-banner .barista-hero-btn--primary:hover,
.banner-section.barista-hero-banner .barista-hero-btn--primary:focus {
  background: var(--barista-bronze-dark);
  border-color: var(--barista-bronze-dark);
  color: #fff !important;
}

.banner-section.barista-hero-banner .barista-hero-btn--outline {
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid var(--barista-bronze);
  color: var(--barista-bronze) !important;
}

.banner-section.barista-hero-banner .barista-hero-btn--outline:hover,
.banner-section.barista-hero-banner .barista-hero-btn--outline:focus {
  background: rgba(183, 114, 17, 0.08);
  color: var(--barista-bronze-dark) !important;
}

.banner-section.barista-hero-banner .barista-hero-features {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 8px 32px rgba(44, 24, 16, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.banner-section.barista-hero-banner .barista-hero-features li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3a3a3a;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.banner-section.barista-hero-banner .barista-hero-features i {
  color: var(--barista-bronze);
  font-size: 0.95rem;
}

@media (max-width: 991.98px) {
  .banner-section.barista-hero-banner {
    height: auto;
    min-height: 560px;
  }

  .banner-section.barista-hero-banner .barista-hero-title-line {
    white-space: normal;
  }

  .banner-section.barista-hero-banner .barista-hero-subtitle {
    margin-bottom: 22px;
    max-width: 28rem;
  }

  .banner-section.barista-hero-banner .barista-hero-content {
    max-width: 100%;
  }

  .banner-section.barista-hero-banner::before {
    background: linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.92) 42%,
      rgba(255, 255, 255, 0.62) 68%,
      rgba(255, 255, 255, 0.28) 100%
    );
  }

  .banner-section.barista-hero-banner .barista-hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }

  .banner-section.barista-hero-banner .barista-hero-media img {
    object-position: 70% top;
    transform: translateY(24px);
  }

  .banner-section.barista-hero-banner .rt-single-banner5 {
    position: relative;
    align-items: flex-start;
    padding: 44px 0 48px !important;
  }

  .banner-section.barista-hero-banner .barista-hero-btn {
    min-width: 200px;
  }
}

@media (max-width: 767.98px) {
  .banner-section.barista-hero-banner {
    min-height: 640px;
  }

  .banner-section.barista-hero-banner .barista-hero-title {
    margin-bottom: 12px;
  }

  .banner-section.barista-hero-banner::before {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.92) 42%,
      rgba(255, 255, 255, 0.78) 68%,
      rgba(255, 255, 255, 0.5) 100%
    );
  }

  /* Shift photo down inside the fixed media frame */
  .banner-section.barista-hero-banner .barista-hero-media img {
    object-position: center top;
    transform: translateY(40px) scale(1.08);
    transform-origin: center top;
  }

  .banner-section.barista-hero-banner .rt-single-banner5 {
    padding: 28px 0 40px !important;
  }

  .banner-section.barista-hero-banner .rt-single-banner5 .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .banner-section.barista-hero-banner .barista-hero-content {
    width: 100% !important;
    max-width: 100% !important;
  }

  .banner-section.barista-hero-banner .barista-hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 14px !important;
  }

  .banner-section.barista-hero-banner .barista-hero-btn {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 72px !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: 16px 18px !important;
    gap: 14px !important;
    border-radius: 12px !important;
  }

  .banner-section.barista-hero-banner .barista-hero-btn--outline {
    background: rgba(255, 255, 255, 0.92) !important;
  }

  .banner-section.barista-hero-banner .barista-hero-btn i {
    font-size: 1.35rem !important;
    width: 1.35rem;
    text-align: center;
  }

  .banner-section.barista-hero-banner .barista-hero-btn-text {
    flex: 1;
    min-width: 0;
  }

  .banner-section.barista-hero-banner .barista-hero-btn-text strong {
    font-size: 1.05rem !important;
  }

  .banner-section.barista-hero-banner .barista-hero-btn-text small {
    font-size: 0.8rem !important;
  }

  .banner-section.barista-hero-banner .barista-hero-features {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border-radius: 14px !important;
    gap: 0 !important;
    padding: 6px 14px !important;
    background: rgba(255, 255, 255, 0.78) !important;
  }

  .banner-section.barista-hero-banner .barista-hero-features li {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 44px;
    padding: 10px 0 !important;
    margin: 0 !important;
    white-space: normal !important;
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
    border-bottom: 1px solid rgba(183, 114, 17, 0.12);
  }

  .banner-section.barista-hero-banner .barista-hero-features li:last-child {
    border-bottom: 0;
    grid-column: auto;
  }

  .banner-section.barista-hero-banner .barista-hero-features i {
    flex-shrink: 0;
    font-size: 1rem !important;
  }
}

@media (max-width: 575.98px) {
  .banner-section.barista-hero-banner {
    min-height: 700px;
  }

  .banner-section.barista-hero-banner .barista-hero-subtitle {
    margin-bottom: 16px;
  }

  .banner-section.barista-hero-banner .rt-single-banner5 {
    padding: 22px 0 36px !important;
  }

  .banner-section.barista-hero-banner .barista-hero-media img {
    transform: translateY(52px) scale(1.12);
  }

  .banner-section.barista-hero-banner .barista-hero-btn {
    min-height: 76px !important;
    padding: 16px !important;
  }

  .banner-section.barista-hero-banner .barista-hero-features {
    padding: 4px 12px !important;
  }

  .banner-section.barista-hero-banner .barista-hero-features li {
    min-height: 46px;
    font-size: 0.9rem !important;
  }
}
