/* ==========================================================================
   CRELLO MEDIA & BRAND KIT PAGE SPECIFIC STYLESHEET
   ========================================================================== */

/* Active link indicator in nav */
.nav__link--active,
.nav-drawer__link--active {
  font-weight: 600 !important;
  color: var(--grad-green) !important;
}

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.media-hero {
  background: var(--white);
  padding-top: 176px;
  padding-bottom: 80px;
}

.media-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 1096px;
  margin: 0 auto;
  text-align: center;
}

.media-hero__eyebrow {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
}

.media-hero__title {
  font-size: 64px;
  font-weight: 700;
  line-height: 72px;
  color: var(--text-dark);
}

.media-hero__desc {
  max-width: 959px;
  font-size: 20px;
  line-height: 32px;
  color: var(--text-muted-dark);
}

/* ─── SHARED SECTION HEADING ─────────────────────────────────────────────── */
.media-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 896px;
  margin: 0 auto 52px;
  text-align: center;
}

.media-heading h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 56px;
  color: var(--text-dark);
}

.media-heading p {
  max-width: 794px;
  font-size: 20px;
  line-height: 32px;
  color: var(--text-muted-dark);
}

/* ─── CARD GRIDS ─────────────────────────────────────────────────────────── */
.media-grid {
  display: grid;
  gap: 32px;
}

.media-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.media-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ─── ASSETS ─────────────────────────────────────────────────────────────── */
.media-assets {
  background: var(--bg-light-gray);
  padding: 80px 0;
}

.media-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
}

.media-card__icon {
  align-self: flex-start;
  padding: 24px;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(34, 214, 107, 0.08),
    rgba(54, 155, 255, 0.08)
  );
}

.media-card__icon img {
  width: 48px;
  height: 48px;
}

.media-card__texts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.media-card__texts h3 {
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--text-dark);
}

.media-card__texts p {
  font-size: 20px;
  line-height: 32px;
  color: var(--text-muted-dark);
}

.media-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 16px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: rgba(1, 0, 10, 0.4);
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
}

.media-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.media-btn img {
  width: 24px;
  height: 24px;
}

/* ─── USAGE GUIDE ────────────────────────────────────────────────────────── */
.media-guide {
  background: var(--white);
  padding: 80px 0;
}

.media-rule {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
}

.media-rule img {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.media-rule p {
  padding-top: 16px;
  font-size: 20px;
  line-height: 32px;
  color: var(--text-muted-dark);
}

/* ─── HELP DESK CTA ──────────────────────────────────────────────────────── */
.media-help {
  padding: 80px 0;
}

.media-help__card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 52px;
  background: linear-gradient(90deg, var(--grad-green), var(--grad-blue));
  border-radius: 12px;
  overflow: hidden;
}

.media-help__lines {
  position: absolute;
  top: 50%;
  right: 248px;
  width: 1200px;
  height: 1200px;
  transform: translateY(-50%) rotate(-45deg);
  pointer-events: none;
}

.media-help__line {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 32px;
}

.media-help__line:nth-child(1) {
  inset: 0;
}

.media-help__line:nth-child(2) {
  inset: 50px;
}

.media-help__line:nth-child(3) {
  inset: 100px;
}

.media-help__line:nth-child(4) {
  inset: 150px;
}

.media-help__line:nth-child(5) {
  inset: 200px;
}

.media-help__texts {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 896px;
}

.media-help__texts h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 56px;
  color: var(--white);
}

.media-help__texts p {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.9);
}

.media-help__btn {
  position: relative;
  z-index: 1;
  gap: 12px;
}

/* ─── TABLET ─────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .media-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .media-hero {
    padding-top: 140px;
  }

  .media-hero__title {
    font-size: 48px;
    line-height: 56px;
  }

  .media-grid--2,
  .media-grid--3 {
    grid-template-columns: 1fr;
  }

  .media-help__card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── MOBILE ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .media-hero {
    padding-top: 120px;
    padding-bottom: 56px;
  }

  .media-hero__cta {
    gap: 28px;
  }

  .media-hero__title {
    font-size: 30px;
    line-height: 38px;
  }

  .media-hero__desc {
    font-size: 18px;
    line-height: 28px;
  }

  .media-hero__btn {
    width: 100%;
  }

  .media-heading {
    gap: 16px;
    margin-bottom: 48px;
  }

  .media-heading h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .media-heading p {
    font-size: 18px;
    line-height: 28px;
  }

  .media-assets,
  .media-guide {
    padding: 48px 0;
  }

  .media-grid {
    gap: 24px;
  }

  .media-card {
    gap: 24px;
    padding: 20px;
  }

  .media-card__icon {
    padding: 12px;
  }

  .media-card__icon img {
    width: 24px;
    height: 24px;
  }

  .media-card__texts {
    gap: 16px;
  }

  .media-card__texts h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .media-card__texts p {
    font-size: 16px;
    line-height: 24px;
  }

  .media-btn {
    gap: 8px;
    height: 40px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 20px;
  }

  .media-btn img {
    width: 16px;
    height: 16px;
  }

  .media-rule {
    gap: 20px;
    padding: 20px;
  }

  .media-rule img {
    width: 24px;
    height: 24px;
  }

  .media-rule p {
    padding-top: 8px;
    font-size: 16px;
    line-height: 24px;
  }

  .media-help {
    padding: 0;
  }

  .media-help .container {
    padding: 0;
  }

  .media-help__card {
    align-items: stretch;
    gap: 48px;
    padding: 52px 24px;
    border-radius: 0;
    text-align: center;
  }

  .media-help__lines {
    top: 50%;
    right: auto;
    left: 50%;
    width: 680px;
    height: 680px;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .media-help__line {
    border-width: 0.567px;
    border-radius: 18px;
  }

  .media-help__line:nth-child(2) {
    inset: 28.33px;
  }

  .media-help__line:nth-child(3) {
    inset: 56.67px;
  }

  .media-help__line:nth-child(4) {
    inset: 85px;
  }

  .media-help__line:nth-child(5) {
    inset: 113.33px;
  }

  .media-help__texts {
    gap: 32px;
  }

  .media-help__texts h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
  }

  .media-help__texts p {
    font-size: 18px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.8);
  }

  .media-help__btn {
    gap: 8px;
    height: 44px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
  }

  .media-help__btn .btn__icon {
    width: 16px;
    height: 16px;
  }
}
