/* ==========================================================================
   Harris Jeweler | Brand Page Intro Block
   File location: /css/harris-brand-intro.css
   Call in header template:
   <link rel="stylesheet" href="/css/harris-brand-intro.css">

   Scoped entirely to .hj-brand-intro so it cannot affect anything else.
   Built to sit between the brand page title and the product grid.
   ========================================================================== */

.hj-brand-intro {
  width: 100%;
  max-width: 100%;
  text-align: left;
  padding: 1.75rem 0 1.5rem;
  margin: 0 0 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, .12);
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}

/* Eyebrow: authorized retailer / location line */
.hj-brand-intro__eyebrow {
  display: block;
  margin: 0 0 .65rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.4;
  color: #7a7a7a;
}

/* Main intro paragraph */
.hj-brand-intro__lede {
  margin: 0;
  max-width: 78ch;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #2b2b2b;
}

.hj-brand-intro__lede + .hj-brand-intro__lede {
  margin-top: .85rem;
}

/* Keyword tag row */
.hj-brand-intro__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .9rem;
  margin: 1.05rem 0 0;
  padding: 0;
}

.hj-brand-intro__tags li {
  position: relative;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5c5c5c;
  white-space: nowrap;
}

.hj-brand-intro__tags li + li::before {
  content: "";
  position: absolute;
  left: -.5rem;
  top: 50%;
  width: 1px;
  height: .8em;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .2);
}

/* Button row (Gabriel & Co. and any brand with multiple catalogs) */
.hj-brand-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.25rem 0 0;
}

.hj-brand-intro__btn {
  display: inline-block;
  padding: .6rem 1.35rem;
  border: 1px solid #1a1a1a;
  border-radius: 0;
  background: transparent;
  color: #1a1a1a;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.3;
  transition: background-color .18s ease, color .18s ease;
}

.hj-brand-intro__btn:hover,
.hj-brand-intro__btn:focus {
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
}

.hj-brand-intro__btn:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 3px;
}

/* Primary variant, for the highest-intent catalog */
.hj-brand-intro__btn--primary {
  background: #1a1a1a;
  color: #fff;
}

.hj-brand-intro__btn--primary:hover,
.hj-brand-intro__btn--primary:focus {
  background: transparent;
  color: #1a1a1a;
}

/* Mobile */
@media (max-width: 575.98px) {
  .hj-brand-intro {
    padding: 1.35rem 0 1.25rem;
    margin-bottom: 1.25rem;
  }

  .hj-brand-intro__lede {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hj-brand-intro__tags {
    gap: .35rem .8rem;
  }

  .hj-brand-intro__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hj-brand-intro__btn {
    text-align: center;
    width: 100%;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hj-brand-intro__btn {
    transition: none;
  }
}
