.hbf-hero .first-section { padding-bottom: 32px; }
.hbf-hero .flex-end.flex-gap-45 { align-items: flex-end; gap: 20px; }
.hbf-hero-title {
  max-width: 820px;
  margin: 0;
  font-size: clamp(28px, 4.15vw, 62px);
  line-height: 1.04;
  text-wrap: balance;
}
.hbf-hero-lead { max-width: 660px; }
.hbf-hero-description {
  max-width: 625px;
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  text-align: right;
  color: #fff;
}
.hbf-hero .hbf-hero-action { min-width: 265px; }
.hbf-hero .hbf-secondary {
  background: #0a0a0a;
  color: #fff;
  border: 1px solid #a77c45;
}
.hbf-hero .hbf-secondary:hover { color: #081424; background: #f2a030; }
.hbf-hero .hbf-hero-footer { justify-content: flex-end; }
.hbf-event-status { display: block; margin-bottom: 9px; font-weight: 700; }

@media (max-width: 991px) {
  .hbf-hero .hbf-hero-footer { padding-top: 72px; }
}
@media (max-width: 767px) {
  .hbf-hero .hbf-hero-title { font-size: clamp(27px, 6.2vw, 43px); }
  .hbf-hero-description { font-size: 14px; }
  .hbf-hero .flex-end.flex-gap-45 { gap: 12px; text-shadow: 0 1px 4px #000, 0 0 12px #000; }
  .hbf-hero .hbf-hero-action { width: min(100%, 300px); min-width: 0; }
}

.hbf-new-section {
  --hbf-amber: #f2a030;
  --hbf-gold: #e5b66d;
  --hbf-border: #ae7a4050;
  --hbf-copy: #d1ccc4;
  padding-block: clamp(55px, 6.4vw, 108px);
}

.hbf-new-section .heading__title {
  margin: 0;
  font-size: clamp(1.42rem, 3.4vw, 2.65rem);
  line-height: 1.14;
  text-wrap: balance;
}

.hbf-new-section :is(.hbf-new-label, .hbf-new-intro, .hbf-card-title, .hbf-card-copy) {
  margin: 0;
}

.hbf-new-section .hbf-new-heading {
  margin-bottom: clamp(24px, 3vw, 42px);
}

.hbf-new-section .hbf-new-label {
  margin-bottom: 13px;
  color: var(--hbf-amber);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hbf-new-section :is(.hbf-new-intro, .hbf-card-copy) {
  color: var(--hbf-copy);
  font-size: 1rem;
  line-height: 1.55;
}

.hbf-new-section .hbf-card-title {
  color: #fff;
  font-size: clamp(1.04rem, 1.55vw, 1.29rem);
  font-weight: 700;
  line-height: 1.3;
  text-wrap: pretty;
}

.hbf-new-section .hbf-card-title + .hbf-card-copy { margin-top: 7px; }

.hbf-new-section .hbf-new-icon {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  border: 1px solid #c48e515e;
  border-radius: 6px;
  background: #c58a3d0e;
  color: #ffbd68;
}

.hbf-new-section .hbf-new-icon::before,
.hbf-new-section .hbf-new-icon::after {
  display: block;
  grid-area: 1 / 1;
  content: "";
}

.hbf-new-section [data-icon="video"]::before {
  margin-left: 3px;
  border-block: 6px solid transparent;
  border-left: 10px solid currentColor;
}

.hbf-new-section [data-icon="slides"]::before {
  width: 19px;
  height: 14px;
  border: 1px solid;
  border-radius: 2px;
}

.hbf-new-section [data-icon="slides"]::after {
  width: 11px;
  height: 5px;
  border-block: 1px solid;
}

.hbf-new-section [data-icon="text"]::before {
  width: 16px;
  height: 12px;
  border-block: 1px solid;
  background: linear-gradient(currentColor, currentColor) left center / 11px 1px no-repeat;
}

.hbf-new-section [data-icon="scribe"]::before {
  width: 16px;
  height: 16px;
  border: 1px solid;
  border-radius: 2px;
  background: linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}

.hbf-new-section [data-icon="search"]::before {
  width: 12px;
  height: 12px;
  border: 1.5px solid;
  border-radius: 50%;
  transform: translate(-2px, -2px);
}

.hbf-new-section [data-icon="search"]::after {
  width: 7px;
  height: 1.5px;
  background: currentColor;
  transform: translate(5px, 5px) rotate(45deg);
}

.hbf-new-section [data-icon="ai"]::before {
  width: 17px;
  height: 17px;
  background: currentColor;
  clip-path: polygon(50% 0, 66% 34%, 100% 50%, 66% 66%, 50% 100%, 34% 66%, 0 50%, 34% 34%);
}

#hbf-package .hbf-package-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(18px, 5vw, 78px);
}

#hbf-package .hbf-package-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.33fr) repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#hbf-package .hbf-material-card {
  display: flex;
  min-height: 174px;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(16px, 2.15vw, 29px);
  border: 1px solid var(--hbf-border);
  border-radius: 7px;
  background: #151310;
}

#hbf-package .hbf-material-card .hbf-new-icon { margin-bottom: 14px; }

#hbf-package .hbf-material-featured {
  grid-row: span 2;
  min-height: 382px;
  justify-content: space-between;
  overflow: hidden;
  border-color: #bf873b9c;
  background:
    linear-gradient(0deg, #18120ff2 4%, #18120f40 70%, transparent),
    url("/assets/template-2026/img/section15-img-3-3.png") 90% 31% / min(66%, 292px) auto no-repeat,
    radial-gradient(ellipse at 80% 39%, #6f421f, #1f1713 68%);
}

#hbf-package .hbf-featured-copy { max-width: 300px; }

#hbf-package .hbf-material-count {
  display: block;
  margin-block: 10px 4px;
  color: #ffc275;
  font-family: "Bebas Neue", "Montserrat", sans-serif;
  font-size: clamp(6.75rem, 12vw, 10.8rem);
  font-weight: 700;
  letter-spacing: -.038em;
  line-height: .78;
}

#hbf-knowledge { padding-top: 0; }

#hbf-knowledge .hbf-knowledge-panel {
  padding: clamp(24px, 4.2vw, 55px);
  border: 1px solid var(--hbf-border);
  border-radius: 7px;
  background: radial-gradient(ellipse at top right, #3d291d, transparent 62%), #191410;
}

#hbf-knowledge .heading__title { max-width: 830px; }

#hbf-knowledge .hbf-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--hbf-border);
}

#hbf-knowledge .hbf-knowledge-grid article {
  padding: 20px 21px 20px 0;
}

#hbf-knowledge .hbf-knowledge-grid article + article {
  padding-inline-start: 21px;
  border-inline-start: 1px solid var(--hbf-border);
}

#hbf-knowledge .hbf-new-icon { margin-bottom: 13px; }

#hbf-knowledge .hbf-knowledge-close {
  margin: 16px 0 0;
  color: var(--hbf-gold);
  font-size: .95rem;
  line-height: 1.5;
}

#hbf-scenarios .heading__title { max-width: 740px; }

#hbf-scenarios .hbf-scenarios-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(18px, 4.4vw, 62px);
}

#hbf-scenarios .hbf-use-list {
  border-top: 1px solid var(--hbf-border);
}

#hbf-scenarios .hbf-use-list article {
  position: relative;
  min-height: 94px;
  padding: 15px 4px 15px 20px;
  border-bottom: 1px solid var(--hbf-border);
}

#hbf-scenarios .hbf-use-list article::before {
  position: absolute;
  top: 23px;
  left: 1px;
  width: 5px;
  height: 5px;
  background: var(--hbf-amber);
  transform: rotate(45deg);
  content: "";
}

#hbf-scenarios .hbf-use-ai {
  display: grid;
  gap: 10px;
}

#hbf-scenarios .hbf-use-ai article {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 1.8vw, 23px);
  padding: clamp(15px, 2vw, 27px);
  border: 1px solid var(--hbf-border);
  border-radius: 7px;
  background: linear-gradient(120deg, #211815, #161310);
}

#hbf-final .hbf-final-panel {
  display: grid;
  min-height: 350px;
  align-content: center;
  justify-items: center;
  gap: 20px;
  padding: clamp(34px, 6.5vw, 90px) clamp(15px, 8vw, 115px);
  border: 1px solid #b17a3c7d;
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 8%, #16100ef0 32%, #16100ef0 68%, transparent 92%),
    url("/assets/template-2026/img/section15-2-bg-1.png") left center / auto 100% no-repeat,
    url("/assets/template-2026/img/section15-2-bg-2.png") right center / auto 100% no-repeat,
    #18110e;
  text-align: center;
}

#hbf-final .hbf-new-intro { max-width: 570px; }
#hbf-final .main-btn { min-width: min(305px, 100%); }

@media (max-width: 991px) {
  #hbf-package .hbf-package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #hbf-package .hbf-material-featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 276px;
    background-size: auto, min(44%, 265px) auto, auto;
  }
}

@media (max-width: 767px) {
  #hbf-package .hbf-package-heading, #hbf-scenarios .hbf-scenarios-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #hbf-knowledge .hbf-knowledge-grid { grid-template-columns: minmax(0, 1fr); }
  #hbf-knowledge .hbf-knowledge-grid article { padding: 14px 0; }
  #hbf-knowledge .hbf-knowledge-grid article + article {
    padding-inline-start: 0;
    border-inline-start: 0;
    border-top: 1px solid var(--hbf-border);
  }

  #hbf-final .hbf-final-panel {
    min-height: 290px;
    background-size: auto, auto 60%, auto 60%, auto;
    background-position: center, left bottom, right bottom, center;
  }
}

@media (max-width: 575px) {
  #hbf-package .hbf-package-grid { grid-template-columns: minmax(0, 1fr); }
  #hbf-package .hbf-material-card:not(.hbf-material-featured) { min-height: 0; }
  #hbf-package .hbf-material-featured {
    min-height: 248px;
    background-size: auto, min(52%, 208px) auto, auto;
  }
}

.hbf-certificate-link {
  --hbf-certificate-bottom: calc(16px + var(--hbf-certificate-cookie-offset, 0px));
  position: fixed;
  z-index: 19;
  left: 50%;
  bottom: 16px;
  bottom: var(--hbf-certificate-bottom);
  bottom: max(var(--hbf-certificate-bottom), var(--hbf-certificate-footer-offset, 0px));
  transform: translateX(-50%);
  display: flex;
  width: max-content;
  min-width: min(326px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  min-height: 64px;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  gap: 12px;
  padding: 13px 30px;
  border: 1px solid #fff1bd;
  border-radius: 100px;
  background: linear-gradient(125deg, #ffeaa7 0%, #ffc253 48%, #f79d1c 100%);
  color: #211408;
  font-size: clamp(16px, 4vw, 19px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 0 2px #211408, 0 7px 28px rgb(0 0 0 / 58%), 0 0 22px rgb(255 172 44 / 42%);
  transition: box-shadow .2s ease, transform .2s ease;
}

@supports (bottom: env(safe-area-inset-bottom, 0px)) {
  .hbf-certificate-link {
    --hbf-certificate-bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--hbf-certificate-cookie-offset, 0px));
  }
}

.hbf-certificate-link::before {
  position: absolute;
  inset: 0 auto 0 -48%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 70%), transparent);
  transform: skewX(-23deg);
  pointer-events: none;
  animation: hbf-certificate-gleam 5.5s ease-in-out infinite;
  content: '';
}

.hbf-certificate-link > * { position: relative; }
.hbf-certificate-link:hover, .hbf-certificate-link:focus-visible {
  background: linear-gradient(125deg, #fff1c2 0%, #ffd36f 48%, #ffad37 100%);
  color: #211408;
  text-decoration: none;
  box-shadow: 0 0 0 2px #211408, 0 9px 30px rgb(0 0 0 / 52%), 0 0 30px rgb(255 189 75 / 64%);
}
.hbf-certificate-link:focus-visible { outline: 3px solid #fff3d8; outline-offset: 4px; }
.hbf-certificate-link svg { width: 26px; height: 26px; flex: none; }

@media (hover: hover) {
  .hbf-certificate-link:hover { transform: translate(-50%, -2px); }
}

@media (max-width: 767px) {
  .footer__line {
    --hbf-certificate-footer-clearance: 72px;
    padding-bottom: 88px;
    padding-bottom: calc(16px + var(--hbf-certificate-footer-clearance) + var(--hbf-certificate-cookie-offset, 0px));
    padding-bottom: calc(16px + var(--hbf-certificate-footer-clearance) + var(--hbf-certificate-cookie-offset, 0px) + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 640px) {
  .hbf-certificate-link {
    min-width: min(304px, calc(100% - 32px));
    min-height: 58px;
    padding-inline: 18px;
  }
}

@keyframes hbf-certificate-gleam {
  0%, 17% { transform: translateX(0) skewX(-23deg); }
  38%, 100% { transform: translateX(430%) skewX(-23deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hbf-certificate-link { transition: none; }
  .hbf-certificate-link:hover { transform: translateX(-50%); }
  .hbf-certificate-link::before { animation: none; }
}

#hbf-materials .section15_2__title {
  margin: 0;
}

#hbf-materials .hbf-materials-items {
  align-self: center;
  margin: 0;
  padding-inline-start: 1.15em;
  list-style: disc outside;
  text-align: start;
}

#hbf-materials .hbf-materials-items li + li {
  margin-block-start: 4px;
}

#hbf-materials .hbf-materials-items li::marker {
  color: #f2a030;
}
