/**
 * Inner marketing pages (About, Contact, Resources) — aligns with front-page gradients & type.
 *
 * @package Innov8th
 */

.page-brand-main {
  position: relative;
  min-height: 60vh;
}

.page-brand-hero {
  position: relative;
  padding: 8.5rem 0 2.5rem;
  overflow: hidden;
}

@media (min-width: 993px) {
  .page-brand-hero {
    padding-top: 9.5rem;
  }
}

.page-brand-hero__blur,
.page-brand-hero__blur2 {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.page-brand-hero__blur {
  opacity: 0.85;
  transform: scale(0.9);
}

.page-brand-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 52rem;
}

.page-brand-hero__eyebrow {
  margin-bottom: 0.75rem;
}

.page-brand-hero__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1rem;
}

.page-brand-hero__intro {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.55;
}

.page-brand-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 0, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
  opacity: 0.35;
  pointer-events: none;
}

.page-brand-prose {
  padding-bottom: 5rem;
  max-width: 800px;
}

.page-brand-prose .entry-content {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.65;
}

.page-brand-prose .entry-content h2,
.page-brand-prose .entry-content h3 {
  color: #fff;
  margin-top: 2rem;
}

.page-brand-prose .entry-content a {
  color: #ff00b8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-brand-prose .entry-content a:hover {
  color: #ff5fce;
}

/* Resources inner page: hero already introduces the page */
.resources-section--page {
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.resources-section--page .resources-grid {
  grid-auto-flow: dense;
  row-gap: 32px;
}

.resources-section--page .resource-card:not(.is-feature) .resource-media {
  flex: 0 0 min(340px, 46%);
  width: min(340px, 46%);
  min-width: min(340px, 46%);
  max-width: min(340px, 46%);
}

.resources-section--page .resource-card.is-bento-invert:not(.is-feature) {
  grid-column: 1 / span 2;
}

.resources-section--page .resource-card.is-feature.is-feature--right {
  grid-column: 3 / span 2;
  grid-row: span 2;
}
