/* UoA Design System v2 — centralized structural-template CSS. */
/* Extracted without declaration changes from the visually approved templates. */

/* ===== Centralized from 404.php ===== */
/* ==========================================================
   UoA 404 Template — 404.php inline styles only
   This is NOT the full uoa-design-system-v2-mainpages.css file.
   The shared design system is enqueued above from:
   /assets/css/uoa-design-system-v2-mainpages.css
   ========================================================== */

body.error404,
body.error404 .site,
body.error404 .site-main {
  position: relative;
  z-index: 1;
}

/* Earth background behind the 404 content. */
body.error404::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  background-color: #030614;
  background-image: url('https://universityofawakening.com/wp-content/uploads/2025/08/Earth-intro.jpg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

body.error404 .site,
body.error404 .site-main,
body.error404 .uoa-mainpages-template.uoa-error404-template,
body.error404 .uoa-error404-template .uoa-mainpage--error404 {
  background: transparent !important;
}

body.error404 .uoa-mainpages-template.uoa-error404-template {
  position: relative;
  z-index: 1;
}

body.error404 .uoa-error404-template .uoa-mainpage--error404 {
  overflow: clip;
}

body.error404 .uoa-error404-template .uoa-mainpage--error404 .reuse-container:not(.reuse-container-content) {
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

body.error404 .uoa-error404-template .uoa-mainpage--error404 .reuse-container-content {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

body.error404 .uoa-error404-template .uoa-error404-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.78fr) !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
  row-gap: clamp(0.7rem, 1.7vw, 1.35rem) !important;
  align-items: start !important;
  align-content: start !important;
  justify-items: stretch !important;
  place-items: start stretch !important;
  min-height: 0 !important;
  height: auto !important;
}

body.error404 .uoa-error404-template .uoa-error404-hero > .reuse-hero-copy,
body.error404 .uoa-error404-template .uoa-error404-hero > .uoa-error404-feature {
  align-self: start !important;
  justify-self: stretch !important;
  place-self: start stretch !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  transform: none !important;
}

body.error404 .uoa-error404-template .uoa-error404-feature {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  align-content: flex-start !important;
  gap: 1rem !important;
  min-height: 0 !important;
}

body.error404 .uoa-error404-template .uoa-error404-feature > .reuse-label-kicker {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.error404 .uoa-error404-template .reuse-heading-hero-gradient span:last-child,
body.error404 .uoa-error404-template .reuse-heading-display span:last-child,
body.error404 .uoa-error404-template .uoa-error404-breadcrumb span[aria-current="page"],
body.error404 .uoa-error404-template .reuse-label-kicker,
body.error404 .uoa-error404-template .reuse-section-label p {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

body.error404 .uoa-error404-template .uoa-error404-lead {
  display: grid;
  gap: 0.95rem;
}

body.error404 .uoa-error404-template .uoa-error404-lead__label {
  color: #fff;
  font-weight: 900;
}

body.error404 .uoa-error404-template .uoa-error404-breadcrumb,
body.error404 .uoa-error404-template .uoa-error404-requested-url,
body.error404 .uoa-error404-template .uoa-error404-search-wrap {
  margin: 0;
}

body.error404 .uoa-error404-template .uoa-error404-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.38rem;
}

body.error404 .uoa-error404-template .uoa-error404-breadcrumb a,
body.error404 .uoa-error404-template .uoa-error404-card__title-link,
body.error404 .uoa-error404-template .uoa-error404-summary-card a,
body.error404 .uoa-error404-template .uoa-error404-path-card a {
  color: inherit !important;
  text-decoration-color: rgba(79, 160, 255, 0.8);
  text-underline-offset: 0.18em;
}

body.error404 .uoa-error404-template .uoa-error404-breadcrumb a:hover,
body.error404 .uoa-error404-template .uoa-error404-breadcrumb a:focus-visible,
body.error404 .uoa-error404-template .uoa-error404-card__title-link:hover,
body.error404 .uoa-error404-template .uoa-error404-card__title-link:focus-visible,
body.error404 .uoa-error404-template .uoa-error404-summary-card a:hover,
body.error404 .uoa-error404-template .uoa-error404-summary-card a:focus-visible,
body.error404 .uoa-error404-template .uoa-error404-path-card a:hover,
body.error404 .uoa-error404-template .uoa-error404-path-card a:focus-visible {
  color: var(--uoa-page-blue-light, #4fa0ff) !important;
}

body.error404 .uoa-error404-template .uoa-error404-requested-url code {
  display: inline-block;
  max-width: 100%;
  color: #fff;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  border-bottom: 1px solid rgba(79, 160, 255, 0.38);
}

body.error404 .uoa-error404-template .uoa-error404-search-wrap {
  display: grid;
  gap: 0.65rem;
}

body.error404 .uoa-error404-template .uoa-error404-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

body.error404 .uoa-error404-template .uoa-error404-search input[type="search"] {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  outline: none;
  background: rgba(3, 6, 20, 0.52);
  box-shadow: inset 0 2px 14px rgba(0, 0, 0, 0.28), inset 0 1px 20px rgba(255, 255, 255, 0.05);
}

body.error404 .uoa-error404-template .uoa-error404-search input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

body.error404 .uoa-error404-template .uoa-error404-search input[type="search"]:focus {
  border-color: rgba(79, 160, 255, 0.72);
  background: rgba(3, 6, 20, 0.68);
  box-shadow: 0 0 0 3px rgba(49, 134, 255, 0.16), inset 0 2px 14px rgba(0, 0, 0, 0.30);
}

body.error404 .uoa-error404-template .uoa-error404-search__button {
  border: 0;
  cursor: pointer;
}

body.error404 .uoa-error404-template .uoa-error404-status-card,
body.error404 .uoa-error404-template .uoa-error404-card,
body.error404 .uoa-error404-template .uoa-error404-path-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

body.error404 .uoa-error404-template .uoa-error404-status-card {
  border-color: rgba(79, 160, 255, 0.34);
  background: linear-gradient(145deg, rgba(49, 134, 255, 0.16), rgba(255, 255, 255, 0.04)), rgba(255, 255, 255, 0.07);
}

body.error404 .uoa-error404-template .uoa-error404-status-card .reuse-button,
body.error404 .uoa-error404-template .uoa-error404-card__button,
body.error404 .uoa-error404-template .uoa-error404-path-card .reuse-button {
  width: 100%;
  margin-top: clamp(1rem, 2vw, 1.35rem) !important;
}

body.error404 .uoa-error404-template .uoa-error404-path-card .reuse-button,
body.error404 .uoa-error404-template .uoa-error404-path-card .reuse-button:visited {
  color: #1b1d24 !important;
  text-decoration: none !important;
}

body.error404 .uoa-error404-template .uoa-error404-path-card .reuse-button:hover,
body.error404 .uoa-error404-template .uoa-error404-path-card .reuse-button:focus-visible {
  color: #1b1d24 !important;
}

body.error404 .uoa-error404-template .uoa-error404-card h2 a,
body.error404 .uoa-error404-template .uoa-error404-card h3 a {
  color: inherit !important;
  text-decoration: none;
}

body.error404 .uoa-error404-template .uoa-error404-card__excerpt {
  margin-bottom: 0 !important;
}

body.error404 .uoa-error404-template .uoa-error404-card__comments {
  margin-top: 0.9rem !important;
  color: var(--uoa-page-blue-light, #4fa0ff) !important;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.error404 .uoa-error404-template .uoa-error404-summary-card {
  align-self: stretch !important;
  margin-top: 0.15rem !important;
}

body.error404 .uoa-error404-template .uoa-error404-summary-card dl {
  display: grid;
  gap: 0.75rem;
  margin: 1.15rem 0 0;
}

body.error404 .uoa-error404-template .uoa-error404-summary-card div {
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 2px 18px rgba(255, 255, 255, 0.055);
}

body.error404 .uoa-error404-template .uoa-error404-summary-card dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.error404 .uoa-error404-template .uoa-error404-summary-card dd {
  margin: 0.34rem 0 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.3;
}

body.error404 .uoa-error404-template .uoa-error404-path-grid,
body.error404 .uoa-error404-template .uoa-error404-grid {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.45rem);
  margin-top: clamp(1.15rem, 3vw, 1.75rem);
}

body.error404 .uoa-error404-template .uoa-error404-path-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.error404 .uoa-error404-template .uoa-error404-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.error404 .uoa-error404-template .uoa-error404-path-card h3 {
  margin: 0 !important;
  color: #fff;
  text-align: left !important;
  letter-spacing: 0.01em;
  text-shadow: 4px 4px 9px rgba(0, 0, 0, 0.52);
}

body.error404 .uoa-error404-template .uoa-error404-path-card p {
  margin-bottom: 0 !important;
}

body.error404 .uoa-error404-template .reuse-divider-fancy {
  width: min(320px, 82%);
  height: 30px;
  margin: 2.3rem auto;
}

body.error404 .uoa-error404-template .reuse-button-ghost:hover,
body.error404 .uoa-error404-template .reuse-button-ghost:focus-visible {
  color: #111827 !important;
}

@media (max-width: 1180px) {
  body.error404 .uoa-error404-template .uoa-error404-path-grid,
  body.error404 .uoa-error404-template .uoa-error404-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.error404 .uoa-error404-template .uoa-error404-hero {
    grid-template-columns: 1fr !important;
    row-gap: clamp(0.7rem, 1.7vw, 1.35rem) !important;
  }

  body.error404 .uoa-error404-template .uoa-error404-feature {
    max-width: 820px;
  }
}

@media (max-width: 768px) {
  body.error404 .uoa-error404-template .reuse-button {
    width: 100% !important;
  }

  body.error404 .uoa-error404-template .uoa-error404-search {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body.error404 .uoa-error404-template .uoa-error404-path-grid,
  body.error404 .uoa-error404-template .uoa-error404-grid {
    grid-template-columns: 1fr;
  }

  body.error404 .uoa-error404-template .uoa-error404-card,
  body.error404 .uoa-error404-template .uoa-error404-path-card {
    border-radius: 22px;
  }
}

@media (max-width: 820px) {
  body.error404 .uoa-error404-template .uoa-mainpage--error404 .reuse-container:not(.reuse-container-content) {
    padding-bottom: clamp(1.25rem, 5vw, 2rem);
  }

  body.error404 .uoa-error404-template .uoa-mainpage--error404 .reuse-container-content {
    padding-top: clamp(1rem, 4vw, 1.5rem);
  }
}

@media (max-width: 768px), (pointer: coarse), (hover: none) {
  body.error404 .uoa-error404-template .uoa-error404-status-card,
  body.error404 .uoa-error404-template .uoa-error404-card,
  body.error404 .uoa-error404-template .uoa-error404-path-card,
  body.error404 .uoa-error404-template .uoa-error404-summary-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* ===== Centralized from all-articles.php ===== */
/* ==========================================================
   UoA All Articles Template — all-articles.php inline styles only
   This is NOT the full uoa-design-system-v2-mainpages.css file.
   The shared design system should still be loaded from:
   /assets/css/uoa-design-system-v2-mainpages.css
   ========================================================== */

body.uoa-all-articles-template-active,
body.uoa-all-articles-template-active .site,
body.uoa-all-articles-template-active .site-main {
  position: relative;
  z-index: 1;
}

/* Earth background behind the content. */
body.uoa-all-articles-template-active::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  background-color: #030614;
  background-image: url('https://universityofawakening.com/wp-content/uploads/2025/08/Earth-intro.jpg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

body.uoa-all-articles-template-active .site,
body.uoa-all-articles-template-active .site-main,
body.uoa-all-articles-template-active .uoa-mainpages-template.uoa-all-articles-template,
body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-mainpage--all-articles {
  background: transparent !important;
}

body.uoa-all-articles-template-active .uoa-mainpages-template.uoa-all-articles-template {
  position: relative;
  z-index: 1;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-mainpage--all-articles {
  overflow: clip;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .reuse-container:not(.reuse-container-content) {
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

body.uoa-all-articles-template-active .uoa-all-articles-template .reuse-container-content {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.78fr) !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
  row-gap: clamp(0.7rem, 1.7vw, 1.35rem) !important;
  align-items: start !important;
  align-content: start !important;
  justify-items: stretch !important;
  place-items: start stretch !important;
  min-height: 0 !important;
  height: auto !important;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-hero > .reuse-hero-copy,
body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-feature {
  align-self: start !important;
  justify-self: stretch !important;
  place-self: start stretch !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  transform: none !important;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-feature {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-feature > .reuse-label-kicker {
  margin: 0 !important;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-summary-card dl,
body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-library-card dl {
  display: grid;
  gap: 0.75rem;
  margin: 1.15rem 0 0;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-summary-card dl > div,
body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-library-card dl > div {
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 2px 18px rgba(255, 255, 255, 0.055);
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-summary-card dt,
body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-library-card dt {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-summary-card dd,
body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-library-card dd {
  margin: 0.34rem 0 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.3;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-search-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-search-form input[type="search"] {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  outline: none;
  background: rgba(3, 6, 20, 0.52);
  color: #fff;
  box-shadow: inset 0 2px 14px rgba(0, 0, 0, 0.28), inset 0 1px 20px rgba(255, 255, 255, 0.05);
  font-size: 1rem;
  line-height: 1.35;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-search-form input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-search-form input[type="search"]:focus {
  border-color: rgba(79, 160, 255, 0.72);
  background: rgba(3, 6, 20, 0.68);
  box-shadow: 0 0 0 3px rgba(49, 134, 255, 0.16), inset 0 2px 14px rgba(0, 0, 0, 0.30);
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-year-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0 0;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-year-nav a {
  display: inline-flex;
  min-height: 2.4rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.78rem;
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid rgba(79, 160, 255, 0.26);
  border-radius: 999px;
  background: rgba(3, 6, 20, 0.62);
  box-shadow: inset 0 1px 14px rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-year-nav a:hover,
body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-year-nav a:focus-visible {
  background: rgba(49, 134, 255, 0.18);
  border-color: rgba(79, 160, 255, 0.48);
  transform: translateY(2px);
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-timeline {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-year-block {
  padding: clamp(1.35rem, 3vw, 2.35rem);
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-year-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-year-head h2 {
  margin: 0 !important;
  color: transparent;
  text-align: left !important;
  letter-spacing: 0.02em;
  background: linear-gradient(90.8deg, var(--uoa-page-blue, #3186ff) -1.06%, var(--uoa-page-blue-mid, #346bf1) 45.45%, var(--uoa-page-blue-light, #4fa0ff) 97.12%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.58));
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-year-head p {
  margin: 0;
  color: var(--uoa-page-blue-light, #4fa0ff);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: right;
  text-transform: uppercase;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-days {
  display: grid;
  gap: 1rem;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-day {
  padding: clamp(1rem, 2vw, 1.3rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(3, 6, 20, 0.48);
  box-shadow: inset 0 1px 18px rgba(255, 255, 255, 0.06);
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-day h3 {
  margin: 0 0 0.75rem !important;
  color: var(--uoa-page-blue-light, #4fa0ff);
  text-align: left !important;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-title-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-title-list li {
  position: relative;
  padding-left: 1.1rem;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-title-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--uoa-page-blue, #3186ff);
  box-shadow: 0 0 12px rgba(49, 134, 255, 0.72);
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-title-list a {
  color: #fff !important;
  font-weight: 850;
  line-height: 1.35;
  text-decoration-color: rgba(79, 160, 255, 0.82);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-title-list a:hover,
body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-title-list a:focus-visible {
  color: var(--uoa-page-blue-light, #4fa0ff) !important;
  text-decoration-color: #fff;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-empty-card {
  text-align: center;
}

body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-empty-card h2 {
  text-align: center !important;
}

@media (max-width: 1024px) {
  body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-hero {
    grid-template-columns: 1fr !important;
    row-gap: clamp(0.7rem, 1.7vw, 1.35rem) !important;
  }
}

@media (max-width: 768px) {
  body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-search-form {
    grid-template-columns: 1fr;
  }

  body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-search-form .reuse-button {
    width: 100%;
  }

  body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-year-head {
    display: grid;
    align-items: start;
  }

  body.uoa-all-articles-template-active .uoa-all-articles-template .uoa-all-articles-year-head p {
    text-align: left;
  }
}

@media (max-width: 768px), (pointer: coarse), (hover: none) {
  body.uoa-all-articles-template-active .uoa-all-articles-template .reuse-card-glass,
  body.uoa-all-articles-template-active .uoa-all-articles-template .reuse-card-accent,
  body.uoa-all-articles-template-active .uoa-all-articles-template .reuse-button-ghost {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* ===== Centralized from archive.php ===== */
body.archive,
body.archive .site,
body.archive .site-main {
  position: relative;
  z-index: 1;
}

/* Earth background behind the archive content. */
body.archive::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  background-color: #030614;
  background-image: url('https://universityofawakening.com/wp-content/uploads/2025/08/Earth-intro.jpg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

body.archive .site,
body.archive .site-main,
body.archive .uoa-mainpages-template.uoa-archive-template,
body.archive .uoa-archive-template .uoa-mainpage--archive {
  background: transparent !important;
}

body.archive .uoa-mainpages-template.uoa-archive-template {
  position: relative;
  z-index: 1;
}

body.archive .uoa-archive-template .uoa-mainpage--archive {
  overflow: clip;
}

body.archive .uoa-archive-template .uoa-mainpage--archive .reuse-container:not(.reuse-container-content) {
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

body.archive .uoa-archive-template .uoa-mainpage--archive .reuse-container-content {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

body.archive .uoa-archive-template .uoa-archive-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.78fr) !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
  row-gap: clamp(0.7rem, 1.7vw, 1.35rem) !important;
  align-items: start !important;
  align-content: start !important;
  justify-items: stretch !important;
  place-items: start stretch !important;
  min-height: 0 !important;
  height: auto !important;
}

body.archive .uoa-archive-template .uoa-archive-hero > .reuse-hero-copy,
body.archive .uoa-archive-template .uoa-archive-hero > .uoa-archive-feature {
  align-self: start !important;
  justify-self: stretch !important;
  place-self: start stretch !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  transform: none !important;
}

body.archive .uoa-archive-template .uoa-archive-feature {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  align-content: flex-start !important;
  gap: 1rem !important;
  min-height: 0 !important;
}

body.archive .uoa-archive-template .uoa-archive-feature > .reuse-label-kicker {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.archive .uoa-archive-template .reuse-heading-hero-gradient span:last-child,
body.archive .uoa-archive-template .reuse-heading-display span:last-child,
body.archive .uoa-archive-template .uoa-archive-breadcrumb span[aria-current="page"],
body.archive .uoa-archive-template .reuse-label-kicker,
body.archive .uoa-archive-template .reuse-section-label p {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

body.archive .uoa-archive-template .uoa-archive-lead {
  display: grid;
  gap: 0.95rem;
}

body.archive .uoa-archive-template .uoa-archive-lead__label {
  color: #fff;
  font-weight: 900;
}

body.archive .uoa-archive-template .uoa-archive-breadcrumb,
body.archive .uoa-archive-template .uoa-archive-post-count,
body.archive .uoa-archive-template .uoa-archive-search-wrap {
  margin: 0;
}

body.archive .uoa-archive-template .uoa-archive-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.38rem;
}

body.archive .uoa-archive-template .uoa-archive-breadcrumb a,
body.archive .uoa-archive-template .uoa-archive-card__title-link,
body.archive .uoa-archive-template .uoa-archive-summary-card a {
  color: inherit !important;
  text-decoration-color: rgba(79, 160, 255, 0.8);
  text-underline-offset: 0.18em;
}

body.archive .uoa-archive-template .uoa-archive-breadcrumb a:hover,
body.archive .uoa-archive-template .uoa-archive-breadcrumb a:focus-visible,
body.archive .uoa-archive-template .uoa-archive-card__title-link:hover,
body.archive .uoa-archive-template .uoa-archive-card__title-link:focus-visible,
body.archive .uoa-archive-template .uoa-archive-summary-card a:hover,
body.archive .uoa-archive-template .uoa-archive-summary-card a:focus-visible {
  color: var(--uoa-page-blue-light, #4fa0ff) !important;
}

body.archive .uoa-archive-template .uoa-archive-search-wrap {
  display: grid;
  gap: 0.65rem;
}

body.archive .uoa-archive-template .uoa-archive-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

body.archive .uoa-archive-template .uoa-archive-search input[type="search"] {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  outline: none;
  background: rgba(3, 6, 20, 0.52);
  box-shadow: inset 0 2px 14px rgba(0, 0, 0, 0.28), inset 0 1px 20px rgba(255, 255, 255, 0.05);
}

body.archive .uoa-archive-template .uoa-archive-search input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

body.archive .uoa-archive-template .uoa-archive-search input[type="search"]:focus {
  border-color: rgba(79, 160, 255, 0.72);
  background: rgba(3, 6, 20, 0.68);
  box-shadow: 0 0 0 3px rgba(49, 134, 255, 0.16), inset 0 2px 14px rgba(0, 0, 0, 0.30);
}

body.archive .uoa-archive-template .uoa-archive-search__button {
  border: 0;
  cursor: pointer;
}

body.archive .uoa-archive-template .uoa-archive-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

body.archive .uoa-archive-template .uoa-archive-card h2 a,
body.archive .uoa-archive-template .uoa-archive-card h3 a {
  color: inherit !important;
  text-decoration: none;
}

body.archive .uoa-archive-template .uoa-archive-card__meta {
  margin: 0.65rem 0 0 !important;
  color: var(--uoa-page-blue-light, #4fa0ff) !important;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

body.archive .uoa-archive-template .uoa-archive-card__excerpt {
  margin-bottom: 0 !important;
}

body.archive .uoa-archive-template .uoa-archive-card__button {
  width: 100%;
  margin-top: clamp(1rem, 2vw, 1.35rem) !important;
}

body.archive .uoa-archive-template .uoa-archive-card__comments {
  margin-top: 0.9rem !important;
  color: var(--uoa-page-blue-light, #4fa0ff) !important;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.archive .uoa-archive-template .uoa-archive-summary-card {
  align-self: stretch !important;
  margin-top: 0.15rem !important;
}

body.archive .uoa-archive-template .uoa-archive-summary-card dl {
  display: grid;
  gap: 0.75rem;
  margin: 1.15rem 0 0;
}

body.archive .uoa-archive-template .uoa-archive-summary-card div {
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 2px 18px rgba(255, 255, 255, 0.055);
}

body.archive .uoa-archive-template .uoa-archive-summary-card dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.archive .uoa-archive-template .uoa-archive-summary-card dd {
  margin: 0.34rem 0 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.3;
}

body.archive .uoa-archive-template .uoa-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.45rem);
  margin-top: clamp(1.15rem, 3vw, 1.75rem);
}

body.archive .uoa-archive-template .uoa-archive-pagination {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

body.archive .uoa-archive-template .uoa-archive-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.archive .uoa-archive-template .uoa-archive-pagination a,
body.archive .uoa-archive-template .uoa-archive-pagination span {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.82rem;
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid rgba(79, 160, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 18px rgba(255, 255, 255, 0.06), 0 12px 24px rgba(0, 0, 0, 0.24);
}

body.archive .uoa-archive-template .uoa-archive-pagination .current,
body.archive .uoa-archive-template .uoa-archive-pagination a:hover,
body.archive .uoa-archive-template .uoa-archive-pagination a:focus-visible {
  color: #1b1d24 !important;
  background: var(--uoa-page-panel, #dcdcde);
}

body.archive .uoa-archive-template .reuse-divider-fancy {
  width: min(320px, 82%);
  height: 30px;
  margin: 2.3rem auto;
}

body.archive .uoa-archive-template .reuse-button-ghost:hover,
body.archive .uoa-archive-template .reuse-button-ghost:focus-visible {
  color: #111827 !important;
}

@media (max-width: 1180px) {
  body.archive .uoa-archive-template .uoa-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.archive .uoa-archive-template .uoa-archive-hero {
    grid-template-columns: 1fr !important;
    row-gap: clamp(0.7rem, 1.7vw, 1.35rem) !important;
  }

  body.archive .uoa-archive-template .uoa-archive-feature {
    max-width: 820px;
  }
}

@media (max-width: 768px) {
  body.archive .uoa-archive-template .reuse-button {
    width: 100% !important;
  }

  body.archive .uoa-archive-template .uoa-archive-search {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body.archive .uoa-archive-template .uoa-archive-grid {
    grid-template-columns: 1fr;
  }

  body.archive .uoa-archive-template .uoa-archive-card {
    border-radius: 22px;
  }
}

@media (max-width: 820px) {
  body.archive .uoa-archive-template .uoa-mainpage--archive .reuse-container:not(.reuse-container-content) {
    padding-bottom: clamp(1.25rem, 5vw, 2rem);
  }

  body.archive .uoa-archive-template .uoa-mainpage--archive .reuse-container-content {
    padding-top: clamp(1rem, 4vw, 1.5rem);
  }
}

@media (max-width: 768px), (pointer: coarse), (hover: none) {
  body.archive .uoa-archive-template .uoa-archive-card,
  body.archive .uoa-archive-template .uoa-archive-summary-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* ===== Centralized from category.php ===== */
body.category,
body.category .site,
body.category .site-main {
  position: relative;
  z-index: 1;
}

/* Earth background behind the content. */
body.category::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  background-color: #030614;
  background-image: url('https://universityofawakening.com/wp-content/uploads/2025/08/Earth-intro.jpg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

body.category .site,
body.category .site-main,
body.category .uoa-mainpages-template.uoa-category-template,
body.category .uoa-category-template .uoa-mainpage--category {
  background: transparent !important;
}

body.category .uoa-mainpages-template.uoa-category-template {
  position: relative;
  z-index: 1;
}

body.category .uoa-category-template .uoa-mainpage--category {
  overflow: clip;
}

body.category .uoa-category-template .uoa-mainpage--category .reuse-container:not(.reuse-container-content) {
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

body.category .uoa-category-template .uoa-mainpage--category .reuse-container-content {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

/* The category hero must not vertically center the newest-post column. */
body.category .uoa-category-template .uoa-category-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.78fr) !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
  row-gap: clamp(0.7rem, 1.7vw, 1.35rem) !important;
  align-items: start !important;
  align-content: start !important;
  justify-items: stretch !important;
  place-items: start stretch !important;
  min-height: 0 !important;
  height: auto !important;
}

body.category .uoa-category-template .uoa-category-hero > .reuse-hero-copy,
body.category .uoa-category-template .uoa-category-hero > .uoa-category-feature {
  align-self: start !important;
  justify-self: stretch !important;
  place-self: start stretch !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  transform: none !important;
}

body.category .uoa-category-template .uoa-category-feature {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  align-content: flex-start !important;
  gap: 1rem !important;
  min-height: 0 !important;
}

body.category .uoa-category-template .uoa-category-feature > .reuse-label-kicker {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.category .uoa-category-template .uoa-category-feature > .uoa-category-card,
body.category .uoa-category-template .uoa-category-card--featured {
  align-self: stretch !important;
  margin: 0 !important;
  min-height: 0 !important;
}


body.category .uoa-category-template .uoa-category-summary-card {
  align-self: stretch !important;
  margin-top: 0.15rem !important;
}

body.category .uoa-category-template .uoa-category-summary-card dl {
  display: grid;
  gap: 0.75rem;
  margin: 1.15rem 0 0;
}

body.category .uoa-category-template .uoa-category-summary-card div {
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 2px 18px rgba(255, 255, 255, 0.055);
}

body.category .uoa-category-template .uoa-category-summary-card dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.category .uoa-category-template .uoa-category-summary-card dd {
  margin: 0.34rem 0 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.3;
}

body.category .uoa-category-template .uoa-category-summary-card a {
  color: inherit !important;
  text-decoration-color: rgba(79, 160, 255, 0.8);
  text-underline-offset: 0.18em;
}

body.category .uoa-category-template .uoa-category-summary-card a:hover,
body.category .uoa-category-template .uoa-category-summary-card a:focus-visible {
  color: var(--uoa-page-blue-light, #4fa0ff) !important;
}

body.category .uoa-category-template .reuse-heading-hero-gradient span:last-child,
body.category .uoa-category-template .reuse-heading-display span:last-child,
body.category .uoa-category-template .uoa-category-breadcrumb span[aria-current="page"],
body.category .uoa-category-template .reuse-label-kicker,
body.category .uoa-category-template .reuse-section-label p {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

body.category .uoa-category-template .uoa-category-lead {
  display: grid;
  gap: 0.95rem;
}

body.category .uoa-category-template .uoa-category-lead__label {
  color: #fff;
  font-weight: 900;
}

body.category .uoa-category-template .uoa-category-breadcrumb,
body.category .uoa-category-template .uoa-category-post-count,
body.category .uoa-category-template .uoa-category-search-wrap {
  margin: 0;
}

body.category .uoa-category-template .uoa-category-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.38rem;
}

body.category .uoa-category-template .uoa-category-breadcrumb a,
body.category .uoa-category-template .uoa-category-card__title-link {
  color: inherit !important;
  text-decoration-color: rgba(79, 160, 255, 0.8);
  text-underline-offset: 0.18em;
}

body.category .uoa-category-template .uoa-category-breadcrumb a:hover,
body.category .uoa-category-template .uoa-category-breadcrumb a:focus-visible,
body.category .uoa-category-template .uoa-category-card__title-link:hover,
body.category .uoa-category-template .uoa-category-card__title-link:focus-visible {
  color: var(--uoa-page-blue-light, #4fa0ff) !important;
}

body.category .uoa-category-template .uoa-category-search-wrap {
  display: grid;
  gap: 0.65rem;
}

body.category .uoa-category-template .uoa-category-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

body.category .uoa-category-template .uoa-category-search input[type="search"] {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  outline: none;
  background: rgba(3, 6, 20, 0.52);
  box-shadow: inset 0 2px 14px rgba(0, 0, 0, 0.28), inset 0 1px 20px rgba(255, 255, 255, 0.05);
}

body.category .uoa-category-template .uoa-category-search input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

body.category .uoa-category-template .uoa-category-search input[type="search"]:focus {
  border-color: rgba(79, 160, 255, 0.72);
  background: rgba(3, 6, 20, 0.68);
  box-shadow: 0 0 0 3px rgba(49, 134, 255, 0.16), inset 0 2px 14px rgba(0, 0, 0, 0.30);
}

body.category .uoa-category-template .uoa-category-search__button {
  border: 0;
  cursor: pointer;
}

body.category .uoa-category-template .uoa-category-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

body.category .uoa-category-template .uoa-category-card h2 a,
body.category .uoa-category-template .uoa-category-card h3 a {
  color: inherit !important;
  text-decoration: none;
}

body.category .uoa-category-template .uoa-category-card__excerpt {
  margin-bottom: 0 !important;
}

body.category .uoa-category-template .uoa-category-card__button {
  width: 100%;
  margin-top: clamp(1rem, 2vw, 1.35rem) !important;
}

body.category .uoa-category-template .uoa-category-card__comments {
  margin-top: 0.9rem !important;
  color: var(--uoa-page-blue-light, #4fa0ff) !important;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.category .uoa-category-template .uoa-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.45rem);
  margin-top: clamp(1.15rem, 3vw, 1.75rem);
}

body.category .uoa-category-template .uoa-category-pagination {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

body.category .uoa-category-template .uoa-category-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.category .uoa-category-template .uoa-category-pagination a,
body.category .uoa-category-template .uoa-category-pagination span {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.82rem;
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid rgba(79, 160, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 18px rgba(255, 255, 255, 0.06), 0 12px 24px rgba(0, 0, 0, 0.24);
}

body.category .uoa-category-template .uoa-category-pagination .current,
body.category .uoa-category-template .uoa-category-pagination a:hover,
body.category .uoa-category-template .uoa-category-pagination a:focus-visible {
  color: #1b1d24 !important;
  background: var(--uoa-page-panel, #dcdcde);
}

body.category .uoa-category-template .reuse-divider-fancy {
  width: min(320px, 82%);
  height: 30px;
  margin: 2.3rem auto;
}

body.category .uoa-category-template .reuse-button-ghost:hover,
body.category .uoa-category-template .reuse-button-ghost:focus-visible {
  color: #111827 !important;
}

@media (max-width: 1180px) {
  body.category .uoa-category-template .uoa-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.category .uoa-category-template .uoa-category-hero {
    grid-template-columns: 1fr !important;
    row-gap: clamp(0.7rem, 1.7vw, 1.35rem) !important;
  }

  body.category .uoa-category-template .uoa-category-feature {
    max-width: 820px;
  }
}

@media (max-width: 768px) {
  body.category .uoa-category-template .reuse-button {
    width: 100% !important;
  }

  body.category .uoa-category-template .uoa-category-search {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body.category .uoa-category-template .uoa-category-grid {
    grid-template-columns: 1fr;
  }

  body.category .uoa-category-template .uoa-category-card {
    border-radius: 22px;
  }
}

@media (max-width: 820px) {
  body.category .uoa-category-template .uoa-mainpage--category .reuse-container:not(.reuse-container-content) {
    padding-bottom: clamp(1.25rem, 5vw, 2rem);
  }

  body.category .uoa-category-template .uoa-mainpage--category .reuse-container-content {
    padding-top: clamp(1rem, 4vw, 1.5rem);
  }
}

@media (max-width: 768px), (pointer: coarse), (hover: none) {
  body.category .uoa-category-template .uoa-category-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* ===== Centralized from posts-read_only.php ===== */
/* ==========================================================
   UoA Posts Read Only Template — posts-read_only.php inline styles only
   This is NOT the full uoa-design-system-v2-mainpages.css file.
   The shared design system should still be loaded from:
   /assets/css/uoa-design-system-v2-mainpages.css
   ========================================================== */

body.uoa-post-read-only-template-active,
body.uoa-post-read-only-template-active .site,
body.uoa-post-read-only-template-active .site-main {
  position: relative;
  z-index: 1;
}

/* Earth background behind the content. */
body.uoa-post-read-only-template-active::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  background-color: #030614;
  background-image: url('https://universityofawakening.com/wp-content/uploads/2025/08/Earth-intro.jpg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

body.uoa-post-read-only-template-active .site,
body.uoa-post-read-only-template-active .site-main,
body.uoa-post-read-only-template-active .uoa-mainpages-template.uoa-post-read-only-template,
body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-mainpage--post-read-only {
  background: transparent !important;
}

body.uoa-post-read-only-template-active .uoa-mainpages-template.uoa-post-read-only-template {
  position: relative;
  z-index: 1;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-mainpage--post-read-only {
  overflow: clip;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .reuse-container:not(.reuse-container-content) {
  padding-bottom: 0;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .reuse-container-content {
  padding-top: 0;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.78fr) !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
  align-items: start !important;
  align-content: start !important;
  justify-items: stretch !important;
  place-items: start stretch !important;
  min-height: 0 !important;
  height: auto !important;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-hero > .reuse-hero-copy,
body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-feature {
  align-self: start !important;
  justify-self: stretch !important;
  place-self: start stretch !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  transform: none !important;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .reuse-heading-hero-gradient {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .reuse-heading-hero-gradient span:last-child {
  overflow-wrap: anywhere;
  word-break: normal;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-meta-list {
  display: grid;
  gap: 0.72rem;
  margin: 0;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-meta-list div {
  padding: 0.88rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 2px 18px rgba(255, 255, 255, 0.055);
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-meta-list dt {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-meta-list dd {
  margin: 0.34rem 0 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.35;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-meta-list a {
  color: #fff !important;
  text-decoration-color: rgba(79, 160, 255, 0.85);
  text-underline-offset: 0.18em;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-feature {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-summary-card,
body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-media-card {
  align-self: stretch;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-summary-card > .reuse-label-kicker,
body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-media-card > .reuse-label-kicker {
  margin: 0 0 0.75rem !important;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-summary-card h2,
body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-media-card h2 {
  margin: 0 0 1.05rem !important;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-media-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38);
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content-card {
  width: min(100%, 980px);
  margin: 0 auto;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content > *:first-child {
  margin-top: 0 !important;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content > *:last-child {
  margin-bottom: 0 !important;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content p,
body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content li,
body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content dd {
  color: rgba(255, 255, 255, 0.80);
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content h2,
body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content h3,
body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content h4 {
  color: #fff;
  text-align: left !important;
  text-shadow: 4px 4px 9px rgba(0, 0, 0, 0.52);
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content h2 {
  margin: clamp(2.1rem, 4vw, 3.2rem) 0 0.85rem !important;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content h3,
body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content h4 {
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 0.75rem !important;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content a {
  color: var(--uoa-page-blue-light, #4fa0ff) !important;
  text-decoration-color: rgba(79, 160, 255, 0.72);
  text-underline-offset: 0.18em;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content blockquote,
body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content .wp-block-quote {
  margin: clamp(1.4rem, 3vw, 2.1rem) 0;
  padding: 1.2rem 1.3rem 1.2rem 1.45rem;
  border-left: 3px solid var(--uoa-page-blue-light, #4fa0ff);
  border-radius: 18px;
  background: rgba(3, 6, 20, 0.48);
  box-shadow: inset 0 1px 18px rgba(255, 255, 255, 0.06);
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content ul,
body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content ol {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 1.2rem;
  padding-left: 1.35rem;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content figure {
  margin: clamp(1.4rem, 3vw, 2.2rem) 0;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content figcaption {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  line-height: 1.45;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-nav-grid,
body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-nav-card,
body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-related-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-nav-card h3,
body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-related-card h3 {
  margin: 0 !important;
  color: #fff;
  text-align: left !important;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-nav-card a,
body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-related-card a {
  color: #fff !important;
  text-decoration-color: rgba(79, 160, 255, 0.75);
  text-underline-offset: 0.18em;
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-nav-card p,
body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-related-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-empty-card {
  width: min(100%, 760px);
  margin: 0 auto;
}

@media (max-width: 1024px) {
  body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-hero {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  body.uoa-post-read-only-template-active .uoa-post-read-only-template .reuse-button {
    width: 100%;
  }

  body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-nav-grid,
  body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-related-grid {
    grid-template-columns: 1fr;
  }

  body.uoa-post-read-only-template-active .uoa-post-read-only-template .uoa-post-read-only-content-card {
    padding: 1.15rem;
  }
}

/* ===== Centralized from posts-themed_images.php ===== */
/* ==========================================================
   UoA Posts Themed Images Template — posts-themed_images.php inline styles only
   This is NOT the full uoa-design-system-v2-mainpages.css file.
   The shared design system is loaded from:
   /assets/css/uoa-design-system-v2-mainpages.css
   ========================================================== */

body.uoa-posts-themed-images-template-active,
body.uoa-posts-themed-images-template-active .site,
body.uoa-posts-themed-images-template-active .site-main {
  position: relative;
  z-index: 1;
}

/* Earth background behind the content. */
body.uoa-posts-themed-images-template-active::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  background-color: #030614;
  background-image: url('https://universityofawakening.com/wp-content/uploads/2025/08/Earth-intro.jpg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

body.uoa-posts-themed-images-template-active .site,
body.uoa-posts-themed-images-template-active .site-main,
body.uoa-posts-themed-images-template-active .uoa-mainpages-template.uoa-posts-themed-images-template,
body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-mainpage--posts-themed-images {
  background: transparent !important;
}

body.uoa-posts-themed-images-template-active .uoa-mainpages-template.uoa-posts-themed-images-template {
  --uoa-article-panel: var(--uoa-mainpage-panel, #dcdcde);
  --uoa-article-panel-dark: var(--uoa-mainpage-panel-deep, #7e7e7e);
  --uoa-article-blue: var(--uoa-mainpage-blue, #3186ff);
  --uoa-article-blue-mid: var(--uoa-mainpage-blue-mid, #346bf1);
  --uoa-article-blue-light: var(--uoa-mainpage-blue-light, #4fa0ff);
  --uoa-article-soft: rgba(255, 255, 255, 0.80);
  --uoa-article-border: rgba(255, 255, 255, 0.18);
  --uoa-article-shadow: 0 28px 70px rgba(0, 0, 0, 0.58);
  position: relative;
  z-index: 1;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-mainpage--posts-themed-images {
  overflow: clip;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .reuse-container:not(.reuse-container-content) {
  padding-bottom: 0;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .reuse-container-content {
  padding-top: 0;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.78fr) !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
  align-items: start !important;
  align-content: start !important;
  justify-items: stretch !important;
  place-items: start stretch !important;
  min-height: 0 !important;
  height: auto !important;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-hero > .reuse-hero-copy,
body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-feature {
  align-self: start !important;
  justify-self: stretch !important;
  place-self: start stretch !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  transform: none !important;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-feature {
  display: grid;
  gap: 1rem;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-feature img {
  max-width: 100%;
  height: auto;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-feature-empty {
  display: none;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-nav-grid,
body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-nav-card,
body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-related-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-nav-card h3,
body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-related-card h3 {
  margin: 0 !important;
  color: #fff;
  text-align: left !important;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-nav-card a,
body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-related-card a {
  color: #fff !important;
  text-decoration-color: rgba(79, 160, 255, 0.75);
  text-underline-offset: 0.18em;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-nav-card p,
body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-related-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-empty-card {
  width: min(100%, 760px);
  margin: 0 auto;
}

/* ==========================================================
   Sidebar styles separated from the supplied article/sidebar style source.
   These are the article rail/sidebar styles only.
   ========================================================== */
body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-rail {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-kicker,
body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-rail-card span {
  margin: 0;
  color: var(--uoa-article-blue-light);
  font-family: var(--uoa-mainpage-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.19em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-mini-nav {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 16px rgba(255, 255, 255, 0.08), 0 16px 34px rgba(0, 0, 0, 0.22);
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-mini-nav a {
  display: block;
  padding: 0.56rem 0.65rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-mini-nav a:hover,
body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-mini-nav a:focus-visible {
  background: rgba(49, 134, 255, 0.16);
  color: #fff;
  transform: translateX(3px);
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-rail-card {
  position: relative;
  padding: 1.1rem;
  border: 1px solid var(--uoa-article-border);
  border-radius: 18px;
  background: var(--uoa-glass-clear-background);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  box-shadow: var(--uoa-article-shadow), inset 0 4px 24px rgba(255, 255, 255, 0.16);
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-rail-card p {
  margin: 0.75rem 0 0;
  color: var(--uoa-article-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template #article-start {
  scroll-margin-top: 96px;
}

@media (max-width: 1100px) {
  body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-rail {
    position: relative;
    top: auto;
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
    align-items: start;
  }

  body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-mini-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.35rem;
  }

  body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-mini-nav a {
    padding: 0.6rem 0.45rem;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-hero {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {

  body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-rail {
    grid-template-columns: 1fr;
  }

  body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-mini-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .reuse-button {
    width: 100%;
  }

  body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-nav-grid,
  body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-posts-themed-images-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {


  body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-mini-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {

  body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-kicker,
  body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-rail-card span {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-rail-card {
    padding: 1rem;
  }
}

@media (max-width: 768px), (pointer: coarse), (hover: none) {
  body.uoa-posts-themed-images-template-active .uoa-posts-themed-images-template .uoa-article-rail-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* ===== Centralized from search.php ===== */
/* ==========================================================
   UoA Search Results Template — search.php inline styles only
   This is NOT the full uoa-design-system-v2-mainpages.css file.
   The shared design system is enqueued above from:
   /assets/css/uoa-design-system-v2-mainpages.css
   ========================================================== */

body.search,
body.search .site,
body.search .site-main {
  position: relative;
  z-index: 1;
}

/* Earth background behind the search result content. */
body.search::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  background-color: #030614;
  background-image: url('https://universityofawakening.com/wp-content/uploads/2025/08/Earth-intro.jpg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

body.search .site,
body.search .site-main,
body.search .uoa-mainpages-template.uoa-search-template,
body.search .uoa-search-template .uoa-mainpage--search {
  background: transparent !important;
}

body.search .uoa-mainpages-template.uoa-search-template {
  position: relative;
  z-index: 1;
}

body.search .uoa-search-template .uoa-mainpage--search {
  overflow: clip;
}

body.search .uoa-search-template .uoa-mainpage--search .reuse-container:not(.reuse-container-content) {
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

body.search .uoa-search-template .uoa-mainpage--search .reuse-container-content {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

body.search .uoa-search-template .uoa-search-hero {
  align-items: start !important;
  min-height: 0 !important;
}

body.search .uoa-search-template .uoa-search-lead {
  display: grid;
  gap: 0.95rem;
}

body.search .uoa-search-template .uoa-search-lead__label {
  color: #fff;
  font-weight: 900;
}

body.search .uoa-search-template .uoa-search-breadcrumb,
body.search .uoa-search-template .uoa-search-result-count,
body.search .uoa-search-template .uoa-search-form-wrap {
  margin: 0;
}

body.search .uoa-search-template .uoa-search-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.38rem;
}

body.search .uoa-search-template .uoa-search-breadcrumb a,
body.search .uoa-search-template .uoa-search-card__title-link {
  color: inherit !important;
  text-decoration-color: rgba(79, 160, 255, 0.8);
  text-underline-offset: 0.18em;
}

body.search .uoa-search-template .uoa-search-breadcrumb a:hover,
body.search .uoa-search-template .uoa-search-breadcrumb a:focus-visible,
body.search .uoa-search-template .uoa-search-card__title-link:hover,
body.search .uoa-search-template .uoa-search-card__title-link:focus-visible {
  color: var(--uoa-page-blue-light, #4fa0ff) !important;
}

body.search .uoa-search-template .uoa-search-form-wrap {
  display: grid;
  gap: 0.65rem;
}

body.search .uoa-search-template .uoa-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

body.search .uoa-search-template .uoa-search-form input[type="search"] {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  outline: none;
  background: rgba(3, 6, 20, 0.52);
  box-shadow: inset 0 2px 14px rgba(0, 0, 0, 0.28), inset 0 1px 20px rgba(255, 255, 255, 0.05);
}

body.search .uoa-search-template .uoa-search-form input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

body.search .uoa-search-template .uoa-search-form input[type="search"]:focus {
  border-color: rgba(79, 160, 255, 0.72);
  background: rgba(3, 6, 20, 0.68);
  box-shadow: 0 0 0 3px rgba(49, 134, 255, 0.16), inset 0 2px 14px rgba(0, 0, 0, 0.30);
}

body.search .uoa-search-template .uoa-search-form__button {
  border: 0;
  cursor: pointer;
}

body.search .uoa-search-template .uoa-search-summary-card {
  align-self: start !important;
  margin-top: 0 !important;
}

body.search .uoa-search-template .uoa-search-summary-card dl {
  display: grid;
  gap: 0.75rem;
  margin: 1.15rem 0 0;
}

body.search .uoa-search-template .uoa-search-summary-card div {
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 2px 18px rgba(255, 255, 255, 0.055);
}

body.search .uoa-search-template .uoa-search-summary-card dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.search .uoa-search-template .uoa-search-summary-card dd {
  margin: 0.34rem 0 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.3;
}

body.search .uoa-search-template .uoa-search-highlight {
  font-weight: 950;
  color: #fff;
  background: rgba(79, 160, 255, 0.18);
  border-radius: 0.18em;
  box-shadow: 0 0 14px rgba(49, 134, 255, 0.16);
}

body.search .uoa-search-template .uoa-search-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.45rem);
  margin-top: clamp(1.15rem, 3vw, 1.75rem);
}

body.search .uoa-search-template .uoa-search-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

body.search .uoa-search-template .uoa-search-card h2 a,
body.search .uoa-search-template .uoa-search-card h3 a {
  color: inherit !important;
  text-decoration: none;
}

body.search .uoa-search-template .uoa-search-card__meta {
  margin: 0.65rem 0 0 !important;
  color: var(--uoa-page-blue-light, #4fa0ff) !important;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

body.search .uoa-search-template .uoa-search-card__excerpt {
  margin-bottom: 0 !important;
}

body.search .uoa-search-template .uoa-search-card__context-label {
  margin: 0.9rem 0 0 !important;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.search .uoa-search-template .uoa-search-card__button {
  width: 100%;
  margin-top: clamp(1rem, 2vw, 1.35rem) !important;
}

body.search .uoa-search-template .uoa-search-pagination {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

body.search .uoa-search-template .uoa-search-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.search .uoa-search-template .uoa-search-pagination a,
body.search .uoa-search-template .uoa-search-pagination span {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.82rem;
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid rgba(79, 160, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 18px rgba(255, 255, 255, 0.06), 0 12px 24px rgba(0, 0, 0, 0.24);
}

/* Firefox-safe shared tint for every translucent structural and post surface. */
.uoa-theme :where(.uoa-error404-search input[type="search"],.uoa-error404-status-card,.uoa-error404-summary-card div,.uoa-all-articles-summary-card dl>div,.uoa-all-articles-library-card dl>div,.uoa-all-articles-search-form input[type="search"],.uoa-all-articles-year-nav a,.uoa-all-articles-day,.uoa-archive-search input[type="search"],.uoa-archive-summary-card div,.uoa-archive-pagination a,.uoa-category-summary-card div,.uoa-category-search input[type="search"],.uoa-category-pagination a,.uoa-post-read-only-meta-list div,.uoa-post-read-only-content blockquote,.uoa-post-read-only-content .wp-block-quote,.uoa-article-mini-nav,.uoa-article-rail-card,.uoa-search-form input[type="search"],.uoa-search-summary-card div,.uoa-search-pagination a){background:var(--uoa-glass-support-background,rgba(255,255,255,.1));}

body.search .uoa-search-template .uoa-search-pagination .current,
body.search .uoa-search-template .uoa-search-pagination a:hover,
body.search .uoa-search-template .uoa-search-pagination a:focus-visible {
  color: #1b1d24 !important;
  background: var(--uoa-page-panel, #dcdcde);
}

body.search .uoa-search-template .reuse-button-ghost:hover,
body.search .uoa-search-template .reuse-button-ghost:focus-visible {
  color: #111827 !important;
}

@media (max-width: 1180px) {
  body.search .uoa-search-template .uoa-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.search .uoa-search-template .uoa-search-hero {
    grid-template-columns: 1fr !important;
    row-gap: clamp(0.7rem, 1.7vw, 1.35rem) !important;
  }
}

@media (max-width: 768px) {
  body.search .uoa-search-template .reuse-button {
    width: 100% !important;
  }

  body.search .uoa-search-template .uoa-search-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body.search .uoa-search-template .uoa-search-grid {
    grid-template-columns: 1fr;
  }

  body.search .uoa-search-template .uoa-search-card {
    border-radius: 22px;
  }
}

@media (max-width: 768px), (pointer: coarse), (hover: none) {
  body.search .uoa-search-template .uoa-search-card,
  body.search .uoa-search-template .uoa-search-summary-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

body.uoa-theme:not(.uoa-glass-mode-none):not(.uoa-glass-mode-flat) :where(.uoa-error404-card,.uoa-error404-path-card,.uoa-error404-summary-card,.uoa-archive-card,.uoa-archive-summary-card,.uoa-category-card,.uoa-search-card,.uoa-search-summary-card,.uoa-article-rail-card){background:var(--uoa-glass-support-background,rgba(255,255,255,.1));backdrop-filter:var(--uoa-glass-blur-standard)!important;-webkit-backdrop-filter:var(--uoa-glass-blur-standard)!important;}
