@font-face {
  font-display: swap;
  font-family: "Aleo";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/aleo-regular.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Aleo";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/aleo-italic.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Aleo";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/aleo-bold.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/montserrat-live-regular.ttf") format("truetype");
}

/* Spoken Realms child-theme presentation, based on the live Spoken Chaplin theme. */

:root {
  --pico-font-family-sans-serif: Aleo, Georgia, serif;
  --pico-font-family-display: Montserrat, Arial, sans-serif;
  --pico-font-family-monospace: Aleo, Georgia, serif;
}

body,
button,
input,
optgroup,
select,
textarea {
  font-family: Aleo, Georgia, serif;
}

button,
[type="button"],
[type="submit"],
[type="reset"],
[role="button"],
.button,
.btn,
button:not([role="button"]).btn,
a.btn,
[type="button"].btn,
[type="submit"].btn {
  font-family: Aleo, Georgia, serif;
}

/* Navigation anchors remain links even when an upstream template adds button classes. */
a.btn,
a.button {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--pico-primary);
  display: inline;
  margin: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

a.btn:hover,
a.btn:focus-visible,
a.button:hover,
a.button:focus-visible {
  background: transparent;
  box-shadow: none;
  color: var(--pico-primary-hover);
  text-decoration: underline;
}

body {
  background: #ddd;
  font-size: 1.0625rem;
}

html,
#page-wrapper,
#body-wrapper {
  background: #ddd;
}

h1,
h2,
h3,
h4,
h5,
h6,
.faux-heading {
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.25;
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.3125rem;
}

h5 {
  font-size: 1.1875rem;
}

h6 {
  font-size: 1em;
}

#header .dropmenu a,
button,
input,
select,
textarea {
  font-size: 1rem;
}

#header,
#header.scrolled {
  background: #444;
  font-family: Montserrat, Arial, sans-serif;
}

#header .navbar-brand,
#header .navbar-brand:hover,
#header .dropmenu > ul > li > a {
  color: #eee;
}

#header .navbar-brand svg,
#header .navbar-brand svg * {
  fill: #eee;
}

#header .spoken-realms-brand {
  display: inline-flex;
  align-items: center;
  width: min(432px, 42vw);
  padding: 0;
  transition: width 0.15s linear;
}

#header .spoken-realms-brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

#header .navbar {
  min-height: 180px;
}

@media (min-width: 861px) {
  body.scrolled #header .spoken-realms-brand {
    width: min(336px, 42vw);
  }
}

.mobile-logo .spoken-realms-brand {
  display: inline-block;
  width: min(24rem, 80vw);
}

.mobile-logo .spoken-realms-brand img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 860px) {
  #header .navbar {
    min-height: 80px;
  }

  #header .spoken-realms-brand {
    width: min(288px, calc(100vw - 6rem));
    max-width: calc(100vw - 6rem);
  }

  #header .spoken-realms-brand img {
    width: 100%;
    height: auto;
  }
}

#header .dropmenu > ul > li > a:hover {
  background: transparent;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

#header .dropmenu > ul > li > a.active,
#header .dropmenu > ul > li > a.active:hover {
  background: transparent;
  color: #eee;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

#header .dropmenu ul ul,
#header .dropmenu li > ul {
  background: #444;
}

#header .dropmenu li > ul a {
  color: #eee;
}

#header .dropmenu li > ul a:hover {
  background: transparent;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.spoken-realms-search-link a {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  white-space: nowrap;
}

.spoken-realms-search-icon {
  fill: none;
  height: 1.2rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
  width: 1.2rem;
}

.spoken-realms-visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.simplesearch .search-wrapper {
  margin: 0 auto 2rem;
  max-width: 48rem;
}

.simplesearch .search-wrapper form {
  align-items: stretch;
  display: flex;
  gap: 0.5rem;
}

.simplesearch .search-input {
  flex: 1 1 auto;
  font-family: Aleo, Georgia, serif;
  min-width: 0;
}

.simplesearch .search-submit {
  background: #444;
  border-color: #444;
  color: #fff;
  flex: 0 0 auto;
  width: 15%;
}

.simplesearch .search-submit img {
  filter: brightness(0) invert(1);
  height: 1.25rem;
  width: 1.25rem;
}

.simplesearch .search-row {
  margin-block: 1.5rem;
}

.simplesearch .search-title h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.dropmenu,
.dropmenu a,
.mobile-container .overlay-menu,
.mobile-container .overlay-menu a {
  font-family: Aleo, Georgia, serif;
}

.mobile-container .overlay {
  background: #444;
}

.mobile-container .overlay-menu a,
.mobile-container .overlay-menu a:hover,
.mobile-container .overlay-menu ul ul a {
  color: #eee;
}

.mobile-container .overlay-menu a:hover,
.mobile-container .overlay-menu a:focus-visible,
.mobile-container .overlay-menu a.active {
  background: transparent;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.mobile-container .overlay-menu ul ul {
  border-left-color: #777;
}

#body-wrapper > .container > article.content-item {
  background: transparent;
}

#body-wrapper.blog-listing > .container {
  background: transparent;
  border-radius: var(--q2-radius-lg);
  padding-block: clamp(1.75rem, 4vw, 3rem);
}

/* Remove Quark2-style decorative bars from every heading level. */
:is(h1, h2, h3, h4, h5, h6)::before {
  content: none;
  display: none;
}

/* Section labels are retained in the document but intentionally not displayed. */
.blog-page-header > h1,
#body-wrapper .content-item h2:has(+ table) {
  display: none;
}

h1.search-header {
  display: none;
}

.book-detail__header {
  margin-bottom: 2rem;
}

.book-detail__header h1 {
  margin-bottom: 0.5rem;
}

.book-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-size: 0.9em;
}

.book-detail__layout {
  display: grid;
  grid-template-columns: minmax(15rem, 300px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.book-detail__cover {
  margin: 0;
}

.book-detail__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.book-detail__description > :first-child {
  margin-top: 0;
}

.book-detail__purchase-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.book-detail__audio {
  margin: 2rem 0 0;
}

.book-detail__audio figcaption {
  font-family: Aleo, Georgia, serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.book-detail__audio audio {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: block;
  width: 100%;
}

.book-detail__audio audio::-webkit-media-controls-enclosure {
  background: transparent;
}

@media (max-width: 48rem) {
  .book-detail__layout {
    grid-template-columns: 1fr;
  }

  .book-detail__cover {
    max-width: 300px;
  }
}

.narrator-detail__header,
.narrator-detail__headshot,
.narrator-detail__contact,
.narrator-detail__books {
  margin-bottom: 2rem;
}

.narrator-detail__header,
.narrator-detail__contact {
  text-align: center;
}

.narrator-detail__headshot {
  margin-inline: auto;
  max-width: 400px;
}

.narrator-detail__headshot img {
  border-radius: var(--q2-radius-lg);
  display: block;
  height: auto;
  width: 100%;
}

.narrator-detail__contact > :first-child {
  margin-top: 0;
}

.narrator-detail__books > h2 {
  display: none;
}

.narrator-book-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.podcast-series__artwork,
.podcast-episode__artwork {
  margin-inline: auto;
  max-width: 36rem;
}

.podcast-series__artwork img,
.podcast-episode__artwork img,
.podcast-episode-card__artwork img {
  display: block;
  height: auto;
  width: 100%;
}

.podcast-episode-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  margin-top: 2rem;
}

.podcast-episode-card {
  min-width: 0;
}

.podcast-episode-card__artwork {
  display: block;
  margin-bottom: 0.75rem;
}

.podcast-episode-card__content {
  display: grid;
  gap: 0.25rem;
}

.podcast-episode-card .p-name {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.25rem;
}

.podcast-episode-card time,
.podcast-episode__header time {
  display: block;
  font-size: 0.875rem;
}

.podcast-episode__audio audio {
  width: 100%;
}

div.form-input-wrapper input[type="text"] {
  border: none;
}
.form-wrapper .form-data.basic-captcha .form-input-prepend {
  background: #444;
}

form :is(button, input[type="button"], input[type="submit"], input[type="reset"]) {
  background: #444 !important;
  border-color: #444 !important;
  color: #fff !important;
}

form :is(button, input[type="button"], input[type="submit"], input[type="reset"]):is(:hover, :focus-visible) {
  background: #444 !important;
  border-color: #444 !important;
  color: #fff !important;
  filter: brightness(1.15);
}

img.static-page-media {
  box-sizing: border-box;
  height: auto;
  max-width: 100%;
}

p:has(> img.static-page-media--center),
p:has(> a > img.static-page-media--center) {
  clear: both;
  text-align: center;
}

img.static-page-media--center {
  clear: both;
  display: inline-block;
  margin-inline: auto;
}

img.static-page-media--featured {
  display: block;
  margin-bottom: 1.5rem;
  width: 100%;
}

img.static-page-media--width-200 {
  width: 200px;
}

img.static-page-media--width-300 {
  width: 300px;
}

img.static-page-media--width-535 {
  width: 535px;
}

img.static-page-media--left {
  float: left;
  margin: 0.5rem 1.5rem 1rem 0;
}

img.static-page-media--right {
  float: right;
  margin: 0.5rem 0 1rem 1.5rem;
}

@media (max-width: 600px) {
  img.static-page-media--left,
  img.static-page-media--right {
    float: none;
    margin: 1rem auto;
    text-align: center;
  }
}

.storyteller-designations {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.storyteller-designations__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.storyteller-designations__links a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.storyteller-results__header {
  text-align: center;
}

.storyteller-results-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr));
  margin-top: 2rem;
}

.storyteller-results__empty {
  margin-top: 2rem;
  text-align: center;
}

.storyteller-result-card {
  margin: 0;
  padding: 0;
  text-align: center;
}

.storyteller-result-card a {
  display: grid;
  gap: 0.75rem;
  text-decoration: none;
}

.storyteller-result-card img {
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  width: 100%;
}

.storyteller-result-card__name-placeholder {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(68, 68, 68, 0.08);
  border: 1px solid currentColor;
  border-radius: var(--pico-border-radius);
  display: flex;
  justify-content: center;
  padding: 1rem;
  text-wrap: balance;
}

.storyteller-result-card .p-name {
  font-family: Montserrat, Arial, sans-serif;
}

.narrator-book-card,
.narrator-book-card a {
  display: block;
}

.narrator-book-card img {
  display: block;
  margin-bottom: 0.75rem;
  width: 100%;
}

.narrator-book-card span {
  font-family: Aleo, Georgia, serif;
  font-weight: 700;
}

@media (max-width: 60rem) {
  .narrator-book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 40rem) {
  .narrator-book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-ctas {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.home-cta {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: center;
  text-decoration: none;
}

.home-cta img {
  display: block;
  height: 120px;
  object-fit: contain;
  width: 120px;
}

.home-cta span {
  background: #461451;
  border-radius: var(--q2-radius-sm);
  color: #fff;
  display: block;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
  padding: 0.8rem 1rem;
  text-transform: uppercase;
  width: 100%;
}

.home-cta:hover span,
.home-cta:focus-visible span {
  filter: brightness(1.15);
  text-decoration: underline;
}

@media (max-width: 48rem) {
  .home-ctas {
    grid-template-columns: 1fr;
  }
}

#footer.spoken-realms-footer {
  --spoken-realms-footer-link-color: #eee;
  background: #444;
  border-top: 0;
  color: var(--spoken-realms-footer-link-color);
  font-family: Montserrat, Arial, sans-serif;
  padding-block: 2rem 5rem;
}

#footer.spoken-realms-footer :where(a, p, span, nav, h1, h2, h3, h4, h5, h6) {
  font-family: Montserrat, Arial, sans-serif;
}

#footer.spoken-realms-footer .container {
  max-width: 80rem;
}

.spoken-realms-footer__narrators {
  display: block;
}

#footer.spoken-realms-footer h2 {
  color: #eee;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.spoken-realms-footer__tag-cloud {
  font-size: 13px;
  line-height: 1.9;
  text-align: center;
}

.spoken-realms-footer__tag-cloud a {
  display: inline;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}

.spoken-realms-footer__tag-cloud a:not(:last-child)::after {
  color: #eee;
  content: " \2022 ";
  display: inline-block;
  padding-inline: 0.35rem;
  text-decoration: none;
}

#footer.spoken-realms-footer a,
#footer.spoken-realms-footer a:visited {
  color: var(--spoken-realms-footer-link-color);
}

#footer.spoken-realms-footer a:hover,
#footer.spoken-realms-footer a:focus-visible {
  color: var(--spoken-realms-footer-link-color);
  text-decoration: underline;
}

.spoken-realms-footer__copyright {
  color: var(--spoken-realms-footer-link-color);
  font-size: 0.75rem;
  margin-top: 2rem !important;
}

.spoken-realms-footer__social {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.spoken-realms-footer__social a {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
  width: 2.5rem;
}

.spoken-realms-footer__social a:hover,
.spoken-realms-footer__social a:focus-visible {
  background: var(--spoken-realms-footer-link-color);
  color: #444 !important;
  text-decoration: none !important;
  transform: translateY(-2px);
}

.spoken-realms-footer__social svg {
  fill: currentColor;
  height: 1.15rem;
  width: 1.15rem;
}

.spoken-realms-visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.spoken-realms-footer__site-name::after {
  content: "\00a0\00ae\00a0LLC";
}

@media (max-width: 40rem) {
  #footer.spoken-realms-footer {
    padding-block: 1.5rem 3rem;
  }
}

@media (min-width: 43.75rem) {
  body {
    font-size: 1.125rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 2rem;
  }

  h4 {
    font-size: 1.5rem;
  }

  h5 {
    font-size: 1.3125rem;
  }

  .spoken-realms-footer__copyright {
    font-size: 0.875rem;
  }
}
