/* The landing page's own styles (index.md). The landing hero, centred: project name, subtitle, the author block and the
   buttons. Scoped to #landing like DocumenterLandingPage's own rules, which
   use the id and would otherwise win. The tagline holds the author block
   (authors, group, university, venue, one per line); the plugin renders it as plain
   escaped text, so its newlines (a YAML literal block in index.md's front
   matter) are kept by pre-line, and landing_tagline.js adds the links. */
#landing .landing-title, #landing .landing-tagline { text-align: center; }
#landing .landing-tagline { white-space: pre-line; }
#landing .landing-actions { justify-content: center; }
/* The name is gradient text in a box as wide as the text: centre the box. */
#landing .landing-name { width: fit-content; margin-left: auto !important; margin-right: auto !important; }
/* One size for every project page. The plugin sizes the name from its own
   character count (so each site differed) and the subtitle from the column
   width; fix both, and let a long name wrap instead of shrinking. Smaller on
   phones only. */
#landing .landing-name { font-size: 2rem !important; white-space: normal !important; line-height: 1.2; text-wrap: balance; text-align: center; }
#landing .landing-title { font-size: 2.75rem !important; text-wrap: balance; }
@media (max-width: 600px) {
    #landing .landing-name { font-size: 1.6rem !important; }
    #landing .landing-title { font-size: 2rem !important; }
}

/* The paper's teaser under the hero (index.md): the figure at the full content width on white, as in the paper, with a
   thin border and padding; on the dark themes it stays white (the figure is drawn for white paper). */
.landing-teaser { margin: 1.5rem 0; }
.landing-teaser img { display: block; width: 100%; height: auto; background: #fff; padding: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 4px; box-sizing: border-box; }
.landing-teaser figcaption { margin-top: 0.5rem; font-size: 0.9em; text-align: center; opacity: 0.85; }
html.theme--documenter-dark .landing-teaser img, html.theme--catppuccin-frappe .landing-teaser img,
html.theme--catppuccin-macchiato .landing-teaser img, html.theme--catppuccin-mocha .landing-teaser img {
    border-color: rgba(255, 255, 255, 0.2); }
