/* ==========================================================================
   CESURNES — WordPress glue
   Nothing here touches the design. It only reconciles the static template
   with the two things WordPress adds: the admin bar for logged-in users and
   pages other than the home page, which go through index.php.
   ========================================================================== */

/* ------------------------------------------------------------ admin bar -- */
/* WordPress pushes <html> down by the bar's height (32px, 46px up to 782px).
   The header and the drawer are fixed to the viewport, so they follow it. */
.admin-bar .header,
.admin-bar .menu { top: 32px; }

@media (max-width: 782px) {
  .admin-bar .header,
  .admin-bar .menu { top: 46px; }
}

/* ------------------------------------------------------- fallback pages -- */
/* index.php: a plain reading column under the fixed header. Named "plain-page"
   on purpose: WordPress puts the bare class "page" on <body> for every page,
   the home page included, so ".page" must never be styled here. */
.plain-page {
  padding: 160px var(--shell-edge) 120px;
  background: var(--c-white);
  color: var(--c-black);
}

.plain-page__inner {
  max-width: 760px;
  margin: 0 auto;
}

.plain-page__title {
  margin-bottom: 40px;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
}

.plain-page__content > * + * { margin-top: 1em; }
.plain-page__content a { color: var(--c-terracota); }
.plain-page__content img { max-width: 100%; height: auto; }
