*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

img, svg {
  max-width: 100%;
  height: auto;
}

input, textarea, button { font: inherit; }
:root {
  --hram-bg: #f8f4ec;
  --hram-paper: #fffdf8;
  --hram-paper-2: #f2eadc;
  --hram-text: #161616;
  --hram-muted: #66615b;
  --hram-border: #d7cdbc;
  --hram-border-dark: #2c2925;
  --hram-accent: #7e2225;
  --hram-accent-dark: #4c1416;
  --hram-link: #1f1f1f;
  --hram-stone: #d8d0c2;
  --hram-shadow: 0 18px 42px rgba(22, 22, 22, .08);
  --hram-serif: Georgia, 'Times New Roman', Times, serif;
  --hram-sans: Ubuntu, Arial, sans-serif;
}

body {
  margin: 0;
  background: var(--hram-bg);
  color: var(--hram-text);
  font-family: var(--hram-sans);
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--hram-accent);
  outline-offset: 3px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
  outline: none;
}
.p-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .7rem 1rem;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--hram-text);
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.p-button:hover,
.p-button:focus-visible {
  color: var(--hram-accent);
}

a.p-button,
a.p-button:visited {
  color: var(--hram-text);
  text-decoration: none;
}

a.p-button:hover,
a.p-button:focus-visible {
  color: var(--hram-accent);
  text-decoration: none;
}

[class*="--dark"] .p-button {
  background: var(--hram-paper);
  color: var(--hram-text);
}

[class*="--dark"] .p-button:hover,
[class*="--dark"] .p-button:focus-visible {
  color: var(--hram-accent);
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(126, 34, 37, .035), transparent 34rem),
    linear-gradient(90deg, rgba(22, 22, 22, .018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(22, 22, 22, .012) 1px, transparent 1px);
  background-size: auto, 88px 88px, 88px 88px;
}

.hram-page {
  position: relative;
  min-height: 100vh;
}

.hram-page .row {
  width: calc(100% - 2rem);
  max-width: 1180px;
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
}

.hram-page .col-12,
.hram-page .col-10,
.hram-page .col-9,
.hram-page .col-8,
.hram-page .col-7,
.hram-page .col-6,
.hram-page .col-5,
.hram-page .col-4,
.hram-page .col-3,
.hram-page .col-2 {
  width: auto;
  max-width: none;
  flex-basis: auto;
}

.hram-page .col-12 { grid-column: span 12; }
.hram-page .col-10 { grid-column: span 10; }
.hram-page .col-9 { grid-column: span 9; }
.hram-page .col-8 { grid-column: span 8; }
.hram-page .col-7 { grid-column: span 7; }
.hram-page .col-6 { grid-column: span 6; }
.hram-page .col-5 { grid-column: span 5; }
.hram-page .col-4 { grid-column: span 4; }
.hram-page .col-3 { grid-column: span 3; }
.hram-page .col-2 { grid-column: span 2; }

.hram-page .p-section {
  padding-top: 2.2rem;
  padding-bottom: 2.2rem;
  padding-block: clamp(2.2rem, 5vw, 4rem);
}

.hram-page aside[class*="-sidebar"] {
  position: sticky;
  top: 1rem;
  display: grid;
  align-self: start;
  align-content: start;
  gap: 1.25rem;
}

.hram-qa-layout .row,
.hram-gallery-layout .row,
.hram-calendar-layout .row,
.hram-icons-layout .row,
.hram-news-listing-layout .row,
.hram-articles-listing-layout .row {
  align-items: start;
}

.hram-topbar {
  border-bottom: 1px solid var(--hram-border-dark);
  background: var(--hram-paper);
  font-size: .83rem;
}

.hram-topbar__inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  color: var(--hram-muted);
}

.hram-masthead {
  background: var(--hram-paper);
  border-bottom: 3px solid var(--hram-text);
}

.hram-masthead__inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.35rem 0 1.1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}

.hram-masthead__mark {
  width: 44px;
  height: 44px;
  border: 1px solid var(--hram-text);
  display: grid;
  place-items: center;
  color: var(--hram-text);
  font-family: var(--hram-serif);
  font-size: 1.35rem;
  text-decoration: none;
}

.hram-masthead__mark:hover,
.hram-masthead__mark:visited {
  border-color: var(--hram-text);
  color: var(--hram-text);
  text-decoration: none;
}

.hram-masthead__title {
  text-align: center;
  text-decoration: none;
}

.hram-masthead__title strong {
  display: block;
  color: var(--hram-text);
  font-family: var(--hram-serif);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: .9;
  font-weight: 500;
  letter-spacing: -.07em;
}

.hram-masthead__title:hover strong,
.hram-masthead__title:focus-visible strong {
  color: var(--hram-text);
}

.hram-masthead__title strong::first-letter {
  color: var(--hram-accent);
}

.hram-masthead__title span {
  display: block;
  margin-top: .45rem;
  color: var(--hram-muted);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hram-masthead__action {
  justify-self: end;
  color: var(--hram-text);
  text-decoration: none;
  border-bottom: 1px solid var(--hram-text);
  font-size: .92rem;
}

.hram-nav {
  background: var(--hram-paper);
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-nav__inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.75rem, 2.5vw, 2.35rem);
  flex-wrap: wrap;
  padding: .78rem 0;
}

.hram-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .055em;
  text-decoration: none;
  color: var(--hram-text);
}

.hram-nav a:hover {
  color: var(--hram-accent);
}

.hram-kicker,
.hram-section-label,
.hram-card__label {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hram-accent);
  font-weight: 700;
}

.hram-section-label {
  grid-column: 1 / -1;
  border-top: 3px solid var(--hram-text);
  padding-top: .65rem;
  margin: 0 0 .15rem;
  color: var(--hram-text);
}

.hram-alert {
  --hram-alert-accent: var(--hram-border-dark);
  --hram-alert-surface: var(--hram-paper);
  display: grid;
  gap: .35rem;
  margin: 0 0 1rem;
  padding: .95rem 1rem;
  background: var(--hram-alert-surface);
  border: 1px solid var(--hram-border-dark);
  border-left: .35rem solid var(--hram-alert-accent);
  color: var(--hram-text);
}

.hram-alert__title {
  display: block;
  color: var(--hram-alert-accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hram-alert p {
  margin: 0;
  color: var(--hram-muted);
}

.hram-alert a {
  color: inherit;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

.hram-alert--success {
  --hram-alert-accent: #3e6b4f;
  --hram-alert-surface: #f3f7ef;
}

.hram-alert--info {
  --hram-alert-accent: #3f6474;
  --hram-alert-surface: #eef5f6;
}

.hram-alert--warning {
  --hram-alert-accent: #8a6428;
  --hram-alert-surface: #fbf4e6;
}

.hram-alert--danger {
  --hram-alert-accent: var(--hram-accent);
  --hram-alert-surface: #fbefee;
}

.hram-alert + .hram-alert {
  margin-top: -.35rem;
}

.hram-hero {
  padding-top: 2rem;
}

.hram-lead-story {
  min-height: 35rem;
  background: var(--hram-paper);
  border: 1px solid var(--hram-border-dark);
  box-shadow: var(--hram-shadow);
  display: grid;
  grid-template-rows: minmax(17rem, 1fr) auto;
}

.hram-lead-story__image {
  border-bottom: 1px solid var(--hram-border-dark);
  background:
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.16)),
    radial-gradient(circle at 52% 38%, rgba(255,255,255,.55) 0 1.7rem, transparent 1.75rem),
    linear-gradient(90deg, transparent 0 28%, rgba(255,255,255,.48) 28% 32%, transparent 32%),
    linear-gradient(135deg, #cfc6b8, #eee6d8 38%, #afa796);
  position: relative;
  overflow: hidden;
}

.hram-lead-story__image::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 19%;
  width: min(22rem, 42vw);
  height: min(18rem, 34vw);
  transform: translateX(-50%);
  background:
    linear-gradient(var(--hram-text), var(--hram-text)) 50% 0 / 2px 36px no-repeat,
    linear-gradient(var(--hram-text), var(--hram-text)) 50% 11px / 24px 2px no-repeat,
    radial-gradient(ellipse at 50% 14%, rgba(36,34,31,.88) 0 20%, transparent 21%),
    linear-gradient(to bottom, rgba(255,253,248,.88) 0 15%, rgba(255,253,248,.9) 15% 100%);
  clip-path: polygon(50% 0, 60% 18%, 60% 32%, 82% 38%, 87% 100%, 13% 100%, 18% 38%, 40% 32%, 40% 18%);
  opacity: .82;
  filter: grayscale(15%);
}


.hram-lead-story__image--photo {
  display: block;
  background: var(--hram-paper-2);
}

.hram-lead-story__image--photo::before {
  content: none;
}

.hram-lead-story__image--photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 17rem;
  object-fit: cover;
}
.hram-lead-story__image::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 5.8rem;
  background: linear-gradient(180deg, transparent, rgba(22,22,22,.18));
}

.hram-lead-story__body {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.hram-lead-story h1 {
  font-family: var(--hram-serif);
  font-size: clamp(2.6rem, 6.2vw, 5.35rem);
  line-height: .9;
  font-weight: 500;
  letter-spacing: -.055em;
  margin: .4rem 0 .9rem;
}

.hram-lead-story p {
  max-width: 50rem;
  color: var(--hram-muted);
  font-size: 1.08rem;
  margin: 0 0 1.25rem;
}

.hram-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.hram-button-primary {
  background: var(--hram-text);
  color: var(--hram-paper);
  border-color: var(--hram-text);
}

.hram-button-primary:hover {
  background: var(--hram-accent);
  border-color: var(--hram-accent);
}

a.p-button.hram-button-primary,
a.p-button.hram-button-primary:visited {
  color: var(--hram-paper);
}

a.p-button.hram-button-primary:hover,
a.p-button.hram-button-primary:focus-visible {
  color: var(--hram-paper);
}

.hram-button-secondary {
  background: transparent;
  color: var(--hram-text);
  border-color: var(--hram-text);
}

.hram-button-secondary:hover {
  color: var(--hram-accent);
  border-color: var(--hram-accent);
}

a.p-button.hram-button-secondary,
a.p-button.hram-button-secondary:visited {
  color: var(--hram-text);
}

a.p-button.hram-button-secondary:hover,
a.p-button.hram-button-secondary:focus-visible {
  color: var(--hram-accent);
}

.hram-latest {
  border-top: 3px solid var(--hram-text);
  padding-top: .75rem;
}

.hram-latest h2,
.hram-events h2,
.hram-all-news h2,
.hram-section-title {
  font-family: var(--hram-serif);
  font-weight: 500;
  letter-spacing: -.045em;
}

.hram-latest h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: .95;
}

.hram-latest__item {
  display: grid;
  grid-template-columns: 7.25rem 1fr;
  gap: .95rem;
  padding: 1rem 0;
  border-top: 1px solid var(--hram-border);
  text-decoration: none;
}

.hram-latest__item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.hram-thumb {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--hram-border-dark);
  background:
    linear-gradient(135deg, rgba(22,22,22,.08), rgba(126,34,37,.08)),
    linear-gradient(135deg, var(--hram-stone), var(--hram-paper-2));
  position: relative;
  overflow: hidden;
}


.hram-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hram-thumb--image::after {
  content: none;
}
.hram-thumb::after {
  content: '';
  position: absolute;
  inset: 24% 28% 14%;
  border: 2px solid rgba(22,22,22,.26);
  border-top-left-radius: 48% 20%;
  border-top-right-radius: 48% 20%;
}

.hram-latest__item h3,
.hram-latest__item strong,
.hram-card h3,
.hram-news-column h3,
.hram-feature-card h3 {
  font-family: var(--hram-serif);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.05;
  margin: 0;
}

.hram-latest__item strong {
  display: inline;
  color: var(--hram-text);
  font-size: 1.45rem;
  text-decoration: none;
  transition: color .16s ease, border-color .16s ease;
}

.hram-latest__item:hover strong,
.hram-latest__item:focus-visible strong {
  color: var(--hram-accent);
}

.hram-latest__item p,
.hram-card p,
.hram-feature-card p,
.hram-news-column li p {
  color: var(--hram-muted);
  margin: .45rem 0 0;
}

.hram-date {
  display: block;
  color: var(--hram-accent);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: .35rem;
}

.hram-rule {
  border: 0;
  border-top: 1px solid var(--hram-border-dark);
  margin: 0;
}

.hram-today {
  padding-top: 0;
}

.hram-card {
  background: var(--hram-paper);
  border: 1px solid var(--hram-border-dark);
  min-height: 100%;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.hram-card--dark {
  background: var(--hram-text);
  color: var(--hram-paper);
}

.hram-card--dark p,
.hram-card--dark .hram-card__meta {
  color: rgba(255,253,248,.72);
}

.hram-card--dark,
[class*="sidebar-box--dark"],
[class*="side-box--dark"] {
  --hram-dark-label: #d8bd73;
}

.hram-card--dark .hram-card__label,
[class*="sidebar-box--dark"] .hram-card__label,
[class*="side-box--dark"] .hram-card__label {
  color: var(--hram-dark-label);
}

.hram-card__title {
  font-size: clamp(1.8rem, 3vw, 2.85rem);
  margin: .35rem 0 .85rem;
}

.hram-service-list {
  margin-top: 1.1rem;
  border-top: 1px solid currentColor;
}

.hram-service-list__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid rgba(255,253,248,.25);
}

.hram-card:not(.hram-card--dark) .hram-service-list__row {
  border-bottom-color: var(--hram-border);
}

.hram-service-list time {
  font-family: var(--hram-serif);
  font-size: 1.45rem;
  line-height: 1;
}

.hram-card__link,
.hram-text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.hram-feature-card {
  border-top: 3px solid var(--hram-text);
  padding-top: 1rem;
}

.hram-feature-card h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.hram-feature-card__image {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--hram-border-dark);
  margin-bottom: 1rem;
  background:
    linear-gradient(180deg, transparent, rgba(22,22,22,.16)),
    linear-gradient(135deg, #b5aa9d, #ebe4d7 45%, #9f9588);
  position: relative;
}

.hram-feature-card__image::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 18%;
  width: 36%;
  height: 60%;
  transform: translateX(-50%);
  background: rgba(255,253,248,.74);
  clip-path: polygon(50% 0, 63% 25%, 63% 38%, 82% 45%, 88% 100%, 12% 100%, 18% 45%, 37% 38%, 37% 25%);
}

.hram-editorial-grid {
  padding-top: 0;
}

.hram-events {
  background: var(--hram-paper);
  border-top: 1px solid var(--hram-border-dark);
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-events h2 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: .9;
  margin: 0;
}

.hram-event-list {
  border-top: 1px solid var(--hram-border-dark);
}

.hram-event {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--hram-border);
}

.hram-event__date {
  font-family: var(--hram-serif);
  font-size: 1.5rem;
  line-height: 1;
}

.hram-event h3 {
  margin: 0;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.02;
  letter-spacing: -.025em;
}

.hram-event h3 a,
.hram-event h3 a:visited {
  color: var(--hram-text);
  text-decoration: none;
}

.hram-event h3 a:hover,
.hram-event h3 a:focus-visible {
  color: var(--hram-accent);
}

.hram-event p {
  margin: .35rem 0 0;
  color: var(--hram-muted);
  line-height: 1.45;
}

.hram-all-news {
  padding-bottom: 4rem;
}

.hram-all-news h2 {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  line-height: .9;
  margin: 0 0 1rem;
}

.hram-news-column {
  border-top: 3px solid var(--hram-text);
  padding-top: .8rem;
}

.hram-news-column h3 {
  font-size: 1.7rem;
  margin-bottom: .6rem;
}

.hram-news-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hram-news-column li {
  border-top: 1px solid var(--hram-border);
  padding: .85rem 0;
}

.hram-news-column li:first-child {
  border-top: 0;
}

.hram-news-column a,
.hram-news-column a:visited {
  color: var(--hram-text);
  text-decoration: none;
}

.hram-news-column a:hover,
.hram-news-column a:focus-visible {
  color: var(--hram-accent);
}

.hram-news-column strong {
  display: block;
  font-family: var(--hram-serif);
  font-size: 1.25rem;
  line-height: 1.1;
  font-weight: 500;
}

.hram-search-band {
  background: var(--hram-text);
  color: var(--hram-paper);
  padding: 1.25rem 0;
}

.hram-search-band form {
  display: flex;
  gap: .75rem;
  align-items: center;
}

.hram-search-band label {
  font-family: var(--hram-serif);
  font-size: 1.4rem;
  white-space: nowrap;
}

.hram-search-band input {
  width: 100%;
  min-height: 2.8rem;
  border: 1px solid rgba(255,253,248,.45);
  background: transparent;
  color: var(--hram-paper);
  padding: .5rem .75rem;
}

.hram-search-band button {
  background: var(--hram-paper);
  color: var(--hram-text);
  border-color: var(--hram-paper);
}

/* Search results page
   -------------------------------------------------- */
.hram-search-hero .hram-article-title {
  max-width: none;
}

.hram-search-layout {
  align-items: start;
}

.hram-search-main {
  display: grid;
  gap: 1.55rem;
}

.hram-search-panel {
  background: var(--hram-paper);
  border: 1px solid var(--hram-border-dark);
  border-top: 4px solid var(--hram-text);
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
}

.hram-search-form {
  display: grid;
  gap: .7rem;
}

.hram-search-form label {
  color: var(--hram-accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hram-search-form__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: stretch;
}

.hram-search-form input {
  width: 100%;
  min-height: 3.15rem;
  border: 1px solid var(--hram-border-dark);
  background: #fffdf8;
  color: var(--hram-text);
  padding: .75rem .9rem;
  font: inherit;
}

.hram-search-form input::placeholder {
  color: var(--hram-muted);
}

.hram-search-form input:focus {
  border-color: var(--hram-accent);
  box-shadow: 0 0 0 3px rgba(126, 34, 37, .12);
  outline: 0;
}

.hram-search-form .p-button {
  min-width: 7.5rem;
}

.hram-search-results-header {
  border-bottom: 1px solid var(--hram-border-dark);
  padding-bottom: 1.1rem;
}

.hram-search-results-header h2 {
  margin: .35rem 0 .35rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.hram-search-results-header p {
  max-width: 42rem;
  margin: 0;
  color: var(--hram-muted);
}

.hram-search-results {
  display: grid;
  border-top: 3px solid var(--hram-text);
}

.hram-search-result {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-search-result__meta {
  margin-bottom: .4rem;
  color: var(--hram-accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hram-search-result h3 {
  margin: 0 0 .45rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.03;
  letter-spacing: -.04em;
}

.hram-search-result h3 a {
  color: var(--hram-text);
  text-decoration: none;
}

.hram-search-result h3 a:hover,
.hram-search-result h3 a:focus-visible {
  color: var(--hram-accent);
}

.hram-search-result p {
  max-width: 42rem;
  margin: 0;
  color: var(--hram-muted);
}

.hram-footer {
  background: #111;
  color: var(--hram-paper);
  padding: 2.5rem 0 1.5rem;
}

.hram-footer h2,
.hram-footer h3 {
  font-family: var(--hram-serif);
  font-weight: 500;
  letter-spacing: -.035em;
}

.hram-footer h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: .9;
  margin: 0;
}

.hram-footer p,
.hram-footer a,
.hram-footer li {
  color: rgba(255,253,248,.74);
}

.hram-footer a {
  text-decoration: none;
}

.hram-footer ul {
  list-style: none;
  padding: 0;
  margin: .75rem 0 0;
}

.hram-footer li + li {
  margin-top: .35rem;
}

.hram-footer-search {
  padding-bottom: 1.35rem;
  margin-bottom: .85rem;
  border-bottom: 1px solid rgba(255,253,248,.22);
}

.hram-footer-search form {
  display: flex;
  align-items: end;
  gap: .75rem;
  flex-wrap: wrap;
}

.hram-footer-search label {
  display: block;
  flex: 0 0 100%;
  color: var(--hram-paper);
  font-family: var(--hram-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hram-footer-search input {
  flex: 1 1 18rem;
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid rgba(255,253,248,.45);
  background: transparent;
  color: var(--hram-paper);
  padding: .5rem .75rem;
  font: inherit;
}

.hram-footer-search input::placeholder {
  color: rgba(255,253,248,.52);
}

.hram-footer-search .p-button {
  color: var(--hram-paper);
}

.hram-footer-search .p-button:hover,
.hram-footer-search .p-button:focus-visible {
  color: var(--hram-paper);
  background: var(--hram-accent);
  border-color: var(--hram-accent);
}

.hram-footer__bottom {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,253,248,.22);
  color: rgba(255,253,248,.58);
  font-size: .88rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.hram-footer a.hram-footer__top-link,
.hram-footer a.hram-footer__top-link:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: .25rem .65rem;
  border: 1px solid rgba(255,253,248,.35);
  color: var(--hram-paper);
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}

.hram-footer a.hram-footer__top-link:hover,
.hram-footer a.hram-footer__top-link:focus-visible {
  background: rgba(255,253,248,.08);
  border-color: var(--hram-paper);
  color: var(--hram-paper);
}

@media (max-width: 900px) {
  .hram-page .row {
    grid-template-columns: 1fr;
  }

  .hram-page aside[class*="-sidebar"] {
    position: static;
  }

  .hram-page .col-12,
  .hram-page .col-10,
  .hram-page .col-9,
  .hram-page .col-8,
  .hram-page .col-7,
  .hram-page .col-6,
  .hram-page .col-5,
  .hram-page .col-4,
  .hram-page .col-3,
  .hram-page .col-2 {
    grid-column: span 1;
  }

  .hram-topbar__inner { flex-direction: column; gap: .15rem; }
  .hram-masthead__inner { grid-template-columns: 1fr; text-align: center; }
  .hram-masthead__mark, .hram-masthead__action { justify-self: center; }
  .hram-nav__inner { justify-content: flex-start; gap: .75rem 1rem; padding-bottom: .95rem; }
  .hram-nav a { white-space: normal; }
  .hram-lead-story { min-height: auto; }
  .hram-lead-story__image { min-height: 17rem; }
  .hram-latest__item { grid-template-columns: 5.5rem 1fr; }
  .hram-event { grid-template-columns: 1fr; gap: .45rem; }
  .hram-search-band form { flex-direction: column; align-items: stretch; }
  .hram-search-band label { white-space: normal; }
  .hram-search-form__controls { grid-template-columns: 1fr; }
  .hram-search-form .p-button { width: 100%; }
}

@media (max-width: 520px) {
  .hram-footer-search form { align-items: stretch; }
  .hram-footer-search .p-button { width: 100%; }
  .hram-masthead__title strong { font-size: 3rem; }
  .hram-lead-story h1 { font-size: 3rem; }
  .hram-service-list__row { grid-template-columns: 1fr; gap: .25rem; }
  .hram-latest__item { grid-template-columns: 1fr; }
  .hram-thumb { width: 100%; }
}

/* Article reading page
   -------------------------------------------------- */

.hram-breadcrumbs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
  color: var(--hram-muted);
  font-size: .86rem;
}

.hram-breadcrumbs a {
  color: var(--hram-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.hram-breadcrumbs a:hover {
  color: var(--hram-accent);
  border-bottom-color: currentColor;
}

.hram-article-hero {
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(1.4rem, 3vw, 2.4rem);
  background: var(--hram-paper);
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-article-title {
  margin: .35rem 0 1rem;
  font-family: var(--hram-serif);
  font-size: clamp(3rem, 7.4vw, 7.6rem);
  font-weight: 500;
  line-height: .88;
  letter-spacing: -.068em;
  max-width: 11ch;
}

.hram-article-dek {
  margin: 0;
  max-width: 48rem;
  color: var(--hram-muted);
  font-family: var(--hram-serif);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.18;
}

.hram-article-hero--full .hram-article-title {
  max-width: none;
}

.hram-article-hero--full .hram-article-dek {
  max-width: 62rem;
}

.hram-article-meta {
  display: flex;
  gap: .6rem 1rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hram-border);
  color: var(--hram-muted);
  font-size: .9rem;
}

.hram-article-meta span + span::before {
  content: "•";
  margin-right: 1rem;
  color: var(--hram-accent);
}

.hram-article-summary {
  align-self: end;
  border-top: 3px solid var(--hram-text);
  padding-top: .9rem;
}

.hram-article-summary h2 {
  margin: 0 0 .7rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.hram-article-summary ol {
  margin: 0;
  padding-left: 1.2rem;
}

.hram-article-summary li + li {
  margin-top: .45rem;
}

.hram-article-summary a {
  color: var(--hram-text);
  text-decoration: none;
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-article-image {
  margin: 2rem 0 0;
}

.hram-article-image__art {
  min-height: clamp(18rem, 48vw, 38rem);
  border: 1px solid var(--hram-border-dark);
  background:
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.18)),
    radial-gradient(circle at 52% 36%, rgba(255,255,255,.55) 0 2.2rem, transparent 2.3rem),
    linear-gradient(90deg, transparent 0 28%, rgba(255,255,255,.48) 28% 32%, transparent 32%),
    linear-gradient(135deg, #c8bdae, #efe7dc 42%, #9d9386);
  position: relative;
  overflow: hidden;
}

.hram-article-image__art::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 14%;
  width: min(30rem, 48vw);
  height: min(26rem, 42vw);
  transform: translateX(-50%);
  background:
    linear-gradient(var(--hram-text), var(--hram-text)) 50% 0 / 2px 48px no-repeat,
    linear-gradient(var(--hram-text), var(--hram-text)) 50% 14px / 32px 2px no-repeat,
    radial-gradient(ellipse at 50% 15%, rgba(36,34,31,.9) 0 20%, transparent 21%),
    linear-gradient(to bottom, rgba(255,253,248,.88) 0 15%, rgba(255,253,248,.92) 15% 100%);
  clip-path: polygon(50% 0, 60% 18%, 60% 32%, 82% 38%, 87% 100%, 13% 100%, 18% 38%, 40% 32%, 40% 18%);
  opacity: .82;
}

.hram-article-image figcaption,
.hram-inline-figure figcaption {
  margin-top: .55rem;
  color: var(--hram-muted);
  font-size: .88rem;
}

.hram-article-layout {
  align-items: start;
  padding-top: clamp(2.4rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.4rem, 5vw, 4.5rem);
}

.hram-article-body {
  max-width: 47rem;
  margin-inline: auto;
  font-family: var(--hram-serif);
}

.hram-article-body :where(p, li, dd, blockquote) {
  font-family: inherit;
}

.hram-article-body p {
  margin: 0 0 1.35rem;
  font-size: clamp(1.16rem, 1.7vw, 1.36rem);
  line-height: 1.72;
}

.hram-article-body a {
  color: var(--hram-link);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  transition: color .16s ease, text-decoration-color .16s ease;
}

.hram-article-body a:hover,
.hram-article-body a:focus-visible {
  color: var(--hram-accent);
}

.hram-article-body h2 {
  margin: 2.4rem 0 1rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  line-height: .95;
  letter-spacing: -.05em;
}

.hram-dropcap::first-letter {
  float: left;
  padding: .08em .12em 0 0;
  font-family: var(--hram-serif);
  font-size: 5.4rem;
  line-height: .76;
  color: var(--hram-accent);
}

.hram-pullquote {
  margin: 2.3rem 0;
  padding: 1.3rem 0 1.3rem 1.4rem;
  border-left: 4px solid var(--hram-text);
}

.hram-pullquote p {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -.05em;
  color: var(--hram-text);
}

.hram-inline-figure {
  margin: 2rem 0;
}

.hram-inline-figure__image {
  min-height: 18rem;
  border: 1px solid var(--hram-border-dark);
  background:
    linear-gradient(135deg, rgba(22,22,22,.12), rgba(126,34,37,.08)),
    linear-gradient(135deg, var(--hram-stone), var(--hram-paper-2));
  position: relative;
  overflow: hidden;
}

.hram-inline-figure__image::after {
  content: '';
  position: absolute;
  inset: 20% 30% 12%;
  border: 3px solid rgba(22,22,22,.28);
  border-top-left-radius: 48% 20%;
  border-top-right-radius: 48% 20%;
}


.hram-sidebar-box {
  background: var(--hram-paper);
  border: 1px solid var(--hram-border-dark);
  padding: clamp(1rem, 2vw, 1.35rem);
}

.hram-sidebar-box--dark {
  background: var(--hram-text);
  color: var(--hram-paper);
}

.hram-sidebar-box--dark p {
  color: rgba(255,253,248,.74);
}

.hram-sidebar-box h2 {
  margin: .3rem 0 .75rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.hram-related-list {
  list-style: none;
  margin: .9rem 0 0;
  padding: 0;
}

.hram-related-list li {
  padding: .85rem 0;
  border-top: 1px solid var(--hram-border);
}

.hram-related-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.hram-related-list a {
  display: block;
  color: var(--hram-text);
  font-family: var(--hram-serif);
  font-size: 1.2rem;
  line-height: 1.1;
  text-decoration: none;
}

.hram-related-list span {
  display: block;
  margin-top: .3rem;
  color: var(--hram-muted);
  font-size: .82rem;
}

.hram-article-footer {
  padding-bottom: clamp(2.4rem, 5vw, 4.5rem);
}

.hram-next-prev {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 3px solid var(--hram-text);
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-next-prev a {
  display: block;
  min-height: 9rem;
  padding: 1.2rem;
  color: var(--hram-text);
  text-decoration: none;
}

.hram-next-prev a + a {
  border-left: 1px solid var(--hram-border-dark);
  text-align: right;
}

.hram-next-prev span {
  display: block;
  margin-bottom: .55rem;
  color: var(--hram-muted);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hram-next-prev strong {
  display: block;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.5vw, 2.3rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

@media (max-width: 900px) {
  .hram-article-title { max-width: none; }
  .hram-article-summary { align-self: auto; }

  .hram-article-body { max-width: none; }

  .hram-next-prev {
    grid-template-columns: 1fr;
  }

  .hram-next-prev a + a {
    border-left: 0;
    border-top: 1px solid var(--hram-border-dark);
    text-align: left;
  }

  .hram-article-meta span + span::before {
    content: "";
    margin: 0;
  }
}

@media (max-width: 520px) {
  .hram-article-title { font-size: 3.2rem; }
  .hram-dropcap::first-letter { font-size: 4.2rem; }
  .hram-article-body p { font-size: 1.08rem; }
}

/* Q&A page + moderated heading scale
   -------------------------------------------------- */

/* Reduce oversized h1 / editorial title sizes across the Gazette theme. */
.hram-masthead__title strong {
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  letter-spacing: -.055em;
}

.hram-lead-story h1 {
  font-size: clamp(2.25rem, 4.8vw, 4.25rem);
  line-height: .94;
  letter-spacing: -.045em;
}

.hram-article-title {
  font-size: clamp(2.35rem, 5.2vw, 4.9rem);
  line-height: .95;
  letter-spacing: -.052em;
  max-width: 13ch;
}

.hram-qa-title {
  margin: .35rem 0 1rem;
  font-family: var(--hram-serif);
  font-size: clamp(2.35rem, 5.2vw, 4.85rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.052em;
  max-width: 13ch;
}

.hram-qa-hero {
  padding: clamp(2rem, 5vw, 4.2rem) 0 clamp(1.6rem, 3vw, 2.5rem);
  background: var(--hram-paper);
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-qa-dek {
  margin: 0;
  max-width: 48rem;
  color: var(--hram-muted);
  font-family: var(--hram-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.22;
}

.hram-qa-search {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem;
  max-width: 52rem;
}

.hram-qa-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.hram-qa-search input {
  width: 100%;
  min-height: 3.1rem;
  border: 1px solid var(--hram-border-dark);
  background: #fff;
  color: var(--hram-text);
  padding: .75rem 1rem;
}

.hram-qa-search button {
  background: var(--hram-text);
  color: var(--hram-paper);
}

.hram-qa-feature {
  border-top: 3px solid var(--hram-text);
  padding-top: 1rem;
  align-self: end;
}

.hram-qa-feature h2 {
  margin: .35rem 0 .6rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.hram-qa-feature p {
  color: var(--hram-muted);
  margin: 0 0 1rem;
}

.hram-question-submit-section {
  padding-top: clamp(2.4rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.4rem, 5vw, 4.5rem);
}

.hram-question-form {
  background: var(--hram-paper);
  border: 1px solid var(--hram-border-dark);
  border-top: 3px solid var(--hram-text);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.hram-question-form__intro {
  max-width: 42rem;
  margin-bottom: 1.4rem;
}

.hram-question-form__intro h2 {
  margin: .35rem 0 .65rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.hram-question-form__intro p,
.hram-question-form__actions p {
  margin: 0;
  color: var(--hram-muted);
}

.hram-question-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hram-question-form__field {
  display: grid;
  gap: .45rem;
  margin-bottom: 1rem;
}

.hram-question-form__field label {
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hram-question-form__field input,
.hram-question-form__field textarea {
  width: 100%;
  border: 1px solid var(--hram-border-dark);
  background: #fff;
  color: var(--hram-text);
  padding: .75rem .85rem;
}

.hram-question-form__field input {
  min-height: 3rem;
}

.hram-question-form__field textarea {
  min-height: 14rem;
  resize: vertical;
}

.hram-question-form__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: .35rem;
}

.hram-question-form__submit {
  background: var(--hram-text);
  border-color: var(--hram-text);
  color: var(--hram-paper);
}
.hram-submission-modal-source[hidden] {
  display: none;
}

body.hram-submission-dialog-open {
  overflow: hidden;
}

.hram-submission-dialog {
  width: min(44rem, calc(100vw - 1rem));
  max-height: calc(100vh - 1rem);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hram-text);
}

.hram-submission-dialog::backdrop {
  background: rgba(27, 24, 21, .58);
}

.hram-submission-dialog__panel {
  position: relative;
  max-height: calc(100vh - 1rem);
  overflow: auto;
  background: var(--hram-paper);
  border: 1px solid var(--hram-border-dark);
  border-top: 4px solid var(--hram-text);
  box-shadow: 0 1.6rem 4rem rgba(27, 24, 21, .26);
}

.hram-submission-dialog__close {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  margin-left: auto;
  border: 0;
  border-left: 1px solid var(--hram-border-dark);
  border-bottom: 1px solid var(--hram-border-dark);
  background: var(--hram-paper);
  color: var(--hram-text);
  min-height: 2.65rem;
  padding: .55rem .85rem;
  font-weight: 700;
  cursor: pointer;
}

.hram-submission-dialog__close:hover,
.hram-submission-dialog__close:focus {
  background: var(--hram-text);
  color: var(--hram-paper);
}

.hram-submission-dialog .hram-question-submit-section {
  padding: 0;
}

.hram-submission-dialog .hram-question-form {
  border: 0;
  border-top: 1px solid var(--hram-border);
  padding: clamp(1rem, 3vw, 1.6rem);
}

.hram-submission-dialog .hram-question-form__intro h2 {
  font-size: clamp(1.75rem, 4vw, 2.45rem);
}

.hram-submission-dialog .hram-question-form__grid {
  grid-template-columns: 1fr;
}

.hram-submission-dialog .hram-question-form__field textarea {
  min-height: 8rem;
}

.hram-qa-layout {
  padding-top: clamp(2.4rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.4rem, 5vw, 4.5rem);
}


.hram-qa-categories {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-qa-categories a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: .45rem .8rem;
  border: 1px solid var(--hram-border);
  background: var(--hram-paper);
  color: var(--hram-text);
  text-decoration: none;
  font-size: .9rem;
}

.hram-qa-categories a[aria-current="true"],
.hram-qa-categories a:hover {
  background: var(--hram-text);
  border-color: var(--hram-text);
  color: var(--hram-paper);
}

.hram-question-list {
  display: grid;
  gap: 0;
  border-top: 3px solid var(--hram-text);
}

.hram-question-item {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-question-item__meta {
  color: var(--hram-muted);
  font-size: .86rem;
}

.hram-question-item__meta strong {
  display: block;
  color: var(--hram-accent);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hram-question-item h2 {
  margin: 0 0 .55rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -.042em;
}

.hram-question-item h2 a {
  color: var(--hram-text);
  text-decoration: none;
}

.hram-question-item h2 a:hover {
  color: var(--hram-accent);
}

.hram-question-item p {
  margin: 0 0 .8rem;
  color: var(--hram-muted);
}


.hram-ask-box {
  background: var(--hram-text);
  color: var(--hram-paper);
  border: 1px solid var(--hram-text);
  padding: clamp(1rem, 2vw, 1.35rem);
}

.hram-ask-box h2,
.hram-qa-side-box h2 {
  margin: .3rem 0 .75rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.hram-ask-box p {
  color: rgba(255,253,248,.72);
}

.hram-ask-box .p-button {
  background: var(--hram-paper);
  color: var(--hram-text);
}

.hram-qa-side-box {
  background: var(--hram-paper);
  border: 1px solid var(--hram-border-dark);
  padding: clamp(1rem, 2vw, 1.35rem);
}

.hram-qa-topic-list,
.hram-qa-popular-list {
  list-style: none;
  margin: .85rem 0 0;
  padding: 0;
}

.hram-qa-topic-list li,
.hram-qa-popular-list li {
  padding: .75rem 0;
  border-top: 1px solid var(--hram-border);
}

.hram-qa-topic-list li:first-child,
.hram-qa-popular-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.hram-qa-topic-list a,
.hram-qa-popular-list a {
  color: var(--hram-text);
  text-decoration: none;
}

.hram-qa-popular-list a {
  display: block;
  font-family: var(--hram-serif);
  font-size: 1.18rem;
  line-height: 1.12;
}

.hram-pagination {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hram-pagination a,
.hram-pagination span {
  display: inline-grid;
  place-items: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding-inline: .75rem;
  border: 1px solid var(--hram-border-dark);
  color: var(--hram-text);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.hram-pagination span {
  background: var(--hram-text);
  color: var(--hram-paper);
}

.hram-qa-detail-layout {
  align-items: start;
  padding-top: clamp(2.4rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.4rem, 5vw, 4.5rem);
}

.hram-qa-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hram-border);
  color: var(--hram-muted);
  font-size: .9rem;
}

.hram-qa-detail-meta span {
  display: inline-flex;
  align-items: center;
}

.hram-qa-detail-meta span + span::before {
  content: "";
  width: .28rem;
  height: .28rem;
  margin-right: 1rem;
  border-radius: 999px;
  background: var(--hram-border-dark);
}

.hram-qa-dialogue {
  display: grid;
  gap: 1.4rem;
}

.hram-content-block,
.hram-qa-question-block,
.hram-qa-answer-block {
  background: var(--hram-paper);
  border: 1px solid var(--hram-border-dark);
  border-top: 3px solid var(--hram-text);
  padding: clamp(1.15rem, 2.6vw, 1.8rem);
}

.hram-content-block h2,
.hram-qa-question-block h2,
.hram-qa-answer-block h2 {
  margin: .3rem 0 .9rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.hram-qa-question-block p {
  margin: 0 0 1rem;
  color: var(--hram-text);
  font-family: var(--hram-serif);
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  line-height: 1.65;
}

.hram-qa-question-block p:last-child {
  margin-bottom: 0;
}

.hram-qa-question-block .hram-qa-author {
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--hram-border);
  color: var(--hram-muted);
  font-family: var(--hram-sans);
  font-size: .92rem;
}

.hram-qa-answer-body {
  max-width: none;
  margin-inline: 0;
}

.hram-qa-answer-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .hram-masthead__title strong {
    font-size: 2.65rem;
  }

  .hram-lead-story h1,
  .hram-article-title,
  .hram-qa-title {
    max-width: none;
    font-size: clamp(2.25rem, 10vw, 3.4rem);
  }

  .hram-qa-feature {
    position: static;
  }

  .hram-question-item {
    grid-template-columns: 1fr;
    gap: .6rem;
  }
}

@media (max-width: 560px) {
  .hram-qa-search,
  .hram-question-form__grid {
    grid-template-columns: 1fr;
  }

  .hram-question-form__actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Photo gallery page
   -------------------------------------------------- */

.hram-gallery-hero {
  padding: clamp(2rem, 5vw, 4.2rem) 0 clamp(1.6rem, 3vw, 2.5rem);
  background: var(--hram-paper);
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-gallery-title {
  margin: .35rem 0 1rem;
  font-family: var(--hram-serif);
  font-size: clamp(2.35rem, 5.2vw, 4.85rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.052em;
  max-width: 13ch;
}

.hram-gallery-dek {
  margin: 0;
  max-width: 48rem;
  color: var(--hram-muted);
  font-family: var(--hram-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.22;
}

.hram-gallery-feature {
  align-self: end;
  border-top: 3px solid var(--hram-text);
  padding-top: 1rem;
}

.hram-gallery-feature h2 {
  margin: .35rem 0 .6rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.hram-gallery-feature p {
  color: var(--hram-muted);
  margin: 0 0 1rem;
}

.hram-gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-gallery-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: .45rem .8rem;
  border: 1px solid var(--hram-border);
  background: var(--hram-paper);
  color: var(--hram-text);
  text-decoration: none;
  font-size: .9rem;
}

.hram-gallery-tabs a[aria-current="true"],
.hram-gallery-tabs a:hover {
  background: var(--hram-text);
  border-color: var(--hram-text);
  color: var(--hram-paper);
}

.hram-gallery-layout {
  padding-top: clamp(2.4rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.4rem, 5vw, 4.5rem);
}

.hram-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.hram-gallery-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--hram-border-dark);
  border-top: 3px solid var(--hram-text);
  background: var(--hram-paper);
}

.hram-gallery-card--large {
  grid-column: span 2;
}

.hram-gallery-card__image {
  display: block;
  background:
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.16)),
    linear-gradient(135deg, var(--hram-stone), var(--hram-paper-2));
  padding: clamp(.65rem, 1.4vw, 1rem);
  position: relative;
  overflow: hidden;
}

.hram-gallery-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--hram-border-dark);
  object-fit: cover;
}

.hram-gallery-card--large .hram-gallery-card__image img {
  aspect-ratio: 16 / 9;
}

.hram-gallery-card__image::before {
  content: '';
  position: absolute;
  inset: 18% 22% 12%;
  border: 3px solid rgba(22,22,22,.28);
  border-top-left-radius: 48% 22%;
  border-top-right-radius: 48% 22%;
  opacity: .75;
}

.hram-gallery-card:nth-child(2n) .hram-gallery-card__image {
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.18)),
    linear-gradient(135deg, #d9d1c5, #f7f0e4 48%, #b7aa99);
}

.hram-gallery-card:nth-child(3n) .hram-gallery-card__image {
  background:
    linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.16)),
    linear-gradient(135deg, #cfd2ce, #f6f1e9 50%, #a99f94);
}

.hram-gallery-card__body {
  padding: 1rem;
}

.hram-gallery-card__body h2 {
  margin: 0 0 .4rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.hram-gallery-card--large .hram-gallery-card__body h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
  line-height: 1;
}

.hram-gallery-card__body h2 a {
  color: var(--hram-text);
  text-decoration: none;
}

.hram-gallery-card__body h2 a:hover {
  color: var(--hram-accent);
}

.hram-gallery-card__body p {
  margin: 0 0 .75rem;
  color: var(--hram-muted);
}

.hram-gallery-meta {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  color: var(--hram-muted);
  font-size: .85rem;
}


.hram-gallery-side-box {
  background: var(--hram-paper);
  border: 1px solid var(--hram-border-dark);
  padding: clamp(1rem, 2vw, 1.35rem);
}

.hram-gallery-side-box--dark {
  background: var(--hram-text);
  color: var(--hram-paper);
}

.hram-gallery-side-box--dark p {
  color: rgba(255,253,248,.72);
}

.hram-gallery-side-box h2 {
  margin: .3rem 0 .75rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.hram-gallery-list {
  list-style: none;
  margin: .85rem 0 0;
  padding: 0;
}

.hram-gallery-list li {
  padding: .75rem 0;
  border-top: 1px solid var(--hram-border);
}

.hram-gallery-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.hram-gallery-list a {
  display: block;
  color: var(--hram-text);
  font-family: var(--hram-serif);
  font-size: 1.15rem;
  line-height: 1.12;
  text-decoration: none;
}

.hram-gallery-list span {
  display: block;
  margin-top: .25rem;
  color: var(--hram-muted);
  font-size: .82rem;
}

.hram-photo-strip {
  padding: clamp(2.2rem, 5vw, 4rem) 0;
  background: var(--hram-text);
  color: var(--hram-paper);
}

.hram-photo-strip h2 {
  margin: 0 0 1.2rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: .95;
  letter-spacing: -.05em;
}

.hram-photo-strip__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .75rem;
}

.hram-photo-thumb {
  min-height: 9rem;
  border: 1px solid rgba(255,253,248,.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.2)),
    linear-gradient(135deg, #9d9386, #e8dfd2);
  position: relative;
  overflow: hidden;
}

.hram-photo-thumb::after {
  content: '';
  position: absolute;
  inset: 24% 30% 14%;
  border: 2px solid rgba(255,253,248,.35);
  border-top-left-radius: 50% 25%;
  border-top-right-radius: 50% 25%;
}



.hram-album-meta {
  display: flex;
  gap: .6rem 1rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hram-border);
  color: var(--hram-muted);
  font-size: .9rem;
}

.hram-album-layout {
  padding-top: clamp(2.4rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.4rem, 5vw, 4.5rem);
}

.hram-album-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-top: .75rem;
  border-top: 3px solid var(--hram-text);
}

.hram-album-toolbar h2 {
  margin: .25rem 0 0;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 3.4rem);
  line-height: .95;
  letter-spacing: -.045em;
}

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

.hram-album-photo {
  margin: 0;
  background: var(--hram-paper);
  border: 1px solid var(--hram-border-dark);
}

.hram-album-photo--large {
  grid-column: span 2;
  grid-row: span 2;
}

.hram-album-photo a {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--hram-paper-2);
  border-bottom: 1px solid var(--hram-border-dark);
  overflow: hidden;
}

.hram-album-photo--large a {
  aspect-ratio: 4 / 3.05;
}

.hram-album-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

.hram-album-photo a:hover img {
  transform: scale(1.025);
}

.hram-album-photo figcaption {
  padding: .7rem .75rem .8rem;
  color: var(--hram-muted);
  font-size: .88rem;
  line-height: 1.35;
}

.hram-album-photo figcaption span {
  display: block;
  margin-bottom: .18rem;
  color: var(--hram-accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hram-album-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hram-border-dark);
}

.hram-album-nav a {
  color: var(--hram-text);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

@media (max-width: 900px) {
  .hram-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hram-gallery-title {
    max-width: none;
    font-size: clamp(2.25rem, 10vw, 3.4rem);
  }

  .hram-gallery-feature {
    position: static;
  }

  .hram-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hram-gallery-card--large {
    grid-column: span 2;
  }

  .hram-photo-strip__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hram-album-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hram-album-grid {
    grid-template-columns: 1fr;
  }

  .hram-album-photo--large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .hram-gallery-grid {
    grid-template-columns: 1fr;
  }

  .hram-gallery-card--large {
    grid-column: span 1;
  }

  .hram-photo-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Editorial mega-menu
   -------------------------------------------------- */

.hram-nav__inner {
  position: relative;
}

.hram-nav a[aria-current="page"] {
  color: var(--hram-accent);
}

.hram-nav-more {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.hram-nav-more__button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 0;
  background: transparent;
  color: var(--hram-text);
  font: inherit;
  font-size: .88rem;
  letter-spacing: .055em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  min-height: 2.25rem;
}

.hram-nav-more__button::after {
  content: "";
  width: .42rem;
  height: .42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-.12rem);
}

.hram-nav-more__button:hover,
.hram-nav-more__button[aria-expanded="true"] {
  color: var(--hram-accent);
}

.hram-mega-menu {
  position: absolute;
  top: calc(100% + .85rem);
  right: 0;
  z-index: 60;
  display: none;
  width: min(920px, calc(100vw - 2rem));
  background: var(--hram-paper);
  color: var(--hram-text);
  border: 1px solid var(--hram-border-dark);
  box-shadow: var(--hram-shadow);
}

.hram-nav-more.is-open .hram-mega-menu {
  display: block;
}

.hram-mega-menu::before {
  content: "";
  position: absolute;
  top: -.55rem;
  right: 2.2rem;
  width: 1rem;
  height: 1rem;
  background: var(--hram-paper);
  border-left: 1px solid var(--hram-border-dark);
  border-top: 1px solid var(--hram-border-dark);
  transform: rotate(45deg);
}

.hram-mega-menu__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 0;
}

.hram-mega-menu__feature {
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
  background:
    linear-gradient(180deg, rgba(126,34,37,.06), transparent 60%),
    var(--hram-paper-2);
  border-right: 1px solid var(--hram-border-dark);
}

.hram-mega-menu__feature h2 {
  margin: .35rem 0 .65rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.7vw, 2.45rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.hram-mega-menu__feature p {
  margin: 0 0 1rem;
  color: var(--hram-muted);
  font-size: .95rem;
  line-height: 1.45;
}

.hram-mega-menu__columns {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hram-mega-menu__column {
  padding: clamp(1.05rem, 2vw, 1.45rem);
  border-right: 1px solid var(--hram-border);
}

.hram-mega-menu__column:last-child {
  border-right: 0;
}

.hram-mega-menu__column h3 {
  margin: 0 0 .8rem;
  color: var(--hram-accent);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hram-mega-menu__column a {
  display: block;
  padding: .42rem 0;
  color: var(--hram-text);
  text-decoration: none;
  font-family: var(--hram-sans);
  font-size: .88rem;
  line-height: 1.25;
}

.hram-mega-menu__column a span {
  display: block;
  margin-top: .16rem;
  color: var(--hram-muted);
  font-family: var(--hram-sans);
  font-size: .76rem;
  line-height: 1.35;
}

.hram-mega-menu__column a + a {
  border-top: 1px solid var(--hram-border);
}

.hram-mega-menu__column a:hover {
  color: var(--hram-accent);
}

.hram-mega-menu__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem clamp(1.05rem, 2vw, 1.45rem);
  border-top: 1px solid var(--hram-border-dark);
  background: var(--hram-paper);
  color: var(--hram-muted);
  font-size: .86rem;
}

.hram-mega-menu__bottom a {
  color: var(--hram-accent);
  text-decoration: none;
  font-weight: 700;
}

.hram-mega-menu__bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .hram-nav__inner {
    align-items: flex-start;
  }

  .hram-nav-more {
    display: block;
    width: 100%;
  }

  .hram-nav-more__button {
    min-height: 2.5rem;
  }

  .hram-mega-menu {
    position: static;
    width: 100%;
    margin-top: .75rem;
    box-shadow: none;
  }

  .hram-mega-menu::before {
    display: none;
  }

  .hram-mega-menu__inner {
    grid-template-columns: 1fr;
  }

  .hram-mega-menu__feature {
    border-right: 0;
    border-bottom: 1px solid var(--hram-border-dark);
  }

  .hram-mega-menu__columns {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .hram-mega-menu__column {
    border-right: 0;
    border-bottom: 1px solid var(--hram-border);
  }

  .hram-mega-menu__column:last-child {
    border-bottom: 0;
  }

  .hram-mega-menu__bottom {
    flex-direction: column;
  }
}

/* Ask question form polish */
.hram-page .hram-question-form {
  display: block;
  max-width: 100%;
  background: var(--hram-paper);
  border: 1px solid var(--hram-border-dark);
  border-top: 4px solid var(--hram-text);
  box-shadow: var(--hram-shadow);
  padding: clamp(1.25rem, 3.2vw, 2.25rem);
}

.hram-page .hram-question-form__intro {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.8rem);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hram-border);
}

.hram-page .hram-question-form__intro h2 {
  color: var(--hram-text);
  font-family: var(--hram-serif);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.045em;
}

.hram-page .hram-question-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hram-page .hram-question-form__field {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: 1.05rem;
}

.hram-page .hram-question-form__field label {
  display: block;
  color: var(--hram-text);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hram-page .hram-question-form__field input,
.hram-page .hram-question-form__field textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--hram-border-dark);
  background: #fffdf8;
  color: var(--hram-text);
  font: inherit;
  line-height: 1.45;
  padding: .78rem .9rem;
}

.hram-page .hram-question-form__field input {
  min-height: 3.15rem;
}

.hram-page .hram-question-form__field textarea {
  min-height: 15rem;
  resize: vertical;
}

.hram-page .hram-question-form__field input:focus,
.hram-page .hram-question-form__field textarea:focus {
  border-color: var(--hram-accent);
  box-shadow: 0 0 0 3px rgba(126, 34, 37, .12);
}

.hram-page .hram-question-form__actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin-top: .35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hram-border);
}

.hram-page .hram-question-form__submit {
  min-width: 9.5rem;
  background: var(--hram-text);
  border-color: var(--hram-text);
  color: var(--hram-paper);
}

.hram-page .hram-question-form__submit:hover {
  background: var(--hram-accent);
  border-color: var(--hram-accent);
}

@media (max-width: 700px) {
  .hram-page .hram-question-form__grid,
  .hram-page .hram-question-form__actions {
    grid-template-columns: 1fr;
  }

  .hram-page .hram-question-form__submit {
    width: 100%;
  }
}
/* Photo viewer / lightbox */
body.hram-photo-viewer-open {
  overflow: hidden;
}

.hram-photo-viewer[hidden] {
  display: none;
}

.hram-photo-viewer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(17, 17, 17, .88);
}

.hram-photo-viewer__panel {
  width: min(1120px, 100%);
  max-height: calc(100vh - 2rem);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: .85rem;
  color: var(--hram-paper);
}

.hram-photo-viewer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hram-photo-viewer__count {
  color: rgba(255, 253, 248, .78);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hram-photo-viewer__close,
.hram-photo-viewer__nav {
  min-height: 2.55rem;
  border: 1px solid rgba(255, 253, 248, .65);
  background: rgba(255, 253, 248, .08);
  color: var(--hram-paper);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: .55rem .85rem;
}

.hram-photo-viewer__close:hover,
.hram-photo-viewer__nav:hover,
.hram-photo-viewer__close:focus,
.hram-photo-viewer__nav:focus {
  background: var(--hram-paper);
  color: var(--hram-text);
}

.hram-photo-viewer__stage {
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
}

.hram-photo-viewer__image {
  display: block;
  width: 100%;
  max-height: min(72vh, 760px);
  object-fit: contain;
  background: var(--hram-paper);
  border: 1px solid rgba(255, 253, 248, .45);
}

.hram-photo-viewer__caption {
  margin: 0;
  color: rgba(255, 253, 248, .82);
  font-size: .95rem;
  line-height: 1.45;
}

@media (max-width: 700px) {
  .hram-photo-viewer {
    padding: .75rem;
  }

  .hram-photo-viewer__stage {
    grid-template-columns: 1fr 1fr;
  }

  .hram-photo-viewer__image {
    grid-column: 1 / -1;
    grid-row: 1;
    max-height: 68vh;
  }

  .hram-photo-viewer__nav {
    grid-row: 2;
    width: 100%;
  }

  .hram-photo-viewer__nav--prev {
    grid-column: 1;
  }

  .hram-photo-viewer__nav--next {
    grid-column: 2;
  }
}
/* Orthodox calendar page
   -------------------------------------------------- */

.hram-calendar-hero {
  padding: clamp(2rem, 5vw, 4.2rem) 0 clamp(1.6rem, 3vw, 2.5rem);
  background: var(--hram-paper);
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-calendar-title {
  max-width: 13ch;
  margin: .35rem 0 1rem;
  font-family: var(--hram-serif);
  font-size: clamp(2.35rem, 5.2vw, 4.85rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.052em;
}

.hram-calendar-dek {
  max-width: 48rem;
  margin: 0;
  color: var(--hram-muted);
  font-family: var(--hram-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.22;
}

.hram-calendar-feature {
  align-self: end;
  border-top: 3px solid var(--hram-text);
  padding-top: 1rem;
}

.hram-calendar-feature h2,
.hram-calendar-section-header h2,
.hram-calendar-widget h2,
.hram-calendar-side-box h2 {
  margin: .3rem 0 .75rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.hram-calendar-feature p,
.hram-calendar-section-header p,
.hram-calendar-side-box p {
  margin: 0 0 1rem;
  color: var(--hram-muted);
}

.hram-calendar-layout {
  padding-top: clamp(2.4rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.4rem, 5vw, 4.5rem);
}

.hram-calendar-section-header {
  margin-top: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 3px solid var(--hram-text);
}

.hram-calendar-event-list {
  display: grid;
  gap: 0;
}

.hram-calendar-event {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-calendar-event__date {
  color: var(--hram-accent);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hram-calendar-event__type {
  display: inline-flex;
  margin-bottom: .45rem;
  color: var(--hram-muted);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hram-calendar-event h3 {
  margin: 0 0 .55rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.02;
  letter-spacing: -.042em;
}

.hram-calendar-event p {
  max-width: 43rem;
  margin: 0;
  color: var(--hram-muted);
}

.hram-calendar-event--feast .hram-calendar-event__type {
  color: var(--hram-accent);
}

.hram-calendar-event--fast .hram-calendar-event__type {
  color: #6f5f30;
}

.hram-calendar-event--memory .hram-calendar-event__type {
  color: #57655a;
}

.hram-calendar-event--parish .hram-calendar-event__type {
  color: #5f526b;
}

.hram-calendar-empty {
  margin-top: 1.4rem;
  border: 1px solid var(--hram-border-dark);
  background: var(--hram-paper);
  padding: clamp(1rem, 2vw, 1.35rem);
}

.hram-calendar-empty h3 {
  margin: 0 0 .45rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: 1.65rem;
  line-height: 1;
}

.hram-calendar-empty p {
  margin: 0;
  color: var(--hram-muted);
}


.hram-calendar-widget,
.hram-calendar-side-box {
  background: var(--hram-paper);
  border: 1px solid var(--hram-border-dark);
  padding: clamp(1rem, 2vw, 1.35rem);
}

.hram-calendar-side-box--dark {
  background: var(--hram-text);
  color: var(--hram-paper);
}

.hram-calendar-side-box--dark p {
  color: rgba(255,253,248,.72);
}

.hram-calendar-widget__controls {
  display: grid;
  grid-template-columns: 2.55rem minmax(0, 1fr) 2.55rem;
  gap: .65rem;
  align-items: end;
  margin-bottom: 1rem;
}

.hram-calendar-widget__selects {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(5.5rem, .75fr);
  gap: .6rem;
}

.hram-calendar-widget label {
  display: grid;
  gap: .35rem;
  color: var(--hram-text);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hram-calendar-widget select,
.hram-calendar-widget input {
  width: 100%;
  min-height: 2.55rem;
  border: 1px solid var(--hram-border-dark);
  border-radius: 0;
  background: var(--hram-paper-2);
  color: var(--hram-text);
  font: inherit;
  padding: .45rem .55rem;
}

.hram-calendar-widget select:focus,
.hram-calendar-widget input:focus,
.hram-calendar-day:focus,
.hram-calendar-icon-button:focus {
  border-color: var(--hram-accent);
  box-shadow: 0 0 0 3px rgba(126, 34, 37, .12);
  outline: 0;
}

.hram-calendar-icon-button {
  display: inline-grid;
  place-items: center;
  min-width: 2.55rem;
  min-height: 2.55rem;
  border: 1px solid var(--hram-border-dark);
  background: var(--hram-paper-2);
  color: var(--hram-text);
  cursor: pointer;
  font-family: var(--hram-serif);
  font-size: 1.75rem;
  line-height: 1;
}

.hram-calendar-icon-button:hover,
.hram-calendar-day:hover {
  background: var(--hram-text);
  border-color: var(--hram-text);
  color: var(--hram-paper);
}

.hram-calendar-weekdays,
.hram-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.hram-calendar-weekdays {
  margin-bottom: .35rem;
  color: var(--hram-muted);
  font-size: .74rem;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}

.hram-calendar-day {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-height: 2.65rem;
  border: 1px solid var(--hram-border);
  border-right: 0;
  border-bottom: 0;
  background: transparent;
  color: var(--hram-text);
  cursor: pointer;
  font: inherit;
}

.hram-calendar-day:nth-child(7n) {
  border-right: 1px solid var(--hram-border);
}

.hram-calendar-day:nth-last-child(-n + 7) {
  border-bottom: 1px solid var(--hram-border);
}

.hram-calendar-day.is-outside {
  color: rgba(22,22,22,.32);
}
.hram-calendar-day:hover,
.hram-calendar-day:focus-visible {
  background: var(--hram-paper-2);
  color: var(--hram-text);
  box-shadow: inset 0 0 0 1px var(--hram-border-dark);
}

.hram-calendar-day.is-outside:hover,
.hram-calendar-day.is-outside:focus-visible {
  background: #f6efe4;
  color: var(--hram-muted);
}

.hram-calendar-day.has-events::after {
  content: '';
  position: absolute;
  bottom: .32rem;
  left: 50%;
  width: .32rem;
  height: .32rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--hram-accent);
}

.hram-calendar-day.is-selected {
  background: var(--hram-text);
  border-color: var(--hram-text);
  color: var(--hram-paper);
}

.hram-calendar-day.is-selected.has-events::after {
  background: var(--hram-paper);
}

.hram-calendar-widget__date-select {
  margin-top: 1rem;
}

.hram-calendar-today {
  width: 100%;
  margin-top: .85rem;
}

.hram-calendar-legend {
  list-style: none;
  margin: .85rem 0 0;
  padding: 0;
}

.hram-calendar-legend li {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 0;
  border-top: 1px solid var(--hram-border);
}

.hram-calendar-legend li:first-child {
  border-top: 0;
  padding-top: 0;
}

.hram-calendar-dot {
  width: .7rem;
  height: .7rem;
  border-radius: 999px;
  background: var(--hram-accent);
}

.hram-calendar-dot--fast {
  background: #8b7a45;
}

.hram-calendar-dot--memory {
  background: #718174;
}

.hram-calendar-dot--parish {
  background: #756181;
}

@media (max-width: 900px) {
  .hram-calendar-title {
    max-width: none;
    font-size: clamp(2.25rem, 10vw, 3.4rem);
  }

  .hram-calendar-feature {
    position: static;
  }

  .hram-calendar-event {
    grid-template-columns: 1fr;
    gap: .6rem;
  }
}

@media (max-width: 560px) {
  .hram-calendar-widget__controls {
    grid-template-columns: 2.35rem minmax(0, 1fr) 2.35rem;
    gap: .45rem;
  }

  .hram-calendar-widget__selects {
    grid-template-columns: 1fr;
  }

  .hram-calendar-day {
    min-height: 2.35rem;
    font-size: .9rem;
  }
}
/* Calendar day detail page
   -------------------------------------------------- */

.hram-calendar-day-hero {
  padding: clamp(2rem, 5vw, 4.2rem) 0 clamp(1.8rem, 3vw, 2.8rem);
  background: var(--hram-paper);
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-calendar-day-title {
  max-width: 12ch;
  margin: .35rem 0 1rem;
  font-family: var(--hram-serif);
  font-size: clamp(2.35rem, 5.2vw, 4.85rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.052em;
}

.hram-calendar-day-dek {
  max-width: 48rem;
  margin: 0;
  color: var(--hram-muted);
  font-family: var(--hram-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.22;
}

.hram-calendar-day-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hram-border);
  color: var(--hram-muted);
  font-size: .9rem;
}

.hram-calendar-day-meta span + span::before {
  content: "";
  display: inline-block;
  width: .28rem;
  height: .28rem;
  margin-right: 1rem;
  border-radius: 999px;
  background: var(--hram-border-dark);
  vertical-align: middle;
}

.hram-calendar-day-icon-panel {
  align-self: end;
}

.hram-calendar-icon-card {
  margin: 0;
  border: 1px solid var(--hram-border-dark);
  background: var(--hram-paper-2);
  padding: .75rem;
}

.hram-calendar-icon-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--hram-border-dark);
  background: var(--hram-paper);
  object-fit: cover;
}

.hram-calendar-icon-card figcaption {
  margin-top: .7rem;
  color: var(--hram-muted);
  font-size: .86rem;
  line-height: 1.45;
}

.hram-calendar-day-layout {
  padding-top: clamp(2.4rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.4rem, 5vw, 4.5rem);
}

.hram-calendar-day-event-list {
  display: grid;
  gap: 1.4rem;
}

.hram-calendar-day-event {
  border: 1px solid var(--hram-border-dark);
  border-top: 3px solid var(--hram-text);
  background: var(--hram-paper);
  padding: clamp(1.15rem, 2.6vw, 1.8rem);
}

.hram-calendar-day-event h2 {
  margin: .3rem 0 .8rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.hram-calendar-day-summary {
  margin: 0 0 1.3rem;
  color: var(--hram-muted);
  font-family: var(--hram-serif);
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  line-height: 1.55;
}

.hram-calendar-day-content {
  max-width: none;
  margin-inline: 0;
}

.hram-calendar-day-event--memory .hram-card__label {
  color: var(--hram-accent);
}

.hram-calendar-related-list,
.hram-calendar-day-index {
  list-style: none;
  margin: .85rem 0 0;
  padding: 0;
}

.hram-calendar-related-list li,
.hram-calendar-day-index li {
  padding: .75rem 0;
  border-top: 1px solid var(--hram-border);
}

.hram-calendar-related-list li:first-child,
.hram-calendar-day-index li:first-child {
  border-top: 0;
  padding-top: 0;
}

.hram-calendar-related-list a,
.hram-calendar-day-index a {
  color: var(--hram-text);
  text-decoration: none;
}

.hram-calendar-related-list a {
  display: block;
  font-family: var(--hram-serif);
  font-size: 1.18rem;
  line-height: 1.12;
}

.hram-calendar-day-nav {
  display: grid;
  gap: .75rem;
  margin: .9rem 0 1rem;
}

.hram-calendar-day-nav a {
  display: block;
  border-top: 1px solid var(--hram-border);
  padding-top: .75rem;
  color: var(--hram-text);
  text-decoration: none;
}

.hram-calendar-day-nav span {
  display: block;
  color: var(--hram-muted);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hram-calendar-day-nav strong {
  display: block;
  margin-top: .25rem;
  font-family: var(--hram-serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.1;
}

.hram-calendar-event h3 a {
  color: var(--hram-text);
  text-decoration: none;
}

.hram-calendar-event h3 a:hover {
  color: var(--hram-accent);
}

@media (max-width: 900px) {
  .hram-calendar-day-title {
    max-width: none;
    font-size: clamp(2.25rem, 10vw, 3.4rem);
  }
}
/* Orthodox icons section
   -------------------------------------------------- */

.hram-icons-hero,
.hram-icon-detail-hero {
  padding: clamp(2rem, 5vw, 4.2rem) 0 clamp(1.8rem, 3vw, 2.8rem);
  background: var(--hram-paper);
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-icons-title,
.hram-icon-detail-title {
  max-width: 12ch;
  margin: .35rem 0 1rem;
  font-family: var(--hram-serif);
  font-size: clamp(2.35rem, 5.2vw, 4.85rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.052em;
}

.hram-icons-dek,
.hram-icon-detail-dek {
  max-width: 48rem;
  margin: 0;
  color: var(--hram-muted);
  font-family: var(--hram-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.22;
}

.hram-icons-feature {
  align-self: end;
  border-top: 3px solid var(--hram-text);
  padding-top: 1rem;
}

.hram-icons-feature__image {
  width: min(11rem, 52vw);
  margin: 0 0 1rem;
  border: 1px solid var(--hram-border-dark);
  background: var(--hram-paper-2);
  padding: .45rem;
}

.hram-icons-feature__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hram-icons-feature h2,
.hram-icons-side-box h2,
.hram-icon-detail-content h2,
.hram-icon-related-section h2 {
  margin: .3rem 0 .75rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.hram-icons-layout,
.hram-icon-detail-layout {
  padding-top: clamp(2.4rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.4rem, 5vw, 4.5rem);
}

.hram-icons-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-icons-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: .45rem .8rem;
  border: 1px solid var(--hram-border);
  background: var(--hram-paper);
  color: var(--hram-text);
  text-decoration: none;
  font-size: .9rem;
}

.hram-icons-tabs a[aria-current="true"],
.hram-icons-tabs a:hover {
  background: var(--hram-text);
  border-color: var(--hram-text);
  color: var(--hram-paper);
}

.hram-icons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.hram-icon-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--hram-border-dark);
  border-top: 3px solid var(--hram-text);
  background: var(--hram-paper);
}

.hram-icon-card--featured {
  grid-column: span 2;
}

.hram-icon-card__image {
  display: block;
  background: var(--hram-paper-2);
  padding: clamp(.65rem, 1.4vw, 1rem);
}

.hram-icon-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--hram-border-dark);
  object-fit: cover;
}

.hram-icon-card__body {
  padding: 1rem;
}

.hram-icon-card__body h2 {
  margin: .25rem 0 .55rem;
  font-family: var(--hram-serif);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.hram-icon-card--featured .hram-icon-card__body h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
}

.hram-icon-card__body h2 a {
  color: var(--hram-text);
  text-decoration: none;
}

.hram-icon-card__body h2 a:hover {
  color: var(--hram-accent);
}

.hram-icon-card__body p,
.hram-icons-side-box p {
  margin: 0;
  color: var(--hram-muted);
}


.hram-icons-side-box {
  background: var(--hram-paper);
  border: 1px solid var(--hram-border-dark);
  padding: clamp(1rem, 2vw, 1.35rem);
}

.hram-icons-side-box--dark {
  background: var(--hram-text);
  color: var(--hram-paper);
}

.hram-icons-side-box--dark p {
  color: rgba(255, 253, 248, .72);
}

.hram-icons-link-list {
  list-style: none;
  margin: .85rem 0 0;
  padding: 0;
}

.hram-icons-link-list li {
  padding: .75rem 0;
  border-top: 1px solid var(--hram-border);
}

.hram-icons-link-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.hram-icons-link-list a {
  display: block;
  color: var(--hram-text);
  font-family: var(--hram-serif);
  font-size: 1.15rem;
  line-height: 1.12;
  text-decoration: none;
}

.hram-icon-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hram-border);
  color: var(--hram-muted);
  font-size: .9rem;
}

.hram-icon-detail-meta span + span::before {
  content: "";
  display: inline-block;
  width: .28rem;
  height: .28rem;
  margin-right: 1rem;
  border-radius: 999px;
  background: var(--hram-border-dark);
  vertical-align: middle;
}

.hram-icon-detail-image-panel {
  align-self: end;
}

.hram-icon-detail-figure {
  margin: 0;
  border: 1px solid var(--hram-border-dark);
  background: var(--hram-paper-2);
  padding: .75rem;
}

.hram-icon-detail-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--hram-border-dark);
  object-fit: cover;
}

.hram-icon-detail-figure figcaption {
  margin-top: .7rem;
  color: var(--hram-muted);
  font-size: .86rem;
  line-height: 1.45;
}

.hram-icon-detail-content,
.hram-icon-related-section {
  border: 1px solid var(--hram-border-dark);
  border-top: 3px solid var(--hram-text);
  background: var(--hram-paper);
  padding: clamp(1.15rem, 2.6vw, 1.8rem);
}

.hram-icon-related-section {
  margin-top: 1.4rem;
}

.hram-icon-body {
  max-width: none;
  margin-inline: 0;
}

.hram-icon-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}

.hram-icon-related-grid a {
  display: block;
  border-top: 1px solid var(--hram-border-dark);
  padding-top: .75rem;
  color: var(--hram-text);
  text-decoration: none;
}

.hram-icon-related-grid span,
.hram-icon-facts dt {
  display: block;
  color: var(--hram-muted);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hram-icon-related-grid strong {
  display: block;
  margin-top: .25rem;
  font-family: var(--hram-serif);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.1;
}

.hram-icon-facts {
  display: grid;
  gap: .8rem;
  margin: .9rem 0 0;
}

.hram-icon-facts div {
  border-top: 1px solid var(--hram-border);
  padding-top: .7rem;
}

.hram-icon-facts div:first-child {
  border-top: 0;
  padding-top: 0;
}

.hram-icon-facts dd {
  margin: .2rem 0 0;
  color: var(--hram-text);
  font-family: var(--hram-serif);
  font-size: 1.14rem;
  line-height: 1.15;
}

@media (max-width: 1000px) {
  .hram-icons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hram-icons-title,
  .hram-icon-detail-title {
    max-width: none;
    font-size: clamp(2.25rem, 10vw, 3.4rem);
  }

}

@media (max-width: 620px) {
  .hram-icons-grid,
  .hram-icon-related-grid {
    grid-template-columns: 1fr;
  }

  .hram-icon-card--featured {
    grid-column: auto;
  }
}
/* Alternative visual footer
   -------------------------------------------------- */

.hram-footer--visual {
  position: relative;
  overflow: hidden;
  background: var(--hram-paper);
  color: var(--hram-text);
  padding: 0;
  border-top: 1px solid var(--hram-border-dark);
}

.hram-footer-visual__content {
  position: relative;
  padding: clamp(8.5rem, 14vw, 13rem) 0 1.35rem;
  background-color: var(--hram-paper);
  background-image:
    linear-gradient(180deg, rgba(255, 253, 248, .78), rgba(255, 253, 248, .24) 34%, rgba(255, 253, 248, .94) 58%, var(--hram-paper) 100%),
    url('../img/hramnagorke.png'),
    url('../img/hramnagorke-bg.png');
  background-repeat: no-repeat, no-repeat, repeat-x;
  background-position:
    center top,
    calc(50% - 390px) clamp(1rem, 2.2vw, 2rem),
    center clamp(5.4rem, 8vw, 8.2rem);
  background-size:
    100% 100%,
    clamp(12rem, 22vw, 22rem) auto,
    auto clamp(5rem, 7.5vw, 8rem);
  border-top: 1px solid rgba(22, 22, 22, .12);
}

.hram-footer--visual h2,
.hram-footer--visual h3 {
  color: var(--hram-text);
}

.hram-footer--visual h2 {
  max-width: 10ch;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.hram-footer--visual p,
.hram-footer--visual a,
.hram-footer--visual li {
  color: var(--hram-muted);
}

.hram-footer--visual a:hover {
  color: var(--hram-accent);
}

.hram-footer--visual .hram-card__label {
  color: var(--hram-accent);
}

.hram-footer-visual__bottom {
  color: var(--hram-muted);
  border-top-color: var(--hram-border-dark);
}

@media (max-width: 700px) {
  .hram-footer-visual__content {
    padding-top: 10.5rem;
    background-position:
      center top,
      center 1rem,
      center 5.7rem;
    background-size:
      100% 100%,
      min(17rem, calc(100% - 2rem)) auto,
      auto 6.2rem;
  }
}
/* News listing page
   -------------------------------------------------- */

.hram-news-listing-hero {
  padding: clamp(2rem, 5vw, 4.2rem) 0 clamp(1.6rem, 3vw, 2.5rem);
  background: var(--hram-paper);
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-news-listing-title {
  max-width: 12ch;
  margin: .35rem 0 1rem;
  font-family: var(--hram-serif);
  font-size: clamp(2.35rem, 5.2vw, 4.85rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.052em;
}

.hram-news-listing-dek {
  max-width: 48rem;
  margin: 0;
  color: var(--hram-muted);
  font-family: var(--hram-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.22;
}

.hram-news-listing-feature {
  align-self: end;
  border-top: 3px solid var(--hram-text);
  padding-top: 1rem;
}

.hram-news-listing-feature h2,
.hram-news-side-box h2 {
  margin: .3rem 0 .75rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.hram-news-listing-feature p,
.hram-news-side-box p {
  margin: 0 0 1rem;
  color: var(--hram-muted);
}

.hram-news-listing-layout {
  padding-top: clamp(2.4rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.4rem, 5vw, 4.5rem);
}

.hram-news-listing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-news-listing-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: .45rem .8rem;
  border: 1px solid var(--hram-border);
  background: var(--hram-paper);
  color: var(--hram-text);
  text-decoration: none;
  font-size: .9rem;
}

.hram-news-listing-tabs a[aria-current="true"],
.hram-news-listing-tabs a:hover {
  background: var(--hram-text);
  border-color: var(--hram-text);
  color: var(--hram-paper);
}

.hram-news-listing-list {
  display: grid;
  gap: 0;
  border-top: 3px solid var(--hram-text);
}

.hram-news-listing-item {
  display: grid;
  grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr);
  gap: 1.35rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-news-listing-item--featured {
  grid-template-columns: minmax(14rem, 22rem) minmax(0, 1fr);
  padding-top: 1.8rem;
  padding-bottom: 1.8rem;
}

.hram-news-listing-item--text {
  grid-template-columns: 1fr;
  padding-left: min(17.35rem, 28vw);
}

.hram-news-listing-item__image {
  display: block;
  min-height: 11rem;
  border: 1px solid var(--hram-border-dark);
  background: var(--hram-paper-2);
  overflow: hidden;
}

.hram-news-listing-item--featured .hram-news-listing-item__image {
  min-height: 15rem;
}

.hram-news-listing-item__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hram-news-listing-item__body time {
  display: block;
  margin-bottom: .55rem;
  color: var(--hram-accent);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hram-news-listing-item__body h2 {
  margin: 0 0 .6rem;
  font-family: var(--hram-serif);
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.042em;
}

.hram-news-listing-item--featured .hram-news-listing-item__body h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: .96;
}

.hram-news-listing-item__body h2 a {
  color: var(--hram-text);
  text-decoration: none;
}

.hram-news-listing-item__body h2 a:hover {
  color: var(--hram-accent);
}

.hram-news-listing-item__body p {
  margin: 0;
  color: var(--hram-muted);
}


.hram-news-side-box {
  background: var(--hram-paper);
  border: 1px solid var(--hram-border-dark);
  padding: clamp(1rem, 2vw, 1.35rem);
}

.hram-news-side-box--dark {
  background: var(--hram-text);
  color: var(--hram-paper);
}

.hram-news-side-box--dark p {
  color: rgba(255, 253, 248, .72);
}

.hram-news-side-list {
  list-style: none;
  margin: .85rem 0 0;
  padding: 0;
}

.hram-news-side-list li {
  padding: .75rem 0;
  border-top: 1px solid var(--hram-border);
}

.hram-news-side-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.hram-news-side-list a {
  display: block;
  color: var(--hram-text);
  font-family: var(--hram-serif);
  font-size: 1.15rem;
  line-height: 1.12;
  text-decoration: none;
}



@media (max-width: 900px) {
  .hram-news-listing-title {
    max-width: none;
    font-size: clamp(2.25rem, 10vw, 3.4rem);
  }


  .hram-news-listing-item,
  .hram-news-listing-item--featured {
    grid-template-columns: 1fr;
  }

  .hram-news-listing-item--text {
    padding-left: 0;
  }
}
/* Articles listing page
   -------------------------------------------------- */

.hram-articles-listing-hero {
  padding: clamp(2rem, 5vw, 4.2rem) 0 clamp(1.6rem, 3vw, 2.5rem);
  background: var(--hram-paper);
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-articles-listing-title {
  max-width: 12ch;
  margin: .35rem 0 1rem;
  font-family: var(--hram-serif);
  font-size: clamp(2.35rem, 5.2vw, 4.85rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.052em;
}

.hram-articles-listing-dek {
  max-width: 48rem;
  margin: 0;
  color: var(--hram-muted);
  font-family: var(--hram-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.22;
}

.hram-articles-listing-feature {
  align-self: end;
  border-top: 3px solid var(--hram-text);
  padding-top: 1rem;
}

.hram-articles-listing-feature h2,
.hram-articles-side-box h2 {
  margin: .3rem 0 .75rem;
  font-family: var(--hram-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.hram-articles-listing-feature p,
.hram-articles-side-box p {
  margin: 0 0 1rem;
  color: var(--hram-muted);
}

.hram-articles-listing-layout {
  padding-top: clamp(2.4rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.4rem, 5vw, 4.5rem);
}

.hram-articles-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-articles-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: .45rem .8rem;
  border: 1px solid var(--hram-border);
  background: var(--hram-paper);
  color: var(--hram-text);
  text-decoration: none;
  font-size: .9rem;
}

.hram-articles-tabs a[aria-current="true"],
.hram-articles-tabs a:hover {
  background: var(--hram-text);
  border-color: var(--hram-text);
  color: var(--hram-paper);
}

.hram-articles-list {
  display: grid;
  gap: 0;
  border-top: 3px solid var(--hram-text);
}

.hram-articles-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(11rem, 16rem);
  gap: 1.35rem;
  align-items: start;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--hram-border-dark);
}

.hram-articles-item--section {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.hram-articles-item--text {
  grid-template-columns: minmax(0, 1fr);
}

.hram-articles-path {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .45rem;
  margin-bottom: .65rem;
  color: var(--hram-muted);
  font-size: .82rem;
  line-height: 1.35;
}

.hram-articles-path a,
.hram-articles-path span {
  color: inherit;
  text-decoration: none;
}

.hram-articles-path a:hover {
  color: var(--hram-accent);
}

.hram-articles-item__content time {
  display: block;
  margin-bottom: .55rem;
  color: var(--hram-accent);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hram-articles-item__content h2 {
  margin: 0 0 .6rem;
  font-family: var(--hram-serif);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.042em;
}

.hram-articles-item--section .hram-articles-item__content h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: .96;
}

.hram-articles-item__content h2 a {
  color: var(--hram-text);
  text-decoration: none;
}

.hram-articles-item__content h2 a:hover {
  color: var(--hram-accent);
}

.hram-articles-item__content p {
  margin: 0;
  color: var(--hram-muted);
}

.hram-articles-item__image {
  display: block;
  border: 1px solid var(--hram-border-dark);
  background: var(--hram-paper-2);
  overflow: hidden;
}

.hram-articles-item__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hram-articles-item--section .hram-articles-item__image img {
  aspect-ratio: 4 / 3.4;
}

.hram-articles-children {
  display: grid;
  gap: .55rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: .9rem 0 0;
  border-top: 1px solid var(--hram-border);
}

.hram-articles-children li {
  position: relative;
  padding-left: 1.1rem;
}

.hram-articles-children li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .45rem;
  border-top: 1px solid var(--hram-border-dark);
}

.hram-articles-children a {
  color: var(--hram-text);
  font-family: var(--hram-serif);
  font-size: 1.08rem;
  line-height: 1.15;
  text-decoration: none;
}

.hram-articles-children a:hover {
  color: var(--hram-accent);
}


.hram-articles-side-box {
  background: var(--hram-paper);
  border: 1px solid var(--hram-border-dark);
  padding: clamp(1rem, 2vw, 1.35rem);
}

.hram-articles-side-box--dark {
  background: var(--hram-text);
  color: var(--hram-paper);
}

.hram-articles-side-box--dark p {
  color: rgba(255, 253, 248, .72);
}

.hram-articles-side-list {
  list-style: none;
  margin: .85rem 0 0;
  padding: 0;
}

.hram-articles-side-list li {
  padding: .75rem 0;
  border-top: 1px solid var(--hram-border);
}

.hram-articles-side-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.hram-articles-side-list a {
  display: block;
  color: var(--hram-text);
  font-family: var(--hram-serif);
  font-size: 1.15rem;
  line-height: 1.12;
  text-decoration: none;
}



@media (max-width: 900px) {
  .hram-articles-listing-title {
    max-width: none;
    font-size: clamp(2.25rem, 10vw, 3.4rem);
  }


  .hram-articles-item {
    grid-template-columns: 1fr;
  }

  .hram-articles-item__image {
    order: -1;
  }
}