/* This file is used to override the default styles of the SimpleMag theme for full-width pages. */

/* general styling */
.patron-section {
  justify-content: center;
}

.hero-description {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.hero-description p {
  max-width: 800px;
}

.entry-content hr {
  border-top: 4px solid #000000;
}

.entry-content > * {
  margin-top: 0;
  margin-bottom: 0;
}

.patron-sansserif {
  font-family: Arial, Helvetica, sans-serif;
}

.patron-caption {
  line-height: 14px;
}

.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color) {
  padding: 12px;
  border-radius: 2px;
  font-weight: bold;
  letter-spacing: 0.2px;
  transition: background-color 0.3s;
}

.wp-block-buttons
  > .wp-block-button.has-custom-font-size
  .wp-block-button__link {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0px;
  transition: background-color 0.3s;
}

.patron-button {
  background-color: #f9ad1b;
  border-radius: 2px;
  transition: background-color 0.3s;
}

.patron-button:hover {
  background-color: #db9611;
}

.wp-block-buttons
  > .wp-block-button.has-custom-font-size
  .wp-block-button__link:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.patron-button-group {
  width: 100%;
}

.text-width {
  max-width: 800px;
}

.padding-s {
  padding: 40px;
}

.padding-m {
  padding: 60px;
}

.radius,
.wp-block-media-text img,
.radius img {
  border-radius: 20px;
}

.title-combo {
  gap: 2px;
}

.bar {
  background-color: #b51803;
  height: 20px;
}

.dotted-hr {
  height: 0;
  line-height: 0;
  border-bottom: 1px dotted #b51803;
}

.stack-list {
  gap: 20px;
}

.infographic img {
  border-radius: 0px;
}

/* hero */
.hero-section {
  display: flex;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 60px;
  margin-top: 0;
}

/* Join us */
.patron-feature-cards,
.patron-pricing-stack {
  column-gap: 20px;
}

.feature-card {
  padding: 40px 20px;
  border-radius: 20px;
}

.patron-logos {
  row-gap: 80px;
  column-gap: 140px;
  align-items: center;
}

/* typography */
.serif {
  font-family: Georgia, serif;
  font-weight: 400;
}

.sansserif {
  font-family: Arial, sans-serif;
}

.uppercase {
  text-transform: uppercase;
}

.dataviz {
  letter-spacing: -2px;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  text-decoration: none;
}

/* specific sections */
.sticky-nav {
  position: sticky;
  top: 70px;
  border-bottom: 1px solid;
  background-color: none;
  color: #000;
  z-index: 1;
}

.subnav ul {
  margin: 0 auto;
  list-style: none;
  text-align: center;
  font-family: Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  padding: 8px 0 0 0;
}

.subnav ul li {
  display: inline-block;
  margin: 0 10px;
  padding: 15px 10px;
  border-bottom: none;
}

.subnav ul li a {
  padding: 10px 0;
  color: #000;
  text-decoration: none;
  transition: all 0.2s ease;
}

.subnav ul li a:hover {
  color: #b51803;
}

a.active {
  border-bottom: 4px solid #ff99cc;
}

.hero-banner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 700px;
}

/* mobile */
@media only screen and (max-width: 450px) {
  .patron-content {
    width: 100%;
  }

  .entry-content hr {
    display: none;
  }

  .patron-logos {
    row-gap: 40px;
    column-gap: 80px;
  }

  .patron-logo {
    width: 120px;
  }

  .hero-banner {
    height: 500px;
  }

  .padding-s {
    padding: 20px;
  }

  .padding-m {
    padding: 40px;
  }

  .quotes,
  .restaurants {
    flex-direction: column;
  }

  .restaurants {
    align-items: stretch !important;
  }

  .subnav ul li {
    margin: 0 10px;
    padding: 8px;
    border-bottom: 4px solid #fff;
  }

  .subnav ul li a {
    font-size: 14px;
  }

  .image-text {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (min-width: 87.75em) {
  .alignfull {
    margin-left: calc(50% - 50vw);
    max-width: initial;
  }
}

@media only screen and (max-width: 64em) {
  .admin-bar .top-strip {
    top: 0;
  }
}

@media print, screen and (min-width: 64em) {
  .alignwide {
    max-width: calc(100vw - 2 * 20px);
    width: 100%;
  }

  .sticky-nav {
    top: 60px;
  }

  .admin-bar .sticky-nav {
    top: 90px;
  }
}

@media screen and (max-width: 782px) {
  .quotes {
    flex-direction: column;
  }

  .stack-to-list {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }

  .stack-to-list img {
    width: 150px;
    height: auto;
  }
}
