/* Room 2: standalone Figma-inspired layout, no changes to Room 1 */
.qr2 {

  --gold: #e6c489;

  --cream: #f0e4cf;

  background: #100e0c;

  color: #e7e1d7;

  font: 15px/1.7 Arial,Helvetica,sans-serif;

  min-height: 100vh
}

.qr2 * {

  box-sizing: border-box
}

.qr2 h1, .qr2 h2, .qr2 h3, .qr2 blockquote {

  font-family: Georgia,'Times New Roman',serif;

  font-weight: 400
}

.qr2 p {

  margin: 0 0 17px
}

.qr2-hero {

  height: calc(100svh - 52px);

  min-height: 510px;

  background-size: cover;

  background-position: center;

  display: flex;

  align-items: flex-end;

  padding: 0 clamp(28px,7vw,100px) clamp(58px,9vh,92px)
}

.qr2-hero-content p {

  font-size: 10px;

  font-weight: bold;

  letter-spacing: 1.7px;

  color: var(--gold);

  margin: 0 0 15px
}

.qr2-hero h1 {

  font-size: clamp(58px,7vw,100px);

  line-height: 1;

  margin: 0;

  color: var(--cream)
}

.qr2-tabs {

  height: 52px;

  display: flex;

  align-items: stretch;

  gap: 35px;

  padding: 0 clamp(28px,7vw,100px);

  background: #171411;

  position: sticky;

  top: 0;

  z-index: 15;

  overflow-x: auto
}

.qr2-tabs a {

  display: flex;

  align-items: center;

  flex-shrink: 0;

  font-size: 10px;

  font-weight: bold;

  letter-spacing: 1.6px;

  color: #d9d1c4;

  border-bottom: 2px solid transparent;

  text-decoration: none
}

.qr2-tabs a.active, .qr2-tabs a:hover {

  color: var(--gold);

  border-bottom-color: var(--gold)
}

.qr2-main {

  max-width: 1250px;

  padding: 0 clamp(28px,7vw,100px);

  margin: auto
}

.qr2-section {

  padding: 70px 0 50px;

  scroll-margin-top: 65px
}

.qr2-eyebrow {

  font-size: 10px;

  font-weight: bold;

  letter-spacing: 1.8px;

  color: var(--gold);

  margin-bottom: 9px !important
}

.qr2-section h2 {

  font-size: clamp(26px,3vw,38px);

  line-height: 1.2;

  color: var(--cream);

  margin: 0 0 5px
}

.qr2-subtitle {

  font: 20px Georgia,serif;

  color: #d6c7b5
}

.qr2-rule {

  height: 1px;

  background: #777066;

  margin: 28px 0 35px
}

.qr2-tributes {

  display: grid;

  grid-template-columns: 27% minmax(0,1fr);

  gap: 32px
}

.qr2-tributes > h3 {

  font-size: 23px;

  line-height: 1.28;

  color: var(--cream);

  margin: 0
}

.qr2-tribute-grid {

  display: grid;

  grid-template-columns: repeat(2,minmax(0,1fr));

  gap: 28px 18px
}

.qr2-tribute-card {

  position: relative;

  min-height: 330px;

  aspect-ratio: 4/5;

  overflow: hidden;

  border: 1px solid #92764a;

  border-radius: 14px;

  background: #25201a;

  transition: transform .3s ease,border-color .3s ease
}

.qr2-tribute-card:hover {

  transform: translateY(-4px);

  border-color: var(--gold)
}

.qr2-tribute-card img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block
}

.qr2-card-overlay {

  position: absolute;

  inset: auto 0 0;

  padding: 70px 19px 20px;

  background: linear-gradient(transparent,rgba(0,0,0,.9) 45%,#11100e)
}

.qr2-quote-mark {

  font: 35px Georgia,serif;

  color: var(--gold);

  display: block;

  line-height: 1
}

.qr2-name {

  display: inline-block;

  background: var(--gold);

  color: #1d1710;

  padding: 5px 12px;

  border-radius: 25px;

  font-size: 10px;

  font-weight: bold;

  letter-spacing: 1px;

  text-transform: uppercase
}

.qr2-card-overlay p {

  font: 15px/1.55 Georgia,serif;

  margin: 12px 0;

  display: -webkit-box;

  -webkit-line-clamp: 3;

  -webkit-box-orient: vertical;

  overflow: hidden
}

.qr2-card-overlay button {

  color: var(--gold);

  background: transparent;

  border: 0;

  border-left: 0;

  padding: 7px 10px;

  cursor: pointer;

  font-size: 12px;

  text-align: left
}

.qr2-info-row {

  display: grid;

  grid-template-columns: 28% 1fr;

  gap: 30px;

  border-top: 1px solid #645c50;

  border-bottom: 1px solid #645c50;

  padding: 40px 0;

  margin: 70px 0
}

.qr2-info-row h3 {

  font-size: 20px;

  color: var(--gold);

  margin: 0
}

.qr2-info-row > div {

  border-left: 2px solid var(--gold);

  padding-left: 28px
}

.qr2-info-row p {

  font: clamp(15px,1.6vw,20px)/1.6 Georgia,serif
}

.qr2-outline {

  background: transparent;

  border: 1px solid var(--gold);

  border-radius: 30px;

  padding: 10px 20px;

  color: var(--cream);

  cursor: pointer
}

.qr2-monument-grid, .qr2-legacy {

  display: grid;

  grid-template-columns: repeat(2,minmax(0,1fr));

  gap: 20px;

  margin: 28px 0
}

.qr2 figure {

  margin: 0
}

.qr2 figure img {

  width: 100%;

  aspect-ratio: 4/3;

  object-fit: cover;

  border-radius: 12px;

  display: block
}

.qr2 figcaption {

  font-size: 12px;

  color: #c7bcb0;

  padding-top: 10px
}

.qr2-monument > p:not(.qr2-eyebrow) {

  line-height: 1.85
}

.qr2-independence, .qr2-death {

  min-height: 450px;

  background-position: center;

  background-size: cover;

  display: flex;

  align-items: center;

  padding: clamp(25px,6vw,80px);

  margin: 45px 0
}

.qr2-independence > div, .qr2-death > div {

  max-width: 580px
}

.qr2-independence h2, .qr2-death h2 {

  font-size: clamp(32px,4vw,53px);

  line-height: 1.15;

  margin: 12px 0
}

.qr2-independence p:last-child {

  font-size: 14px;

  max-width: 500px
}

.qr2-filled {

  border: 0;

  border-radius: 30px;

  background: var(--gold);

  color: #1b150e;

  padding: 12px 24px;

  cursor: pointer
}

.qr2-legacy {

  max-width: 720px;

  margin: 30px auto 0
}

.qr2-legacy img {

  aspect-ratio: 1.25 !important
}

.qr2-legacy figcaption {

  font-size: 11px;

  text-transform: uppercase;

  letter-spacing: .5px
}

.qr2-groups {

  display: grid;

  grid-template-columns: repeat(2,minmax(0,1fr));

  gap: 18px;

  margin-top: 30px
}

.qr2-group {

  background: #191613;

  border: 1px solid #302923;

  border-radius: 12px;

  padding: 25px
}

.qr2-group h3 {

  font-size: 22px;

  line-height: 1.3;

  color: var(--cream);

  margin: 0 0 12px
}

.qr2-group p {

  font-size: 12px;

  border-bottom: 1px solid #342e26;

  padding-bottom: 12px
}

.qr2-group strong, .qr2-group li::marker {

  color: var(--gold)
}

.qr2-group ul {

  padding-left: 20px;

  margin: 0
}

.qr2-group li {

  font-size: 13px;

  line-height: 1.8
}

.qr2-footer {

  display: flex;

  justify-content: space-between;

  gap: 16px;

  padding: 25px max(28px,calc((100vw - 1100px)/2));

  border-top: 1px solid #40372b
}

.qr2-footer a {

  color: var(--cream);

  text-decoration: none;

  border: 1px solid var(--gold);

  border-radius: 30px;

  padding: 9px 16px
}

.qr2-modal-open {

  overflow: hidden
}

.qr2-modal-backdrop[hidden], .qr2-dialog[hidden] {

  display: none !important
}

.qr2-modal-backdrop {

  position: fixed;

  inset: 0;

  background: rgba(0,0,0,.86);

  z-index: 9999;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 25px;

  overflow: auto
}

.qr2-dialog {

  position: relative;

  width: min(100%,620px);

  max-height: calc(100svh - 50px);

  overflow-y: auto;

  background: #1a1715;

  border: 1px solid #b89a66;

  border-radius: 16px;

  padding: clamp(28px,4vw,45px);

  box-shadow: 0 20px 70px rgba(0,0,0,.5);

  animation: qr2-modal-in .25s ease both
}

.qr2-close {

  position: absolute;

  top: 13px;

  right: 13px;

  width: 32px;

  height: 32px;

  border: 1px solid var(--gold);

  border-radius: 50%;

  background: transparent;

  color: var(--gold);

  font-size: 20px;

  cursor: pointer
}

.qr2-dialog blockquote {

  border-left: 2px solid var(--gold);

  padding-left: 20px;

  margin: 12px 0 28px;

  font-size: clamp(18px,2vw,23px);

  line-height: 1.5;

  color: var(--cream)
}

.qr2-dialog small {

  color: #a99d90;

  font-size: 12px
}

.qr2-dialog-prose p {

  font-size: 14px;

  line-height: 1.9;

  margin: 0 0 17px
}

.qr2-dialog-prose h2 {

  font-size: 30px;

  border-bottom: 1px solid #3b342c;

  padding-bottom: 12px;

  margin: 0 0 18px
}

.qr2 button:focus-visible, .qr2 a:focus-visible {

  outline: 2px solid var(--gold);

  outline-offset: 3px
}

@keyframes qr2-modal-in {

  from {

    opacity: 0;

    transform: translateY(14px) scale(.98)
  }

  to {

    opacity: 1;

    transform: none
  }

}

@media(max-width:760px) {

  .qr2-hero {

    height: calc(85svh - 52px);

    min-height: 460px
  }

  .qr2-tributes, .qr2-info-row {

    grid-template-columns: 1fr
  }

  .qr2-tribute-grid {

    gap: 15px
  }

  .qr2-tribute-card {

    min-height: 250px
  }

  .qr2-card-overlay {

    padding: 50px 12px 12px
  }

  .qr2-card-overlay p {

    font-size: 13px
  }

  .qr2-info-row > div {

    padding-left: 18px
  }

  .qr2-groups {

    grid-template-columns: 1fr
  }

  .qr2-section {

    padding-top: 50px
  }

  .qr2-monument-grid, .qr2-legacy {

    gap: 12px
  }

}

@media(max-width:470px) {

  .qr2-tribute-grid, .qr2-monument-grid, .qr2-legacy {

    grid-template-columns: 1fr
  }

  .qr2-tribute-card {

    max-width: 380px;

    margin: auto;

    width: 100%
  }

  .qr2-footer {

    flex-direction: column
  }

  .qr2-tabs {

    gap: 22px
  }

}

@media(prefers-reduced-motion:reduce) {

  .qr2 *, .qr2 *:before, .qr2 *:after {

    animation: none !important;

    transition: none !important
  }

}

/* Room 2 — Figma-aligned independence image and readable copy */
.qr2 .qr2-independence {

  min-height: clamp(360px,39vw,510px);

  margin: 48px 0 56px;

  padding: clamp(30px,5vw,72px);

  background-position: center center;

  background-size: cover;

  position: relative;

  isolation: isolate;

}

.qr2 .qr2-independence > div {

  max-width: 465px;

  position: relative;

  z-index: 1
}

.qr2 .qr2-independence .qr2-eyebrow {

  font-size: 10px;

  letter-spacing: .16em;

  color: var(--gold)
}

.qr2 .qr2-independence h2 {

  font-size: clamp(30px,3.15vw,46px);

  line-height: 1.12;

  letter-spacing: -.025em;

  font-weight: 500;

  max-width: 440px;

  margin: 12px 0 18px;

  overflow-wrap: normal;

}

.qr2 .qr2-independence p:last-child {

  max-width: 435px;

  font-size: clamp(11px,1vw,13px);

  line-height: 1.65;

  border-top: 1px solid rgba(232,214,178,.35);

  padding-top: 14px;

}

@media(max-width:760px) {

  .qr2 .qr2-independence {

    min-height: 390px;

    padding: 28px;

    background-position: 58% center
  }

  .qr2 .qr2-independence > div {

    max-width: 360px
  }

  .qr2 .qr2-independence h2 {

    font-size: clamp(28px,6vw,38px)
  }

}

@media(max-width:440px) {

  .qr2 .qr2-independence {

    min-height: 380px;

    padding: 22px;

    background-position: 62% center
  }

  .qr2 .qr2-independence h2 {

    font-size: 29px
  }

  .qr2 .qr2-independence p:last-child {

    font-size: 11px
  }

}

/* Room 2: premium entrance, scroll reveals, and soft gold card glow */
.qr2 .qr2-tribute-card, .qr2 .qr2-group, .qr2 .qr2-monument-grid figure, .qr2 .qr2-legacy figure {

  position: relative;

  isolation: isolate;

  transition: transform .35s cubic-bezier(.2,.7,.2,1),border-color .35s ease,box-shadow .4s ease,filter .35s ease;

}

.qr2 .qr2-group {

  border: 1px solid rgba(230,196,137,.10);

  border-radius: 12px
}

.qr2 .qr2-tribute-card:hover, .qr2 .qr2-group:hover, .qr2 .qr2-monument-grid figure:hover, .qr2 .qr2-legacy figure:hover {

  transform: translateY(-5px);

  border-color: rgba(230,196,137,.58);

  box-shadow: 0 0 0 1px rgba(230,196,137,.12),0 12px 40px rgba(0,0,0,.35),0 0 30px rgba(230,196,137,.16);

}

.qr2 .qr2-group h3 {

  transition: color .3s ease
}

.qr2 .qr2-tribute-card img {

  transition: transform .7s cubic-bezier(.2,.7,.2,1),filter .5s ease
}

.qr2 .qr2-tribute-card:hover img {

  transform: scale(1.045)
}

.qr2 .qr2-tribute-card button, .qr2 .qr2-filled {

  transition: transform .25s ease,box-shadow .25s ease
}

.qr2 .qr2-tribute-card button:hover, .qr2 .qr2-filled:hover {

  transform: translateY(-2px);

  box-shadow: 0 8px 24px rgba(230,196,137,.18)
}

@media(prefers-reduced-motion:no-preference) {

  .qr2 .qr2-hero-content {

    animation: qr2-hero-arrive 1s .12s both
  }

  .qr2 .qr2-hero {

    animation: qr2-hero-image 1.2s ease-out both
  }

  .qr2 .qr2-reveal {

    opacity: 0;

    transform: translateY(28px);

    transition: opacity .85s ease,transform .85s cubic-bezier(.2,.7,.2,1)
  }

  .qr2 .qr2-reveal.qr2-in-view {

    opacity: 1;

    transform: none
  }

  @keyframes qr2-hero-arrive {

    from {

      opacity: 0;

      transform: translateY(25px)
    }

    to {

      opacity: 1;

      transform: none
    }

  }

  @keyframes qr2-hero-image {

    from {

      filter: brightness(.7)
    }

    to {

      filter: brightness(1)
    }

  }

}

@media(prefers-reduced-motion:reduce) {

  .qr2 .qr2-tribute-card, .qr2 .qr2-group, .qr2 .qr2-monument-grid figure, .qr2 .qr2-legacy figure, .qr2 .qr2-tribute-card img {

    transition: none !important
  }

}

/* Room 2: remove the fixed-width gallery frame and make photos fill the canvas. */
@media (min-width: 900px) {

  .qr2 .qr2-main {

    width: 100%;

    max-width: none;

    padding-inline: clamp(30px,4vw,80px);

  }

  .qr2 .qr2-tabs {

    padding-inline: clamp(30px,4vw,80px);

  }

  .qr2 #gallery-5 .qr2-legacy {

    width: 100%;

    max-width: none;

    margin: clamp(25px,3vw,48px) 0 0;

    grid-template-columns: repeat(2,minmax(0,1fr));

    gap: clamp(24px,3vw,55px);

    align-items: start;

  }

  .qr2 #gallery-5 .qr2-legacy figure {

    min-width: 0;

    width: 100%;

  }

  .qr2 #gallery-5 .qr2-legacy img {

    width: 100%;

    height: clamp(320px,31vw,650px);

    aspect-ratio: auto !important;

    object-fit: cover;

    object-position: center;

  }

  .qr2 #gallery-5 .qr2-legacy figcaption {

    font-size: clamp(11px,.85vw,14px);

    line-height: 1.6;

  }

}

@media (min-width: 600px) and (max-width: 899px) {

  .qr2 #gallery-5 .qr2-legacy {

    max-width: none;

    width: 100%;

    margin-inline: 0;

    gap: 18px;

  }

}

@media (max-width: 599px) {

  .qr2 #gallery-5 .qr2-legacy {

    max-width: none;

    width: 100%;

    margin-inline: 0;

    grid-template-columns: 1fr;

  }

}

/* Portrait credits remain below their corresponding cards in the two-column grid. */
.qr2-tribute-grid > .qr2-tribute-entry {

  min-width: 0;

}

.qr2-tribute-entry > .qr2-tribute-card {

  width: 100%;

}

.qr2-photo-credit {

  margin: 10px 0 0;

  color: #aaa39a;

  font: 500 12px/1.5 Arial, sans-serif;

}

/* Give Room 2 the same clear, lower-left banner hierarchy as Room 1. */
.qr2 {

  --gold: #E5C285;

  --cream: #F3E5C8;

  font-family: 'Inter', Arial, sans-serif;

}

.qr2 :is(h1,h2,h3,blockquote) {

  font-family: 'Playfair Display', Georgia, serif;

}

.qr2 .qr2-hero {

  position: relative;

  height: 100vh;

  height: 100svh;

  min-height: 560px;

  padding: 110px clamp(22px,6.25vw,80px) 88px;

  background-size: cover;

  background-position: center;

}

.qr2 .qr2-hero-content {

  max-width: 760px;

}

.qr2 .qr2-hero-content > p {

  font: 600 12px/16px 'Inter',Arial,sans-serif;

  letter-spacing: .14em;

  margin: 0 0 16px;

}

.qr2 .qr2-hero h1 {

  font-size: 72px;

  line-height: 80px;

  letter-spacing: .02em;

}

/* Tabs use clean spacing, with the live section count kept to the right. */
.qr2 .qr2-tabs {

  display: flex;

  align-items: center;

  gap: 28px;

  height: 72px;

  min-height: 72px;

  padding-inline: clamp(22px,6.25vw,80px);

  background: #141210;

  z-index: 60;

}

.qr2 .qr2-tabs a {

  min-height: 34px;

  padding-bottom: 8px;

  font: 600 12px/16px 'Inter',Arial,sans-serif;

  letter-spacing: .14em;

  text-decoration: none !important;

}

.qr2 .qr2-tabs a.active, .qr2 .qr2-tabs a[aria-current="location"] {

  color: #E5C285;

  border-bottom: 2px solid #E5C285;

}

.qr2 .qr2-tabs .km-room-status {

  display: block;

  margin-left: auto;

  margin-right: 24px;

  flex-shrink: 0;

}

/* Preserve Room 2's editorial columns inside the Figma page width. */
.qr2 .qr2-main {

  max-width: 1280px;

  padding-inline: clamp(22px,6.25vw,80px);

}

.qr2 .qr2-section {

  scroll-margin-top: 88px;

}

.qr2 :is(h1,h2,h3,p,blockquote) {

  text-shadow: none;

  text-decoration: none;

}

/* Keep the banner and tabs readable on narrow screens. */
@media (max-width: 760px) {

  .qr2 .qr2-hero {

    min-height: 500px;

    padding-bottom: 56px;

  }

  .qr2 .qr2-hero h1 {

    font-size: 56px;

    line-height: 64px;

  }

  .qr2 .qr2-tabs {

    height: auto;

    min-height: 72px;

    flex-wrap: wrap;

    gap: 14px 28px;

    padding-block: 14px;

  }

  .qr2 .qr2-tabs .km-room-status {

    margin-right: 0;

  }

}

/* Widescreen Room 2 fluid canvas: override the later 1280px limit. */
@media (min-width: 1200px) {

  .qr2 .qr2-main {

    width: 100%;

    max-width: none;

    margin-inline: 0;

    padding-inline: clamp(32px, 4vw, 88px);

  }

  .qr2 .qr2-tabs {

    padding-inline: clamp(32px, 4vw, 88px);

  }

  .qr2 #gallery-5 .qr2-legacy {

    width: 100%;

    max-width: none;

    margin-inline: 0;

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }

  .qr2 .qr2-tribute-grid,
  .qr2 .qr2-monument-grid {

    width: 100%;

    max-width: none;

  }

}

/* Room 2 compact tribute portraits: keep the main page wide but constrain the cards. */
@media (min-width: 761px) {

  .qr2 .qr2-tributes {

    grid-template-columns: minmax(210px, 25%) minmax(0, 1fr);

    gap: clamp(24px, 3vw, 52px);

  }

  .qr2 .qr2-tribute-grid {

    width: 100%;

    max-width: 790px;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 24px;

    justify-self: start;

  }

  .qr2 .qr2-tribute-card {

    width: 100%;

    min-height: 0;

    aspect-ratio: 4 / 5;

  }

}

@media (min-width: 1500px) {

  .qr2 .qr2-tribute-grid {

    max-width: 760px;

  }

}

/* Room 2 tribute gallery: heading on top, balanced portrait grid across the page. */
.qr2 .qr2-tributes {

  display: block;

  width: 100%;

}

.qr2 .qr2-tributes > h3 {

  max-width: none;

  margin: 0 0 28px;

  font-size: clamp(22px, 2vw, 30px);

  line-height: 1.3;

}

.qr2 .qr2-tribute-grid {

  display: grid;

  width: 100%;

  max-width: none;

  margin: 0;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 28px;

  align-items: start;

  justify-items: stretch;

}

.qr2 .qr2-tribute-grid > .qr2-tribute-entry {

  min-width: 0;

  width: 100%;

}

.qr2 .qr2-tribute-card {

  width: 100%;

  min-height: 0;

  aspect-ratio: 4 / 5;

}

@media (min-width: 1200px) {

  .qr2 .qr2-tribute-grid {

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: clamp(18px, 1.5vw, 30px);

  }

}

@media (min-width: 761px) and (max-width: 1199px) {

  .qr2 .qr2-tribute-grid {

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px;

  }

}

@media (max-width: 470px) {

  .qr2 .qr2-tribute-grid {

    grid-template-columns: minmax(0, 1fr);

  }

  .qr2 .qr2-tribute-grid > .qr2-tribute-entry {

    max-width: 440px;

    margin-inline: auto;

  }

}

/* Larger Figma-style mausoleum banner: display more of the original photograph.
Only one image is rendered, behind the left-side text and dark overlay. */
.qr2 .qr2-independence {

  position: relative;

  isolation: isolate;

  overflow: hidden;

  border-radius: 14px;

  min-height: clamp(690px, 86svh, 940px);

  background: #100e0b !important;

}

.qr2 .qr2-independence::before {

  content: "" !important;

  position: absolute;

  inset: 0 0 0 32%;

  display: block;

  z-index: 0;

  pointer-events: none;

  background-image: url('images/room2-quezon-mausoleum.png.webp') !important;

  background-size: contain;

  background-position: right center;

  background-repeat: no-repeat;

  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);

  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);

}

.qr2 .qr2-independence::after {

  content: "" !important;

  position: absolute;

  inset: 0;

  display: block;

  z-index: 0;

  pointer-events: none;

  background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.32) 35%, rgba(0,0,0,.02) 75%);

}

.qr2 .qr2-independence > div {

  position: relative;

  z-index: 1;

}

@media (max-width: 760px) {

  .qr2 .qr2-independence {

    min-height: clamp(520px, 85svh, 740px);

  }

  .qr2 .qr2-independence::before {

    inset: 0;

    background-size: contain;

    background-position: center bottom;

    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 75%, transparent 100%);

    mask-image: linear-gradient(180deg, #000 0%, #000 75%, transparent 100%);

  }

  .qr2 .qr2-independence::after {

    background: linear-gradient(90deg, rgba(0,0,0,.80), rgba(0,0,0,.22));

  }

}

/* Precisely center the X inside every Room 2 information-popup circle. */
.qr2 .qr2-dialog .qr2-close {

  display: flex;

  align-items: center;

  justify-content: center;

  box-sizing: border-box;

  padding: 0 !important;

  width: 34px;

  height: 34px;

  flex: 0 0 34px;

  line-height: 1 !important;

  text-align: center;

  font-family: Arial, Helvetica, sans-serif;

  font-weight: 400;

  transform: none;

}

/* Shrine Room 2 photograph hover: soft golden aura without rectangular borders.
Applies to Monument and Gallery 5 images, preserving image zoom/lightboxes. */
.qr2 .qr2-monument-grid figure,
.qr2 #gallery-5 .qr2-legacy figure {

  position: relative;

  isolation: isolate;

  border: 0 !important;

  outline: none;

  background: transparent !important;

  box-shadow: none !important;

  transition: transform .35s cubic-bezier(.2,.7,.2,1) !important;

}

.qr2 .qr2-monument-grid figure::before,
.qr2 #gallery-5 .qr2-legacy figure::before {

  content: "";

  position: absolute;

  inset: 20px 18px 48px;

  z-index: -1;

  pointer-events: none;

  border-radius: 28px;

  background: rgba(230, 185, 103, .32);

  filter: blur(30px);

  opacity: 0;

  transition: opacity .35s ease;

}

.qr2 .qr2-monument-grid figure:hover,
.qr2 #gallery-5 .qr2-legacy figure:hover {

  transform: translateY(-5px) !important;

  border: 0 !important;

  outline: none !important;

  box-shadow: none !important;

}

.qr2 .qr2-monument-grid figure:hover::before,
.qr2 #gallery-5 .qr2-legacy figure:hover::before {

  opacity: 1;

}

.qr2 .qr2-monument-grid figure img,
.qr2 #gallery-5 .qr2-legacy figure img {

  border: 0 !important;

  box-shadow: none !important;

  transition: filter .35s ease !important;

}

.qr2 .qr2-monument-grid figure:hover img,
.qr2 .qr2-monument-grid figure img:hover,
.qr2 #gallery-5 .qr2-legacy figure:hover img,
.qr2 #gallery-5 .qr2-legacy figure img:hover {

  /* Override shared rectangular drop-shadow, keep warm image highlight. */
  filter: brightness(1.07) saturate(1.04) !important;

  box-shadow: none !important;

}

.qr2 .qr2-monument-grid figure figcaption,
.qr2 #gallery-5 .qr2-legacy figure figcaption {

  border: 0 !important;

  outline: 0 !important;

  box-shadow: none !important;

  background: transparent !important;

  padding: 10px 0 0;

  margin: 0;

}

@media (prefers-reduced-motion: reduce) {

  .qr2 .qr2-monument-grid figure,
  .qr2 #gallery-5 .qr2-legacy figure {

    transform: none !important;

    transition: none !important;

  }

  .qr2 .qr2-monument-grid figure::before,
  .qr2 #gallery-5 .qr2-legacy figure::before {

    transition: none !important;

  }

}

/* Tribute text action: no left border, dark hover block, or border-like shadow. */
.qr2 .qr2-tribute-card .qr2-card-overlay button,
.qr2 .qr2-tribute-card .qr2-card-overlay button:hover {

  border: 0 !important;

  background: transparent !important;

  box-shadow: none !important;

  padding-left: 0;

}

.qr2 .qr2-tribute-card .qr2-card-overlay button:hover {

  color: #f4d9a3;

}
