/* Sacred editorial direction — inspired by the clarity of international
   religious institutions and the colour/material language of Iranian shrines. */

:root {
  --sacred-ink: #17252d;
  --sacred-muted: #66747b;
  --sacred-blue: #103f5a;
  --sacred-blue-deep: #082a3e;
  --sacred-tile: #17667a;
  --sacred-gold: #b58a43;
  --sacred-gold-light: #dbc58f;
  --sacred-burgundy: #71323c;
  --sacred-ivory: #f4f0e7;
  --sacred-paper: #fffdfa;
  --sacred-line: #ddd5c5;
  --sacred-white: #fff;
  --sacred-shadow: 0 18px 50px rgba(17, 40, 53, .1);
  --sacred-shadow-soft: 0 7px 24px rgba(17, 40, 53, .07);
  --sacred-radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--sacred-ivory);
  color: var(--sacred-ink);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.95;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 12% 15%, rgba(181, 138, 67, .08), transparent 32rem);
  content: "";
  pointer-events: none;
}

::selection {
  background: var(--sacred-gold-light);
  color: var(--sacred-blue-deep);
}

a {
  color: var(--sacred-blue);
  text-underline-offset: 4px;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

a:hover {
  color: var(--sacred-burgundy);
}

img {
  max-width: 100%;
}

.container {
  width: min(1200px, calc(100% - 48px));
  max-width: 1200px;
}

.container--narrow {
  width: min(1200px, calc(100% - 48px));
  max-width: 1200px;
}

.headline,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--sacred-blue-deep);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
  font-weight: 750;
  letter-spacing: -.025em;
}

.page-section {
  position: relative;
  z-index: 5;
  padding-top: clamp(44px, 6vw, 78px);
  padding-bottom: clamp(58px, 7vw, 96px);
}

/* Header */
.site-header {
  position: sticky !important;
  z-index: 1000;
  top: 0;
  min-height: 94px;
  padding: 0 !important;
  border-bottom: 1px solid var(--sacred-line);
  background: rgba(255, 253, 250, .96) !important;
  box-shadow: 0 5px 24px rgba(13, 36, 48, .06);
  backdrop-filter: blur(12px);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sacred-gold), transparent);
  content: "";
}

.site-header__inner {
  display: flex;
  min-height: 94px;
  align-items: center;
  gap: 20px;
  transform: translateX(24px);
}

.site-brand {
  display: flex;
  flex: 0 0 auto;
  margin-left: auto;
  align-items: center;
  gap: 12px;
  color: var(--sacred-blue-deep) !important;
  text-decoration: none;
}

.site-brand__mark {
  width: 62px;
  height: 68px;
  object-fit: contain;
}

.site-brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.site-brand__copy strong {
  font-size: 21px;
  font-weight: 800;
}

.site-brand__copy small {
  margin-top: 5px;
  color: var(--sacred-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
}

.site-header__menu {
  display: flex;
  flex: 0 1 auto;
  float: none !important;
  align-items: center;
  gap: 6px;
}

@media (min-width: 961px) {
  .site-header__menu {
    transform: none;
  }
}

.main-navigation ul,
.site-header__util {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 2px;
}

.site-header__util .btn {
  width: auto !important;
  min-width: 64px;
  white-space: nowrap;
}

.site-header__util .push-left,
.site-header__util .left-right {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.main-navigation li {
  position: relative;
  float: none !important;
  white-space: nowrap;
}

.main-navigation a {
  position: relative;
  display: block;
  padding: 12px 9px;
  border-radius: 8px;
  color: #273b46 !important;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 961px) and (max-width: 1280px) {
  .site-header__inner {
    gap: 10px;
  }

  .site-header__menu {
    gap: 6px;
  }

  .main-navigation a {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 13px;
  }

  .site-brand__copy small {
    display: none;
  }

  .site-brand__mark {
    width: 52px;
  }
}

.main-navigation a:hover,
.main-navigation .current-menu-item>a,
.main-navigation .current_page_item>a {
  background: rgba(16, 63, 90, .06);
  color: var(--sacred-blue) !important;
}

.main-navigation .current-menu-item>a::after,
.main-navigation .current_page_item>a::after {
  position: absolute;
  right: auto;
  bottom: 4px;
  left: 50%;
  width: 32px;
  height: 2px;
  transform: translateX(-50%);
  background: var(--sacred-gold);
  content: "";
}

.main-navigation .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  padding: 8px;
  border: 1px solid var(--sacred-line);
  border-radius: 12px;
  background: var(--sacred-paper);
  box-shadow: var(--sacred-shadow);
}

.main-navigation .sub-menu li,
.main-navigation .sub-menu a {
  width: 100%;
}

.site-header__search-trigger,
.search-trigger {
  color: var(--sacred-blue) !important;
}

.site-header__menu-trigger {
  border: 0;
  background: transparent;
  color: var(--sacred-blue-deep);
  font-family: FontAwesome !important;
  font-style: normal;
  font-weight: normal !important;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.btn,
button,
input[type="submit"] {
  border-radius: 8px !important;
  font-family: inherit !important;
  font-weight: 700 !important;
}

.btn--blue,
.mazar-listing-search__button,
input[type="submit"] {
  border-color: var(--sacred-blue) !important;
  background: var(--sacred-blue) !important;
  color: var(--sacred-white) !important;
}

.btn--orange,
.btn--dark-orange,
.btn--yellow {
  border-color: var(--sacred-gold) !important;
  background: var(--sacred-gold) !important;
  color: var(--sacred-blue-deep) !important;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
}

/* Home hero */
.sacred-hero {
  position: relative;
  min-height: min(730px, calc(100vh - 50px));
  overflow: hidden;
  background-color: var(--sacred-blue-deep);
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.sacred-hero__veil {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 27, 42, .26), rgba(4, 27, 42, .78) 65%, rgba(4, 27, 42, .94)),
    linear-gradient(0deg, rgba(4, 27, 42, .55), transparent 45%);
}

.sacred-hero__veil::after {
  position: absolute;
  top: 0;
  right: 0;
  width: min(60vw, 860px);
  height: 100%;
  background-image:
    linear-gradient(45deg, transparent 48%, rgba(219, 197, 143, .07) 49%, rgba(219, 197, 143, .07) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(219, 197, 143, .07) 49%, rgba(219, 197, 143, .07) 51%, transparent 52%);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000);
}

.sacred-hero__content {
  display: flex;
  min-height: min(730px, calc(100vh - 50px));
  padding-top: clamp(92px, 14vh, 118px);
  padding-bottom: 120px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.sacred-kicker {
  margin: 0 0 14px;
  color: var(--sacred-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sacred-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--sacred-white);
  font-size: clamp(42px, 6.4vw, 82px);
  line-height: 1.3;
  text-shadow: 0 5px 25px rgba(0, 0, 0, .25);
}

.sacred-hero__lead {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.9;
}

@media (min-width: 961px) {
  .sacred-hero__lead {
    max-width: none;
    white-space: nowrap;
  }
}

.sacred-hero__verse {
  max-width: 760px;
  margin: 24px 0 0;
  padding-right: 18px;
  border-right: 2px solid var(--sacred-gold);
  color: var(--sacred-gold-light);
  font-size: 14px;
}

.sacred-hero__actions {
  display: flex;
  margin-top: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.sacred-button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 23px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 750;
  text-decoration: none;
}

.sacred-button--gold {
  background: var(--sacred-gold);
  color: var(--sacred-blue-deep) !important;
}

.sacred-button--gold:hover {
  background: var(--sacred-gold-light);
}

.sacred-button--ghost {
  border-color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .06);
  color: var(--sacred-white) !important;
  backdrop-filter: blur(6px);
}

.sacred-button--ghost:hover {
  border-color: var(--sacred-gold-light);
  color: var(--sacred-gold-light) !important;
}

.sacred-hero__credit {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
  text-decoration: none;
}

/* Home navigation portals */
.sacred-portals {
  position: relative;
  z-index: 3;
  display: flex !important;
  flex-wrap: nowrap !important;
  margin-top: -56px;
  margin-bottom: 100px;
  overflow: hidden;
  border: 1px solid var(--sacred-line);
  border-radius: 14px;
  background: var(--sacred-paper);
  box-shadow: var(--sacred-shadow);
}

.sacred-portals a {
  display: flex;
  width: auto !important;
  min-width: 0;
  flex: 1 1 0 !important;
  min-height: 112px;
  padding: 18px 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid var(--sacred-line);
  color: var(--sacred-blue-deep);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.sacred-portals a:last-child {
  border-left: 0;
}

.sacred-portals a:hover {
  background: #f8f4e9;
  color: var(--sacred-burgundy);
}

.sacred-portals i {
  color: var(--sacred-gold);
  font-size: 25px;
}

/* Portrait feature */
.sacred-feature {
  display: grid;
  align-items: stretch;
  margin-bottom: 110px;
  overflow: hidden;
  grid-template-columns: minmax(320px, 46%) 1fr;
  border-radius: var(--sacred-radius);
  background: var(--sacred-paper);
  box-shadow: var(--sacred-shadow);
}

.sacred-feature__portrait {
  position: relative;
  min-height: 470px;
  overflow: hidden;
}

.sacred-feature__portrait::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  content: "";
  pointer-events: none;
}

.sacred-feature__portrait img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sacred-feature__portrait a {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 10px;
  color: rgba(255, 255, 255, .72);
  font-size: 9px;
  text-decoration: none;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .9);
}

.sacred-feature__content {
  position: relative;
  display: flex;
  padding: clamp(36px, 6vw, 78px);
  flex-direction: column;
  justify-content: center;
}

.sacred-feature__content::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(var(--sacred-gold), transparent 88%);
  content: "";
}

.sacred-feature h2 {
  margin: 0 0 22px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.55;
}

.sacred-feature__content>p:not(.sacred-kicker) {
  margin: 0 0 24px;
  color: #526169;
  font-size: 17px;
}

.sacred-text-link {
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--sacred-gold);
  color: var(--sacred-blue);
  font-weight: 750;
  text-decoration: none;
}

.sacred-text-link i {
  margin-right: 8px;
}

.sacred-section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.sacred-section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
}

/* Home content */
.full-width-split {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch;
  background: transparent;
}

.full-width-split__one,
.full-width-split__two {
  padding: clamp(42px, 6vw, 78px) !important;
  background: transparent !important;
}

.full-width-split__one {
  background: #e9eff0 !important;
}

.full-width-split__two {
  background: #eee7d9 !important;
}

.full-width-split__inner {
  float: none !important;
  display: flex;
  width: min(100%, 620px) !important;
  height: 100%;
  max-width: 620px;
  margin: 0 auto;
  flex-direction: column;
}

.full-width-split__inner>h2 {
  display: flex;
  min-height: 64px;
  margin: 0 0 24px !important;
  align-items: center;
  justify-content: center;
}

.full-width-split .event-summary {
  display: grid !important;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  height: 132px;
  min-height: 132px;
  box-sizing: border-box;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 12px !important;
  border: 1px solid var(--sacred-line);
  border-radius: 13px;
  background: var(--sacred-paper);
  box-shadow: var(--sacred-shadow-soft);
}

.full-width-split .event-summary>a {
  position: static !important;
  display: flex !important;
  width: 76px !important;
  min-width: 76px;
  height: 76px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

.full-width-split .event-summary__image,
.full-width-split .event-summary>a>img {
  position: static !important;
  display: block;
  width: 76px !important;
  height: 76px !important;
  max-width: none !important;
  object-fit: cover;
}

.full-width-split .event-summary__content {
  display: flex;
  min-width: 0;
  height: 100%;
  padding: 2px 12px !important;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.full-width-split .event-summary__title {
  display: -webkit-box;
  margin: 0 0 10px !important;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.full-width-split .event-summary__content>p {
  display: -webkit-box;
  margin: 0 !important;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.full-width-split .event-summary__date .event-summary__day {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.full-width-split .event-summary__date .event-summary__month {
  margin: 3px 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
}

.full-width-split .event-summary__date .event-summary__yer {
  font-size: 12px;
  line-height: 1;
  opacity: .82;
}

.full-width-split__inner>.no-margin {
  margin-top: auto !important;
  padding-top: 4px;
}

.event-summary:hover {
  transform: translateY(-2px);
  box-shadow: var(--sacred-shadow);
}

.event-summary__image,
.event-summary>a>img {
  border-radius: 9px;
  object-fit: cover;
}

.event-summary__date {
  overflow: hidden;
  border-radius: 9px !important;
  background: var(--sacred-blue) !important;
  color: var(--sacred-white) !important;
}

.event-summary__content {
  padding: 2px 16px;
}

.event-summary__title a {
  color: var(--sacred-blue-deep);
}

.hero-slider,
.hero-slider .glide__track,
.hero-slider .glide__slides,
.hero-slider .hero-slider__slide,
.hero-slider .hero-slider__interior {
  height: 560px !important;
  min-height: 560px !important;
}

.hero-slider {
  background: var(--sacred-paper);
}

.hero-slider__slide {
  background-color: var(--sacred-paper) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}

.hero-slider__overlay {
  padding: 24px 30px;
  border: 1px solid rgba(185, 137, 55, .2);
  border-radius: 12px;
  background: rgba(255, 253, 250, .34) !important;
  box-shadow: 0 12px 34px rgba(13, 36, 48, .08);
  backdrop-filter: blur(3px);
}

.hero-slider__overlay .headline,
.hero-slider__overlay p {
  color: var(--sacred-blue-deep) !important;
  text-shadow: none !important;
}

/* Interior page banners */
.page-banner {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-bottom: 3px solid var(--sacred-gold);
  background: var(--sacred-blue-deep);
}

.page-banner::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 42, 62, .48), rgba(8, 42, 62, .9));
  content: "";
}

.page-banner__bg-image {
  opacity: .82;
  filter: saturate(.82);
}

.page-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: right;
}

.page-banner__content::before {
  display: none;
  content: none;
}

.page-banner__title {
  margin: 0 0 8px;
  color: var(--sacred-white) !important;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.4;
}

.page-banner__title::after {
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 15px;
  margin-right: 0;
  margin-left: auto;
  background: var(--sacred-gold);
  content: "";
}

.page-banner__intro,
.page-banner__intro p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .82) !important;
  font-size: 18px;
}

/* Forms, article pages and media */
.search-overlay {
  z-index: 3000 !important;
}

.search-overlay__top {
  position: relative;
  z-index: 3001;
}

.search-overlay__close,
.search-overlay__icon,
#search-term {
  z-index: 3002;
}

input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
textarea,
select {
  border: 1px solid var(--sacred-line) !important;
  border-radius: 8px !important;
  background: var(--sacred-paper) !important;
  color: var(--sacred-ink) !important;
  font-family: inherit !important;
}

input:focus,
textarea:focus,
select:focus,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sacred-gold) !important;
  outline-offset: 2px;
}

.mazar-listing-search,
.generic-content,
.page-links,
.post-item,
.audio-item,
.video-item,
.event-gallery-group {
  border-color: var(--sacred-line) !important;
  border-radius: var(--sacred-radius) !important;
  background: var(--sacred-paper) !important;
  box-shadow: var(--sacred-shadow-soft) !important;
}

.mazar-listing-search {
  border-top: 3px solid var(--sacred-gold) !important;
}

.generic-content {
  padding: clamp(24px, 4vw, 46px);
}

.generic-content blockquote {
  padding: 18px 22px;
  border-right: 3px solid var(--sacred-gold);
  background: #f7f1e5;
}

.metabox {
  z-index: 20;
  overflow: hidden;
  border: 1px solid var(--sacred-line);
  border-radius: 9px;
  background: var(--sacred-paper);
  box-shadow: var(--sacred-shadow-soft);
}

.metabox--position-up {
  z-index: 20 !important;
  isolation: isolate;
}

.metabox__blog-home-link {
  background: #e7eef0 !important;
  color: var(--sacred-blue) !important;
}

.section-break {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--sacred-gold), transparent);
}

.event-gallery-group {
  border-top: 3px solid var(--sacred-gold) !important;
}

.gallery-image-card {
  border-color: var(--sacred-line) !important;
  background: #f8f5ee !important;
}

.mazar-listing-pagination .current,
.page-numbers.current {
  border-color: var(--sacred-blue) !important;
  background: var(--sacred-blue) !important;
  color: var(--sacred-white) !important;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 70px 0 28px !important;
  border-top: 3px solid var(--sacred-gold);
  background: var(--sacred-blue-deep) !important;
  color: rgba(255, 255, 255, .7);
}

.site-footer::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 48%, rgba(219, 197, 143, .035) 49%, rgba(219, 197, 143, .035) 51%, transparent 52%);
  background-size: 54px 54px;
  content: "";
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
}

.site-footer .headline,
.site-footer .school-logo-text,
.site-footer strong {
  color: var(--sacred-gold-light) !important;
}

.site-footer a {
  color: rgba(255, 255, 255, .78) !important;
}

.site-footer a:hover {
  color: var(--sacred-gold-light) !important;
}

.site-footer__lower {
  display: flex;
  margin-top: 42px;
  padding-top: 22px;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .5);
  font-size: 11px;
}

.site-footer__lower p {
  margin: 0;
}

.social-icons-list a {
  border: 1px solid rgba(219, 197, 143, .28);
}

@media (max-width: 1120px) {
  .site-brand__copy small {
    display: none;
  }

  .main-navigation a {
    padding-inline: 6px;
    font-size: 13px;
  }

  .sacred-portals {
    flex-wrap: nowrap !important;
  }
}

@media (max-width: 960px) {
  .site-header,
  .site-header__inner {
    min-height: 78px;
  }

  .site-brand__mark {
    width: 49px;
    height: 54px;
  }

  .site-brand__copy strong {
    font-size: 17px;
  }

  .site-header__menu-trigger,
  .site-header__search-trigger {
    display: block !important;
    padding: 9px;
    font-size: 21px;
  }

  .site-header__menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 78px);
    padding: 16px 22px 24px;
    overflow-y: auto;
    border-top: 1px solid var(--sacred-line);
    background: var(--sacred-paper);
    box-shadow: var(--sacred-shadow);
  }

  .site-header__menu--active {
    display: block;
  }

  .main-navigation ul,
  .site-header__util {
    align-items: stretch;
    flex-direction: column;
  }

  .main-navigation a {
    padding: 11px 14px;
    font-size: 15px;
  }

  .main-navigation .sub-menu {
    position: static;
    margin: 5px 14px;
    box-shadow: none;
  }

  .sacred-feature {
    grid-template-columns: 42% 1fr;
  }

  .full-width-split {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .site-header__inner {
    transform: translateX(8px);
  }

  .container,
  .container--narrow {
    width: min(100% - 28px, 1200px);
  }

  .sacred-hero,
  .sacred-hero__content {
    min-height: 650px;
  }

  .sacred-hero__content {
    padding-top: 60px;
    padding-bottom: 90px;
  }

  .sacred-hero h1 {
    font-size: 43px;
  }

  .sacred-hero__lead {
    font-size: 17px;
  }

  .sacred-portals {
    margin-top: -38px;
    margin-bottom: 70px;
    flex-wrap: nowrap !important;
  }

  .sacred-portals a {
    min-height: 94px;
    padding-inline: 6px;
    white-space: nowrap;
  }

  .full-width-split__one,
  .full-width-split__two {
    padding: 42px 14px !important;
  }

  .hero-slider,
  .hero-slider .glide__track,
  .hero-slider .glide__slides,
  .hero-slider .hero-slider__slide,
  .hero-slider .hero-slider__interior {
    height: 460px !important;
    min-height: 460px !important;
  }

  .site-footer__lower {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .sacred-portals {
    flex-wrap: wrap !important;
  }

  .sacred-portals a {
    width: 50% !important;
    flex: 0 0 50% !important;
    border-bottom: 1px solid var(--sacred-line);
  }

  .sacred-portals a:nth-child(2n) {
    border-left: 0;
  }

  .sacred-feature {
    margin-bottom: 76px;
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr) !important;
  }

  .sacred-feature__portrait {
    min-height: 360px;
  }

  .sacred-feature__content {
    padding: 28px 20px;
  }

  .sacred-feature__content::before {
    width: 3px;
    height: 100%;
    background: linear-gradient(var(--sacred-gold), transparent 88%);
  }

  .sacred-feature h2 {
    font-size: clamp(20px, 5vw, 30px);
    line-height: 1.55;
  }

  .sacred-feature__content>p:not(.sacred-kicker) {
    font-size: 13px;
  }
}

@media (max-width: 460px) {
  .site-brand__copy strong {
    font-size: 14px;
  }

  .sacred-hero h1 {
    font-size: 36px;
  }

  .sacred-hero__actions,
  .sacred-button {
    width: 100%;
  }
}

/* Keep the portrait and its text in one physical row at every zoom level. */
.sacred-feature {
  display: flex !important;
  align-items: stretch !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  direction: ltr;
}

.sacred-feature__portrait {
  float: none !important;
  width: 46% !important;
  min-width: 0;
  flex: 0 0 46% !important;
}

.sacred-feature__content {
  float: none !important;
  width: 54% !important;
  min-width: 0;
  flex: 1 1 54% !important;
  direction: rtl;
}

/* Present councils and journal posts as two columns inside one section. */
.full-width-split {
  display: flex !important;
  box-sizing: border-box;
  width: min(calc(100% - 32px), 1420px);
  margin: 0 auto 100px;
  padding: clamp(24px, 4vw, 48px);
  align-items: stretch;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: clamp(18px, 3vw, 38px);
  border: 1px solid var(--sacred-line);
  border-radius: var(--sacred-radius);
  background: #f3eee4 !important;
  box-shadow: var(--sacred-shadow-soft);
}

.full-width-split__one,
.full-width-split__two {
  float: none !important;
  box-sizing: border-box;
  width: 50% !important;
  min-width: 0;
  padding: clamp(18px, 2.4vw, 30px) !important;
  flex: 1 1 50% !important;
  border-radius: 14px;
}

.full-width-split__one {
  border: 1px solid #cfdddf;
  background: #e7eff1 !important;
}

.full-width-split__two {
  border: 1px solid #e0d4be;
  background: #f2eadb !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Scroll reveal motion */
.home-main {
  overflow-x: clip;
}

.scroll-reveal-ready .scroll-reveal {
  opacity: 0;
  transition:
    opacity 700ms ease var(--reveal-delay, 0ms),
    transform 850ms cubic-bezier(.2, .75, .25, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.scroll-reveal-ready .scroll-reveal--wave {
  transform: translateY(34px) rotate(1.5deg) scale(.97);
}

.scroll-reveal-ready .scroll-reveal--from-right {
  transform: translateX(70px);
}

.scroll-reveal-ready .scroll-reveal--from-left {
  transform: translateX(-70px);
}

.scroll-reveal-ready .scroll-reveal--rise {
  transform: translateY(42px);
}

.scroll-reveal-ready .scroll-reveal.is-revealed {
  opacity: 1;
  transform: translate(0, 0) rotate(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-ready .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 720px) {
  .site-header__menu {
    z-index: 2500;
  }

  .full-width-split {
    width: calc(100% - 28px);
    max-width: 100%;
    padding: 14px;
    flex-direction: column !important;
    gap: 16px;
  }

  .full-width-split__one,
  .full-width-split__two {
    box-sizing: border-box;
    width: 100% !important;
    padding: 18px !important;
    flex: 0 0 auto !important;
  }

  .full-width-split .event-summary {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100%;
    height: auto;
    min-height: 132px;
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .full-width-split .event-summary__content {
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .full-width-split .event-summary__title,
  .full-width-split .event-summary__title a {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .full-width-split .event-summary__content>p {
    -webkit-line-clamp: 3;
  }
}
