/* Chorant.Web's own site: the real chorant.io brand, not the ASP.NET MVC
   template defaults this replaced (Bootstrap was referenced throughout but
   never actually linked anywhere - none of it was ever actually styled).

   Palette sampled from the brand marks themselves (wwwroot/images):
     --chorant-green  the holding page's background ("breadfruit green")
     --chorant-ink    the marks' dark ink colour, used on light/green backgrounds
   The marks come in two colourways - "light" (pale ink, for dark backgrounds)
   and "dark" (the ink colour above, for light/green backgrounds) - matching
   whichever background they sit on in this file.
*/

:root {
  --chorant-green: #65915c;
  --chorant-ink: #221b20;
  --chorant-ink-80: rgba(34, 27, 32, 0.8);
  --chorant-paper: #fdfbf9;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--chorant-ink);
  background: var(--chorant-paper);
}

main {
  flex: 1 0 auto;
}

a {
  color: var(--chorant-green);
}

/* ---------------------------------------------------------------- Header */

.site-header {
  background: var(--chorant-ink);
}

.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-header__brand img {
  display: block;
  height: 24px;
  width: auto;
}

.site-header__nav {
  display: flex;
  gap: 24px;
}

.site-header__nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

.site-header__nav a:hover,
.site-header__nav a:focus {
  text-decoration: underline;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* The signed-in user's name, or a Login link - top right. */
.site-header__account {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.site-header__user {
  color: #fff;
}

.site-header__logout-form {
  margin: 0;
}

.site-header__logout,
.site-header__login {
  color: #fff;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}

.site-header__logout:hover,
.site-header__logout:focus,
.site-header__login:hover,
.site-header__login:focus {
  text-decoration: underline;
}

/* ------------------------------------------------------------ Page body */

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* ---------------------------------------------------------------- Footer */

.site-footer {
  border-top: 1px solid #e8e2dd;
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
  color: var(--chorant-ink-80);
  font-size: 0.875rem;
}

/* ----------------------------------------------------- The holding page
   (Home/Index) - chorant.io/styles.css, close to verbatim. A page sets
   ViewData["FullBleed"] = true to render with none of the chrome above,
   same as chorant.io's holding page having nothing else on it at all. */

body.full-bleed {
  display: block;
}

.holding {
  box-sizing: border-box;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px;
  background: var(--chorant-green);
  text-align: center;
}

/* Top right, the one thing chorant.io's own holding page doesn't have -
   ink on green, same contrast pairing as the marque itself. */
.holding__account {
  position: absolute;
  top: 20px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--chorant-ink);
}

.holding__logout-form {
  margin: 0;
}

.holding__logout,
.holding__login {
  color: var(--chorant-ink);
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
}

.holding__logout:hover,
.holding__logout:focus,
.holding__login:hover,
.holding__login:focus {
  text-decoration: underline;
}

.holding__marque {
  margin: 0;
  line-height: 0;
}

.holding__marque img {
  width: clamp(168px, 35vw, 392px);
  height: auto;
}
