/*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */
@import url('./fonts/fonts.css');
.invisible {
  visibility: hidden;
}
.visible {
  visibility: visible;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.static {
  position: static;
}
.sticky {
  position: sticky;
}
.hidden {
  display: none;
}
.inline {
  display: inline;
}
.table {
  display: table;
}
.grow {
  flex-grow: 1;
}
:root {
  --main-hl-color: rgb(151, 31, 31);
}
@layer base {
  body {
    font-family: LibreCaslon-Regular, serif;
    font-size: 1.25rem;
    line-height: 1.75rem;
    color: #333333;
    background-color: #fafafa;
    max-width: 940px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1 1fr 1;
    grid-template-rows: auto 1fr auto;
    gap: 2rem;
  }
  p {
    margin-top: 0;
    &.time {
      margin-bottom: 0;
      color: #999999;
    }
  }
  figure {
    margin-bottom: 2.5rem;
  }
  figcaption {
    font-family: Indie-Flower-Regular, cursive;
    font-size: 1.5rem;
    line-height: 1.25rem;
    color: #666666;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    text-align: center;
    font-weight: 400;
    font-style: normal;
  }
  h1, .h1 {
    font-family: LibreBaskerville-Regular, serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;
    line-height: 3rem;
    color: var(--main-hl-color);
    margin-bottom: 0.5rem;
    margin-top: 0;
    text-wrap: balance;
  }
  .h1 {
    color: #333333;
    margin-bottom: 0.25rem;
  }
  h2, .h2 {
    font-family: LibreBaskerville-Regular, serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    line-height: 2.25rem;
    color: var(--main-hl-color);
    margin-bottom: 0.25rem;
    margin-top: 3rem;
    text-wrap: balance;
  }
  h3, .h3 {
    font-family: LibreBaskerville-Bold, serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.25rem;
    line-height: 1.5rem;
    color: #333333;
    margin-bottom: 0.25rem;
    text-wrap: balance;
  }
  button {
    background-color: #fafafa;
    color: var(--main-hl-color);
    border-radius: 10px;
    border-width: 2px;
    border-color: #fafafa;
    border-style: solid;
    vertical-align: top;
    padding: 0.5rem 1rem 1.5rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    height: 2rem;
    flex-shrink: 2;
    cursor: pointer;
    margin: 0 1rem;
    baseline-shift: 3px;
    &:hover {
      background-color: var(--main-hl-color);
      color: #fafafa;
      border-color: #fafafa;
      transition-duration: 250ms;
      transition-property: background-color, color;
      transition-timing-function: ease-in-out;
      transition-delay: 0s;
    }
  }
  header {
    display: flex;
    grid-column-start: 2;
    grid-column-end: 4;
  }
  nav {
    grid-row-start: 2;
    grid-row-end: 5;
    grid-column-start: 1;
    grid-column-end: 2;
    width: 12rem;
    &.primary {
      padding-right: 1rem;
      border: 0;
      border-right-width: 1px;
      border-right-style: solid;
      border-right-color: #cccccc;
      ul {
        list-style: none;
        padding-left: 0;
        margin-left: 0;
        li {
          padding-left: 0;
          &.active a {
            color: var(--main-hl-color);
          }
          a {
            text-decoration: none;
            color: #333333;
            &:hover {
              text-decoration: underline;
            }
          }
          ul {
            margin-left: 1rem;
          }
        }
      }
    }
  }
  article {
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 2;
    grid-column-end: 4;
    figure {
      div {
        position: relative;
      }
      img {
        display: block;
        width: 100%;
      }
      .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
      }
    }
  }
  aside {
    grid-column-start: 2;
    grid-column-end: 4;
    img {
      width: 30%;
      height: auto;
      float: right;
      margin-left: 10px;
    }
    &.cta {
      border-color: var(--main-hl-color);
      border-width: 2px;
      border-style: solid;
      border-radius: 10px;
      background-color: var(--main-hl-color);
      color: #ffffff;
      padding: 1rem;
      h2 {
        color: #ffffff;
        font-size: 2rem;
        margin: 0 1rem 1rem;
        padding-right: 1rem;
        text-align: center;
      }
      p {
        margin: 0 1rem 1.5rem 1rem;
        font-weight: 400;
        font-size: 1.25rem;
        text-wrap: balance;
        text-align: center;
      }
      figure {
        margin: 0;
        width: 100%;
        img {
          width: 20%;
          height: auto;
          border-radius: 10px;
        }
      }
    }
  }
  footer {
    grid-column-start: 1;
    grid-column-end: 4;
  }
  .center {
    text-align: center;
  }
  .masthead {
    display: inline-block;
    margin: 20px 0;
    padding: 20px 0 0 0;
    flex-shrink: 2;
    font-size: 3rem;
    line-height: 3.25rem;
    .the {
      font-family: LibreBaskerville-Italic, serif;
      font-size: 2rem;
      display: block;
      color: var(--main-hl-color);
      line-height: 0.8rem;
      padding-bottom: 8px;
    }
    .website {
      display: inline-block;
    }
    .playbook {
      display: inline-block;
    }
  }
}
