/**
 * Center Hero Widget Styles
 * Centre HOUNGNIBO
 */

.hgb-chero {
  position: relative;
  background-color: var(--hgb-color-primary-container, #4a321b);
  color: var(--hgb-color-on-primary, #ffffff);
  overflow: hidden;
  border-bottom: 1px solid var(--hgb-color-outline-variant, #d3c4b9);
}

.hgb-chero__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hgb-chero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: brightness(0.9) contrast(1.05);
}

.hgb-chero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(50, 29, 8, 1) 0%, rgba(74, 50, 27, 0.95) 50%, rgba(50, 29, 8, 0.8) 100%);
}

.hgb-chero__container {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
}

.hgb-chero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffddb2;
  margin-bottom: 1.5rem;
}

.hgb-chero__breadcrumb a,
.hgb-chero__crumb-link {
  color: #ffddb2;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hgb-chero__breadcrumb a:hover,
.hgb-chero__crumb-link:hover {
  color: #ffffff;
  text-decoration: none;
}

.hgb-chero__crumb-sep,
.hgb-chero__separator {
  font-size: 14px;
  opacity: 0.6;
  color: #ffddb2;
}

.hgb-chero__current {
  color: #fdba56;
  font-weight: 800;
}

.hgb-chero__content {
  max-width: 56rem;
}

.hgb-chero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.875rem;
  background-color: rgba(130, 85, 0, 0.2);
  border: 1px solid rgba(130, 85, 0, 0.4);
  color: var(--hgb-color-secondary-fixed, #ffddb2);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hgb-chero__badge-icon {
  font-size: 14px;
}

.hgb-chero__title {
  font-family: 'Montserrat Alternates', 'Montserrat', sans-serif;
  font-size: 2.75rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--hgb-color-surface-container-lowest, #ffffff);
  margin-bottom: 1.5rem;
}

.hgb-chero__description {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--hgb-color-surface-container-high, #ece8df);
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 48rem;
}

.hgb-chero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hgb-chero .hgb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.hgb-chero .hgb-btn--primary {
  background-color: var(--hgb-color-secondary, #825500);
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hgb-chero .hgb-btn--primary:hover {
  background-color: var(--hgb-color-secondary-container, #fdba56);
  color: var(--hgb-color-on-secondary-fixed, #291800);
}

.hgb-chero .hgb-btn--outline {
  border: 1px solid var(--hgb-color-outline-variant, #d3c4b9);
  color: var(--hgb-color-surface-bright, #fdf9f0);
  background: transparent;
}

.hgb-chero .hgb-btn--outline:hover {
  border-color: var(--hgb-color-secondary-fixed, #ffddb2);
  background: rgba(253, 249, 240, 0.05);
}

.hgb-chero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(129, 117, 108, 0.4);
}

.hgb-chero__stat-item {
  border-left: 2px solid var(--hgb-color-secondary, #825500);
  padding-left: 1rem;
}

.hgb-chero__stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: var(--hgb-color-secondary-fixed, #ffddb2);
}

.hgb-chero__stat-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hgb-color-surface-container-high, #ece8df);
  margin-top: 0.25rem;
}

.hgb-chero__stat-subtitle {
  font-size: 0.8125rem;
  line-height: 1.25rem;
  color: rgba(230, 226, 217, 0.8);
  margin-top: 0.25rem;
}

@media (max-width: 1024px) {
  .hgb-chero__title {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .hgb-chero__container {
    padding: 3rem 1.25rem 4rem;
  }
  .hgb-chero__title {
    font-size: 1.75rem;
  }
  .hgb-chero__stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2.5rem;
    padding-top: 2rem;
  }
}

@media (max-width: 480px) {
  .hgb-chero__stats {
    grid-template-columns: 1fr;
  }
}
