/* ========================================================================
   Gosmooth - View Brand Page CSS
   ALL selectors scoped under .view-brand-page
   Fonts: Noto Serif TC (headings), Noto Sans TC (body)
   ======================================================================== */

/* ---- shared gradient text ---- */
.view-brand-page .vb-gold-gradient-text {
  background: linear-gradient(180deg, #FFC127 0%, #DB7F21 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ========================================================================
   HERO
   ======================================================================== */
.view-brand-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  margin-top: calc(-1 * var(--site-header-height, 86px));
  padding: calc(var(--site-header-height, 86px) + 80px) 0 70px;
  text-align: center;
  background:
    linear-gradient(rgba(18, 18, 18, 0.85), rgba(18, 18, 18, 0.85)),
    url('/assets/images/Bg/Bg02.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
}

.view-brand-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232,178,10,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(219,127,33,.08) 0%, transparent 55%);
  pointer-events: none;
}

.view-brand-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.view-brand-hero__eyebrow {
  display: inline-block;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #E8B20A;
  margin-bottom: 18px;
}

.view-brand-hero__title {
  font-family: "Noto Serif TC", serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 0 20px;
}

.view-brand-hero__desc {
  font-family: "Noto Sans TC", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: #c6c6c6;
  margin: 0 auto;
  max-width: 640px;
}

/* ========================================================================
   SECTIONS (shared)
   ======================================================================== */
.view-brand-section {
  padding: 70px 0;
}

.view-brand-section__inner {
  width: 100%;
  max-width: none;
  padding-left: 48px;
  padding-right: 48px;
  margin-left: auto;
  margin-right: auto;
}

.view-brand-section__heading {
  text-align: center;
  margin-bottom: 16px;
}

.view-brand-section__title {
  font-family: "Noto Serif TC", serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
}

.view-brand-section__subtitle {
  font-family: "Noto Sans TC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #E8B20A;
  margin: 0;
}

.view-brand-section__intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 42px;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: #c6c6c6;
}

/* ---- section backgrounds ---- */
.view-brand-section--own {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 193, 39, 0.08), transparent 34%),
    linear-gradient(
      180deg,
      #242321 0%,
      #2b2925 22%,
      #302d27 48%,
      #292826 76%,
      #222222 100%
    );
}

.view-brand-section--partners {
  background:
    linear-gradient(rgba(18, 18, 18, 0.74), rgba(18, 18, 18, 0.74)),
    url('/assets/images/Bg/Bg02.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* ========================================================================
   BRAND CARD GRID
   ======================================================================== */
.view-brand-grid {
  display: grid;
  gap: 18px;
}

.view-brand-grid--own {
  grid-template-columns: repeat(2, 1fr);
}

.view-brand-grid--partners {
  grid-template-columns: repeat(3, 1fr);
}

/* ========================================================================
   BRAND CARD
   ======================================================================== */
.view-brand-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 126px;
  background: rgba(25,25,25,.92);
  border: 1px solid rgba(108,108,108,.67);
  border-radius: 6px;
  padding: 20px 24px;
  text-decoration: none;
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
  cursor: pointer;
}

.view-brand-card:hover,
.view-brand-card:focus-visible {
  background: rgba(0,0,0,.68);
  border-color: rgba(232,178,10,.55);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
  outline: none;
}

.view-brand-card__logo-wrap {
  flex-shrink: 0;
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-brand-card__logo {
  display: block;
  max-width: 75px;
  max-height: 75px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* text logo fallback */
.view-brand-card__logo-text {
  font-family: "Noto Serif TC", serif;
  font-size: 20px;
  font-weight: 700;
  color: #E8B20A;
  text-align: center;
  line-height: 1.3;
}

.view-brand-card__body {
  flex: 1;
  min-width: 0;
}

.view-brand-card__name {
  font-family: "Noto Sans TC", sans-serif;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(180deg, #FFC127 0%, #DB7F21 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #DB7F21;
  font-style: italic;
  margin: 0 0 6px;
  line-height: 1.3;
}

.view-brand-card__desc {
  font-family: "Noto Sans TC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: #c6c6c6;
  margin: 0;
}

/* ========================================================================
   CTA
   ======================================================================== */
.view-brand-cta {
  background: rgba(25,25,25,.88);
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid rgba(232,178,10,.2);
}

.view-brand-cta__inner {
  max-width: 520px;
  margin: 0 auto;
}

.view-brand-cta__text {
  font-family: "Noto Serif TC", serif;
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 24px;
}

.view-brand-cta__btn {
  display: inline-block;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #191919;
  background: linear-gradient(180deg, #FFE8AB 0%, #FFB000 100%);
  padding: 13px 40px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity .25s, transform .25s;
}

.view-brand-cta__btn:hover {
  opacity: .92;
  transform: translateY(-2px);
}

/* ========================================================================
   RESPONSIVE — Tablet (768 - 1024)
   ======================================================================== */
@media (max-width: 1024px) {
  .view-brand-grid--partners {
    grid-template-columns: repeat(2, 1fr);
  }

  .view-brand-section {
    padding: 50px 16px;
  }

  .view-brand-hero {
    min-height: 380px;
    padding: calc(var(--site-header-height, 86px) + 60px) 16px 50px;
  }

  .view-brand-hero__title {
    font-size: 30px;
  }
}

/* ========================================================================
   RESPONSIVE — Mobile (≤ 767px)
   ======================================================================== */
@media (max-width: 767px) {
  .view-brand-hero {
    min-height: 340px;
    padding: calc(var(--site-header-height, 86px) + 50px) 16px 40px;
  }

  .view-brand-hero__eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 12px;
  }

  .view-brand-hero__title {
    font-size: 24px;
  }

  .view-brand-hero__desc {
    font-size: 14px;
    line-height: 1.65;
  }

  .view-brand-section {
    padding: 40px 16px;
  }

  .view-brand-section__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .view-brand-section__title {
    font-size: 24px;
  }

  .view-brand-section__intro {
    font-size: 13.5px;
    margin-bottom: 28px;
  }

  /* all grids → 1 column */
  .view-brand-grid--own,
  .view-brand-grid--partners {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .view-brand-card {
    min-height: auto;
    padding: 18px 18px;
    gap: 14px;
  }

  .view-brand-card__logo-wrap {
    width: 68px;
    height: 68px;
  }

  .view-brand-card__logo {
    max-width: 66px;
    max-height: 66px;
  }

  .view-brand-card__name {
    font-size: 17px;
  }

  .view-brand-card__desc {
    font-size: 13px;
    line-height: 1.6;
  }

  .view-brand-cta {
    padding: 40px 16px;
  }

  .view-brand-cta__text {
    font-size: 18px;
  }

  .view-brand-cta__btn {
    font-size: 14px;
    padding: 12px 32px;
  }
}