/**
 * Component: Hero Banner
 *
 * Styles for the personalized welcome hero section.
 *
 * @package    Factoria Child
 * @subpackage Styles/Components
 * @since      1.0.0
 */

/* --------------------------------------------------------
   Section
   -------------------------------------------------------- */
.hero-banner {
  border-bottom: 1px solid hsl(var(--border));
}

.hero-banner__inner {
  padding-block: 2.4rem;
}

@media (min-width: 1024px) {
  .hero-banner__inner {
    padding-block: 6.4rem;
  }
}

/* --------------------------------------------------------
   Label Row
   -------------------------------------------------------- */
.hero-banner__label-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

@media (min-width: 1024px) {
  .hero-banner__label-row {
    gap: 1.2rem;
    margin-bottom: 1.6rem;
  }
}

.hero-banner__icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

@media (min-width: 1024px) {
  .hero-banner__icon {
    width: 4rem;
    height: 4rem;
  }
}

.hero-banner__icon .dashicons {
  color: hsl(var(--primary-foreground));
  font-size: 1.6rem;
}

@media (min-width: 1024px) {
  .hero-banner__icon .dashicons {
    font-size: 2rem;
  }
}

.hero-banner__label {
  font-size: 1.2rem;
  font-weight: 500;
  color: hsl(var(--primary));
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .hero-banner__label {
    font-size: 1.4rem;
  }
}

/* --------------------------------------------------------
   Heading
   -------------------------------------------------------- */
.hero-banner__heading {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.6rem;
  margin-top: 0;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .hero-banner__heading {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-banner__heading {
    font-size: 4.8rem;
    margin-bottom: 1.2rem;
  }
}

/* --------------------------------------------------------
   Description (WYSIWYG)
   -------------------------------------------------------- */
.hero-banner__description {
  max-width: 67.2rem;
  color: hsl(var(--muted-foreground));
}

.hero-banner__description p {
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}

.hero-banner__description p:last-child {
  margin-bottom: 0;
}

.hero-banner__description a {
  color: hsl(var(--primary));
  text-decoration: underline;
}

.hero-banner__description a:hover {
  opacity: 0.8;
}

@media (min-width: 640px) {
  .hero-banner__description p {
    font-size: 1.8rem;
  }
}
