/* ---------------------------------------------------------------------------
 * Styling for the pages rebuilt from the CMS: Abbot's Corner (list + article),
 * Audio Homilies, and the affiliate newsletters.
 *
 * Built on the abbey's own tokens rather than a new palette:
 *   --beige      #f4f0e0   page ground
 *   --brand-gold #8c641a   rules, eyebrows, links
 *   Malko (-> Prata) for display, Vollkorn for reading.
 *
 * The aim is restraint: a quiet, generous reading column that sits naturally
 * beside the ported Webflow pages rather than competing with them.
 * ------------------------------------------------------------------------ */

.grd-page {
  background-color: var(--beige, #f4f0e0);
  color: #1a1713;
  padding: 5rem 1.5rem 6rem;
}

.grd-shell {
  max-width: 1120px;
  margin: 0 auto;
}

/* ---- page masthead ---- */

.grd-masthead {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 4rem;
}

.grd-eyebrow {
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-gold, #8c641a);
  margin-bottom: 1rem;
}

.grd-masthead h1 {
  font-family: Malko, Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.08;
  margin: 0 0 1.25rem;
}

.grd-lede {
  font-family: Vollkorn, Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4a4238;
  margin: 0;
}

/* A short gold rule used to close a masthead or open a section. */
.grd-rule {
  width: 4rem;
  height: 1px;
  background: var(--brand-gold, #8c641a);
  border: 0;
  margin: 2rem auto 0;
}

/* ---- section headings within a listing ---- */

.grd-section + .grd-section {
  margin-top: 4.5rem;
}

.grd-section-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid rgba(140, 100, 26, 0.28);
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
}

.grd-section-head h2 {
  font-family: Malko, Georgia, serif;
  font-weight: 400;
  font-size: 1.9rem;
  margin: 0;
}

.grd-count {
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.8rem;
  color: #8a7f6d;
  margin-left: auto;
}

/* ---- card grid ---- */

.grd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.25rem 2rem;
}

.grd-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: transparent;
}

.grd-card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e6e0cc;
  margin-bottom: 1rem;
}

.grd-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.grd-card:hover .grd-card-media img {
  transform: scale(1.03);
}

.grd-card h3 {
  font-family: Malko, Georgia, serif;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.25;
  margin: 0 0 0.6rem;
}

.grd-card:hover h3 {
  color: var(--brand-gold, #8c641a);
}

.grd-meta {
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.8rem;
  color: #8a7f6d;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.grd-meta .sep {
  opacity: 0.5;
}

/* ---- article ---- */

.grd-article {
  max-width: 44rem;
  margin: 0 auto;
}

.grd-article-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.grd-article-head h1 {
  font-family: Malko, Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 1rem;
}

.grd-article-figure {
  margin: 0 0 3rem;
}

.grd-article-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* Body copy. Deliberately generous - most of these are homilies read at length. */
.grd-prose {
  font-family: Vollkorn, Georgia, serif;
  font-size: 1.1875rem;
  line-height: 1.78;
  color: #241f19;
}

.grd-prose p {
  margin: 0 0 1.5rem;
}

.grd-prose h2,
.grd-prose h3,
.grd-prose h4 {
  font-family: Malko, Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  margin: 2.5rem 0 1rem;
}

.grd-prose h2 { font-size: 1.9rem; }
.grd-prose h3 { font-size: 1.5rem; }

.grd-prose a {
  color: var(--brand-gold, #8c641a);
  text-underline-offset: 0.2em;
}

.grd-prose blockquote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--brand-gold, #8c641a);
  font-style: italic;
  color: #4a4238;
}

.grd-prose img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
}

.grd-prose ul,
.grd-prose ol {
  margin: 0 0 1.5rem 1.25rem;
  padding-left: 0.75rem;
}

.grd-prose li {
  margin-bottom: 0.5rem;
}

/* ---- back link ---- */

.grd-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-gold, #8c641a);
  text-decoration: none;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(140, 100, 26, 0.28);
  width: 100%;
}

.grd-back:hover { text-decoration: underline; }

/* ---- audio homilies (a section of The Abbot's Corner) ---- */

/* Room above the heading when arriving via #audio-homilies, so the sticky
 * navbar does not cover it. */
.grd-homilies { scroll-margin-top: 6rem; }

.grd-section-lede {
  font-family: Vollkorn, Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #6b6152;
  max-width: 40rem;
  margin: -0.75rem 0 2rem;
}

/* One collapsible group per year. */
.grd-year {
  border-top: 1px solid rgba(140, 100, 26, 0.22);
}
.grd-year:last-child {
  border-bottom: 1px solid rgba(140, 100, 26, 0.22);
}

.grd-year-summary {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
}
.grd-year-summary::-webkit-details-marker { display: none; }

.grd-year-label {
  font-family: Malko, Georgia, serif;
  font-size: 1.5rem;
  line-height: 1;
}

.grd-year-summary .grd-count { margin-left: auto; }

.grd-year-chevron {
  width: 0.6rem;
  height: 0.6rem;
  border-right: 1.5px solid #8c641a;
  border-bottom: 1.5px solid #8c641a;
  transform: translateY(-0.15rem) rotate(45deg);
  transition: transform 0.2s ease;
  flex: none;
}
.grd-year[open] .grd-year-chevron {
  transform: translateY(0.05rem) rotate(-135deg);
}

.grd-year .grd-homily-list {
  border-top: 0;
  margin-bottom: 1.25rem;
}
.grd-year .grd-homily:last-child { border-bottom: 0; }

.grd-homily-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(140, 100, 26, 0.22);
}

.grd-homily {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(140, 100, 26, 0.22);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.grd-homily-title {
  font-family: Malko, Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0;
}

.grd-homily audio {
  width: 100%;
  max-width: 34rem;
  height: 38px;
}

@media (min-width: 720px) {
  .grd-homily {
    grid-template-columns: 1fr minmax(18rem, 22rem);
    align-items: center;
    gap: 2rem;
  }
  .grd-homily audio { margin-left: auto; }
}

/* Dates that were reconstructed rather than recorded are marked, so the
 * community can see at a glance which need checking. */
.grd-date-approx {
  font-style: italic;
  opacity: 0.85;
}

.grd-empty {
  font-family: Vollkorn, Georgia, serif;
  color: #6b6152;
  text-align: center;
  padding: 3rem 0;
}

/* ---- newsletters ---- */

/* Placeholder tile for a newsletter that has a PDF but no cover image. */
.grd-card-pdf {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9e3cf;
  color: var(--brand-gold, #8c641a);
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
}

.grd-pdf-frame {
  width: 100%;
  height: min(80vh, 900px);
  border: 1px solid rgba(140, 100, 26, 0.3);
  background: #fff;
  margin-bottom: 1.5rem;
}

.grd-pdf-frame object {
  width: 100%;
  height: 100%;
  display: block;
}

.grd-download {
  display: inline-block;
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--brand-gold, #8c641a);
  padding: 0.85rem 1.75rem;
}

.grd-download:hover { opacity: 0.9; }

/* Inline PDF viewing is unreliable on phones, so lead with the download. */
@media (max-width: 720px) {
  .grd-pdf-frame { height: 60vh; }
}

/* ---- featured entries (Abbot's Corner) ---- */

/* Anything ticked "featured" in the console sits above the sections, given
 * more room than a card so it reads as the thing to look at first. */
.grd-featured {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(140, 100, 26, 0.28);
}

.grd-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.grd-feature-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e6e0cc;
}

.grd-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}

.grd-feature:hover .grd-feature-media img {
  transform: scale(1.02);
}

.grd-feature-body h2 {
  font-family: Malko, Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.14;
  margin: 0 0 0.85rem;
}

.grd-feature:hover .grd-feature-body h2 {
  color: var(--brand-gold, #8c641a);
}

@media (min-width: 860px) {
  .grd-feature {
    grid-template-columns: 1.15fr 1fr;
    gap: 2.75rem;
  }
}

/* ---- monastery gallery ---- */

.grd-gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.grd-gallery-tile {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  background: #e6e0cc;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.grd-gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.grd-gallery-tile:hover img,
.grd-gallery-tile:focus-visible img {
  transform: scale(1.04);
}

.grd-gallery-tile:focus-visible {
  outline: 2px solid var(--brand-gold, #8c641a);
  outline-offset: 3px;
}

/* ---- lightbox ---- */

.grd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(16, 13, 9, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 4.5rem;
  cursor: zoom-out;
  animation: grd-lb-in 220ms ease both;
}

@keyframes grd-lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.grd-lb-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  cursor: default;
}

.grd-lb-figure img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.grd-lb-figure figcaption {
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.85rem;
  color: #e8e1d2;
  text-align: center;
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  align-items: baseline;
}

.grd-lb-count { opacity: 0.6; }

.grd-lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: #f4f0e0;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem 0.9rem;
  transition: opacity 200ms ease;
  opacity: 0.75;
}

.grd-lightbox button:hover,
.grd-lightbox button:focus-visible { opacity: 1; }

.grd-lb-close { top: 1rem; right: 1.25rem; font-size: 2.4rem; }
.grd-lb-prev  { left: 0.5rem;  font-size: 3.2rem; }
.grd-lb-next  { right: 0.5rem; font-size: 3.2rem; }

@media (max-width: 720px) {
  .grd-lightbox { padding: 3.5rem 0.75rem; }
  .grd-lb-prev, .grd-lb-next { font-size: 2.4rem; }
}

/* ---- the monastic community (Our Family) ---- */

.grd-monks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.grd-monk {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding: 3.25rem 0;
  border-bottom: 1px solid rgba(140, 100, 26, 0.22);
}

.grd-monk:first-child { padding-top: 0; }
.grd-monk:last-child { border-bottom: 0; }

.grd-monk-photo {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #e6e0cc;
}

/* The pull-quote each monk chose, kept alongside the portrait as on the
   original page rather than dropped into the body copy. */
.grd-monk-quote {
  font-family: Vollkorn, Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: #4a4238;
  margin: 1.1rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--brand-gold, #8c641a);
}

.grd-monk-body h2 {
  font-family: Malko, Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
  margin: 0 0 0.4rem;
}

.grd-monk-body .grd-eyebrow { margin-bottom: 1.25rem; }

/* Slightly tighter than an article: these sit in a narrower column. */
.grd-monk-body .grd-prose {
  font-size: 1.0625rem;
  line-height: 1.72;
}

@media (min-width: 800px) {
  .grd-monk {
    grid-template-columns: minmax(200px, 300px) 1fr;
    gap: 3rem;
    align-items: start;
  }
}

/* ---- contact ---- */

.grd-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 62rem;
  margin: 0 auto;
}

@media (min-width: 860px) {
  .grd-contact {
    grid-template-columns: 1.4fr 1fr;
    gap: 4.5rem;
  }
}

.grd-contact-form form {
  display: flex;
  flex-direction: column;
}

.grd-label {
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6152;
  margin-bottom: 0.45rem;
}

.grd-input {
  font-family: Vollkorn, Georgia, serif;
  font-size: 1rem;
  color: #241f19;
  background: #fffdf7;
  border: 1px solid rgba(140, 100, 26, 0.32);
  border-radius: 0;
  padding: 0.8rem 0.9rem;
  margin-bottom: 1.5rem;
  width: 100%;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.grd-input:focus {
  outline: none;
  border-color: var(--brand-gold, #8c641a);
  box-shadow: 0 0 0 3px rgba(140, 100, 26, 0.13);
}

.grd-textarea {
  min-height: 11rem;
  resize: vertical;
}

.grd-submit {
  align-self: flex-start;
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand-gold, #8c641a);
  border: 0;
  padding: 0.9rem 2.1rem;
  cursor: pointer;
  transition: opacity 220ms ease, transform 220ms ease;
}

.grd-submit:hover { opacity: 0.9; transform: translateY(-2px); }
.grd-submit:disabled { opacity: 0.55; cursor: default; transform: none; }

/* Webflow's success / failure blocks. Hidden until FormHandler shows them. */
.grd-form-note {
  display: none;
  font-family: Vollkorn, Georgia, serif;
  padding: 1rem 1.15rem;
  margin-top: 1.25rem;
  background: rgba(140, 100, 26, 0.1);
  border-left: 3px solid var(--brand-gold, #8c641a);
}

.grd-form-note-error {
  background: rgba(180, 35, 24, 0.08);
  border-left-color: #b42318;
}

/* ---- contact details ---- */

.grd-contact-details {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.grd-detail h2 {
  font-family: Malko, Georgia, serif;
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.grd-detail-label {
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.8rem;
  color: #8a7f6d;
  margin: 0 0 0.3rem;
}

.grd-detail a {
  font-family: Vollkorn, Georgia, serif;
  font-size: 1.05rem;
  color: var(--brand-gold, #8c641a);
  text-underline-offset: 0.2em;
}

.grd-detail address {
  font-family: Vollkorn, Georgia, serif;
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #241f19;
  margin: 0 0 0.5rem;
}

.grd-detail-link {
  display: inline-block;
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---- support / donations ---- */

/* The heading here is a full sentence, so it needs more room than the
   44rem masthead used elsewhere. */
.grd-masthead-wide { max-width: 52rem; }

.grd-masthead-wide h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.16;
}

.grd-give {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.grd-give-primary,
.grd-give-secondary {
  display: inline-block;
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 2.3rem;
  transition: background-color 240ms ease, color 240ms ease, transform 240ms ease;
}

.grd-give-primary {
  color: #fff;
  background: var(--brand-gold, #8c641a);
}

.grd-give-secondary {
  color: var(--brand-gold, #8c641a);
  background: transparent;
  border: 1px solid var(--brand-gold, #8c641a);
}

.grd-give-primary:hover,
.grd-give-secondary:hover { transform: translateY(-2px); }
.grd-give-secondary:hover { background: rgba(140, 100, 26, 0.08); }

/* ---- testimonial ---- */

.grd-testimony {
  max-width: 46rem;
  margin: 5rem auto 0;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(140, 100, 26, 0.28);
  text-align: center;
}

.grd-testimony blockquote {
  font-family: Vollkorn, Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #241f19;
  margin: 0;
  quotes: none;
}

/* Only the opening mark, set in the display face, as a quiet lead-in. */
.grd-testimony blockquote::before {
  content: '\201C';
  display: block;
  font-family: Malko, Georgia, serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--brand-gold, #8c641a);
  margin-bottom: 0.5rem;
}

.grd-testimony cite {
  display: block;
  margin-top: 1.5rem;
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a7f6d;
  font-style: normal;
}

/* ---- closing call to action ---- */

.grd-closing {
  max-width: 46rem;
  margin: 5rem auto 0;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(140, 100, 26, 0.28);
  text-align: center;
}

.grd-closing h2 {
  font-family: Malko, Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  line-height: 1.18;
  margin: 0 0 0.9rem;
}

.grd-closing p {
  font-family: Vollkorn, Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #4a4238;
  margin: 0 0 1.9rem;
}

/* Newsletter exported as image(s) rather than a PDF — Lou's preferred route.
   These are long single-column exports, so they run full width of the reading
   column with the pages stacked in order. */
.grd-newsletter-pages {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.grd-newsletter-pages img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(140, 100, 26, 0.22);
  background: #fff;
}

/* ---------------------------------------------------------------------------
 * Priory Sacred Art Guild (/sacred-art, the "Sacred Art Institute" tab).
 * Guild home -> Sacred Art Classes -> one page per workshop, with the
 * section's own menu under the site navbar, as on Enders Island.
 * ------------------------------------------------------------------------ */

.grd-sa-nav {
  background: #241f19;
  color: #f4f0e0;
}

.grd-sa-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
}

.grd-sa-nav-brand {
  font-family: Malko, Georgia, serif;
  font-size: 1.15rem;
  color: #f4f0e0;
  text-decoration: none;
  margin-right: auto;
}

.grd-sa-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
}

.grd-sa-nav ul a {
  display: inline-block;
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d9cfb6;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}

.grd-sa-nav ul a:hover,
.grd-sa-nav ul a[aria-current="page"] {
  color: #fff;
  border-bottom-color: #c9a45c;
}

@media (max-width: 600px) {
  .grd-sa-nav-inner { padding: 0.75rem 1rem; }
  .grd-sa-nav-brand { width: 100%; }
  .grd-sa-nav ul { gap: 0.25rem 1.25rem; }
}

/* ---- Guild home: hero ---- */

.grd-sa-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.grd-sa-hero h1 {
  font-family: Malko, Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 1.5rem;
}

.grd-sa-hero .grd-lede + .grd-lede { margin-top: 1rem; }

.grd-sa-actions { justify-content: flex-start; }

.grd-sa-hero-figure {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 24rem;
}

.grd-sa-hero-figure img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 30px 60px -30px rgba(36, 31, 25, 0.5);
}

@media (min-width: 900px) {
  .grd-sa-hero {
    grid-template-columns: 1.3fr 1fr;
    gap: 4.5rem;
  }
}

/* ---- picture beside text ---- */

.grd-sa-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0;
  border-top: 1px solid rgba(140, 100, 26, 0.22);
}

.grd-sa-split figure {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 30rem;
}

.grd-sa-split img {
  width: 100%;
  height: auto;
  display: block;
}

.grd-sa-split h2 {
  font-family: Malko, Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.grd-sa-split p {
  font-family: Vollkorn, Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.75;
  color: #241f19;
  margin: 0 0 1rem;
}

@media (min-width: 860px) {
  .grd-sa-split {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
  }
  .grd-sa-split-reverse figure { order: 2; }
}

/* ---- Sacred Art Classes: reading column and quotations ---- */

.grd-sa-reading {
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.grd-prose .grd-sa-quote {
  font-family: Malko, Georgia, serif;
  font-style: normal;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  line-height: 1.42;
  color: #241f19;
  text-align: center;
  border-left: 0;
  padding: 0;
  margin: 2.25rem 0 2.5rem;
}

.grd-prose .grd-sa-quote::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--brand-gold, #8c641a);
  margin: 1.5rem auto 0;
}

.grd-sa-strip {
  list-style: none;
  margin: 0 0 5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.grd-sa-strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

@media (min-width: 760px) {
  .grd-sa-strip { grid-template-columns: repeat(4, 1fr); }
}

/* ---- workshop cards and the coming-soon list ---- */

.grd-sa-upcoming {
  margin-bottom: 5rem;
  scroll-margin-top: 6rem;
}

.grd-sa-cards {
  list-style: none;
  margin: 0;
  padding: 0;
}

.grd-sa-card-date {
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-gold, #8c641a);
  margin-bottom: 0.5rem;
}

.grd-sa-more {
  margin-top: 0.9rem;
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-gold, #8c641a);
}

.grd-sa-more::after { content: " \2192"; }

.grd-card:hover .grd-sa-more { text-decoration: underline; text-underline-offset: 0.25em; }

.grd-sa-head-link {
  color: var(--brand-gold, #8c641a);
  text-decoration: none;
}
.grd-sa-head-link::after { content: " \2192"; }
.grd-sa-head-link:hover { text-decoration: underline; }

.grd-sa-soon {
  margin-top: 3.5rem;
  padding: 2rem 1.5rem;
  background: #ece5d0;
  text-align: center;
}

.grd-sa-soon h3 {
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-gold, #8c641a);
  margin: 0 0 1rem;
}

.grd-sa-soon ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2.25rem;
  font-family: Malko, Georgia, serif;
  font-size: 1.4rem;
}

.grd-sa-soon p {
  font-family: Vollkorn, Georgia, serif;
  font-style: italic;
  color: #6b6152;
  margin: 1rem 0 0;
}

/* ---- a workshop page ---- */

.grd-sa-crumb {
  display: inline-block;
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-gold, #8c641a);
  text-decoration: none;
  margin-bottom: 2rem;
}
.grd-sa-crumb::before { content: "\2190\00a0\00a0"; }
.grd-sa-crumb:hover { text-decoration: underline; }

.grd-sa-ws-head {
  max-width: 46rem;
  margin-bottom: 3rem;
}

.grd-sa-ws-head h1 {
  font-family: Malko, Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.grd-sa-ws {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .grd-sa-ws {
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: 4rem;
  }
  .grd-sa-facts {
    position: sticky;
    top: 7rem;
  }
}

/* Photos sit at a common height so small originals are never blown up. */
.grd-sa-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.grd-sa-photos img {
  height: 260px;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

.grd-sa-day { margin-top: 2.5rem; }

.grd-sa-day h2 {
  font-family: Malko, Georgia, serif;
  font-weight: 400;
  font-size: 1.75rem;
  margin: 0 0 1rem;
}

.grd-sa-day dl {
  margin: 0;
  border-top: 1px solid rgba(140, 100, 26, 0.22);
}

.grd-sa-day dl > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(140, 100, 26, 0.22);
}

.grd-sa-day dt {
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-gold, #8c641a);
  padding-top: 0.3rem;
}

.grd-sa-day dd {
  margin: 0;
  font-family: Vollkorn, Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #241f19;
}

@media (max-width: 520px) {
  .grd-sa-day dl > div { grid-template-columns: 1fr; gap: 0.25rem; }
}

.grd-sa-facts {
  background: #fffdf7;
  border: 1px solid rgba(140, 100, 26, 0.28);
  padding: 1.75rem;
}

.grd-sa-facts dl { margin: 0; }

.grd-sa-facts dl > div {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(140, 100, 26, 0.16);
}

.grd-sa-facts dl > div:first-child { padding-top: 0; }

.grd-sa-facts dt {
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a7f6d;
  margin-bottom: 0.3rem;
}

.grd-sa-facts dd {
  margin: 0;
  font-family: Vollkorn, Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #241f19;
}

.grd-sa-facts address { font-style: normal; }

/* Text links in the details only. Scoped to `dd` because `.grd-sa-facts a`
   also matched the Register button and outranked its white text, leaving
   gold on gold. */
.grd-sa-facts dd a {
  color: var(--brand-gold, #8c641a);
  overflow-wrap: anywhere;
}

/* Keeps "9:00 am–4:00 pm" from breaking at the dash. */
.grd-nowrap { white-space: nowrap; }

.grd-sa-register {
  margin-top: 1.5rem;
  text-align: center;
}

.grd-sa-register .grd-give-primary { display: block; }

.grd-sa-register p {
  font-family: Lexend, system-ui, sans-serif;
  font-size: 0.78rem;
  color: #8a7f6d;
  margin: 0.75rem 0 0;
}

.grd-sa-instructor {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(140, 100, 26, 0.28);
  align-items: start;
}

.grd-sa-instructor img {
  width: 100%;
  max-width: 24rem;
  height: auto;
  display: block;
}

.grd-sa-instructor h2 {
  font-family: Malko, Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 0.4rem;
}

.grd-sa-credential {
  font-family: Vollkorn, Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #4a4238;
  margin: 0 0 1.25rem;
}

.grd-sa-instructor .grd-prose {
  font-size: 1.0625rem;
  line-height: 1.72;
}

@media (min-width: 800px) {
  .grd-sa-instructor {
    grid-template-columns: minmax(220px, 24rem) 1fr;
    gap: 3rem;
  }
}

/* ---- home page events: a workshop row links to its page ---- */

.grd-event-has-link { position: relative; }

.grd-event-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.grd-event-link:focus-visible {
  outline: 2px solid var(--brand-gold, #8c641a);
  outline-offset: 2px;
}
