/* Visual & layout fixes for rey-mccain-one without altering editorial content */

.extra_content_custom:empty {
  display: none;
}

.extra_content_custom {
  width: 100%;
  background-color: #fffadc;
  padding: 4.8rem 2rem 2.4rem;
  font-family: "Brother 1816", sans-serif;
  font-size: 1.6rem;
  line-height: 2.5rem;
  color: #1d1d1b;
}

.extra_content_custom h1,
.extra_content_custom h2,
.extra_content_custom h3,
.extra_content_custom h4 {
  font-family: "Rooney Pro", sans-serif;
  font-weight: 900;
  color: #ff7300;
  line-height: 1.25;
  margin-top: 2.4rem;
  margin-bottom: 1.2rem;
}

.extra_content_custom .container > :first-child,
.extra_content_custom > :first-child {
  margin-top: 0;
}

.extra_content_custom h1 {
  font-size: 2.8rem;
}

.extra_content_custom h2 {
  font-size: 2.4rem;
}

.extra_content_custom h3 {
  font-size: 2rem;
}

.extra_content_custom h4 {
  font-size: 1.8rem;
}

.extra_content_custom p {
  margin-bottom: 1.4rem;
}

.extra_content_custom p:last-child {
  margin-bottom: 0;
}

.extra_content_custom ul,
.extra_content_custom ol {
  margin: 0 0 1.6rem 2.2rem;
  padding-left: 0.4rem;
}

.extra_content_custom ul {
  list-style-type: disc;
}

.extra_content_custom ol {
  list-style-type: decimal;
}

.extra_content_custom li {
  margin-bottom: 0.8rem;
}

.extra_content_custom strong,
.extra_content_custom b {
  font-weight: 700;
}

.extra_content_custom a {
  color: #9e3e00;
  font-weight: 700;
  text-decoration: underline;
}

.extra_content_custom a:hover {
  color: #ff7300;
}

/* Keep footer legal text clear of the bottom fixed CTA widget on inner pages */
body:not(.home) footer#footer {
  padding-bottom: 11rem;
}

footer#footer {
  position: relative;
}

footer#footer > img {
  pointer-events: none;
  z-index: 0;
}

footer#footer > .container {
  position: relative;
  z-index: 2;
}

/* Ensure readable WCAG AA contrast for yellow links on Retailers cream footer */
#footer.bg-whitefffa .social a.text-yellow {
  color: #9e3e00;
  text-decoration: underline;
}

#footer.bg-whitefffa .social a.text-yellow:hover {
  color: #ff7300;
}

/* Prevent mobile top tab strip from wrapping onto multiple clipped lines */
@media (max-width: 639px) {
  .top-mini {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .top-mini::-webkit-scrollbar {
    display: none;
  }

  .top-mini ul {
    gap: 0.4rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    justify-content: space-between;
  }

  .top-mini ul > li {
    white-space: nowrap;
    flex-shrink: 0;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    font-size: 1.2rem;
  }

  .top-mini ul > li a {
    font-size: 1.2rem;
    white-space: nowrap;
  }
}

@font-face {
  font-family: "Linearicons-Free";
  src: url("https://cdn.linearicons.com/free/1.0.0/Linearicons-Free.woff2") format("woff2"),
       url("https://cdn.linearicons.com/free/1.0.0/Linearicons-Free.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
