/* 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 Code button until the repository is public: shown, greyed, not a link. */
#landing a[href="#code-coming-soon"] { opacity: 0.45; pointer-events: none; cursor: default; }
