.rangji-page {
  --rangji-ink: #342d27;
  --rangji-muted: #746b61;
  --rangji-terracotta: #925b42;
  --rangji-terracotta-deep: #704331;
  --rangji-gold: #d7b975;
  --rangji-ivory: #f6f1e7;
  --rangji-paper: #fbf9f4;
  color: var(--rangji-ink);
  overflow: clip;
  background: #fff;
}

.rangji-container {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
}

.rangji-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-block: 0.85rem;
  color: var(--rangji-muted);
  font-size: 0.82rem;
}

.rangji-breadcrumbs a,
.rangji-text-link {
  color: var(--rangji-terracotta);
  text-decoration: none;
}

.rangji-breadcrumbs a:hover,
.rangji-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.rangji-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(35rem, 73vw, 51rem);
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #342c28;
}

.rangji-hero-art,
.rangji-hero-shade,
.rangji-finale > img,
.rangji-finale-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rangji-hero-art,
.rangji-finale > img {
  object-fit: cover;
  object-position: center 45%;
}

.rangji-hero-shade {
  background:
    linear-gradient(90deg, rgb(36 27 23 / 88%) 0%, rgb(43 32 27 / 68%) 45%, rgb(47 34 27 / 12%) 100%),
    linear-gradient(0deg, rgb(35 27 23 / 55%), transparent 58%);
}

.rangji-hero-content {
  position: relative;
  padding-block: clamp(5rem, 10vw, 8rem);
}

.rangji-eyebrow,
.rangji-kicker {
  margin: 0 0 0.9rem;
  color: var(--rangji-terracotta);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.rangji-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #f2d89b;
}

.rangji-eyebrow span {
  color: var(--rangji-gold);
  font-size: 1.12rem;
}

.rangji-hero h1 {
  max-width: 10ch;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 9vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-wrap: balance;
}

.rangji-hero-subtitle {
  max-width: 38rem;
  margin: 1.4rem 0 0;
  color: #f2d89b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-style: italic;
  line-height: 1.45;
}

.rangji-hero-intro {
  max-width: 40rem;
  margin: 1rem 0 0;
  color: rgb(255 255 255 / 84%);
  font-size: 1rem;
  line-height: 1.8;
}

.rangji-hero-actions,
.rangji-plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.rangji-button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.rangji-button:hover {
  transform: translateY(-2px);
}

.rangji-button:focus-visible,
.rangji-text-link:focus-visible,
.rangji-gallery-item:focus-visible,
.rangji-lightbox button:focus-visible,
.rangji-nearby-card a:focus-visible,
.rangji-heritage-card a:focus-visible {
  outline: 3px solid var(--rangji-gold);
  outline-offset: 3px;
}

.rangji-button--gold {
  color: #38281b;
  background: #e6ca82;
}

.rangji-button--gold:hover {
  background: #f0dda8;
}

.rangji-button--outline {
  border-color: rgb(255 255 255 / 62%);
  color: #fff;
  background: rgb(255 255 255 / 5%);
}

.rangji-button--outline:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 14%);
}

.rangji-button--dark {
  color: #fff;
  background: var(--rangji-terracotta-deep);
}

.rangji-button--dark:hover {
  background: #5f3829;
}

.rangji-hero-location {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 2rem 0 0;
  color: rgb(255 255 255 / 80%);
  font-size: 0.86rem;
}

.rangji-hero-location span {
  color: var(--rangji-gold);
  font-size: 1.15rem;
}

.rangji-art-note {
  position: absolute;
  right: max(1rem, calc((100vw - 1200px) / 2));
  bottom: 1rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 99px;
  color: rgb(255 255 255 / 86%);
  background: rgb(35 27 23 / 50%);
  font-size: 0.66rem;
}

.rangji-quick-guide {
  position: relative;
  z-index: 1;
  padding-block: 1.1rem;
  border-bottom: 1px solid #eae4d7;
  background: #fffdfa;
}

.rangji-quick-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rangji-quick-grid > a {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.9rem;
  border-right: 1px solid #e8e1d5;
  color: var(--rangji-ink);
  text-decoration: none;
}

.rangji-quick-grid > a:first-child {
  padding-left: 0;
}

.rangji-quick-grid > a:last-child {
  border: 0;
}

.rangji-quick-grid > a:hover strong {
  color: var(--rangji-terracotta);
}

.rangji-quick-icon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #e7dcc8;
  border-radius: 50%;
  color: var(--rangji-terracotta);
  font-size: 1.05rem;
}

.rangji-quick-grid strong,
.rangji-quick-grid small {
  display: block;
}

.rangji-quick-grid strong {
  font-size: 0.8rem;
}

.rangji-quick-grid small {
  margin-top: 0.2rem;
  color: var(--rangji-muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

.rangji-sticky-nav {
  position: sticky;
  z-index: 10;
  top: 0;
  overflow-x: auto;
  border-bottom: 1px solid #e9e2d7;
  background: rgb(255 253 250 / 94%);
  backdrop-filter: blur(12px);
  scrollbar-width: thin;
}

.rangji-sticky-inner {
  display: flex;
  width: max-content;
  min-width: min(100%, 1200px);
  justify-content: center;
  gap: clamp(0.7rem, 2.3vw, 2rem);
  margin-inline: auto;
  padding: 0.85rem 1rem;
}

.rangji-sticky-inner a {
  color: #5e554d;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.rangji-sticky-inner a:hover,
.rangji-sticky-inner a[aria-current="location"] {
  color: var(--rangji-terracotta);
}

.rangji-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.rangji-overview-art,
.rangji-architecture-art,
.rangji-darshan-art,
.rangji-festival-card figure,
.rangji-nearby-card figure,
.rangji-heritage-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.rangji-overview-art {
  min-height: 28rem;
}

.rangji-overview-art::after,
.rangji-architecture-art::after,
.rangji-darshan-art::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(255 255 255 / 36%);
  content: "";
  pointer-events: none;
}

.rangji-overview-art img,
.rangji-architecture-art img,
.rangji-darshan-art img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
}

.rangji-overview-art figcaption,
.rangji-architecture-art figcaption,
.rangji-festival-card figcaption,
.rangji-nearby-card figcaption,
.rangji-heritage-card figcaption {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.55rem;
  border-radius: 99px;
  color: #fff;
  background: rgb(41 35 30 / 66%);
  font-size: 0.62rem;
}

.rangji-kicker {
  letter-spacing: 0.14em;
}

.rangji-overview-copy h2,
.rangji-architecture-copy h2,
.rangji-darshan-copy h2,
.rangji-section-heading h2,
.rangji-location-copy h2,
.rangji-plan h2,
.rangji-finale h2 {
  margin: 0;
  color: var(--rangji-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.rangji-overview-copy > p:not(.rangji-kicker),
.rangji-architecture-copy > p:not(.rangji-kicker),
.rangji-darshan-copy > p:not(.rangji-kicker),
.rangji-section-heading > div > p:not(.rangji-kicker),
.rangji-location-copy > p:not(.rangji-kicker),
.rangji-plan p:not(.rangji-kicker),
.rangji-finale-copy > p:not(.rangji-eyebrow) {
  color: var(--rangji-muted);
  font-size: 0.96rem;
  line-height: 1.85;
}

.rangji-overview-copy blockquote {
  margin: 1.6rem 0 0;
  padding: 0.25rem 0 0.25rem 1.2rem;
  border-left: 2px solid var(--rangji-gold);
  color: var(--rangji-terracotta-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.55;
}

.rangji-story-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e8e0d4;
}

.rangji-story-strip > div {
  position: relative;
  padding-left: 3rem;
}

.rangji-story-strip span {
  position: absolute;
  left: 0;
  top: 0;
  color: #b79656;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.rangji-story-strip strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 600;
}

.rangji-story-strip p {
  margin: 0.35rem 0 0;
  color: var(--rangji-muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.rangji-architecture {
  padding-block: clamp(4rem, 8vw, 7rem);
  color: #fff;
  background:
    radial-gradient(ellipse at 86% 16%, rgb(209 171 108 / 17%), transparent 30rem),
    #3e352e;
}

.rangji-architecture-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.83fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.rangji-kicker--light {
  color: #e2c47d;
}

.rangji-architecture-copy h2,
.rangji-plan h2,
.rangji-finale h2 {
  color: #fff;
}

.rangji-architecture-copy > p:not(.rangji-kicker) {
  color: rgb(255 255 255 / 77%);
  font-size: 0.96rem;
  line-height: 1.85;
}

.rangji-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 750;
}

.rangji-text-link--light {
  color: #f0d48e;
}

.rangji-architecture-art {
  min-height: 25rem;
  box-shadow: 1.1rem 1.1rem 0 rgb(213 184 128 / 22%);
}

.rangji-architecture-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 25rem;
  object-fit: cover;
}

.rangji-darshan {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.rangji-darshan-art {
  min-height: 27rem;
}

.rangji-darshan-art img {
  position: absolute;
  inset: 0;
}

.rangji-darshan-art > span {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.55rem;
  border-radius: 99px;
  color: #fff;
  background: rgb(41 35 30 / 66%);
  font-size: 0.65rem;
}

.rangji-darshan-copy .rangji-button {
  margin-top: 0.8rem;
}

.rangji-rhythm {
  padding-block: 0 5.5rem;
}

.rangji-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.rangji-section-heading > div {
  max-width: 52rem;
}

.rangji-section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.rangji-section-heading > div > p:not(.rangji-kicker) {
  margin-bottom: 0;
}

.rangji-rhythm-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rangji-rhythm-list li {
  min-height: 13.5rem;
  padding: 1.3rem;
  border: 1px solid #e9e1d5;
  background: var(--rangji-paper);
}

.rangji-rhythm-list li > span {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 1px solid #d6bd8b;
  border-radius: 50%;
  color: var(--rangji-terracotta);
  font-family: Georgia, "Times New Roman", serif;
}

.rangji-rhythm-list li > div > p:first-child {
  margin: 1.2rem 0 0.35rem;
  color: var(--rangji-terracotta);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rangji-rhythm-list h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 600;
}

.rangji-rhythm-list li > div > p:last-child {
  margin: 0.5rem 0 0;
  color: var(--rangji-muted);
  font-size: 0.81rem;
  line-height: 1.65;
}

.rangji-schedule-note {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid #c7a763;
  color: #61574c;
  background: #f8f4eb;
  font-size: 0.83rem;
  line-height: 1.65;
}

.rangji-festivals,
.rangji-nearby,
.rangji-heritage {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--rangji-paper);
}

.rangji-festival-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.rangji-festival-card {
  overflow: hidden;
  border: 1px solid #e9e2d7;
  background: #fff;
}

.rangji-festival-card figure {
  aspect-ratio: 1.45;
}

.rangji-festival-card figure img,
.rangji-nearby-card figure img,
.rangji-heritage-card figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.rangji-festival-card:hover figure img,
.rangji-nearby-card a:hover figure img,
.rangji-heritage-card a:hover figure img {
  transform: scale(1.035);
}

.rangji-festival-card figure > span {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.rangji-festival-card > div {
  padding: 1.2rem 1.3rem 1.4rem;
}

.rangji-festival-card h3,
.rangji-nearby-card h3,
.rangji-heritage-card h3 {
  margin: 0;
  color: var(--rangji-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
}

.rangji-festival-card p {
  min-height: 4.7rem;
  margin: 0.65rem 0 1rem;
  color: var(--rangji-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.rangji-festival-card a {
  color: var(--rangji-terracotta);
  font-size: 0.77rem;
  font-weight: 750;
  text-decoration: none;
}

.rangji-festival-card a:hover {
  text-decoration: underline;
}

.rangji-gallery {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.rangji-gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.85fr;
  grid-template-rows: repeat(2, minmax(11rem, 16rem));
  gap: 0.8rem;
}

.rangji-gallery-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  color: #fff;
  background: #473c33;
  cursor: zoom-in;
  text-align: left;
}

.rangji-gallery-item--1 {
  grid-row: span 2;
}

.rangji-gallery-item--4 {
  grid-column: span 2;
}

.rangji-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.rangji-gallery-item:hover img {
  transform: scale(1.04);
}

.rangji-gallery-item::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgb(30 24 20 / 72%));
  content: "";
}

.rangji-gallery-item > span,
.rangji-gallery-item > i {
  position: absolute;
  z-index: 1;
  bottom: 0.9rem;
}

.rangji-gallery-item > span {
  left: 1rem;
  max-width: calc(100% - 4rem);
  font-size: 0.75rem;
  line-height: 1.4;
}

.rangji-gallery-item > i {
  right: 1rem;
  font-size: 1.05rem;
  font-style: normal;
}

.rangji-lightbox {
  width: min(94vw, 1100px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
}

.rangji-lightbox::backdrop {
  background: rgb(20 17 15 / 91%);
}

.rangji-lightbox-panel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
}

.rangji-lightbox figure {
  margin: 0;
  text-align: center;
}

.rangji-lightbox figure img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  margin: auto;
  object-fit: contain;
}

.rangji-lightbox figure figcaption {
  padding-top: 0.8rem;
  color: rgb(255 255 255 / 82%);
  font-size: 0.83rem;
}

.rangji-lightbox button {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 50%;
  color: #fff;
  background: rgb(255 255 255 / 9%);
  cursor: pointer;
  font-size: 1.5rem;
}

.rangji-lightbox .rangji-lightbox-close {
  position: absolute;
  z-index: 1;
  top: 0.65rem;
  right: 0.65rem;
}

.rangji-visitor {
  padding-block: 0.5rem clamp(4.5rem, 9vw, 8rem);
  scroll-margin-top: 4.5rem;
}

.rangji-visitor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(15rem, 0.75fr);
  gap: 2rem;
  align-items: start;
}

.rangji-visitor-accordions {
  border-top: 1px solid #e6dfd3;
}

.rangji-visitor-accordions details {
  border-bottom: 1px solid #e6dfd3;
}

.rangji-visitor-accordions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  color: var(--rangji-ink);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 600;
  list-style: none;
}

.rangji-visitor-accordions summary::-webkit-details-marker {
  display: none;
}

.rangji-visitor-accordions summary span {
  color: var(--rangji-terracotta);
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  transition: transform 160ms ease;
}

.rangji-visitor-accordions details[open] summary span {
  transform: rotate(45deg);
}

.rangji-visitor-accordions details p {
  max-width: 54rem;
  margin: 0;
  padding: 0 2rem 1.2rem 0;
  color: var(--rangji-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.rangji-visitor-note {
  padding: 1.5rem;
  border: 1px solid #e8dfd1;
  background: #f8f4eb;
}

.rangji-visitor-note > span {
  color: #b69555;
  font-size: 1.2rem;
}

.rangji-visitor-note h3 {
  margin: 0.65rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.rangji-visitor-note p {
  color: var(--rangji-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.rangji-nearby-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.rangji-nearby-card {
  overflow: hidden;
  border: 1px solid #e9e2d7;
  background: #fff;
}

.rangji-nearby-card a,
.rangji-heritage-card a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.rangji-nearby-card figure {
  aspect-ratio: 1.55;
}

.rangji-nearby-card > a > div {
  padding: 1rem 1.1rem 1.15rem;
}

.rangji-nearby-card h3 {
  font-size: 1.15rem;
}

.rangji-nearby-card p {
  min-height: 2.7rem;
  margin: 0.45rem 0 0.7rem;
  color: var(--rangji-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.rangji-nearby-card > a > div > span {
  color: var(--rangji-terracotta);
  font-size: 0.73rem;
  font-weight: 750;
}

.rangji-location {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(4.5rem, 9vw, 8rem);
  scroll-margin-top: 4.5rem;
}

.rangji-location-copy > p:not(.rangji-kicker) {
  color: var(--rangji-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.rangji-location-copy .rangji-button {
  margin-top: 0.5rem;
}

.rangji-map-note {
  padding-left: 0.9rem;
  border-left: 2px solid var(--rangji-gold);
  font-size: 0.8rem !important;
}

.rangji-map-frame {
  min-height: 25rem;
  overflow: hidden;
  border: 1px solid #e7dfd1;
  background: #e9e3d8;
  box-shadow: 0 1.4rem 3rem rgb(53 43 34 / 9%);
}

.rangji-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 25rem;
  border: 0;
}

.rangji-heritage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.rangji-heritage-card {
  border: 1px solid #e8e0d4;
  background: #fff;
}

.rangji-heritage-card figure {
  aspect-ratio: 1.6;
}

.rangji-heritage-card > a > div {
  padding: 1.1rem 1.2rem 1.3rem;
}

.rangji-heritage-card > a > div > p {
  margin: 0 0 0.5rem;
  color: var(--rangji-terracotta);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rangji-heritage-card h3 {
  font-size: 1.25rem;
}

.rangji-heritage-card > a > div > span {
  display: block;
  min-height: 4.5rem;
  margin-top: 0.5rem;
  color: var(--rangji-muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.rangji-heritage-card b {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
  color: var(--rangji-terracotta);
  font-size: 0.76rem;
}

.rangji-plan {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  color: #fff;
  background:
    radial-gradient(ellipse at 12% 100%, rgb(218 184 125 / 17%), transparent 28rem),
    #443a32;
}

.rangji-plan-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.72fr);
  gap: 2.5rem;
  align-items: center;
}

.rangji-plan-inner > div:first-child {
  max-width: 47rem;
}

.rangji-plan p:not(.rangji-kicker) {
  color: rgb(255 255 255 / 78%);
}

.rangji-plan-actions {
  justify-content: flex-start;
  margin-top: 0;
}

.rangji-plan-actions .rangji-button {
  width: 100%;
}

.rangji-finale {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 31rem;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #332a24;
}

.rangji-finale > img {
  object-position: center 48%;
}

.rangji-finale-shade {
  background:
    linear-gradient(90deg, rgb(35 27 22 / 84%) 0%, rgb(44 33 26 / 64%) 54%, rgb(46 32 24 / 25%) 100%),
    linear-gradient(0deg, rgb(30 23 19 / 45%), transparent 55%);
}

.rangji-finale-copy {
  padding-block: 5rem;
}

.rangji-finale h2 {
  max-width: 18ch;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
}

.rangji-finale-copy > p:not(.rangji-eyebrow) {
  max-width: 42rem;
  color: rgb(255 255 255 / 83%);
  font-size: 0.96rem;
  line-height: 1.8;
}

.rangji-finale .rangji-button {
  margin-top: 0.6rem;
}

@media (max-width: 900px) {
  .rangji-quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 0.6rem;
  }

  .rangji-quick-grid > a:nth-child(3) {
    border-right: 0;
  }

  .rangji-quick-grid > a:nth-child(4) {
    padding-left: 0;
  }

  .rangji-overview,
  .rangji-darshan,
  .rangji-location {
    gap: 2.2rem;
  }

  .rangji-rhythm-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rangji-visitor-layout {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.7fr);
    gap: 1.3rem;
  }

  .rangji-nearby-grid,
  .rangji-heritage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rangji-plan-inner {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.75fr);
  }
}

@media (max-width: 640px) {
  .rangji-container {
    width: min(100% - 1.25rem, 1200px);
  }

  .rangji-hero {
    min-height: 39rem;
    align-items: end;
  }

  .rangji-hero-art {
    object-position: 58% center;
  }

  .rangji-hero-shade {
    background:
      linear-gradient(0deg, rgb(34 26 22 / 92%) 0%, rgb(36 27 23 / 72%) 47%, rgb(39 29 24 / 18%) 100%),
      linear-gradient(90deg, rgb(34 26 22 / 27%), transparent);
  }

  .rangji-hero-content {
    padding-block: 4rem 5rem;
  }

  .rangji-hero h1 {
    font-size: clamp(3.5rem, 18vw, 5.4rem);
  }

  .rangji-hero-intro {
    font-size: 0.9rem;
  }

  .rangji-hero-actions {
    align-items: stretch;
  }

  .rangji-hero-actions .rangji-button {
    flex: 1 1 10rem;
  }

  .rangji-art-note {
    right: 0.65rem;
    bottom: 0.55rem;
    max-width: calc(100% - 1.3rem);
    font-size: 0.57rem;
  }

  .rangji-quick-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rangji-quick-grid > a {
    padding: 0.6rem 0.65rem;
  }

  .rangji-quick-grid > a:first-child,
  .rangji-quick-grid > a:nth-child(4) {
    padding-left: 0.65rem;
  }

  .rangji-quick-grid > a:nth-child(2),
  .rangji-quick-grid > a:nth-child(4) {
    border-right: 0;
  }

  .rangji-quick-grid > a:nth-child(3) {
    border-right: 1px solid #e8e1d5;
  }

  .rangji-quick-grid > a:last-child {
    border-top: 1px solid #e8e1d5;
  }

  .rangji-quick-icon {
    width: 1.9rem;
    height: 1.9rem;
  }

  .rangji-quick-grid strong {
    font-size: 0.74rem;
  }

  .rangji-quick-grid small {
    font-size: 0.62rem;
  }

  .rangji-sticky-inner {
    min-width: 100%;
    justify-content: flex-start;
    gap: 1.2rem;
    padding-inline: 0.85rem;
  }

  .rangji-overview,
  .rangji-darshan,
  .rangji-location,
  .rangji-architecture-layout,
  .rangji-visitor-layout,
  .rangji-plan-inner {
    grid-template-columns: 1fr;
  }

  .rangji-overview {
    gap: 1.6rem;
    padding-block: 3.5rem;
  }

  .rangji-overview-art,
  .rangji-overview-art img {
    min-height: 18rem;
  }

  .rangji-story-strip {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .rangji-story-strip > div {
    min-height: 2.8rem;
  }

  .rangji-architecture {
    padding-block: 3.5rem;
  }

  .rangji-architecture-layout {
    gap: 1.7rem;
  }

  .rangji-architecture-art,
  .rangji-architecture-art img {
    min-height: 18rem;
  }

  .rangji-darshan {
    gap: 1.6rem;
    padding-block: 3.5rem;
  }

  .rangji-darshan-art {
    min-height: 19rem;
  }

  .rangji-section-heading {
    display: block;
    margin-bottom: 1.5rem;
  }

  .rangji-section-heading > .rangji-text-link {
    margin-top: 1rem;
  }

  .rangji-rhythm {
    padding-bottom: 3.5rem;
  }

  .rangji-rhythm-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .rangji-rhythm-list li {
    min-height: auto;
    padding: 1rem;
  }

  .rangji-rhythm-list li > div > p:first-child {
    margin-top: 0.8rem;
  }

  .rangji-festivals,
  .rangji-nearby,
  .rangji-heritage {
    padding-block: 3.5rem;
  }

  .rangji-festival-grid,
  .rangji-nearby-grid,
  .rangji-heritage-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .rangji-festival-card p,
  .rangji-nearby-card p,
  .rangji-heritage-card > a > div > span {
    min-height: 0;
  }

  .rangji-gallery {
    padding-block: 3.5rem;
  }

  .rangji-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(8rem, 12rem));
    gap: 0.55rem;
  }

  .rangji-gallery-item--1 {
    grid-row: span 2;
  }

  .rangji-gallery-item--4 {
    grid-column: span 2;
  }

  .rangji-gallery-item > span {
    left: 0.65rem;
    bottom: 0.65rem;
    max-width: calc(100% - 2.5rem);
    font-size: 0.65rem;
  }

  .rangji-gallery-item > i {
    right: 0.65rem;
    bottom: 0.65rem;
  }

  .rangji-lightbox-panel {
    grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
    gap: 0.3rem;
  }

  .rangji-lightbox button {
    width: 2.35rem;
    height: 2.35rem;
  }

  .rangji-visitor {
    padding-bottom: 3.5rem;
  }

  .rangji-visitor-note {
    padding: 1.2rem;
  }

  .rangji-location {
    gap: 1.6rem;
    padding-block: 3.5rem;
  }

  .rangji-map-frame,
  .rangji-map-frame iframe {
    min-height: 20rem;
  }

  .rangji-plan {
    padding-block: 3.5rem;
  }

  .rangji-plan-inner {
    gap: 0.5rem;
  }

  .rangji-plan-actions {
    margin-top: 0.5rem;
  }

  .rangji-finale {
    min-height: 30rem;
  }

  .rangji-finale > img {
    object-position: 60% center;
  }

  .rangji-finale-shade {
    background:
      linear-gradient(0deg, rgb(35 27 22 / 90%) 0%, rgb(44 33 26 / 65%) 67%, rgb(46 32 24 / 25%) 100%);
  }

  .rangji-finale-copy {
    padding-block: 4rem 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rangji-page *,
  .rangji-page *::before,
  .rangji-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
