/* V1 detailing: retain the invitation, colour palette and original photographs. */

/* Square originals are shown complete and centred within balanced profile cards. */
.team-men-committee .team2-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}
.team-men-committee .tcard {
  flex-direction: column;
  align-items: center;
  gap: 23px;
  padding: 30px 26px 26px;
  text-align: center;
  border: 1px solid var(--line);
  border-top: 2px solid var(--vermilion);
  border-radius: 4px;
  background: var(--white);
}
.team-men-committee .tava {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  margin-inline: auto;
  border: 1px solid #e3d7c1;
  border-radius: 8px;
  background: var(--paper);
}
.team-men-committee .tava img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.team-member-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  width: 100%;
  min-width: 0;
}
.team-men-committee .tcard b {
  max-width: 290px;
  min-height: 2.4em;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.team-men-committee .tcard .trole {
  width: 100%;
  max-width: 330px;
  margin: 13px auto 22px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
.team-men-committee .twa {
  align-self: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 19px;
  margin-top: auto;
  font-size: 13px;
  line-height: 1.5;
  border: 1px solid #b8cfc3;
  border-radius: 3px;
  color: var(--green);
  transition: background .2s, border-color .2s;
}
.team-men-committee .twa:hover {
  background: #eaf2e8;
  border-color: var(--green);
}

/* Current-page cues and comfortably sized supporting controls. */
.page-title surbhi-title { text-wrap: balance; }
.explore-menu[data-current-section] > summary {
  color: var(--red);
}
.explore-menu a[aria-current="page"] {
  color: var(--red);
  background: var(--rose);
  font-weight: 700;
}
.mobile-menu a[aria-current="page"] {
  color: var(--red);
  border-bottom-color: var(--red);
  font-weight: 700;
}
.footer-bottom a[aria-current="page"] {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-contact > div a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.night-tab .tab-date { font-size: 12px; }
.lang-btn { min-height: 44px; }

/* Keep the original flyer complete and its close control reachable. */
.flyer-dialog {
  padding: 0;
  max-height: calc(100dvh - 32px);
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.flyer-dialog > div {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0;
  padding: 12px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.5;
}
.flyer-dialog > div > button {
  min-height: 44px;
  font-size: 14px;
  padding: 10px 16px;
}
.flyer-dialog > img {
  width: calc(100% - 32px);
  height: auto;
  margin: 16px;
}
.flyer-dialog > .button { margin: 16px; }

@media (max-width: 1000px) {
  .team-men-committee .team2-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px;
  }
  .team-men-committee .tcard { padding-inline: 24px; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none; }
}
@media (max-width: 640px) {
  .team-men-committee .team2-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .team-men-committee .tcard {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 27px 24px 24px;
  }
  .team-men-committee .tava {
    width: 144px;
    height: 144px;
  }
  .team-men-committee .tcard b {
    font-size: 26px;
    min-height: 0;
    max-width: 300px;
  }
  .team-men-committee .tcard .trole {
    font-size: 14px;
    margin: 12px auto 20px;
  }
  .team-men-committee .twa { font-size: 14px; }
  .flyer-dialog > div {
    padding: 10px 12px;
    gap: 15px;
  }
  .flyer-dialog > img {
    width: calc(100% - 24px);
    margin: 12px;
  }
  .flyer-dialog > .button { margin: 12px; }

}


/* Clear text links replace decorative direction marks. */
.artist-info .circle-link {
  color: var(--blue);
  width: auto;
  height: auto;
  min-height: 44px;
  flex-shrink: 0;
  padding: 10px 0;
  margin-top: 5px;
  border: 0;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
  background: transparent;
}
.artist-info .circle-link:hover { color: var(--red); background: transparent; transform: none; }
.artist-info { gap: 22px; }
.flyer-zoom { justify-content: center; }
.mobile-booking .button { min-width: 108px; }

/* An open photo album: complete images, one at a time, without overlays. */
.memories-page .gallery-grid {
  grid-template-columns: minmax(0, 1fr);
  width: min(980px, 88%);
  max-width: 980px;
  gap: 44px;
  padding: 0;
  margin: 60px auto 90px;
}
.memories-page .gallery-photo,
.memories-page .gallery-photo:nth-child(5n+1) {
  display: block;
  width: 100%;
  aspect-ratio: auto;
  background: transparent;
  overflow: visible;
  border-radius: 0;
}
.memories-page .gallery-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 85svh;
  object-fit: contain;
  margin: 0 auto;
  transform: none;
}
.memories-page .gallery-photo:hover img { transform: none; }
.memories-page .lightbox {
  width: min(1200px, 96vw);
  max-width: 96vw;
  max-height: calc(100dvh - 24px);
  padding: 16px;
  overscroll-behavior: contain;
}
.memories-page .lightbox-top {
  justify-content: flex-end;
  margin-bottom: 12px;
}
.memories-page .lightbox-image {
  grid-template-columns: 90px minmax(0, 1fr) 90px;
  gap: 16px;
}
.memories-page .lightbox-image img {
  grid-column: 1 / -1;
  grid-row: 1;
  width: auto;
  max-height: calc(100dvh - 184px);
}
.memories-page .lightbox-image button {
  grid-row: 2;
  width: 90px;
  height: 44px;
  font-size: 13px;
  font-weight: 600;
  border-color: var(--line);
  color: var(--blue);
}
.memories-page #lightbox-prev { grid-column: 1; }
.memories-page #lightbox-next { grid-column: 3; }
.memories-page .lightbox-image button:hover { background: var(--rose); }
@media (max-width: 640px) {
  .artist-info { flex-wrap: wrap; gap: 5px; }
  .artist-info .circle-link { margin-top: 0; }
  .memories-page .gallery-grid {
    width: calc(100% - 32px);
    gap: 28px;
    margin: 32px auto 56px;
  }
  .memories-page .lightbox { padding: 12px; }
  .memories-page .lightbox-image { gap: 12px; }
}

/* Supporting pages use a quieter introduction and a readable content scale. */
.inner-page .page-title { padding: 44px 0 46px; }
.inner-page .page-title .breadcrumb { margin-bottom: 18px; }
.inner-page .page-title surbhi-title {
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.inner-page .inner-content { padding: 50px 0 72px; }
.inner-content.about .seva-copy h2 {
  font-size: clamp(30px, 3vw, 40px);
  margin: 44px 0 18px;
  line-height: 1.18;
  letter-spacing: -.025em;
}
.inner-content.about .seva-copy h2:first-child { margin-top: 0; }
.inner-content:is(.about, .terms) .lang-toggle { margin-bottom: 32px; }
.inner-content.about .seva-copy p { max-width: 68ch; }
.inner-content.faq .faq .a { max-width: 72ch; line-height: 1.85; }
.fnb-partners .fb-board { column-gap: 36px; }
.fnb-partners .fb-row {
  min-height: 142px;
  gap: 20px;
  padding: 24px 0;
}
.fnb-partners .fb-av { width: 88px; height: 88px; }
.fnb-partners .fb-txt { min-width: 0; gap: 10px; }
.fnb-partners .fb-name { font-size: 28px; line-height: 1.18; }
.fnb-partners .fb-ig { flex-shrink: 0; }
.team-women .tcard {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-height: 104px;
  padding: 24px 0;
}
.team-women .tcard::before { line-height: 1.25; }
.team-women .tcard b { line-height: 1.25; text-wrap: balance; }
@media (max-width: 640px) {
  .inner-page .page-title { padding: 30px 0 34px; }
  .inner-page .page-title surbhi-title { font-size: clamp(40px, 10.8vw, 56px); }
  .inner-page .page-title .wrap > p:last-child { max-width: 32ch; }
  .inner-page .inner-content { padding: 36px 0 56px; }
  .inner-content:is(.about, .terms) .lang-toggle { margin-bottom: 26px; }
  .inner-content.about .seva-copy h2 { margin-top: 36px; }
  .fnb-partners .fb-row { min-height: 120px; gap: 18px; }
  .fnb-partners .fb-av { width: 80px; height: 80px; }
  .fnb-partners .fb-name { font-size: 26px; }
  .team-women .tcard { min-height: 0; padding: 22px 0; }
}
