:root {
  --white: #FFFFFF;
  --charcoal: #333333;
  --nav-gray: #4D4D4D;
  --logo-red: #E3342F;
  --cta-red: #EA2D2F;
  --magenta: #AD176E;
  --wine: #5A1D2D;
  --amber: #F6B35C;
  --cream: #FFD98F;
  --soft: #F5F5F5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: "Open Sans", "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: var(--logo-red); }
a:hover { color: var(--magenta); text-decoration: none; }

.site-header {
  min-height: 110px;
  background: var(--white);
  box-shadow: 0 1px 10px rgba(0, 0, 0, .08);
  position: relative;
  z-index: 5;
}

.site-header .navbar {
  min-height: 110px;
  align-items: center;
}

.brand-logo img {
  width: 230px;
  max-height: 76px;
  display: block;
}

.nav-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 18px;
}

.nav-link {
  color: var(--nav-gray);
  font: 600 15px/1.3 "Roboto", sans-serif;
  padding: 8px 0;
  white-space: nowrap;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 20;
  display: none;
  min-width: 230px;
  padding: 10px 0;
  background: var(--white);
  border-top: 3px solid var(--magenta);
  box-shadow: 0 14px 34px rgba(51, 51, 51, .16);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-link {
  display: block;
  padding: 8px 16px;
  color: var(--nav-gray);
  font: 600 14px/1.35 "Roboto", sans-serif;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus {
  color: var(--magenta);
  background: rgba(173, 23, 110, .08);
}

.nav-cta {
  color: var(--cta-red);
  font-weight: 800;
}

.home-hero {
  min-height: 760px;
  position: relative;
  background:
    linear-gradient(110deg, rgba(173, 23, 110, .72), rgba(234, 45, 47, .25) 45%, rgba(246, 179, 92, .45)),
    url("/wp-content/uploads/2022/05/2022slide1.jpg") center/cover no-repeat;
  overflow: hidden;
}

.home-hero::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -34px;
  height: 90px;
  background: rgba(51, 51, 51, .72);
  transform: rotate(-2deg);
}

.hero-body {
  padding-top: 72px;
  position: relative;
  z-index: 1;
}

.home-panel {
  width: min(520px, 100%);
}

.home-panel h1,
.compact-hero h1 {
  margin: 0 0 26px;
  padding: 16px 26px;
  background: var(--magenta);
  color: var(--white);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
}

.video-card {
  height: 295px;
  background: linear-gradient(145deg, #8C2D16, #E15028 60%, #7C2A18);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 18px 42px rgba(90, 29, 45, .28);
  margin-bottom: 18px;
}

.play-button {
  width: 76px;
  height: 54px;
  border-radius: 14px;
  background: #FF0000;
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 18px;
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cnef-btn {
  min-height: 58px;
  border: 0;
  background: var(--cta-red);
  color: var(--white);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cnef-btn:hover {
  background: var(--magenta);
  color: var(--white);
}

.compact-hero {
  background:
    linear-gradient(110deg, rgba(90, 29, 45, .72), rgba(173, 23, 110, .64)),
    url("/wp-content/uploads/2022/06/2022slide2.jpg") center/cover no-repeat;
  padding: 64px 0 48px;
}

.compact-hero h1 {
  width: min(760px, 100%);
  text-align: left;
  margin-bottom: 0;
}

.content-card,
.listing-shell,
.content-category {
  margin-top: 44px;
  margin-bottom: 56px;
}

.content-card {
  background: var(--white);
  padding: 36px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
  border-top: 5px solid var(--magenta);
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
}

.article-body h1,
.article-body h2,
.article-body h3,
.static-body h2,
.resource-list h2 {
  color: var(--magenta);
  font-weight: 800;
  line-height: 1.25;
}

.article-body img,
.static-body img,
.resource-list img,
.content-image img {
  max-width: 100%;
  height: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.gallery-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.resource-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(77, 77, 77, .15);
  font-weight: 700;
}

.resource-item:empty { display: none; }

.side-panel {
  margin-top: 44px;
  background: var(--soft);
  border-top: 5px solid var(--cta-red);
  padding: 24px;
  align-self: start;
}

.side-panel h2 {
  color: var(--wine);
  font-size: 22px;
  margin-top: 0;
}

.category-card {
  height: 100%;
  border-top: 4px solid var(--magenta);
}

.category-intro {
  margin-top: 0;
  margin-bottom: 30px;
}

.category-intro h2,
.category-intro h3 {
  color: var(--magenta);
  font-weight: 800;
  line-height: 1.25;
}

.article-body table,
.category-intro table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.article-body th,
.article-body td,
.category-intro th,
.category-intro td {
  border: 1px solid rgba(77, 77, 77, .18);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.article-body th,
.category-intro th {
  color: var(--wine);
  background: var(--soft);
  font-weight: 800;
}

.category-card .card-title {
  font-size: 20px;
  line-height: 1.25;
}

.site-footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 34px 0;
}

.site-footer p {
  color: var(--cream);
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
}

.footer-links a {
  color: var(--white);
}

@media (max-width: 960px) {
  .site-header .navbar,
  .navbar-section {
    display: block;
  }

  .brand-logo img {
    margin: 18px auto 10px;
  }

  .nav-section {
    justify-content: center;
    padding-bottom: 18px;
  }

  .nav-dropdown {
    display: inline-block;
    margin: 0 8px;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 680px;
  }
}

@media (max-width: 600px) {
  .home-panel h1,
  .compact-hero h1 {
    font-size: 25px;
  }

  .cta-row,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .content-card {
    padding: 24px;
  }

  .article-body table,
  .category-intro table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    table-layout: fixed;
    word-break: break-word;
  }
}
