/* WordPress-only additions to p43.css */

/* Fixed nav sits under the admin bar when you're logged in */
.admin-bar .p43-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .p43-nav { top: 46px; } }
@media (max-width: 600px) { #wpadminbar { position: fixed; } }

/* Playing for Peace: the grid follows however many numbered points there are,
   and the event lines up with the last one */
@media (min-width: 992px) {
  .p43-aboutgrid__item { grid-column: 1 / 5; grid-row: var(--p43-row); }
  .p43-aboutgrid__prose { grid-row: 1 / var(--p43-last); }
  .p43-aboutgrid__wc { grid-row: var(--p43-last); }
}

/* Note under the steps shows when it has text */
.p43-model__note { display: block; }

/* Home header with a still image instead of video */
.p43-hero__media .p43-hero__still { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Form honeypot: hidden from people, visible to bots */
.p43-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Other pages written in the editor */
.p43-prose--page { max-width: 68ch; }
.p43-prose--page h2, .p43-prose--page h3 { font-family: var(--font-display); text-transform: uppercase; line-height: 1; margin: 1.6em 0 0.5em; color: var(--p43-text); }
.p43-prose--page h2 { font-size: clamp(32px, 3.4vw, 48px); }
.p43-prose--page h3 { font-size: clamp(24px, 2.4vw, 32px); }
.p43-prose--page a { color: var(--p43-accent); }
.p43-prose--page a:hover { color: var(--p43-pink); }
.p43-prose--page ul, .p43-prose--page ol { font-size: 19px; line-height: 1.45; color: var(--p43-muted); }
.p43-prose--page img { max-width: 100%; height: auto; }

/* WordPress image classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.p43-form__status.is-error { background: var(--p43-pink); color: var(--p43-on-pink); }
