/*
  Turtle Hill archive modernization layer.
  Shared presentation and archive styling for refreshed Turtle Hill pages.
*/

:root {
  color-scheme: dark;
  --th-ink: #f5efe4;
  --th-muted: #cbbfae;
  --th-dim: #938876;
  --th-bg: #12110e;
  --th-panel: rgba(31, 29, 23, 0.86);
  --th-panel-strong: rgba(40, 37, 29, 0.94);
  --th-line: rgba(245, 239, 228, 0.18);
  --th-gold: #d8ad4c;
  --th-clay: #ad654d;
  --th-green: #4e6c55;
  --th-blue: #6f99ad;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 18% 4%, rgba(78, 108, 85, 0.38), transparent 30rem),
    radial-gradient(circle at 86% 10%, rgba(111, 153, 173, 0.2), transparent 26rem),
    linear-gradient(135deg, #12110e 0%, #1d1a14 46%, #18241d 100%);
}

body {
  min-height: 100%;
  max-width: 1160px;
  margin: 0 auto !important;
  padding: 72px clamp(16px, 4vw, 52px) 56px !important;
  background:
    linear-gradient(180deg, rgba(18, 17, 14, 0.4), rgba(18, 17, 14, 0.94)),
    transparent !important;
  color: var(--th-ink) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(17px, 1.6vw, 20px) !important;
  line-height: 1.7 !important;
  text-rendering: optimizeLegibility;
}

body::before {
  content: none;
}

.archive-home-link {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2147483640;
  display: block;
  padding: 12px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(245, 239, 228, 0.16);
  background: rgba(18, 17, 14, 0.88);
  color: var(--th-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  line-height: 1;
  text-align: left;
  text-decoration: none !important;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.archive-home-link:visited,
.archive-home-link:hover,
.archive-home-link:focus {
  color: var(--th-gold) !important;
  text-decoration: none !important;
}

.archive-search-link {
  position: fixed;
  top: 10px;
  right: clamp(18px, 4vw, 54px);
  z-index: 2147483642;
  color: rgba(245, 239, 228, 0.72) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  line-height: 1;
  text-decoration: none !important;
  text-transform: uppercase;
}

.archive-search-link:visited,
.archive-search-link:hover,
.archive-search-link:focus {
  color: var(--th-gold) !important;
  text-decoration: none !important;
}

body::after {
  content: none;
  position: fixed;
  top: 10px;
  right: clamp(18px, 4vw, 54px);
  z-index: 2147483641;
  color: rgba(245, 239, 228, 0.58);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

body > center,
body > div,
body > blockquote,
body > table,
body > p,
body > font,
body > ul,
body > ol {
  max-width: 100%;
}

body > table,
body > center > table,
body > div > table,
body > blockquote,
body > center,
body > div[align],
body > p {
  position: relative;
}

table {
  max-width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background-color: transparent !important;
}

body > table,
body > center > table,
body > div > table {
  width: min(100%, 1080px) !important;
}

td,
th {
  max-width: 100% !important;
  padding: clamp(8px, 1.5vw, 18px) !important;
  color: inherit !important;
  background-color: transparent !important;
  vertical-align: top !important;
}

td[background],
table[background] {
  background-size: cover !important;
  background-position: center !important;
}

p,
li,
blockquote,
div,
td,
font,
samp {
  color: inherit !important;
  font-family: inherit !important;
  letter-spacing: 0 !important;
}

p {
  margin: 0 0 1.05em !important;
}

blockquote {
  max-width: 860px;
  margin: 1.5em auto !important;
  padding: 1.1em 1.25em !important;
  border-left: 3px solid var(--th-gold);
  background: rgba(245, 239, 228, 0.045);
  color: var(--th-ink) !important;
}

ul,
ol {
  padding-left: 1.35em !important;
}

li {
  margin: 0.32em 0 !important;
}

font[size="7"],
font[size="+7"],
h1 {
  font-size: clamp(2.5rem, 8vw, 5rem) !important;
  line-height: 1.03 !important;
}

font[size="6"],
font[size="+6"],
h2 {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  line-height: 1.1 !important;
}

font[size="5"],
font[size="+5"],
h3 {
  font-size: clamp(1.45rem, 3.4vw, 2.2rem) !important;
  line-height: 1.2 !important;
}

font[size="4"],
font[size="+4"] {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem) !important;
}

font[size="3"],
font[size="+3"],
font[size="+2"] {
  font-size: 1rem !important;
}

font[size="2"],
font[size="1"],
small {
  font-size: 0.88rem !important;
}

b,
strong {
  color: var(--th-ink);
  font-weight: 700;
}

i,
em {
  color: rgba(245, 239, 228, 0.86);
}

a {
  color: var(--th-gold) !important;
  text-decoration-color: rgba(216, 173, 76, 0.42) !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

a:hover,
a:focus {
  color: #ffe2a0 !important;
  text-decoration-color: #ffe2a0 !important;
}

a img {
  transition: transform 180ms ease, filter 180ms ease;
}

a:hover img,
a:focus img {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

img {
  max-width: 100% !important;
  height: auto !important;
  border-color: rgba(245, 239, 228, 0.28) !important;
  border-radius: 4px;
}

body > center > img,
body > p > img,
td > img,
p > img {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

hr {
  height: 1px !important;
  border: 0 !important;
  background: linear-gradient(90deg, transparent, rgba(216, 173, 76, 0.6), transparent) !important;
}

input,
textarea,
select,
button {
  max-width: 100%;
  border: 1px solid var(--th-line);
  border-radius: 4px;
  background: rgba(245, 239, 228, 0.08);
  color: var(--th-ink);
  font: inherit;
}

pre {
  max-width: 100%;
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--th-line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--th-ink);
}

body.yidam-page {
  max-width: none;
  padding-bottom: 72px !important;
  background:
    radial-gradient(circle at 12% 12%, rgba(173, 101, 77, 0.22), transparent 25rem),
    radial-gradient(circle at 86% 14%, rgba(216, 173, 76, 0.14), transparent 24rem),
    linear-gradient(135deg, #1a0d0d 0%, #251512 42%, #10120e 100%) !important;
  color: #fff3dc !important;
  font-family: Georgia, "Times New Roman", serif !important;
}

.yidam-shell {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.yidam-hero {
  display: grid;
  grid-template-columns: minmax(220px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  min-height: min(720px, calc(100vh - 128px));
  padding: clamp(24px, 5vw, 64px) 0 clamp(18px, 4vw, 48px);
}

.yidam-mark {
  display: grid;
  place-items: center;
}

.yidam-mark img {
  width: min(100%, 430px);
  border: 1px solid rgba(255, 221, 154, 0.2);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.yidam-intro {
  max-width: 650px;
}

.yidam-kicker {
  margin: 0 0 0.8rem !important;
  color: rgba(216, 173, 76, 0.9) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.76rem !important;
  font-weight: 800;
  letter-spacing: 0.14em !important;
  line-height: 1.25 !important;
  text-transform: uppercase;
}

.yidam-intro h1 {
  margin: 0 0 1.4rem;
  color: #ffcf75;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(4rem, 13vw, 9rem) !important;
  font-weight: 400;
  letter-spacing: 0.04em !important;
  line-height: 0.9 !important;
}

.yidam-intro p {
  max-width: 62ch;
  color: rgba(255, 243, 220, 0.9) !important;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem) !important;
  line-height: 1.72 !important;
}

.yidam-offer {
  color: #ffcf75 !important;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif !important;
  font-size: clamp(1.35rem, 2.4vw, 2.1rem) !important;
  line-height: 1.25 !important;
}

.yidam-panel,
.yidam-details,
.yidam-quote {
  border: 1px solid rgba(255, 221, 154, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 243, 220, 0.07), rgba(255, 243, 220, 0.025)),
    rgba(18, 12, 10, 0.5);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.yidam-panel {
  padding: clamp(22px, 4vw, 42px);
}

.yidam-section-heading {
  margin-bottom: clamp(16px, 3vw, 28px);
}

.yidam-section-heading h2,
.yidam-details h2 {
  margin: 0;
  color: #fff3dc;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.45rem) !important;
  font-weight: 400;
  line-height: 1.12 !important;
}

.song-grid {
  display: grid;
  gap: 8px;
}

.download-song-grid {
  display: grid;
  gap: 8px;
  text-align: left;
}

.song-row {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) 5rem 5.2rem;
  gap: clamp(10px, 2vw, 20px);
  align-items: center;
  min-height: 52px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 221, 154, 0.13);
  border-radius: 6px;
  background: rgba(255, 243, 220, 0.045);
  color: #fff3dc !important;
  text-decoration: none !important;
}

.song-row:hover,
.song-row:focus {
  border-color: rgba(255, 207, 117, 0.58);
  background: rgba(255, 207, 117, 0.11);
}

.song-number,
.song-duration,
.song-action {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.song-number {
  color: rgba(255, 207, 117, 0.72);
}

.song-title {
  min-width: 0;
  overflow: hidden;
  color: #fff8ea;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-song-row {
  display: grid;
  grid-template-columns: 3.2rem minmax(15rem, 1fr) 4.5rem 6rem 6.8rem 8.4rem;
  gap: clamp(10px, 1.8vw, 18px);
  align-items: center;
  min-height: 54px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 221, 154, 0.13);
  border-radius: 6px;
  background: rgba(255, 243, 220, 0.045);
}

.download-song-row:hover {
  border-color: rgba(255, 207, 117, 0.46);
  background: rgba(255, 207, 117, 0.09);
}

.song-duration {
  color: rgba(255, 243, 220, 0.7);
  text-align: right;
}

.song-size {
  color: rgba(255, 243, 220, 0.62);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
}

.song-action {
  justify-self: end;
  padding: 8px 12px;
  border: 1px solid rgba(255, 207, 117, 0.28);
  border-radius: 999px;
  color: #ffcf75;
}

.download-action,
.notes-action,
.donate-button {
  justify-self: end;
  padding: 8px 12px;
  border: 1px solid rgba(255, 207, 117, 0.28);
  border-radius: 999px;
  background: rgba(255, 243, 220, 0.035);
  color: #ffcf75 !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
}

.download-action {
  background: rgba(216, 173, 76, 0.13);
}

.download-action:hover,
.download-action:focus,
.notes-action:hover,
.notes-action:focus,
.donate-button:hover,
.donate-button:focus {
  border-color: rgba(255, 226, 160, 0.72);
  background: rgba(216, 173, 76, 0.22);
}

.insert-download {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  margin: 1.2rem 0 0 !important;
  color: rgba(255, 243, 220, 0.65) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.88rem !important;
  line-height: 1.4 !important;
}

.insert-download a {
  font-weight: 800;
}

.yidam-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 44px);
  margin-top: clamp(18px, 3vw, 26px);
  padding: clamp(22px, 4vw, 38px);
}

.yidam-details p {
  color: rgba(255, 243, 220, 0.82) !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

.yidam-quote {
  margin: clamp(18px, 3vw, 26px) 0 0;
  padding: clamp(24px, 5vw, 46px);
}

.yidam-quote blockquote {
  max-width: 900px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  background: transparent;
  color: rgba(255, 248, 234, 0.92) !important;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.5;
}

.yidam-quote figcaption {
  margin-top: 1rem;
  color: rgba(216, 173, 76, 0.86);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.yidam-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  margin-top: clamp(18px, 3vw, 26px);
  padding: clamp(22px, 4vw, 38px);
}

.yidam-support h2 {
  margin: 0;
  color: #fff3dc;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem) !important;
  font-weight: 400;
  line-height: 1.12 !important;
}

.yidam-support p {
  color: rgba(255, 243, 220, 0.82) !important;
}

.donate-button {
  min-height: 42px;
  cursor: pointer;
}

.teacher-page {
  max-width: none;
  background:
    radial-gradient(circle at 16% 8%, rgba(173, 101, 77, 0.24), transparent 24rem),
    radial-gradient(circle at 86% 18%, rgba(78, 108, 85, 0.22), transparent 28rem),
    linear-gradient(135deg, #200d0d 0%, #2b1511 38%, #111711 100%) !important;
  color: #fff1d7 !important;
}

.teacher-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.teacher-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  min-height: min(660px, calc(100vh - 118px));
  padding: clamp(24px, 5vw, 66px) 0 clamp(20px, 4vw, 52px);
}

.teacher-kicker {
  margin: 0 0 0.8rem !important;
  color: rgba(216, 173, 76, 0.9) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.16em !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.teacher-hero h1 {
  max-width: 11ch;
  margin: 0;
  color: #ffcf75;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(3rem, 8vw, 6.8rem) !important;
  font-weight: 400;
  line-height: 0.96 !important;
}

.teacher-lede {
  max-width: 58ch;
  margin-top: 1.4rem !important;
  color: rgba(255, 241, 215, 0.88) !important;
  font-size: clamp(1.08rem, 1.75vw, 1.34rem) !important;
}

.teacher-portrait {
  margin: 0;
}

.teacher-portrait img,
.teacher-image-link img {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 207, 117, 0.2);
  border-radius: 8px;
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.36);
}

.teacher-portrait figcaption {
  margin-top: 0.9rem;
  color: rgba(255, 207, 117, 0.78);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-align: center;
}

.teacher-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.86fr) minmax(0, 1.44fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
}

.teacher-sidebar,
.teacher-article {
  display: grid;
  gap: clamp(14px, 2.4vw, 24px);
}

.teacher-note,
.teacher-article section,
.teacher-footer {
  border: 1px solid rgba(255, 221, 154, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 243, 220, 0.065), rgba(255, 243, 220, 0.026)),
    rgba(18, 12, 10, 0.46);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.22);
}

.teacher-note,
.teacher-article section {
  padding: clamp(18px, 3.2vw, 34px);
}

.teacher-note h2,
.teacher-article h2 {
  margin: 0 0 1rem;
  color: #fff8ea;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.38rem, 2.6vw, 2.15rem) !important;
  font-weight: 400;
  line-height: 1.14 !important;
}

.teacher-note blockquote {
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  background: transparent;
}

.teacher-note blockquote p {
  color: rgba(255, 241, 215, 0.92) !important;
  font-size: clamp(1.04rem, 1.9vw, 1.3rem) !important;
  line-height: 1.55 !important;
}

.teacher-note blockquote footer,
.teacher-source,
.teacher-pdf-note {
  color: rgba(255, 207, 117, 0.72) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 800;
  letter-spacing: 0.08em !important;
  line-height: 1.45 !important;
  text-transform: uppercase;
}

.mantra-note {
  text-align: center;
}

.mantra-note h2 {
  color: #fff1d7;
  font-size: clamp(1.2rem, 2.3vw, 1.75rem) !important;
  font-style: italic;
}

.teacher-link-list,
.teacher-resource-grid,
.teacher-pdf-list {
  display: grid;
  gap: 8px;
}

.teacher-link-list a,
.teacher-resource-grid a,
.teacher-pdf-list a {
  display: block;
  padding: 11px 13px;
  border: 1px solid rgba(255, 207, 117, 0.18);
  border-radius: 6px;
  background: rgba(255, 243, 220, 0.04);
  color: #ffcf75 !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-decoration: none !important;
  text-transform: uppercase;
}

.teacher-link-list a:hover,
.teacher-link-list a:focus,
.teacher-resource-grid a:hover,
.teacher-resource-grid a:focus,
.teacher-pdf-list a:hover,
.teacher-pdf-list a:focus {
  border-color: rgba(255, 226, 160, 0.72);
  background: rgba(216, 173, 76, 0.16);
  color: #ffe2a0 !important;
}

.teacher-image-link {
  display: block;
}

.teacher-article p,
.teacher-note p {
  color: rgba(255, 241, 215, 0.86) !important;
}

.teacher-quote {
  border-color: rgba(255, 207, 117, 0.24) !important;
}

.teacher-timeline {
  display: grid;
  gap: 10px;
  margin: 0;
}

.teacher-timeline div {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 221, 154, 0.12);
}

.teacher-timeline div:last-child {
  border-bottom: 0;
}

.teacher-timeline dt {
  color: rgba(255, 207, 117, 0.86);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.teacher-timeline dd {
  margin: 0;
  color: rgba(255, 241, 215, 0.86);
}

.teacher-resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.teacher-pdf-list a {
  display: grid;
  gap: 0.24rem;
  text-transform: none;
}

.teacher-pdf-list strong {
  color: #ffcf75;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
}

.teacher-pdf-list span {
  color: rgba(255, 241, 215, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0;
}

.teacher-footer {
  width: min(100%, 1180px);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  justify-content: space-between;
  margin: clamp(22px, 4vw, 44px) auto 0;
  padding: 18px clamp(18px, 3vw, 32px);
  color: rgba(255, 241, 215, 0.66);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.refuge-tree-page {
  max-width: none;
  background:
    radial-gradient(circle at 18% 6%, rgba(216, 173, 76, 0.14), transparent 24rem),
    radial-gradient(circle at 84% 10%, rgba(78, 108, 85, 0.28), transparent 30rem),
    linear-gradient(135deg, #210b0b 0%, #35100f 44%, #11170f 100%) !important;
  color: #f4e5c0 !important;
}

.refuge-tree-shell {
  width: min(100%, 980px);
  margin: 0 auto;
}

.refuge-tree-image {
  display: grid;
  place-items: center;
  margin: clamp(22px, 4vw, 48px) 0 clamp(24px, 4vw, 56px);
}

.refuge-tree-image img {
  width: min(100%, 592px);
  border: 1px solid rgba(255, 221, 154, 0.18);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.refuge-tree-article {
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid rgba(255, 221, 154, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 243, 220, 0.07), rgba(255, 243, 220, 0.025)),
    rgba(18, 12, 10, 0.5);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.refuge-tree-article header {
  max-width: 760px;
  margin: 0 auto clamp(22px, 4vw, 42px);
  text-align: center;
}

.refuge-tree-kicker {
  margin: 0 0 0.8rem !important;
  color: rgba(216, 173, 76, 0.86) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.14em !important;
  line-height: 1.3 !important;
  text-transform: uppercase;
}

.refuge-tree-article h1 {
  margin: 0;
  color: #ffcf75;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.6rem, 7vw, 5.4rem) !important;
  font-weight: 400;
  line-height: 1 !important;
}

.refuge-tree-article p {
  max-width: 760px;
  margin-right: auto !important;
  margin-left: auto !important;
  color: rgba(244, 229, 192, 0.9) !important;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem) !important;
  line-height: 1.82 !important;
}

.refuge-tree-practice {
  margin-top: clamp(22px, 4vw, 38px) !important;
  padding-top: clamp(18px, 3vw, 28px);
  border-top: 1px solid rgba(255, 221, 154, 0.16);
  color: #fff1d7 !important;
  font-style: italic;
  text-align: center;
}

.refuge-tree-article footer {
  margin-top: clamp(18px, 3vw, 32px);
  color: rgba(255, 207, 117, 0.82);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-align: center;
}

.vajra-family-page {
  max-width: none;
  background:
    linear-gradient(180deg, rgba(7, 18, 12, 0.5), rgba(7, 18, 12, 0.68)),
    radial-gradient(circle at 15% 6%, rgba(78, 108, 85, 0.24), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(216, 173, 76, 0.1), transparent 26rem),
    url("../img/gaia.jpg") center top / cover fixed,
    linear-gradient(135deg, #071b12 0%, #183524 43%, #190f0c 100%) !important;
  color: #f4ead3 !important;
}

.vajra-family-shell,
.vajra-family-footer {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.vajra-family-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(190px, 0.55fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  min-height: min(660px, calc(100vh - 118px));
  padding: clamp(24px, 5vw, 66px) 0 clamp(20px, 4vw, 52px);
}

.vajra-family-kicker {
  margin: 0 0 0.8rem !important;
  color: rgba(216, 173, 76, 0.88) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.16em !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.vajra-family-hero h1 {
  max-width: 10ch;
  margin: 0;
  color: #ffcf75;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(4rem, 11vw, 8rem) !important;
  font-weight: 400;
  line-height: 0.88 !important;
}

.vajra-family-lede {
  max-width: 48ch;
  margin-top: 1.4rem !important;
  color: rgba(244, 234, 211, 0.9) !important;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem) !important;
  line-height: 1.42 !important;
}

.vajra-family-source {
  color: rgba(255, 207, 117, 0.76) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 900;
  letter-spacing: 0.12em !important;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.vajra-family-banner {
  justify-self: center;
  margin: 0;
  text-align: center;
}

.vajra-family-banner img,
.image-link img,
.head-link img {
  display: block;
  border: 1px solid rgba(255, 221, 154, 0.2);
  border-radius: 8px;
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.34);
}

.vajra-family-banner img {
  width: min(100%, 233px);
}

.vajra-family-banner figcaption {
  margin-top: 0.9rem;
  color: rgba(255, 207, 117, 0.78);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.vajra-family-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.5fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
}

.vajra-family-sidebar,
.vajra-family-article {
  display: grid;
  gap: clamp(14px, 2.4vw, 24px);
}

.vajra-card,
.vajra-nav-card,
.vajra-family-footer {
  border: 1px solid rgba(255, 221, 154, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 243, 220, 0.062), rgba(255, 243, 220, 0.024)),
    rgba(8, 18, 13, 0.54);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.23);
}

.vajra-card {
  padding: clamp(18px, 3.2vw, 34px);
}

.vajra-card h2,
.vajra-family-footer h2 {
  margin: 0 0 1rem;
  color: #fff8ea;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 2.05rem) !important;
  font-weight: 400;
  line-height: 1.14 !important;
}

.vajra-card p,
.vajra-card dd,
.vajra-family-footer p {
  color: rgba(244, 234, 211, 0.86) !important;
}

.vajra-card blockquote {
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  background: transparent;
}

.vajra-card blockquote p {
  font-size: clamp(1.02rem, 1.7vw, 1.22rem) !important;
  line-height: 1.62 !important;
}

.vajra-card blockquote footer {
  margin-top: 0.8rem;
  color: rgba(255, 207, 117, 0.76);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.samaya-card,
.poem-card {
  text-align: center;
}

.poem-card p {
  margin-bottom: 1.2rem !important;
  font-size: clamp(1.05rem, 2vw, 1.32rem) !important;
}

.compact-links,
.vajra-nav-card,
.offering-grid {
  display: grid;
  gap: 8px;
}

.compact-links {
  grid-template-columns: 1fr;
  margin-top: 1.4rem;
}

.compact-links a,
.vajra-nav-card a,
.offering-grid a {
  display: block;
  padding: 11px 13px;
  border: 1px solid rgba(255, 207, 117, 0.18);
  border-radius: 6px;
  background: rgba(255, 243, 220, 0.04);
  color: #ffcf75 !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-decoration: none !important;
  text-transform: uppercase;
}

.compact-links a:hover,
.compact-links a:focus,
.vajra-nav-card a:hover,
.vajra-nav-card a:focus,
.offering-grid a:hover,
.offering-grid a:focus {
  border-color: rgba(255, 226, 160, 0.72);
  background: rgba(216, 173, 76, 0.16);
  color: #ffe2a0 !important;
}

.image-link,
.head-link {
  display: grid;
  place-items: center;
  margin-top: 1.2rem;
}

.contact-card p:last-child {
  color: rgba(244, 234, 211, 0.62) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.82rem !important;
}

.sangha-levels {
  display: grid;
  gap: 10px;
  margin: 0;
}

.sangha-levels div {
  display: grid;
  grid-template-columns: 8.4rem minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 221, 154, 0.12);
}

.sangha-levels div:last-child {
  border-bottom: 0;
}

.sangha-levels dt {
  color: rgba(255, 207, 117, 0.86);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.offering-grid a {
  display: grid;
  gap: 0.28rem;
  min-height: 74px;
  text-transform: none;
}

.offering-grid strong {
  color: #ffcf75;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.offering-grid span {
  color: rgba(244, 234, 211, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0;
}

.small-offerings {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-panel {
  border-color: rgba(255, 207, 117, 0.24);
}

.ths-mark {
  display: inline-grid;
  place-items: center;
  min-width: 5rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 207, 117, 0.36);
  border-radius: 999px;
  background: rgba(216, 173, 76, 0.1);
  font-family: "Courier New", Courier, monospace;
  font-size: 1.45rem;
  font-weight: 800;
  text-decoration: none !important;
}

.vajra-family-footer {
  margin-top: clamp(24px, 4vw, 52px);
  padding: clamp(18px, 3vw, 32px);
}

.vajra-family-footer > p:first-child {
  color: rgba(255, 207, 117, 0.78) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 900;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
}

.vajra-family-footer h2 {
  margin-top: 1.2rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem) !important;
}

.vajra-family-footer p {
  max-width: 90ch;
  font-size: 0.96rem !important;
  line-height: 1.56 !important;
}

.geo-page {
  max-width: none;
  background:
    radial-gradient(circle at 14% 6%, rgba(78, 108, 85, 0.34), transparent 28rem),
    radial-gradient(circle at 88% 16%, rgba(111, 153, 173, 0.16), transparent 26rem),
    linear-gradient(135deg, #090d09 0%, #1a2418 42%, #20150d 100%) !important;
  color: #efe2c4 !important;
}

.geo-shell,
.geo-footer {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.geo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.5fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  min-height: min(620px, calc(100vh - 118px));
  padding: clamp(24px, 5vw, 66px) 0 clamp(20px, 4vw, 52px);
}

.geo-kicker,
.geo-source,
.geo-card blockquote footer {
  color: rgba(216, 173, 76, 0.78) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 900;
  letter-spacing: 0.12em !important;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.geo-kicker {
  margin: 0 0 0.8rem !important;
}

.geo-hero h1 {
  max-width: 10ch;
  margin: 0;
  color: #d8ad4c;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(3.2rem, 9vw, 7rem) !important;
  font-weight: 700;
  letter-spacing: 0.02em !important;
  line-height: 0.94 !important;
  text-transform: uppercase;
}

.geo-lede {
  max-width: 46ch;
  margin-top: 1.2rem !important;
  color: rgba(239, 226, 196, 0.86) !important;
  font-size: clamp(1.16rem, 2vw, 1.55rem) !important;
  line-height: 1.42 !important;
}

.geo-hero-image {
  justify-self: center;
  margin: 0;
  text-align: center;
}

.geo-hero-image img,
.geo-card img,
.geo-image-pair img {
  display: block;
  border: 1px solid rgba(216, 173, 76, 0.2);
  border-radius: 8px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
}

.geo-hero-image img {
  width: min(100%, 190px);
}

.geo-hero-image figcaption {
  margin-top: 0.9rem;
  color: rgba(216, 173, 76, 0.82);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.geo-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.5fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
}

.geo-sidebar,
.geo-article {
  display: grid;
  gap: clamp(14px, 2.4vw, 24px);
}

.geo-card,
.geo-nav-card,
.geo-footer,
.geo-image-pair {
  border: 1px solid rgba(216, 173, 76, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(239, 226, 196, 0.06), rgba(239, 226, 196, 0.024)),
    rgba(9, 13, 9, 0.54);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.24);
}

.geo-card {
  padding: clamp(18px, 3.2vw, 34px);
}

.geo-card h2,
.geo-footer h2 {
  margin: 0 0 1rem;
  color: #f7edcf;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.34rem, 2.5vw, 2.05rem) !important;
  font-weight: 400;
  line-height: 1.14 !important;
}

.geo-card p,
.geo-card dd,
.geo-footer p {
  color: rgba(239, 226, 196, 0.86) !important;
}

.earth-card {
  text-align: center;
}

.earth-card p {
  color: #d0c385 !important;
}

.centered-card {
  display: grid;
  justify-items: center;
  text-align: center;
}

.geo-caption {
  color: rgba(239, 226, 196, 0.62) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.82rem !important;
  font-style: italic;
}

.geo-emphasis {
  color: rgba(239, 226, 196, 0.78) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 800;
  letter-spacing: 0.08em !important;
  line-height: 1.52 !important;
  text-transform: uppercase;
}

.geo-link-stack,
.geo-nav-card {
  display: grid;
  gap: 8px;
}

.geo-link-stack {
  width: 100%;
  margin-top: 1.2rem;
}

.geo-image-link {
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  margin: 0.5rem 0 1.3rem;
  text-decoration: none !important;
}

.geo-image-link span,
.geo-link-stack a,
.geo-nav-card a {
  display: block;
  padding: 10px 13px;
  border: 1px solid rgba(216, 173, 76, 0.18);
  border-radius: 6px;
  background: rgba(239, 226, 196, 0.04);
  color: #d8ad4c !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
}

.geo-image-link:hover span,
.geo-image-link:focus span,
.geo-link-stack a:hover,
.geo-link-stack a:focus,
.geo-nav-card a:hover,
.geo-nav-card a:focus {
  border-color: rgba(255, 226, 160, 0.7);
  background: rgba(216, 173, 76, 0.16);
  color: #ffe2a0 !important;
}

.geo-card blockquote {
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  background: transparent;
}

.geo-card blockquote p {
  font-size: clamp(1.02rem, 1.7vw, 1.22rem) !important;
  line-height: 1.66 !important;
}

.quote-card {
  border-color: rgba(216, 173, 76, 0.22);
  text-align: center;
}

.geo-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 24px);
  padding: clamp(14px, 2.4vw, 22px);
}

.geo-image-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.liberation-card {
  text-align: center;
}

.liberation-card img {
  width: min(100%, 500px);
  margin: 0 auto clamp(16px, 3vw, 28px);
}

.support-card h2 {
  color: #d8ad4c;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  text-transform: none;
}

.geo-footer {
  margin-top: clamp(24px, 4vw, 52px);
  padding: clamp(18px, 3vw, 32px);
}

.geo-footer h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem) !important;
}

.geo-footer p {
  max-width: 86ch;
  font-size: 0.96rem !important;
  line-height: 1.56 !important;
}

.lotus-index-page,
.lotus-prayer-page {
  max-width: none;
  background:
    radial-gradient(circle at 14% 8%, rgba(173, 101, 77, 0.24), transparent 26rem),
    radial-gradient(circle at 88% 12%, rgba(216, 173, 76, 0.13), transparent 26rem),
    linear-gradient(135deg, #120b0a 0%, #24120f 42%, #121611 100%) !important;
  color: #fff0d2 !important;
}

.lotus-index-shell,
.lotus-prayer-shell {
  width: min(100%, 1140px);
  margin: 0 auto;
}

.lotus-index-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.7fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  min-height: min(680px, calc(100vh - 118px));
  padding: clamp(24px, 5vw, 66px) 0 clamp(20px, 4vw, 52px);
}

.lotus-kicker {
  margin: 0 0 0.8rem !important;
  color: rgba(216, 173, 76, 0.88) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 900;
  letter-spacing: 0.16em !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.lotus-index-hero h1,
.lotus-prayer-hero h1 {
  margin: 0;
  color: #d8ad4c;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(3.6rem, 10vw, 7.6rem) !important;
  font-weight: 400;
  line-height: 0.92 !important;
}

.lotus-lede {
  max-width: 48ch;
  margin-top: 1.3rem !important;
  color: rgba(255, 240, 210, 0.9) !important;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem) !important;
  line-height: 1.42 !important;
}

.lotus-realign {
  color: rgba(255, 240, 210, 0.7) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 800;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
}

.lotus-guru {
  margin: 0;
  text-align: center;
}

.lotus-guru img {
  width: min(100%, 360px);
  border: 1px solid rgba(216, 173, 76, 0.2);
  border-radius: 8px;
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.4);
}

.lotus-guru figcaption {
  margin-top: 0.9rem;
  color: rgba(216, 173, 76, 0.82);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lotus-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 24px);
}

.lotus-index-card,
.lotus-source-panel,
.lotus-prayer-card {
  border: 1px solid rgba(216, 173, 76, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 240, 210, 0.065), rgba(255, 240, 210, 0.025)),
    rgba(18, 11, 10, 0.55);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
}

.lotus-index-card,
.lotus-source-panel,
.lotus-prayer-card {
  padding: clamp(20px, 3.4vw, 38px);
}

.lotus-index-card h2,
.lotus-source-panel h2 {
  margin: 0 0 1rem;
  color: #fff7e5;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem) !important;
  font-weight: 400;
}

.lotus-index-card {
  display: grid;
  align-content: start;
  gap: 8px;
}

.lotus-index-card a {
  display: grid;
  gap: 0.28rem;
  padding: 11px 13px;
  border: 1px solid rgba(216, 173, 76, 0.18);
  border-radius: 6px;
  background: rgba(255, 240, 210, 0.04);
  text-decoration: none !important;
}

.lotus-index-card a:hover,
.lotus-index-card a:focus {
  border-color: rgba(255, 226, 160, 0.72);
  background: rgba(216, 173, 76, 0.15);
}

.lotus-index-card strong {
  color: #d8ad4c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.lotus-index-card span,
.lotus-source-panel p {
  color: rgba(255, 240, 210, 0.76) !important;
  font-size: 0.98rem !important;
  line-height: 1.55 !important;
}

.lotus-source-panel {
  margin-top: clamp(18px, 3vw, 28px);
}

.lotus-prayer-hero {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(34px, 7vw, 82px) 0 clamp(20px, 4vw, 42px);
  text-align: center;
}

.lotus-prayer-hero h1 {
  font-size: clamp(2.6rem, 8vw, 6.2rem) !important;
}

.lotus-prayer-hero p:not(.lotus-kicker) {
  max-width: 760px;
  margin: 1.2rem auto 0 !important;
  color: rgba(255, 240, 210, 0.82) !important;
  font-size: clamp(1.05rem, 1.8vw, 1.34rem) !important;
}

.lotus-prayer-card {
  max-width: 900px;
  margin: 0 auto;
}

.lotus-prayer-card section {
  padding: clamp(18px, 3vw, 30px) 0;
  border-bottom: 1px solid rgba(216, 173, 76, 0.14);
}

.lotus-prayer-card section:first-child {
  padding-top: 0;
}

.lotus-prayer-card p {
  max-width: 720px;
  margin-right: auto !important;
  margin-left: auto !important;
  color: rgba(255, 240, 210, 0.88) !important;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif !important;
  font-size: clamp(1.08rem, 2vw, 1.48rem) !important;
  line-height: 1.72 !important;
  text-align: center;
}

.lotus-prayer-card footer {
  padding-top: clamp(18px, 3vw, 30px);
}

.lotus-prayer-card footer p {
  color: rgba(216, 173, 76, 0.78) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 900;
  letter-spacing: 0.08em !important;
  line-height: 1.5 !important;
  text-transform: uppercase;
}

.archive-clean-page {
  max-width: none;
  background:
    radial-gradient(circle at 14% 8%, rgba(78, 108, 85, 0.24), transparent 28rem),
    radial-gradient(circle at 86% 14%, rgba(216, 173, 76, 0.12), transparent 26rem),
    linear-gradient(135deg, #11100d 0%, #1d1a14 45%, #141d17 100%) !important;
  color: #f3ead8 !important;
}

.archive-clean-shell {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.archive-clean-article {
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid rgba(245, 239, 228, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(245, 239, 228, 0.06), rgba(245, 239, 228, 0.024)),
    rgba(18, 17, 14, 0.52);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.archive-clean-article header {
  max-width: 820px;
  margin: 0 auto clamp(22px, 4vw, 42px);
  text-align: center;
}

.archive-clean-kicker {
  margin: 0 0 0.8rem !important;
  color: rgba(216, 173, 76, 0.78) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 900;
  letter-spacing: 0.14em !important;
  line-height: 1.3 !important;
  text-transform: uppercase;
}

.archive-clean-article h1 {
  margin: 0;
  color: #d8ad4c;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.4rem, 6.2vw, 5.2rem) !important;
  font-weight: 400;
  line-height: 1.02 !important;
}

.archive-clean-content {
  max-width: 860px;
  margin: 0 auto;
}

.archive-clean-content p,
.archive-clean-content li,
.archive-clean-content dd,
.archive-clean-content div {
  color: rgba(243, 234, 216, 0.88) !important;
  font-size: clamp(1rem, 1.55vw, 1.2rem) !important;
  line-height: 1.72 !important;
}

.archive-clean-content h2,
.archive-clean-content h3,
.archive-clean-content h4 {
  color: #fff6e5;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 400;
}

.archive-clean-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
}

.archive-clean-content h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.8rem) !important;
}

.archive-clean-content blockquote {
  margin: 1.4rem auto !important;
}

.archive-clean-content .archive-center {
  text-align: center;
}

.archive-clean-row,
.archive-clean-cell,
.archive-clean-block {
  display: contents;
}

.archive-clean-content img {
  display: block;
  max-width: min(100%, 720px) !important;
  margin: clamp(14px, 2.4vw, 24px) auto;
  border: 1px solid rgba(245, 239, 228, 0.14);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.archive-clean-content a {
  font-weight: 700;
}

.archive-clean-content ul,
.archive-clean-content ol {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

.yidam-copyright {
  margin: 1.2rem 0 0 !important;
  color: rgba(255, 243, 220, 0.55) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.78rem !important;
  line-height: 1.5 !important;
  text-align: center;
}

center {
  max-width: 100%;
}

body > center:first-child,
body > table:first-child,
body > div:first-child {
  margin-top: 0 !important;
}

body.presentation-page {
  box-sizing: border-box;
  height: 100vh;
  min-height: 100vh;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 50px clamp(12px, 2vw, 28px) 98px !important;
}

body.presentation-page > div[align="center"] {
  width: min(100%, 920px);
  max-height: calc(100vh - 118px);
  display: block;
}

.presentation-stage {
  width: min(100%, 900px);
  height: min(66vh, 560px);
  max-height: calc(100vh - 178px);
  display: grid;
  place-items: stretch;
}

.presentation-card {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  gap: clamp(0.65rem, 1.6vmin, 1.2rem);
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: clamp(22px, 4.2vmin, 50px);
  border: 1px solid rgba(245, 239, 228, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(245, 239, 228, 0.07), rgba(245, 239, 228, 0.03)),
    rgba(18, 17, 14, 0.46);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

body.presentation-tenkey .presentation-card {
  background:
    linear-gradient(180deg, rgba(255, 248, 237, 0.045), rgba(255, 248, 237, 0.018)),
    #5c1414;
}

body.presentation-ease .presentation-card {
  background:
    linear-gradient(180deg, rgba(255, 248, 237, 0.055), rgba(255, 248, 237, 0.02)),
    #125f5d;
}

body.presentation-song .presentation-card {
  background:
    linear-gradient(180deg, rgba(255, 248, 237, 0.05), rgba(255, 248, 237, 0.018)),
    #303030;
}

body.presentation-lot .presentation-card {
  background:
    linear-gradient(180deg, rgba(255, 248, 237, 0.055), rgba(255, 248, 237, 0.02)),
    #284c4c;
}

body.presentation-twentythree .presentation-card {
  background:
    linear-gradient(180deg, rgba(255, 248, 237, 0.05), rgba(255, 248, 237, 0.018)),
    #173f2a;
}

body.presentation-deer .presentation-card {
  background:
    linear-gradient(180deg, rgba(255, 248, 237, 0.05), rgba(255, 248, 237, 0.018)),
    #556b2f;
}

body.presentation-noco .presentation-card {
  background:
    linear-gradient(180deg, rgba(255, 248, 237, 0.05), rgba(255, 248, 237, 0.018)),
    #40363a;
}

body.presentation-staff .presentation-card {
  background:
    linear-gradient(180deg, rgba(255, 248, 237, 0.05), rgba(255, 248, 237, 0.018)),
    #101d3a;
}

body.presentation-tenv .presentation-card {
  background:
    linear-gradient(180deg, rgba(255, 248, 237, 0.05), rgba(255, 248, 237, 0.018)),
    #5c1542;
}

body.presentation-train .presentation-card {
  background:
    linear-gradient(180deg, rgba(255, 248, 237, 0.05), rgba(255, 248, 237, 0.018)),
    #4d321c;
}

body.presentation-ways .presentation-card {
  background:
    linear-gradient(180deg, rgba(255, 248, 237, 0.05), rgba(255, 248, 237, 0.018)),
    #a0522d;
}

.presentation-card h1 {
  margin: 0;
  color: rgba(216, 173, 76, 0.78);
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: calc(clamp(0.76rem, 1.42vmin, 0.98rem) * var(--presentation-fit, 1));
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.presentation-card h1:empty {
  display: none;
}

.presentation-copy {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(0.28rem, 0.8vmin, 0.62rem);
  min-height: 0;
  overflow: hidden;
  color: var(--th-ink);
  text-align: center;
}

.presentation-copy p {
  max-width: 760px;
  margin: 0 !important;
  color: inherit !important;
  font-size: calc(clamp(1rem, 2.42vmin, 1.74rem) * var(--presentation-fit, 1)) !important;
  font-weight: 400 !important;
  line-height: 1.26 !important;
}

body.presentation-tenkey .presentation-copy,
body.presentation-lot .presentation-copy,
body.presentation-twentythree .presentation-copy,
body.presentation-deer .presentation-copy,
body.presentation-noco .presentation-copy,
body.presentation-staff .presentation-copy,
body.presentation-tenv .presentation-copy,
body.presentation-train .presentation-copy,
body.presentation-ways .presentation-copy {
  color: #fff8dc;
}

body.presentation-ease .presentation-copy {
  color: #f5deb3;
}

body.presentation-song .presentation-copy {
  color: #d6d1c8;
}

body.presentation-tenkey .presentation-copy p,
body.presentation-ease .presentation-copy p,
body.presentation-lot .presentation-copy p,
body.presentation-twentythree .presentation-copy p,
body.presentation-deer .presentation-copy p,
body.presentation-noco .presentation-copy p,
body.presentation-staff .presentation-copy p,
body.presentation-tenv .presentation-copy p,
body.presentation-train .presentation-copy p,
body.presentation-ways .presentation-copy p {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif !important;
}

body.presentation-song .presentation-copy p {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif !important;
}

.presentation-copy p:empty {
  display: none;
}

body.presentation-page p {
  margin-bottom: clamp(0.35rem, 1.2vmin, 0.85rem) !important;
}

body.presentation-page br {
  display: block;
  content: "";
  margin: 0.06rem 0;
}

body.presentation-page font[size="6"],
body.presentation-page font[size="+6"] {
  font-size: calc(clamp(1.08rem, 3vmin, 2rem) * var(--presentation-fit, 1)) !important;
  line-height: 1.18 !important;
}

body.presentation-page font[size="5"],
body.presentation-page font[size="+5"] {
  font-size: calc(clamp(1rem, 2.55vmin, 1.68rem) * var(--presentation-fit, 1)) !important;
  line-height: 1.2 !important;
}

body.presentation-page font[size="4"],
body.presentation-page font[size="+4"],
body.presentation-page font[size="3"],
body.presentation-page font[size="+3"],
body.presentation-page font[size="+2"] {
  font-size: calc(clamp(0.9rem, 2.15vmin, 1.36rem) * var(--presentation-fit, 1)) !important;
  line-height: 1.28 !important;
}

.presentation-controls {
  position: fixed;
  left: 50%;
  bottom: clamp(14px, 2.8vh, 24px);
  z-index: 2147483642;
  display: grid;
  grid-template-columns: 36px 48px 36px;
  gap: 6px;
  transform: translateX(-50%);
  padding: 5px 8px;
  border: 1px solid rgba(245, 239, 228, 0.16);
  border-radius: 999px;
  background: rgba(18, 17, 14, 0.62);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.presentation-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 28px;
  border: 1px solid rgba(216, 173, 76, 0.34);
  border-radius: 999px;
  background: rgba(245, 239, 228, 0.035);
  color: var(--th-gold) !important;
  text-decoration: none !important;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.presentation-button[data-action="play"] {
  width: 48px;
  height: 30px;
  margin: -1px 0;
  border-color: rgba(216, 173, 76, 0.55);
  background: rgba(216, 173, 76, 0.11);
}

.presentation-button::before,
.presentation-button::after {
  display: block;
  content: "";
  flex: 0 0 auto;
}

.presentation-button[data-action="prev"]::before,
.presentation-button[data-action="next"]::before {
  width: 9px;
  height: 9px;
  border-top: 1.75px solid currentColor;
  border-left: 1.75px solid currentColor;
}

.presentation-button[data-action="prev"]::before {
  transform: translateX(2px) rotate(-45deg);
}

.presentation-button[data-action="next"]::before {
  transform: translateX(-2px) rotate(135deg);
}

.presentation-button[data-action="play"]::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.presentation-button[data-action="play"].is-playing::before {
  width: 4px;
  height: 13px;
  margin-left: 0;
  border: 0;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.presentation-button:hover,
.presentation-button:focus {
  border-color: rgba(255, 226, 160, 0.78);
  background: rgba(216, 173, 76, 0.2);
  color: #ffe2a0 !important;
  transform: translateY(-1px);
}

.presentation-button[aria-disabled="true"] {
  opacity: 0.34;
  pointer-events: none;
}

@media (min-width: 760px) {
  body > table,
  body > center > table,
  body > div > table,
  body > blockquote {
    border: 1px solid rgba(245, 239, 228, 0.1);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(245, 239, 228, 0.055), rgba(245, 239, 228, 0.025)),
      rgba(18, 17, 14, 0.42) !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  }
}

@media (max-width: 760px) {
  body {
    padding: 62px 14px 42px !important;
  }

  body::after {
    display: none;
  }

  table,
  tbody,
  tr,
  td,
  th {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  td,
  th {
    padding: 10px 6px !important;
  }

  blockquote {
    padding: 1em !important;
  }

  body.presentation-page {
    display: flex;
    overflow: hidden;
    padding: 54px 10px 86px !important;
  }

  .presentation-stage {
    width: 100%;
    height: calc(100vh - 196px);
    max-height: calc(100vh - 196px);
  }

  .presentation-card {
    padding: 18px 14px;
  }

  .presentation-controls {
    grid-template-columns: 34px 44px 34px;
    gap: 5px;
  }

  .presentation-button {
    width: 34px;
    height: 28px;
  }

  .presentation-button[data-action="play"] {
    width: 44px;
    height: 30px;
  }

  .yidam-hero,
  .yidam-details {
    grid-template-columns: 1fr;
  }

  .yidam-hero {
    min-height: auto;
  }

  .yidam-mark {
    justify-items: start;
  }

  .yidam-mark img {
    width: min(100%, 320px);
  }

  .song-row {
    grid-template-columns: 2.5rem minmax(0, 1fr) 4.2rem;
  }

  .song-action {
    display: none;
  }

  .song-title {
    white-space: normal;
  }

  .download-song-row {
    grid-template-columns: 2.5rem minmax(0, 1fr) 4.2rem;
  }

  .download-song-row .song-title {
    white-space: normal;
  }

  .song-size,
  .download-action,
  .notes-action {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .song-size {
    text-align: left;
  }

  .yidam-support {
    grid-template-columns: 1fr;
  }

  .donate-button {
    justify-self: start;
  }

  .teacher-hero,
  .teacher-grid,
  .teacher-resource-grid {
    grid-template-columns: 1fr;
  }

  .teacher-hero {
    min-height: auto;
  }

  .teacher-hero h1 {
    max-width: 100%;
  }

  .teacher-portrait {
    max-width: 360px;
  }

  .teacher-timeline div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .vajra-family-hero,
  .vajra-family-grid,
  .offering-grid,
  .small-offerings {
    grid-template-columns: 1fr;
  }

  .vajra-family-hero {
    min-height: auto;
  }

  .vajra-family-hero h1 {
    max-width: 100%;
  }

  .vajra-family-banner {
    justify-self: start;
  }

  .sangha-levels div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .geo-hero,
  .geo-grid,
  .geo-image-pair {
    grid-template-columns: 1fr;
  }

  .geo-hero {
    min-height: auto;
  }

  .geo-hero h1 {
    max-width: 100%;
  }

  .geo-hero-image {
    justify-self: start;
  }

  .lotus-index-hero,
  .lotus-index-grid {
    grid-template-columns: 1fr;
  }

  .lotus-index-hero {
    min-height: auto;
  }
}
