/* ------------------------------------------------------------------ */
/*  Homepage headings                                                   */
/*                                                                      */
/*  The homepage content sections previously carried no heading tags at */
/*  all - every line sat in a plain <p>. These rules restate the values */
/*  those elements computed to, so each new <h1>, <h2> and <h3> matches */
/*  the page's existing typography instead of rendering as a browser    */
/*  default heading. Same approach as the note in styles.css for the    */
/*  brand line. Nothing here changes the layout grids in styles.css.    */
/* ------------------------------------------------------------------ */


/* --- Group card (white): page h1 ---------------------------------- */
/*  Mirrors body > div.crypto_section > div:nth-child(2) p, one step
    down in size because the h1 runs longer than the old two-word
    section title it replaces. */
body > div.crypto_section > div:nth-child(2) > h1 {
  font-size: 2.1rem;
  line-height: 1.12;
  text-transform: uppercase;
  font-weight: 500;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: rgb(0, 0, 0);
  margin: 0;
  margin-left: 5%;
  margin-bottom: 1rem;
}

@media only screen and (min-device-width: 1500px) {
  body > div.crypto_section > div:nth-child(2) > h1 {
    font-size: 2.7vw;
  }
}


/* --- Group card: section labels ----------------------------------- */
body > div.crypto_section > div:nth-child(3) > h2,
body > div.crypto_section > div:nth-child(4) > h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(0, 0, 0);
  margin: 0 0 0.75rem;
}

body > div.crypto_section > div:nth-child(4) > h2 {
  margin-top: 1rem;
}


/* --- Group card: the venture list that replaced the logo strip ---- */
body > div.crypto_section > div:nth-child(3) > p {
  width: 85%;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.55;
  margin: 0 0 0.9rem;
  padding-top: 0.7rem;
  border-top: dotted 1px rgba(0, 0, 0, 0.35);
}

body > div.crypto_section > div:nth-child(3) > p > a {
  color: rgb(0, 0, 0);
  font-weight: 600;
  text-decoration: underline dotted 1px rgba(0, 0, 0, 0.55);
  text-underline-offset: 3px;
  transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

body > div.crypto_section > div:nth-child(3) > p > a:hover {
  opacity: 0.55;
  transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}


/* --- Ventures card (black): section title ------------------------- */
/*  Mirrors body > div.capital_section > div:nth-child(3) p. */
body > div.capital_section > div:nth-child(3) > h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  font-weight: 500;
  color: rgb(255, 255, 255);
  margin: 0;
  margin-bottom: 1rem;
}

@media only screen and (min-device-width: 1500px) {
  body > div.capital_section > div:nth-child(3) > h2 {
    font-size: 3.3vw;
  }
}


/* --- Ventures card: one h3 per venture ---------------------------- */
body > div.capital_section > div:nth-child(4) > h3,
body > div.capital_section > div:nth-child(5) > h3,
body > div.capital_section > div:nth-child(6) > h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  margin: 0;
}

body > div.capital_section > div:nth-child(4) > h3 {
  margin: 2rem 0 0.5rem;
}

body > div.capital_section > div:nth-child(4) > p {
  margin-top: 0;
}

body > div.capital_section > div:nth-child(5) > h3 {
  margin: 0 0 0.6rem;
  padding-left: 1rem;
}

body > div.capital_section > div:nth-child(6) > h3 {
  margin-top: 70%;
  margin-bottom: 0.4rem;
  text-align: right;
}

body > div.capital_section > div:nth-child(6) p {
  margin-top: 0;
}

body > div.capital_section > div:nth-child(4) > p a,
body > div.capital_section > div:nth-child(6) > p a {
  color: rgb(255, 255, 255);
  text-decoration: underline dotted 1px rgba(255, 255, 255, 0.7);
  text-underline-offset: 3px;
}


/* --- News band: gradient section title ---------------------------- */
/*  Mirrors body > div.featured-slide > div > p. */
body > div.featured-slide > div > h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 3.7rem;
  font-weight: 500;
  margin: 0;
  margin-left: 2rem;
}


/* --- News cards: article headlines -------------------------------- */
/*  Mirrors body > div.insights_slide > div > p:nth-child(1). */
body > div.insights_slide > div > h3:nth-child(1) {
  width: 100%;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.97rem;
  font-weight: 100;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  margin: 0;
  padding-bottom: 0.5rem;
  border-bottom: rgba(255, 255, 255, 0.7) 1px dashed;
  margin-bottom: 2rem;
}


/* ------------------------------------------------------------------ */
/*  Mobile - mirrors the matching @media block in styles.css           */
/* ------------------------------------------------------------------ */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 812px) {

  body > div.crypto_section > div:nth-child(2) > h1 {
    padding-top: 0;
    display: block;
    font-size: 1.6rem;
    line-height: 1.2;
    text-align: left;
    margin-left: 0;
    font-weight: 700;
    margin-bottom: 0;
  }

  body > div.crypto_section > div:nth-child(3) > h2,
  body > div.crypto_section > div:nth-child(4) > h2 {
    font-size: 0.9rem;
    margin-top: 1.5rem;
  }

  body > div.crypto_section > div:nth-child(3) > p {
    width: 100%;
  }

  body > div.capital_section > div:nth-child(3) > h2 {
    margin-top: 1.5rem;
    font-size: 2.9rem;
    font-weight: 300;
  }

  body > div.capital_section > div:nth-child(4) > h3 {
    margin: 0 0 0.5rem;
  }

  body > div.capital_section > div:nth-child(5) > h3 {
    padding-left: 0;
  }

  body > div.capital_section > div:nth-child(6) > h3 {
    margin-top: 0;
    text-align: left;
    padding: 1rem 1rem 0;
  }

  body > div.featured-slide > div > h2.text {
    font-size: 2.35rem;
    margin: 0;
  }

  body > div.insights_slide > div > h3:nth-child(1) {
    font-size: 1.6rem;
    font-weight: 500;
  }
}
