:root {
  --v260-ink: #3c2418;
  --v260-brown: #543426;
  --v260-gold: #c57a16;
  --v260-line: rgba(133, 85, 34, .28);
  --v260-paper: #fffaf0;
}

/* Five equal shortcuts, with chanting immediately after temple consultation. */
.mh-learning-v260 .mh-primary-entry-five{grid-template-columns:repeat(5,minmax(0,1fr));}
.mh-learning-v260 .mh-primary-entry-five > a{gap:8px;padding:14px 10px;border-top:0;}
.mh-learning-v260 .mh-primary-entry-five > a span{width:34px;height:34px;flex-basis:34px;}
.mh-learning-v260 .mh-primary-entry-five > a strong{font-size:18px;font-weight:800;white-space:nowrap;overflow:visible;text-overflow:clip;}
.mh-learning-v260 .mh-primary-entry-five > a:nth-child(3){border-left:1px solid rgba(104,73,48,.24);}
.mh-learning-v260 .mh-primary-entry-five > a:nth-child(5){background:linear-gradient(180deg,#fff5e1,#eddbc1)!important;}
@media(max-width:760px){
  .mh-learning-v260 .mh-primary-entry-five{grid-template-columns:repeat(5,minmax(166px,1fr));overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;}
  .mh-learning-v260 .mh-primary-entry-five > a{scroll-snap-align:start;}
  .mh-learning-v260 .mh-primary-entry-five > a strong{font-size:16px;}
}

.mh-content {
  width: min(1240px, calc(100% - 52px));
  position: relative !important;
  z-index: 5 !important;
  overflow: visible !important;
}

.mh-learning-v260 {
  padding: 0 0 12px !important;
  position: relative !important;
  z-index: 6 !important;
}

.mh-learning-v260 .mh-primary-entry {
  margin-top: -40px;
  margin-bottom: 32px;
  position: relative !important;
  z-index: 7 !important;
}

.mh-learning-v260 .mh-primary-entry strong {
  color: #3b281d;
  font-family: var(--mh-sans) !important;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.mh-learning-map {
  min-height: 102px;
  display: grid;
  grid-template-columns: 66px 1fr auto;
  align-items: center;
  gap: 22px;
  margin: 0 0 36px;
  padding: 18px 28px;
  border: 1px solid #d8a351;
  border-radius: 16px;
  background: linear-gradient(105deg, #fff7e7, #f8ddb0);
  color: var(--v260-ink) !important;
  text-decoration: none;
  box-shadow: 0 9px 24px rgba(105, 66, 28, .08);
}

.mh-learning-map-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #5a3024;
  color: #f4c56f;
  font: 700 24px/1 var(--mh-sans);
  transform: rotate(-12deg);
}

.mh-learning-map-copy {
  min-width: 0;
  display: grid;
}

.mh-learning-map-copy small {
  margin-bottom: 2px;
  color: #a05f22;
  font: 700 10px/1.2 var(--mh-sans);
  letter-spacing: .18em;
}

.mh-learning-map-copy strong {
  font: 800 27px/1.3 var(--mh-sans);
  letter-spacing: .04em;
}

.mh-learning-map-copy em {
  margin-top: 3px;
  color: #765949;
  font: normal 500 13px/1.5 var(--mh-sans);
}

.mh-learning-map > b {
  min-width: 188px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #c57713;
  color: #fff9ed;
  font: 700 14px/1.3 var(--mh-sans);
  text-align: center;
  box-shadow: 0 8px 18px rgba(166, 91, 15, .2);
}

.mh-learning-map > b i {
  margin-left: 8px;
  font-style: normal;
}

.mh-featured-v260,
.mh-domains-v260 {
  margin-top: 0;
}

.mh-featured-v260 > header,
.mh-domains-v260 > header,
.mh-services-v260 > header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  margin-bottom: 15px;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.mh-featured-v260 > header h2,
.mh-domains-v260 > header h2,
.mh-services-v260 > header h2 {
  margin: 0 !important;
  color: var(--v260-ink);
  font: 800 29px/1.3 var(--mh-sans) !important;
  letter-spacing: .04em;
  white-space: nowrap;
  text-align: center;
}

.mh-featured-v260 > header span,
.mh-domains-v260 > header span,
.mh-services-v260 > header span {
  display: none;
}

.mh-featured-v260 > header > a,
.mh-domains-v260 > header > a,
.mh-services-v260 > header > a {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #9a5c23;
  font: 600 12px/1.3 var(--mh-sans);
  text-decoration: none;
  white-space: nowrap;
}

.mh-domains-v260 > header h2 > a,
.mh-reading-columns article > header h2 > a {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  color: inherit !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  text-decoration: none !important;
  white-space: normal !important;
}

.mh-domains-v260 > header h2 > a:hover,
.mh-domains-v260 > header h2 > a:focus-visible,
.mh-reading-columns article > header h2 > a:hover,
.mh-reading-columns article > header h2 > a:focus-visible {
  color: #9a5c23 !important;
  outline: none;
}

.mh-about-copy h2 > a {
  color: inherit !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  text-decoration: none !important;
}

.mh-about-copy h2 > a:hover,
.mh-about-copy h2 > a:focus-visible {
  color: #9a5c23 !important;
  outline: none;
}

.mh-featured-grid {
  display: grid;
  grid-template-columns: 2.45fr repeat(3, 1fr);
  gap: 13px;
}

.mh-featured-main,
.mh-featured-card {
  position: relative;
  min-width: 0;
  height: 274px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(75, 41, 24, .12);
  cursor: pointer;
  transform: scale(1);
  transform-origin: center;
  transition: transform .24s cubic-bezier(.2,.75,.25,1), box-shadow .24s ease, filter .24s ease;
}

.mh-featured-main:hover,
.mh-featured-main:focus-within {
  z-index: 12;
  transform: scale(1.04);
  filter: saturate(1.08);
  box-shadow: 0 18px 38px rgba(75, 41, 24, .28);
}

.mh-featured-card:hover,
.mh-featured-card:focus-within {
  z-index: 12;
  transform: scale(1.09);
  filter: saturate(1.1);
  box-shadow: 0 18px 38px rgba(75, 41, 24, .3);
}

.mh-featured-main:active,
.mh-featured-card:active {
  transform: scale(1.02);
}

.mh-featured-main > img,
.mh-featured-card > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mh-featured-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(104, 20, 31, .96) 0 42%, rgba(104, 20, 31, .72) 58%, rgba(104, 20, 31, .02) 100%);
}

.mh-featured-copy {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 56%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 27px;
  color: #fff6e9;
}

.mh-featured-copy h3,
.mh-featured-card h3 {
  margin: 0;
  font: 800 27px/1.35 var(--mh-sans) !important;
  letter-spacing: .03em;
}

.mh-featured-copy p,
.mh-featured-card p {
  margin: 8px 0 20px;
  font: 500 13px/1.6 var(--mh-sans);
}

.mh-featured-copy nav,
.mh-featured-card nav {
  display: flex;
  gap: 8px;
  flex: 0 0 auto !important;
  align-items: center !important;
  align-content: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
}

.mh-featured-copy nav a,
.mh-featured-card nav a {
  min-width: 80px;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 13px;
  border: 1px solid rgba(255, 235, 184, .68);
  border-radius: 999px;
  color: #fff7e8;
  font: 700 11px/1.2 var(--mh-sans);
  text-align: center;
  text-decoration: none;
  white-space: nowrap !important;
}

.mh-featured-copy nav a:first-child,
.mh-featured-card nav a:first-child {
  border-color: #f0c960;
  background: #f0c960;
  color: #57331f;
}

.mh-featured-card {
  display: grid;
  grid-template-rows: 47% 53%;
}

.mh-featured-card > img {
  height: 100%;
  object-position: center;
}

.mh-featured-card > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 13px 10px;
  color: #fff8e9;
  text-align: center;
}

.mh-featured-card h3 {
  font-size: 18px !important;
}

.mh-featured-card p {
  margin: 4px 0 12px;
  color: rgba(255, 248, 233, .86);
  font-size: 10px;
}

.mh-featured-card nav a {
  min-width: 58px;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 6px 8px;
  font-size: 9px;
}

.mh-featured-card nav {
  justify-content: center !important;
}

.mh-featured-blue > div { background: #066c80; }
.mh-featured-orange > div { background: #bf5b0e; }
.mh-featured-green > div { background: #176246; }

.mh-domains-v260 {
  margin-top: 18px;
}

.mh-domain-track {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.mh-domain-track .mh-course-card {
  min-width: 0;
  min-height: 205px;
  padding: 18px 9px;
  transform: none !important;
  opacity: 1 !important;
  box-shadow: 0 8px 18px rgba(70, 41, 26, .1);
  transform-origin: center;
  transition: transform .24s cubic-bezier(.2,.75,.25,1), box-shadow .24s ease, filter .24s ease !important;
}

.mh-domain-track .mh-course-card:hover,
.mh-domain-track .mh-course-card:focus-visible {
  position: relative;
  z-index: 12;
  transform: translateY(-8px) scale(1.12) !important;
  filter: saturate(1.12);
  box-shadow: 0 20px 38px rgba(70, 41, 26, .3);
}

.mh-domain-track .mh-course-card:active {
  transform: translateY(-3px) scale(1.06) !important;
}

.mh-domain-track .mh-course-card > span {
  width: 56px;
  height: 56px;
  padding: 10px;
}

.mh-domain-track .mh-course-card h3 {
  margin: 13px 0 6px;
  font: 700 16px/1.35 var(--mh-sans) !important;
}

.mh-domain-track .mh-course-card p {
  font: 500 10px/1.55 var(--mh-sans);
}

.mh-services-v260 {
  display: block !important;
  min-height: 0 !important;
  margin: 0 0 16px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.mh-reading-hub {
  margin-top: 0 !important;
}

.mh-about-cta {
  width: min(1240px, calc(100% - 52px)) !important;
  grid-template-columns: max-content max-content;
  justify-content: start;
  gap: 26px;
}

.mh-about-actions {
  justify-content: flex-start;
}

.mh-volunteer-button {
  min-height: 46px;
  justify-content: flex-start;
  padding: 0 22px;
  font-family: var(--mh-sans) !important;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.mh-services-v260 > header {
  margin-bottom: 12px;
}

.mh-services-v260 nav {
  min-height: 140px;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  overflow: hidden;
  border: 1px solid rgba(211, 166, 86, .52);
  border-radius: 18px;
  background: #523225;
  box-shadow: 0 9px 22px rgba(74, 43, 27, .12);
}

.mh-services-v260 nav a {
  padding: 14px 18px !important;
  color: #fff4df !important;
}

.mh-services-v260 nav a + a {
  border-left: 1px solid rgba(232, 193, 119, .3) !important;
}

.mh-services-v260 nav a > span,
.mh-services-v260 nav a:nth-child(n) > span {
  width: 44px !important;
  height: 44px !important;
  margin-bottom: 8px !important;
  border: 1px solid rgba(221, 174, 87, .75) !important;
  background: transparent !important;
  color: #dcaa54 !important;
}

.mh-services-v260 nav svg {
  width: 25px !important;
  height: 25px !important;
}

.mh-services-v260 nav b {
  margin-bottom: 4px !important;
  color: #fff6e7 !important;
  font: 800 22px/1.35 var(--mh-sans) !important;
}

.mh-services-v260 nav small {
  color: rgba(255, 239, 212, .73) !important;
  font: 500 12px/1.55 var(--mh-sans) !important;
}

@media (max-width: 1040px) {
  .mh-featured-grid { grid-template-columns: 1.7fr repeat(3, 1fr); }
  .mh-featured-main, .mh-featured-card { height: 245px; }
  .mh-featured-copy { width: 63%; padding: 24px 20px; }
  .mh-featured-copy h3 { font-size: 23px !important; }
  .mh-domain-track { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 760px) {
  .mh-content { width: calc(100% - 24px); }
  .mh-learning-v260 .mh-primary-entry { margin-top: -20px; margin-bottom: 20px; }
  .mh-learning-v260 .mh-primary-entry strong { font-size: 16px; }
  .mh-learning-map { grid-template-columns: 48px 1fr; gap: 13px; padding: 15px; margin-bottom: 28px; }
  .mh-learning-map-icon { width: 46px; height: 46px; }
  .mh-learning-map-copy strong { font-size: 22px; }
  .mh-learning-map-copy em { font-size: 12px; }
  .mh-learning-map > b { grid-column: 1 / -1; min-width: 0; padding: 11px 18px; }
  .mh-featured-v260 > header h2,
  .mh-domains-v260 > header h2,
  .mh-services-v260 > header h2 { font-size: 23px !important; }
  .mh-featured-v260 > header,
  .mh-domains-v260 > header,
  .mh-services-v260 > header {
    min-height: 58px;
    padding-bottom: 18px !important;
  }
  .mh-featured-v260 > header > a,
  .mh-domains-v260 > header > a,
  .mh-services-v260 > header > a {
    top: auto;
    right: 50%;
    bottom: 0;
    transform: translateX(50%);
    font-size: 10px;
  }
  .mh-featured-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mh-featured-main { grid-column: 1 / -1; height: 235px; }
  .mh-featured-card { height: 235px; }
  .mh-featured-card:last-child {
    grid-column: 1 / -1;
    height: 165px;
    grid-template-columns: 46% 54%;
    grid-template-rows: 1fr;
  }
  .mh-featured-copy { width: 70%; }
  .mh-domains-v260 { margin-top: 18px; }
  .mh-domain-track { display: flex; gap: 9px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .mh-domain-track::-webkit-scrollbar { display: none; }
  .mh-domain-track .mh-course-card { flex: 0 0 132px; min-height: 190px; scroll-snap-align: start; }
  .mh-featured-main:hover,
  .mh-featured-main:focus-within,
  .mh-featured-card:hover,
  .mh-featured-card:focus-within { transform: scale(1.025); }
  .mh-domain-track .mh-course-card:hover,
  .mh-domain-track .mh-course-card:focus-visible { transform: translateY(-5px) scale(1.05) !important; }
  .mh-services-v260 nav { min-height: 0; }
  .mh-services-v260 nav a { min-height: 110px; padding: 12px 8px !important; }
  .mh-about-cta { width: calc(100% - 24px) !important; grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 430px) {
  .mh-featured-main { height: 220px; }
  .mh-featured-copy { width: 78%; padding: 20px 16px; }
  .mh-featured-copy h3 { font-size: 22px !important; }
  .mh-featured-card { height: 224px; }
  .mh-featured-card h3 { font-size: 16px !important; }
  .mh-featured-card nav { gap: 5px; }
  .mh-featured-card nav a { min-width: 52px; padding: 6px 5px; }
}

/* v430: compact entries in the homepage's warm beige and brown palette. */
.mh-intro-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  margin: 0 0 26px;
}
.mh-intro-pair .mh-learning-map,
.mh-intro-pair .mh-about-cta {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  min-height: 120px;
  height: 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto;
  align-items: center;
  gap: 14px;
  margin: 0 !important;
  padding: 18px 24px;
  border: 1px solid #d5b98c;
  border-radius: 14px;
  background: #f0e1c8;
  box-shadow: 0 5px 16px rgba(105, 66, 28, .04);
}
.mh-intro-pair .mh-learning-map-copy {
  display: block;
  min-width: 0;
}
.mh-intro-pair .mh-learning-map-copy strong,
.mh-intro-pair .mh-about-copy h2 {
  display: block;
  margin: 0 0 5px !important;
  color: #3c2418;
  font: 800 25px/1.3 var(--mh-sans) !important;
  letter-spacing: .02em;
}
.mh-intro-pair .mh-learning-map-copy em,
.mh-intro-pair .mh-about-copy p {
  display: block;
  margin: 0 !important;
  color: #796049;
  font: normal 500 13px/1.5 var(--mh-sans) !important;
}
.mh-intro-pair .mh-learning-map > b {
  grid-column: auto;
  grid-row: auto;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #95682f;
  box-shadow: none;
  font: 700 24px/1 var(--mh-sans);
}
.mh-intro-pair .mh-about-cta::before { display: none; }
.mh-intro-pair .mh-about-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}
.mh-intro-pair .mh-volunteer-button {
  min-height: 34px;
  padding: 0 14px;
  background: #fbf4e7;
  border-color: #b48b55;
  color: #714b2e !important;
  font: 800 14px/1.2 var(--mh-sans) !important;
  letter-spacing: 0;
}
.mh-intro-pair .mh-volunteer-button:hover,
.mh-intro-pair .mh-volunteer-button:focus-visible { background: #ead5b3; }
@media (max-width: 760px) {
  .mh-intro-pair { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
  .mh-intro-pair .mh-learning-map,
  .mh-intro-pair .mh-about-cta { min-height: 104px; height: auto; padding: 16px 18px; }
  .mh-intro-pair .mh-learning-map-copy strong,
  .mh-intro-pair .mh-about-copy h2 { font-size: 22px !important; }
}

.mh-learning-v260 .mh-intro-pair { margin-top: clamp(20px, 3vw, 36px); }
.mh-intro-pair .mh-temple-feature,
.mh-intro-pair .mh-about-feature {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  min-height: 190px;
  overflow: hidden;
  border-radius: 15px;
  color: #fff9ee;
  background: #493528;
  text-decoration: none;
}
.mh-temple-feature img,
.mh-temple-feature::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mh-temple-feature img {
  object-fit: cover;
  object-position: 65% center;
  z-index: -2;
}
.mh-temple-feature::after {
  content: '';
  background: linear-gradient(90deg, #493528 12%, rgba(73,53,40,.94) 43%, rgba(73,53,40,.12));
  z-index: -1;
}
.mh-temple-feature-copy {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 24px;
  font-family: var(--mh-sans);
}
.mh-temple-feature-copy > span { font-size: 15px; font-weight: 700; }
.mh-temple-feature-copy b {
  margin-top: 4px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #ebcc90;
  color: #47251c;
  font-size: 14px;
}
.mh-temple-feature:hover b { background: #f5dba9; }
.mh-temple-feature:focus-visible { outline: 3px solid #77501c; outline-offset: 3px; }
.mh-intro-pair .mh-about-cta { align-self: stretch; height: auto; }

.mh-intro-pair .mh-about-feature {
  background: linear-gradient(105deg, #4d3628, #624733);
}
.mh-about-feature > img {
  position: absolute;
  /* The statue begins about 36% down the source photo. Crop the empty wall
     above it so the statue aligns with the heading inset. */
  inset: -36% 0 auto auto;
  width: auto;
  max-width: none;
  height: 142%;
  aspect-ratio: 1000 / 562;
  mask-image: linear-gradient(90deg, transparent 30%, #000 69%);
  z-index: -1;
}

@media (max-width: 760px) {
  .mh-intro-pair .mh-about-feature {
    flex-direction: column;
    align-items: stretch;
  }
  .mh-about-feature > img {
    position: static;
    order: 1;
    align-self: flex-end;
    width: 88%;
    height: auto;
    mask-image: linear-gradient(180deg, transparent, #000 24%);
  }
}
.mh-intro-pair .mh-temple-feature-copy h2 {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.3;
}
.mh-about-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.mh-about-feature-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3em;
  min-height: 44px;
  padding: 7px 15px;
  border: 1px solid #f0d3a5;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.mh-about-feature-actions .mh-about-link { color: #452f20; background: #e9c88d; }
.mh-about-feature-actions .mh-teachers-link { color: #fff9ee; background: transparent; }
.mh-about-feature-actions .mh-about-link:hover { background: #f9e4c1; }
.mh-about-feature-actions .mh-teachers-link:hover { background: #72543e; }
.mh-about-feature-actions a:focus-visible { outline: 2px solid white; outline-offset: 3px; }
