/* Styling for the home page (index.qmd, Quarto's "solana" about template) */

/* Heading, subtitle and blurb: right-aligned next to the image */
.entity-contents {
  text-align: right !important;
  padding: 0 2em 0 2em;
}

/* Blurb */
.about-contents {
  padding: 0 0 0 2em !important;
}

/* Social links on wide screens: right-aligned (size, spacing and phone layout are in theme.scss) */
@media (min-width: 992px) {
  .about-entity .about-links {
    justify-content: flex-end !important;
  }
}

/* Image */
.about-image {
  margin-top: -2em;
  padding: 0 2em 0 0;
}

/* Phones and tablets (below 992px, where the template stacks image above text):
   centre the text and let the image fit the screen (image centring and social links: see theme.scss) */
@media (max-width: 991.98px) {
  .entity-contents,
  .about-contents {
    text-align: center !important;
    padding: 0 1em !important;
  }

  .about-image {
    padding: 0;
    max-width: 100%;
    height: auto;
  }
}
