/*
Theme Name: Naomi WMUA Astra Child
Theme URI: https://example.com/
Description: Small child theme for Naomi's Journalism 435 final project, based on Astra.
Author: Naomi Zwelling
Template: astra
Version: 1.0.0
*/

:root {
  --nz-berry: #542437;
  --nz-red: #c02942;
  --nz-gold: #ecd078;
  --nz-cream: #fffaf4;
  --nz-ink: #2d2027;
}

body {
  color: var(--nz-ink);
  background: var(--nz-red);
}

.site-title,
.entry-title,
h1,
h2,
h3 {
  color: var(--nz-berry);
}

.site-title a {
  color: var(--nz-berry);
}

.main-header-menu .menu-link,
.main-header-menu .menu-item > .menu-link {
  color: var(--nz-berry);
  font-weight: 700;
}

.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link {
  color: var(--nz-red);
}

.ast-container,
.site-content .ast-container {
  max-width: 980px;
}

.site-content {
  background: var(--nz-red);
}

.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
  border-top: 16px solid var(--nz-gold);
  background: #ffffff;
}

.nz-page {
  font-size: 1.05rem;
  line-height: 1.65;
}

.nz-page a {
  color: var(--nz-red);
  font-weight: 700;
  text-decoration: none;
}

.nz-page a:hover {
  color: #ffffff;
  background: var(--nz-red);
}

.nz-lede {
  font-size: 1.18rem;
}

.nz-image-right,
.nz-image-left {
  width: min(320px, 100%);
  margin-bottom: 1rem;
}

.nz-image-right {
  float: right;
  margin-left: 1.5rem;
}

.nz-image-left {
  float: left;
  margin-right: 1.5rem;
}

.nz-callout {
  clear: both;
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 8px solid var(--nz-gold);
  background: var(--nz-cream);
}

.nz-link-list li,
.nz-goal-list li {
  margin-bottom: 0.5rem;
}

@media (max-width: 760px) {
  .nz-image-right,
  .nz-image-left {
    float: none;
    display: block;
    margin: 0 auto 1.25rem;
  }
}
