/* gregfmusicproducer.com archive. Colors and type follow the site's 2018 look
   (the Modern WordPress theme): charcoal page, white card, crimson links. */

:root {
  --charcoal: #1a1c1e;
  --text: #6a6c6e;
  --accent: #a50933;
  --footer-bg: #eaecee;
  --footer-text: #5a5c5e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--text);
  font-family: "Fira Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.75;
}

a {
  color: var(--accent);
}

a:hover,
a:focus {
  color: var(--charcoal);
}

img {
  max-width: 100%;
  height: auto;
}

/* Archive note */

.archive-note {
  margin: 0;
  padding: 0.6rem 1.25rem;
  background: #2a2c2e;
  color: #c9cbcd;
  font-size: 0.875rem;
  text-align: center;
}

.archive-note a {
  color: #fff;
}

/* Navigation */

.site-nav .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  max-width: 75rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.site-title {
  font-weight: 700;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.905rem;
}

/* Home page hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60vh;
  padding: 5.6rem 1.5rem;
  background-color: var(--charcoal);
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 28, 30, 0.55);
}

.hero-title {
  position: relative;
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2.5rem, 7vw, 5.85rem);
  font-weight: 700;
  line-height: 1.15;
}

/* Page card */

main {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.hero + main {
  margin-top: -3rem;
}

.card {
  position: relative;
  background: #fff;
}

.banner {
  display: block;
  width: 100%;
}

.card-body {
  display: flow-root;
  max-width: 41rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}

h1,
h2 {
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  margin: 0 0 1.5rem;
  font-size: 2.28rem;
}

h2 {
  clear: both;
  margin: 2.5rem 0 1rem;
  font-size: 1.6rem;
}

ul {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

.alignright {
  float: right;
  width: 45%;
  margin: 0.4rem 0 1rem 1.5rem;
}

/* Two-column client list */

.content-column.one_half {
  float: left;
  width: 48%;
  margin-right: 4%;
}

.content-column.one_half.last_column {
  margin-right: 0;
}

.clear_column {
  clear: both;
}

/* Embeds */

iframe {
  display: block;
  width: 100%;
  border: 0;
}

iframe.video {
  height: auto;
  aspect-ratio: 16 / 9;
}

/* Footer */

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 0.875rem;
}

.site-footer p {
  max-width: 75rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

@media (max-width: 40rem) {
  .content-column.one_half,
  .alignright {
    float: none;
    width: 100%;
    margin: 0 0 1rem;
  }

  .card-body {
    padding: 2.5rem 1.25rem 3rem;
  }
}
