/**
 * About page — desktop-only embedded competition sections (Figma 105:971).
 * Requires mission-profile.css, cost-bid.css, sow-requirements.css (min-width: 641px).
 * marketing.css loads for all widths so embedded Marketing block matches marketing.html.
 */

.tf-about__logos-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 31px;
  width: 100%;
  max-width: 960px;
  margin: 0;
}

.tf-about__logos-row .tf-about__logo-wide {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  max-width: none;
}

.tf-about__logos-row .tf-about__logo-round {
  flex-shrink: 0;
  width: 262px;
  height: 262px;
  max-width: 42vw;
  max-height: 42vw;
}

.tf-about__logos-row .tf-about__logo-speedfest {
  flex-shrink: 0;
  height: 262px;
  width: auto;
  aspect-ratio: 786 / 524;
  max-height: 262px;
}

@media (max-width: 640px) {
  .tf-about__logos-row {
    max-width: 100%;
    justify-content: flex-start;
    gap: 17px;
  }

  .tf-about__logos-row .tf-about__logo-wide {
    flex: 0 0 auto;
    width: 110px;
    height: 59px;
  }

  .tf-about__logos-row .tf-about__logo-round {
    width: 82px;
    height: 82px;
    max-width: none;
    max-height: none;
  }

  .tf-about__logos-row .tf-about__logo-speedfest {
    height: 82px;
    max-height: 82px;
    max-width: min(200px, 48vw);
  }
}

/* Mobile: original competition links block */
.tf-about__mobile-competition {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
}

@media (min-width: 641px) {
  .tf-about__mobile-competition {
    display: none !important;
  }
}

/* Desktop: stacked bordered boxes */
.tf-about__desktop-embeds {
  display: none;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  box-sizing: border-box;
}

@media (min-width: 641px) {
  .tf-about__desktop-embeds {
    display: flex;
  }
}

.tf-about__competition-heading {
  margin: 0 0 8px;
}

@media (min-width: 641px) {
  .tf-about__competition-heading {
    margin: 0 0 16px;
  }
}

.tf-about__embed {
  box-sizing: border-box;
  width: 100%;
  border: 1.2px solid rgb(102 102 102);
  background: var(--color-black);
  padding: 64px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 57px;
}

.tf-about__embed-title {
  margin: 0;
  font-family: var(--font-family-headline);
  font-weight: var(--font-weight-headline);
  font-size: 77px;
  line-height: 1.12;
  color: var(--color-text-default);
}

.tf-about__embed-lede {
  margin: 0;
  font-family: var(--font-family-body);
  font-weight: var(--font-weight-body);
  font-size: 28.877px;
  line-height: var(--type-body-leading);
  color: var(--color-text-default);
  max-width: 100%;
}

/* Mission Profile: CSS vars + strip inner panel chrome */
.tf-about__mp-scope {
  --mp-border-muted: 1.2px solid rgb(102 102 102);
  --mp-label-muted: rgb(255 255 255 / 0.6);
  --mp-field-muted: rgb(0 0 0 / 0.6);
}

.tf-about__embed .tf-mp__content {
  border: none;
  padding: 0;
  background: transparent;
}

/* Cost Bid / Marketing inner padding */
.tf-about__embed .tf-cb__body {
  padding: 0;
}

.tf-about__embed .tf-mkt__intro {
  padding: 0;
  background: transparent;
  gap: 38px;
}

.tf-about__embed .tf-mkt__body {
  padding: 0;
}

.tf-about__embed .tf-sow__content {
  padding: 0;
  gap: 24px;
}

.tf-about__embed .tf-sow__grid {
  padding: 0;
}

/* SOW section title inside embed — match box, not full SOW page uppercase */
.tf-about__embed--sow .tf-about__embed-title {
  text-transform: none;
}
