:root {
  --ngt-yellow: #ffd700;
  --ngt-yellow-deep: #e4b600;
  --ngt-orange: #ff8c00;
  --ngt-orange-deep: #9a3d00;
  --ngt-ink-deep: #08213d;
  --ngt-cream: #fff8ef;
  --ngt-white: #fffaf0;
  --ngt-text: #1d232f;
  --ngt-muted: #4f5966;
  --ngt-soft: #fff1bf;
  --ngt-soft-2: #ffd98a;
  --ngt-line: rgba(29, 35, 47, 0.1);
  --ngt-shadow: 0 18px 42px rgba(29, 35, 47, 0.1);
  --ngt-shadow-soft: 0 10px 24px rgba(29, 35, 47, 0.06);
  --ngt-shadow-card: 0 18px 40px rgba(80, 45, 5, 0.1);
  --ngt-radius: 18px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ngt-text);
  background:
    radial-gradient(circle at top left, rgba(255, 215, 0, 0.2), transparent 30%),
    radial-gradient(circle at right 12%, rgba(255, 140, 0, 0.1), transparent 28%),
    linear-gradient(180deg, #fff9e9 0%, #fff3d1 34%, #ffe7b7 100%);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  animation: pageFadeIn 360ms ease both;
}

p {
  color: #444;
}

::selection {
  color: #201304;
  background: rgba(255, 215, 0, 0.45);
}

:focus-visible {
  outline: 3px solid rgba(154, 61, 0, 0.72);
  outline-offset: 3px;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes headerDropIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.reveal-ready .reveal-item {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  filter: blur(2px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal-ready .reveal-item.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal-ready .page-hero-card.reveal-item {
  transform: translateY(18px) scale(0.99);
}

.reveal-ready .impact-grid .impact-card.reveal-item {
  transition-delay: 0ms;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 248, 232, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(29, 35, 47, 0.08);
  box-shadow: 0 8px 24px rgba(29, 35, 47, 0.06);
  animation: headerDropIn 420ms ease both;
}

body[data-page="members"],
body[data-page="members"] .site-header {
  animation: none;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 86px;
}

.nav-balanced {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
}

.nav-balanced .brand {
  min-width: 0;
  margin-right: 0;
}

.nav-balanced .main-nav {
  position: static;
  left: auto;
  transform: none;
  justify-self: center;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  flex: 0 1 auto;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ngt-text);
  text-decoration: none;
}

.brand span {
  display: block;
  min-width: 0;
}

.brand-mark {
  width: auto;
  height: 76px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 16px;
  padding: 0.15rem 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(110, 72, 0, 0.12);
  background: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 247, 214, 0.86);
  border: 1px solid rgba(255, 140, 0, 0.16);
  box-shadow: none;
}

.nav-search {
  position: relative;
}

.main-nav .nav-search {
  display: flex;
  align-items: center;
  margin-left: 0.1rem;
  margin-right: 0.1rem;
}

.nav-search-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 140, 0, 0.2);
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
  color: var(--ngt-orange-deep);
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.22), rgba(255, 140, 0, 0.16));
  box-shadow: 0 8px 18px rgba(216, 111, 0, 0.12);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.nav-search-toggle:hover {
  color: var(--ngt-orange-deep);
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.32), rgba(255, 140, 0, 0.22));
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(216, 111, 0, 0.16);
}

.nav-search-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.nav-search-panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  left: auto;
  transform: none;
  min-width: 280px;
  width: min(320px, 76vw);
  padding: 0.55rem;
  border-radius: 20px;
  background: rgba(255, 252, 246, 0.98);
  border: 1px solid rgba(255, 140, 0, 0.12);
  box-shadow: 0 20px 40px rgba(29, 35, 47, 0.12);
}

.nav-search-panel input {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 140, 0, 0.16);
  border-radius: 999px;
  font: inherit;
  background: rgba(255, 255, 255, 0.92);
}

.main-nav a {
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ngt-orange-deep);
  background: rgba(255, 232, 166, 0.5);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 35;
  border: 0;
  border-radius: 999px;
  width: 52px;
  height: 52px;
  min-width: 52px;
  padding: 0;
  font: inherit;
  color: #fffaf0;
  background: linear-gradient(145deg, #b45309, #8a3300);
  box-shadow: var(--ngt-shadow);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4.3rem;
  background:
    linear-gradient(135deg, rgba(255, 215, 0, 0.96), rgba(255, 140, 0, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

.hero .container,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero-slider {
  padding: 0;
  min-height: 84vh;
  background: linear-gradient(180deg, #f5c800, #f9d347);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.hero-slider.is-dragging {
  cursor: grabbing;
}

.hero-slide {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  transform: translateX(var(--hero-drag-x, 0));
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0) 75%),
    linear-gradient(120deg, rgba(255, 215, 0, 0.08), rgba(255, 140, 0, 0.08)),
    var(--hero-image, url("./cover pic/new qua.png"));
  background-position: center, center, var(--hero-position, right center);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: cover, cover, var(--hero-size, cover);
  transition: background 0.8s ease, transform 0.28s ease;
}

.hero-slider.is-dragging .hero-slide {
  transition: none;
}

.hero-slide[data-theme="unity"] {
  background:
    linear-gradient(90deg, rgba(24, 16, 0, 0.68) 0%, rgba(24, 16, 0, 0.42) 30%, rgba(24, 16, 0, 0.12) 55%, rgba(24, 16, 0, 0) 75%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 140, 0, 0.34)),
    var(--hero-image, url("./cover pic/new qua.png"));
  background-position: center, center, var(--hero-position, right center);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: cover, cover, var(--hero-size, cover);
}

.hero-slide[data-theme="heritage"] {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0) 75%),
    linear-gradient(120deg, rgba(255, 215, 0, 0.26), rgba(180, 90, 0, 0.42)),
    var(--hero-image, url("./cover pic/new qua.png"));
  background-position: center, center, var(--hero-position, right center);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: cover, cover, var(--hero-size, cover);
}

.hero-stage {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 5.2rem;
  padding-bottom: 7.8rem;
}

.hero-copy {
  width: min(40%, 420px);
  max-width: 420px;
  margin-top: 60px;
  margin-left: 0.75rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  color: #fff;
  text-shadow: none;
  box-shadow: none;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .hero-text,
.hero-subtitle {
  color: #fff6d9;
}

.hero-copy .eyebrow::before {
  background: rgba(255, 227, 138, 0.9);
}

.hero-note {
  max-width: 420px;
  margin-top: 1rem;
  color: rgba(255, 245, 222, 0.7);
  font-size: 0.88rem;
  line-height: 1.6;
}

.hero-subtitle {
  margin: 0.7rem 0 0;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.85;
}

.hero-copy h1 {
  max-width: 420px;
  font-family: "Georgia", serif;
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.4rem;
}

.hero-highlight {
  color: inherit;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  transform: translateX(-50%);
}

.hero-dot {
  width: 48px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.hero-dot:hover,
.hero-dot.is-active {
  background: #fffaf0;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(34, 34, 34, 0.8);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 760px;
  line-height: 1.05;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.hero-text,
.page-hero p {
  max-width: 760px;
  margin-top: 0.8rem;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.hero-panel {
  margin-top: 2rem;
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--ngt-radius);
  background: rgba(255, 250, 238, 0.42);
  box-shadow: var(--ngt-shadow);
}

.hero-quick-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: -3rem;
  margin-bottom: 0;
}

.quick-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 126px;
  padding: 1rem;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 239, 0.96));
  color: var(--ngt-text);
  border: 1px solid rgba(255, 140, 0, 0.12);
  border-radius: 24px;
  box-shadow: var(--ngt-shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.quick-tile:hover {
  transform: translateY(-5px);
  border-color: var(--ngt-orange);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.1);
}

.quick-tile-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ngt-orange-deep);
  background: linear-gradient(145deg, #fff7db, #fff1bf);
  border: 1px solid rgba(255, 140, 0, 0.18);
}

.quick-tile-label {
  text-align: center;
  font-weight: 700;
}

.quick-tile-label small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ngt-muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat-item {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.stat-item strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.section {
  padding: var(--space-6) 0;
}

.section-tight {
  padding-top: 1.8rem;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 248, 235, 0.92), rgba(255, 252, 245, 0.96)),
    linear-gradient(90deg, rgba(255, 215, 0, 0.04), rgba(255, 140, 0, 0.04));
}

.page-hero {
  padding: var(--space-6) 0 var(--space-4);
}

.page-hero-card {
  padding: var(--space-4);
  border: 0;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 243, 198, 0.98), rgba(255, 229, 156, 0.98));
  box-shadow: var(--ngt-shadow-soft);
}

.grid-2,
.grid-3,
.content-grid {
  display: grid;
  gap: 1.15rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 231, 0.96));
  border: 0;
  border-radius: var(--ngt-radius);
  padding: var(--space-3);
  box-shadow: var(--ngt-shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.72), rgba(154, 61, 0, 0.72));
}

.card h2,
.card h3,
.card h4 {
  margin-top: 0;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(29, 35, 47, 0.09);
}

.form-card {
  padding-top: 1.55rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0.78rem 1.2rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  color: var(--ngt-white);
  background: linear-gradient(145deg, #b45309, #8a3300);
  box-shadow: 0 10px 22px rgba(154, 61, 0, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 14px 28px rgba(154, 61, 0, 0.22);
}

.btn-primary {
  background: linear-gradient(135deg, #b45309, #8a3300);
  box-shadow: 0 8px 22px rgba(154, 61, 0, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--ngt-text);
  background: rgba(255, 247, 214, 0.96);
  border: 1px solid rgba(154, 61, 0, 0.28);
  backdrop-filter: blur(6px);
  box-shadow: none;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.section-head a {
  color: var(--ngt-orange-deep);
  font-weight: 700;
  text-decoration: none;
}

.section-title {
  margin: 0 0 0.45rem;
  font-family: "Georgia", serif;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.section-copy,
.muted {
  color: var(--ngt-muted);
}

.quick-links,
.clean-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.quick-links li,
.clean-list li {
  margin-bottom: 0.55rem;
  position: relative;
  padding-left: 1.25rem;
}

.quick-links li::before,
.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ngt-orange);
}

.quick-links a {
  text-decoration: none;
  color: var(--ngt-orange-deep);
  font-weight: 700;
}

.activity-preview-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(223, 173, 96, 0.22);
  background:
    radial-gradient(circle at top right, rgba(255, 194, 84, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 252, 244, 0.98), rgba(255, 255, 255, 0.97));
  box-shadow:
    0 22px 46px rgba(120, 74, 10, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.activity-preview-head {
  align-items: end;
}

.activity-gallery-grid,
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.activity-card,
.gallery-page-card {
  display: grid;
  gap: 0.95rem;
  padding: 0.9rem;
  border-radius: 24px;
  border: 1px solid rgba(219, 177, 103, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 249, 241, 0.96));
  box-shadow: 0 16px 34px rgba(120, 74, 10, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.activity-card:hover,
.gallery-page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(120, 74, 10, 0.12);
  border-color: rgba(255, 140, 0, 0.22);
}

.activity-card-media,
.gallery-page-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 245, 224, 0.9);
  aspect-ratio: 4 / 3;
}

.activity-card-media img,
.gallery-page-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.activity-card:hover .activity-card-media img,
.gallery-page-card:hover .gallery-page-media img {
  transform: scale(1.04);
}

.activity-card-copy,
.gallery-page-copy {
  display: grid;
  gap: 0.45rem;
}

.activity-card-copy h3,
.gallery-page-copy h3,
.activity-card-copy p,
.gallery-page-copy p {
  margin: 0;
}

.activity-card-copy h3,
.gallery-page-copy h3 {
  font-size: 1.14rem;
  line-height: 1.35;
}

.activity-card-date {
  display: inline-flex;
  width: fit-content;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ngt-orange-deep);
  background: rgba(255, 215, 0, 0.15);
}

.about-hero-card {
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 255, 255, 0.72), transparent 30%),
    linear-gradient(135deg, rgba(255, 247, 220, 0.98), rgba(255, 228, 170, 0.96));
}

.about-simple-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(840px, 100%);
  max-width: 840px;
  margin: 0 auto;
  padding: 2.25rem 1rem 2.05rem;
  text-align: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="about"] .about-simple-hero {
  padding: 2.25rem 1rem 2.05rem;
  border-radius: 0;
}

.about-hero-mark,
.about-simple-hero h1,
.about-simple-hero p,
.about-simple-hero .section-line {
  position: relative;
  z-index: 1;
}

.about-hero-mark {
  width: 132px;
  aspect-ratio: 1;
  height: auto;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  opacity: 1;
  object-fit: cover;
  object-position: center;
}

.about-simple-hero h1 {
  margin: 0 0 0.75rem;
  color: #08294d;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  line-height: 1.1;
}

.about-simple-hero p {
  width: min(780px, 100%);
  max-width: 780px;
  margin: 0 auto;
  color: #263241;
  font-size: clamp(1.08rem, 1.55vw, 1.18rem);
  line-height: 1.7;
}

.about-simple-hero .section-line {
  position: relative;
  width: 142px;
  height: 3px;
  margin: 1.2rem auto 0;
  background: var(--ngt-orange);
}

.about-simple-hero .section-line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ngt-orange);
  border: 3px solid #fff7db;
  transform: translate(-50%, -50%);
}

body[data-page="about"] .page-hero {
  margin-top: 0;
  padding: 2rem 0 2.15rem;
  background: transparent;
}

body[data-page="about"] .page-hero .container {
  display: grid;
  width: 100%;
  max-width: none;
  padding-right: 1rem;
  padding-left: 1rem;
  place-items: center;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 1.6rem;
  align-items: center;
}

.about-highlight {
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: transparent;
  border: 0;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  box-shadow: none;
}

.logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: min(100%, 300px);
  margin: 0.75rem;
  padding: 1.1rem 1rem 1rem;
  text-align: center;
  background: #fff;
  border: 2px solid rgba(255, 215, 0, 0.78);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.logo-card img {
  width: 140px;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.15rem;
}

.logo-card h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.2;
  font-weight: 700;
}

.logo-subtitle {
  margin: 0;
  color: #777;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

body[data-page="history"] .history-opening-section {
  align-items: start;
  padding: 1.4rem 1.5rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 248, 233, 0.92));
  border-top: 1px solid rgba(29, 35, 47, 0.12);
  box-shadow: 0 18px 38px rgba(97, 58, 8, 0.08);
}

body[data-page="history"] .history-opening-copy {
  position: relative;
  padding: 0.2rem 0 0.2rem 3.1rem;
}

body[data-page="history"] .history-opening-copy::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 2.2rem;
  bottom: 1.6rem;
  width: 1px;
  background: rgba(29, 35, 47, 0.13);
}

body[data-page="history"] .history-opening-copy::after {
  content: "";
  position: absolute;
  left: calc(1rem - 6px);
  top: 2.45rem;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #074a78;
  box-shadow: 0 0 0 8px rgba(7, 74, 120, 0.08);
}

body[data-page="history"] .history-opening-copy .section-title {
  margin-bottom: 0.9rem;
}

body[data-page="history"] .history-opening-copy .fact-list {
  gap: 0.75rem;
}

body[data-page="history"] .history-opening-copy .fact-list li {
  padding-left: 0;
  color: #4f5966;
  font-size: 1rem;
}

body[data-page="history"] .history-opening-copy .fact-list li::before {
  content: none;
}

body[data-page="history"] .history-opening-notes {
  gap: 1rem;
}

body[data-page="history"] .history-opening-notes .about-side-card {
  padding: 1.55rem;
  border-radius: 0 18px 18px 0;
  background: rgba(255, 253, 248, 0.78);
  border-top: 1px solid rgba(154, 61, 0, 0.26);
  box-shadow: none;
}

body[data-page="history"] .history-note-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff7df;
  box-shadow: 0 18px 34px rgba(97, 58, 8, 0.12);
}

body[data-page="history"] .history-note-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.about-intro-panel {
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.99), rgba(255, 247, 231, 0.96));
  border-top: 3px solid rgba(255, 163, 26, 0.72);
}

.about-story-card p {
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
  line-height: 1.7;
}

.about-subheading {
  color: var(--ngt-orange);
  font-weight: 700;
}

.about-highlights {
  display: grid;
  gap: 0.55rem;
  margin: 0.15rem 0 1.05rem;
  padding: 0;
  list-style: none;
}

.about-highlights li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ngt-text);
  line-height: 1.55;
}

.about-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--ngt-orange);
  box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.12);
}

.content-scan {
  display: grid;
  gap: var(--space-2);
}

.content-scan p {
  max-width: 76ch;
  margin: 0;
}

.content-scan p + p {
  margin-top: 0.2rem;
}

.history-formation-card {
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.75fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: center;
}

.history-formation-copy {
  display: grid;
  gap: var(--space-2);
}

.history-formation-media {
  align-self: center;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff7df;
  box-shadow: 0 20px 38px rgba(97, 58, 8, 0.14);
}

.history-formation-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  object-position: center;
}

.fact-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  position: relative;
  padding-left: 1.25rem;
  color: #364151;
  line-height: 1.65;
}

.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--ngt-orange-deep);
}

.fact-list strong {
  color: var(--ngt-text);
}

.about-side-stack {
  display: grid;
  gap: 1rem;
}

.about-side-card {
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 225, 0.96));
}

.about-photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 38px rgba(97, 58, 8, 0.14);
}

.about-photo-card img,
.vision-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-card img {
  aspect-ratio: 4 / 3;
  transition: transform 240ms ease;
}

.vision-media img {
  transition: transform 240ms ease;
  transform-origin: center;
}

.about-photo-card:hover img,
.vision-media:hover img {
  transform: scale(1.035);
}

.about-photo-card figcaption {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  color: var(--ngt-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.vision-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 1.5rem;
  align-items: center;
}

.vision-copy {
  border-left: 4px solid rgba(255, 163, 26, 0.68);
}

.vision-copy p:last-child {
  margin-bottom: 0;
}

.vision-media {
  min-height: 310px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(97, 58, 8, 0.12);
}

.leadership-card {
  border-top: 3px solid rgba(255, 163, 26, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 250, 240, 0.96));
}

.history-citations p:not(.eyebrow) {
  margin: 0.4rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ngt-muted);
}

.history-photo-card {
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.75fr);
  gap: clamp(1.4rem, 3vw, 2.3rem);
  align-items: center;
}

.history-photo-copy {
  display: grid;
  gap: var(--space-2);
}

.history-photo-media {
  align-self: center;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff7df;
  box-shadow: 0 20px 38px rgba(97, 58, 8, 0.14);
}

.history-photo-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  object-position: center;
}

.history-photo-media-large img {
  max-height: 380px;
}

.objective-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.objective-item {
  display: flex;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 140, 0, 0.14);
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.objective-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(97, 58, 8, 0.09);
}

.objective-item span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--ngt-orange-deep);
  background: linear-gradient(145deg, #fff7db, #ffe4af);
}

.objective-item p {
  margin: 0;
}

.structure-card {
  padding-bottom: 1.7rem;
}

.structure-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.structure-grid p {
  max-width: 78ch;
  line-height: 1.75;
}

.announcement-grid,
.announcement-list {
  display: grid;
  gap: 1rem;
}

.announcement-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

body[data-page="news"] .announcement-list {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.2rem;
}

body[data-page="news"] .announcement-item {
  border-left: 0;
  border: 1px solid rgba(255, 140, 0, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 247, 233, 0.96));
}

.announcement-item,
.doc-item,
.admin-list-item {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid var(--ngt-line);
  background:
    linear-gradient(180deg, rgba(255, 248, 224, 0.98), rgba(255, 234, 170, 0.94));
  box-shadow: var(--ngt-shadow-soft);
}

.announcement-photo-wrap {
  position: relative;
  margin-bottom: 0.9rem;
  border-radius: 16px;
  overflow: hidden;
}

.announcement-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.announcement-photo {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border: 1px solid rgba(255, 140, 0, 0.12);
  background: rgba(255, 248, 224, 0.75);
}

.news-card-photo-wrap {
  margin-bottom: 1rem;
  border-radius: 14px;
}

.news-card-photo {
  width: 100%;
  height: 180px;
  max-height: none;
  object-fit: cover;
  border-radius: 10px;
}

.announcement-upload-preview {
  padding: 0.6rem 0;
}

.announcement-item {
  border-left: 6px solid var(--ngt-orange);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.announcement-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 140, 0, 0.22);
}

.announcement-item-featured {
  transform: scale(1.01);
  box-shadow: 0 18px 38px rgba(29, 35, 47, 0.12);
  border-color: rgba(255, 140, 0, 0.28);
}

.announcement-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.55rem;
}

.announcement-date {
  margin: 0;
  font-size: 13px;
  color: #777;
}

.announcement-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.34rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1b2840;
}

.announcement-excerpt,
.announcement-full {
  margin: 0;
  color: var(--ngt-muted);
}

.announcement-full {
  margin-top: 0.75rem;
  color: var(--ngt-text);
}

.preview-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.announcement-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1rem;
  clear: both;
}

.announcement-actions a.btn-outline {
  color: var(--ngt-orange-deep);
  background: rgba(255, 247, 214, 0.96);
  border-color: rgba(154, 61, 0, 0.44);
}

.announcement-actions a.btn-outline:hover {
  background: rgba(255, 238, 196, 1);
}

.announcement-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.3rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #b45309, #8a3300);
  box-shadow: 0 12px 24px rgba(154, 61, 0, 0.18);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.announcement-read-more:hover {
  background: linear-gradient(135deg, #9a3d00, #7f3100);
  transform: translateY(-1px);
  text-decoration: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #9a3d00, #7f3100);
}

.badge-obituary {
  color: #fff8ef;
  background: linear-gradient(135deg, #c96f12, #e8890b);
  box-shadow: 0 8px 18px rgba(216, 111, 0, 0.18);
}

.search-results,
.search-page-form {
  margin-top: 1.4rem;
}

.search-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem;
}

.search-page-form input {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 140, 0, 0.16);
  border-radius: 16px;
  font: inherit;
  background: rgba(255, 255, 255, 0.96);
}

.search-results-grid {
  display: grid;
  gap: 1.2rem;
}

.search-result-section {
  display: grid;
  gap: 0.8rem;
}

.search-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.search-section-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.search-section-head p {
  margin: 0;
  color: var(--ngt-muted);
}

.search-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.search-result-card {
  display: block;
  padding: 1.1rem;
  text-decoration: none;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(255, 140, 0, 0.12);
  box-shadow: var(--ngt-shadow-soft);
}

.search-result-card strong {
  display: block;
  margin: 0.35rem 0 0.25rem;
}

.search-result-card p {
  margin: 0;
}

.search-result-snippet {
  margin-top: 0.45rem;
  color: var(--ngt-muted);
}

.sticky-search-card,
.sticky-tools {
  position: relative;
}

.search-result-card mark {
  padding: 0 0.18rem;
  border-radius: 6px;
  color: inherit;
  background: rgba(255, 215, 0, 0.32);
}

.search-result-type {
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ngt-orange-deep);
}

.search-empty {
  grid-column: 1 / -1;
}

.announcement-item h3,
.doc-item h3 {
  margin-bottom: 0.35rem;
}

.status-note {
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  color: var(--ngt-text);
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid rgba(154, 61, 0, 0.22);
}

.status-note-error {
  color: #7a1e00;
  background: rgba(255, 236, 230, 0.98);
  border-color: rgba(184, 55, 16, 0.22);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid.compact {
  grid-template-columns: 1fr;
}

.form-grid label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.form-grid input,
.form-grid textarea,
.form-grid select,
.table-tools input,
.table-tools select {
  width: 100%;
  min-height: 50px;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(34, 34, 34, 0.13);
  border-radius: 14px;
  font: inherit;
  color: var(--ngt-text);
  background: rgba(255, 255, 255, 0.96);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-grid textarea {
  min-height: 140px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus,
.table-tools input:focus,
.table-tools select:focus {
  outline: none;
  border-color: rgba(255, 140, 0, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.12);
  background: var(--ngt-white);
}

.full {
  grid-column: 1 / -1;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.top-gap {
  margin-top: var(--space-3);
}

.table-tools {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.member-tools {
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(180px, 0.7fr));
  align-items: center;
}

.search-field {
  position: relative;
  display: block;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0.65;
  pointer-events: none;
}

.search-field input {
  padding-left: 2.9rem;
}

.table-wrap {
  overflow-x: auto;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 248, 224, 0.97);
  box-shadow: var(--ngt-shadow-soft);
}

body[data-page="members"] .table-wrap {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 252, 244, 0.99), rgba(255, 244, 220, 0.98));
  box-shadow: 0 14px 32px rgba(29, 35, 47, 0.07);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.18), rgba(255, 140, 0, 0.1));
}

th,
td {
  padding: 0.95rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid rgba(34, 34, 34, 0.08);
  vertical-align: middle;
  white-space: nowrap;
}

tbody tr:hover {
  background: rgba(255, 247, 223, 0.4);
}

.member-table thead {
  background: #ffe9b5;
  box-shadow: 0 1px 0 rgba(61, 40, 7, 0.12);
}

.member-table th {
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3d2807;
}

.member-table td {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.member-table tbody tr {
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.member-table tbody tr:nth-child(even) td {
  background: rgba(255, 249, 241, 0.92);
}

.member-table tbody tr:hover td {
  background: #fff3d5;
}

.member-table tbody tr:hover {
  transform: translateY(-1px) scale(1.005);
  box-shadow: inset 0 0 0 999px rgba(255, 247, 230, 0.45);
}

.member-table .btn {
  min-width: 128px;
  padding: 0.7rem 1rem;
  border-radius: 25px;
  background: linear-gradient(135deg, #b45309, #8a3300);
  box-shadow: 0 8px 18px rgba(154, 61, 0, 0.14);
}

.member-avatar {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255, 196, 77, 0.85);
  background: linear-gradient(145deg, #fff7df, #ffe5b6);
  color: var(--ngt-orange-deep);
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(97, 58, 8, 0.12);
}

.member-avatar-frame,
.member-photo-preview-frame {
  position: relative;
  overflow: hidden;
}

.member-avatar-img,
.member-photo-preview {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--crop-x, 50%) var(--crop-y, 50%);
  transform: scale(var(--crop-zoom, 1.3));
  transform-origin: var(--crop-x, 50%) var(--crop-y, 50%);
}

.member-avatar-sm {
  width: 42px;
  height: 42px;
  font-size: 0.78rem;
}

.member-avatar-fallback {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.member-photo-editor {
  display: grid;
  gap: 0.8rem;
}

.member-photo-preview-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: 18px;
  background: rgba(255, 250, 235, 0.78);
  border: 1px solid rgba(255, 140, 0, 0.14);
}

.member-photo-preview-tools {
  display: grid;
  gap: 0.85rem;
  min-width: min(100%, 360px);
}

.member-photo-position-controls {
  display: grid;
  gap: 0.65rem;
}

.member-photo-position-controls label {
  display: grid;
  gap: 0.35rem;
  color: var(--ngt-text);
  font-size: 0.9rem;
  font-weight: 700;
}

.member-photo-position-controls input[type="range"] {
  width: min(100%, 320px);
  accent-color: var(--ngt-orange);
}

.member-photo-preview-frame {
  display: inline-block;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 2px solid rgba(255, 196, 77, 0.9);
  box-shadow: 0 12px 26px rgba(97, 58, 8, 0.14);
  background: #fff7df;
}

.admin-auth-card,
.admin-workspace {
  display: grid;
  gap: 1.2rem;
}

.admin-auth-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(216, 130, 24, 0.22);
  background:
    radial-gradient(circle at top right, rgba(255, 181, 45, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 249, 238, 0.98), rgba(255, 255, 255, 0.95));
  box-shadow:
    0 28px 60px rgba(120, 74, 10, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.admin-auth-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, #ff9800, #ffb300);
}

.admin-auth-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(320px, 1.08fr);
  gap: 1.5rem;
  align-items: stretch;
  padding: 1.8rem 1.4rem 1.4rem 1.7rem;
}

.admin-auth-copy {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding-right: 0.6rem;
}

.admin-auth-copy h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2vw, 2.35rem);
}

.admin-auth-lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(24, 34, 46, 0.88);
  max-width: 34ch;
}

.admin-auth-copy::after {
  content: "Admin Only";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 0.3rem;
  padding: 0.8rem 1.05rem;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 247, 228, 0.96), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(226, 160, 45, 0.2);
  box-shadow: 0 12px 26px rgba(120, 74, 10, 0.08);
  color: rgba(97, 63, 9, 0.88);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-auth-panel {
  display: grid;
  align-items: center;
  padding: 1.2rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(224, 173, 95, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.admin-auth-status {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.1rem 0;
  color: rgba(53, 63, 74, 0.88);
  font-size: 0.94rem;
  line-height: 1.55;
}

.admin-auth-status.is-error {
  color: #9a3d00;
}

.admin-login-form {
  max-width: 100%;
  gap: 1.2rem;
}

.admin-login-form.is-signed-in {
  gap: 0.75rem;
}

.admin-login-form label {
  display: grid;
  gap: 0.7rem;
  font-weight: 700;
  color: var(--ngt-text);
}

.admin-login-form label.hidden {
  display: none;
}

.admin-login-form input {
  min-height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(158, 172, 188, 0.95);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(248, 250, 252, 0.98));
  color: rgba(20, 30, 42, 0.96);
  box-shadow:
    inset 0 1px 2px rgba(15, 23, 42, 0.04),
    0 3px 10px rgba(15, 23, 42, 0.03);
}

.admin-login-form input::placeholder {
  color: rgba(86, 98, 112, 0.88);
}

.admin-login-form input:focus {
  border-color: rgba(255, 152, 0, 0.62);
  box-shadow:
    0 0 0 4px rgba(255, 179, 0, 0.14),
    inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.admin-auth-actions {
  margin-top: 0.2rem;
}

.admin-auth-actions .btn {
  min-width: 148px;
}

.admin-auth-actions .btn-primary {
  box-shadow: 0 18px 34px rgba(255, 123, 0, 0.28);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.admin-auth-actions .btn-primary:hover,
.admin-auth-actions .btn-primary:focus-visible {
  background: linear-gradient(135deg, #f57c00, #e56700);
  box-shadow: 0 22px 38px rgba(229, 103, 0, 0.34);
  transform: translateY(-1px);
}

.admin-checkbox {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 56px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(208, 215, 222, 0.92);
  background: rgba(255, 255, 255, 0.88);
}

.admin-checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.service-rows-editor {
  min-height: 220px;
  font-family: Consolas, "Courier New", monospace;
  line-height: 1.6;
}

.service-admin-section {
  display: grid;
  gap: 1rem;
}

.service-selection-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(223, 170, 78, 0.24);
  background:
    radial-gradient(circle at top right, rgba(255, 196, 82, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 251, 243, 0.98), rgba(255, 255, 255, 0.97));
  box-shadow:
    0 20px 44px rgba(120, 74, 10, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.service-selection-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #ffb300, #ff8f00);
}

.service-selection-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 1rem;
  align-items: start;
}

.service-selection-picker {
  display: grid;
  gap: 0.65rem;
  width: 100%;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(225, 182, 108, 0.28);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 26px rgba(120, 74, 10, 0.06);
}

.service-selection-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ngt-text);
}

.service-selection-picker select {
  width: 100%;
  min-height: 56px;
  padding-right: 3rem;
  border-radius: 18px;
  border: 1px solid rgba(162, 175, 190, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(248, 250, 252, 0.98));
  box-shadow:
    inset 0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 14px rgba(15, 23, 42, 0.04);
  font-weight: 700;
}

.service-selection-picker select:focus {
  border-color: rgba(255, 152, 0, 0.62);
  box-shadow:
    0 0 0 4px rgba(255, 179, 0, 0.14),
    inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.service-admin-editor-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(221, 174, 103, 0.28);
  background: linear-gradient(135deg, rgba(255, 248, 236, 0.96), rgba(255, 255, 255, 0.96));
}

.service-admin-editor-head p {
  margin: 0;
}

.service-rows-builder {
  display: grid;
  gap: 1rem;
}

.service-rows-empty {
  padding: 1.1rem 1.15rem;
  border-radius: 18px;
  border: 1px dashed rgba(201, 154, 82, 0.4);
  background: rgba(255, 252, 246, 0.92);
}

.service-rows-empty p {
  margin: 0;
}

.service-rows-empty p + p {
  margin-top: 0.35rem;
}

.service-member-row {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(213, 220, 228, 0.92);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.service-member-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.service-member-row-head strong {
  font-size: 1rem;
  color: var(--ngt-text);
}

.service-member-remove {
  min-width: 0;
}

.service-member-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.service-selection-summary {
  display: grid;
}

.service-selection-card {
  display: grid;
  gap: 0.9rem;
  min-height: 100%;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(219, 177, 103, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 248, 234, 0.94), rgba(255, 255, 255, 0.98));
  box-shadow:
    0 16px 34px rgba(120, 74, 10, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.service-selection-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.service-selection-card h4,
.service-selection-card p {
  margin: 0;
}

.service-selection-card h4 {
  font-size: 1.12rem;
  line-height: 1.35;
}

.admin-overview-ribbon {
  margin-bottom: 0.2rem;
}

.admin-switcher-card {
  display: grid;
  gap: 0.9rem;
}

.admin-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.admin-switch-btn {
  min-width: 180px;
}

.admin-panel-group {
  display: grid;
  gap: 1.2rem;
}

.admin-panel-group > .card {
  margin-bottom: 0;
}

.member-editor-entry-card {
  border: 1px solid rgba(223, 170, 78, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 249, 238, 0.98), rgba(255, 255, 255, 0.96));
  box-shadow:
    0 16px 34px rgba(120, 74, 10, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

#memberEditorCard {
  scroll-margin-top: 112px;
}

.member-editor-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.member-entry-actions {
  grid-column: auto;
  margin: 0;
}

.member-entry-actions .btn {
  min-width: 160px;
}

.admin-tools {
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, 0.75fr) auto;
}

.admin-actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.admin-actions-inline .btn {
  min-width: 0;
}

.admin-news-tools {
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.75fr) auto;
}

.admin-member-table td:last-child {
  white-space: normal;
}

.admin-member-table td {
  white-space: normal;
}

.admin-member-table td:last-child .btn {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.info-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ribbon-card {
  padding: 1.2rem 1.15rem;
  border-radius: 24px;
  background: #fff;
  border: 0;
  border-top: 3px solid #ff8c00;
  box-shadow: var(--ngt-shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ribbon-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(29, 35, 47, 0.09);
}

.ribbon-card strong {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.35rem 0 0.4rem;
  font-family: "Georgia", serif;
  font-size: 1.3rem;
}

.ribbon-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-right: 0.65rem;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
}

.ribbon-card p {
  margin: 0;
  color: var(--ngt-muted);
}

.ribbon-label,
.overview-label,
.news-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ngt-orange-deep);
  background: rgba(255, 232, 166, 0.56);
}

.elevated-card {
  background: linear-gradient(180deg, rgba(255, 248, 224, 0.98), rgba(255, 232, 166, 0.95));
}

.member-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.overview-card {
  padding: 1.15rem;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 248, 224, 0.98), rgba(255, 230, 159, 0.95));
  border: 0;
  box-shadow: var(--ngt-shadow-soft);
}

.overview-card strong {
  display: block;
  margin: 0.4rem 0 0.45rem;
  font-family: "Georgia", serif;
  font-size: 1.2rem;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
}

.stat-card {
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-card.primary {
  box-shadow:
    inset 0 0 0 1px rgba(154, 61, 0, 0.14),
    var(--ngt-shadow-soft);
}

.overview-card p,
.news-highlight-card p {
  margin: 0;
  color: #3f4854;
}

.data-card {
  background: linear-gradient(180deg, rgba(255, 248, 224, 0.98), rgba(255, 233, 170, 0.95));
}

body[data-page="home"] {
  background:
    radial-gradient(circle at top left, rgba(255, 208, 120, 0.14), transparent 28%),
    radial-gradient(circle at right 12%, rgba(255, 140, 0, 0.08), transparent 24%),
    linear-gradient(180deg, #fffaf1 0%, #fff3d4 36%, #fff8e8 100%);
}

body[data-page="home"] .page-hero-card,
body[data-page="home"] .elevated-card,
body[data-page="home"] .announcement-item,
body[data-page="home"] .ribbon-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 241, 0.96));
}

body[data-page="gallery"] {
  background:
    radial-gradient(circle at top left, rgba(255, 208, 120, 0.14), transparent 28%),
    radial-gradient(circle at right 12%, rgba(255, 140, 0, 0.08), transparent 24%),
    linear-gradient(180deg, #fffaf1 0%, #fff3d4 36%, #fff8e8 100%);
}

body[data-page="gallery"] .page-hero-card,
body[data-page="gallery"] .gallery-page-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 241, 0.96));
}

body[data-page="home"] .hero-panel {
  margin-top: 1.6rem;
  background: rgba(255, 251, 242, 0.18);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.impact-card {
  padding: 1.2rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 249, 241, 0.96));
  border: 1px solid rgba(255, 140, 0, 0.12);
  box-shadow: var(--ngt-shadow-soft);
}

.impact-label {
  display: inline-flex;
  width: fit-content;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ngt-orange-deep);
  background: rgba(255, 232, 166, 0.72);
  border: 1px solid rgba(154, 61, 0, 0.16);
}

.impact-card strong {
  display: block;
  margin: 0.65rem 0 0.45rem;
  font-family: "Georgia", serif;
  font-size: 2rem;
  color: var(--ngt-text);
}

body[data-page="members"] {
  background:
    radial-gradient(circle at top left, rgba(255, 208, 120, 0.16), transparent 28%),
    radial-gradient(circle at right 10%, rgba(255, 140, 0, 0.08), transparent 24%),
    linear-gradient(180deg, #fffaf1 0%, #fff3d4 42%, #fff8e8 100%);
}

body[data-page="members"] .page-hero-card {
  background: linear-gradient(135deg, rgba(255, 246, 225, 0.98), rgba(255, 238, 205, 0.98));
}

.page-hero {
  padding: 2rem 0 2.15rem;
  background: transparent;
}

.page-hero .container {
  display: grid;
  width: 100%;
  max-width: none;
  padding-right: 1rem;
  padding-left: 1rem;
  place-items: center;
}

.page-hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(840px, 100%);
  max-width: 840px;
  margin: 0 auto;
  padding: 2.25rem 1rem 2.05rem;
  text-align: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-hero-card:not(.about-simple-hero)::before {
  content: "";
  display: block;
  width: 132px;
  aspect-ratio: 1;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  background: url("./cover%20pic/circle%20logo.png") center / cover no-repeat;
}

.page-hero-card:not(.about-simple-hero)::after {
  content: "";
  position: relative;
  width: 142px;
  height: 9px;
  margin: 1.2rem auto 0;
  background:
    radial-gradient(circle at 50% 50%, var(--ngt-orange) 0 4.5px, transparent 5px),
    linear-gradient(var(--ngt-orange), var(--ngt-orange)) center / 100% 3px no-repeat;
}

.page-hero-card h1 {
  max-width: 840px;
  margin: 0 0 0.75rem;
  color: #08294d;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  line-height: 1.1;
}

.page-hero-card p {
  width: min(780px, 100%);
  max-width: 780px;
  margin: 0 auto;
  color: #263241;
  font-size: clamp(1.08rem, 1.55vw, 1.18rem);
  line-height: 1.7;
}

.page-hero-card .eyebrow {
  width: auto;
  justify-content: center;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
  line-height: 1.2;
}

.page-hero-card .eyebrow::before {
  display: none;
}

.page-hero-card .service-hero-note {
  margin-top: 0.45rem;
  font-size: 0.95rem;
  color: var(--ngt-muted);
}

body[data-page="members"] .data-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 239, 0.98));
}

body[data-page="members"] .data-card::before {
  height: 4px;
}

.news-highlight {
  margin-bottom: 1rem;
}

.news-highlight-card {
  padding: 1.1rem 1.2rem;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 248, 224, 0.98), rgba(255, 232, 166, 0.96));
  border: 0;
  box-shadow: var(--ngt-shadow-soft);
}

.news-highlight-card .section-head {
  align-items: start;
}

.news-detail-shell {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.news-detail-back {
  width: fit-content;
  justify-self: start;
}

.back-btn {
  font-size: 1rem;
  padding: 0.78rem 1.05rem;
  color: var(--ngt-orange-deep);
}

.news-detail-card {
  width: min(100%, 920px);
  padding: 1.2rem;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 239, 0.98));
  border: 1px solid rgba(255, 140, 0, 0.12);
  box-shadow: var(--ngt-shadow-soft);
}

.news-detail-card-obituary {
  width: min(100%, 860px);
  padding: clamp(1.2rem, 3vw, 2.15rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(253, 249, 239, 0.98));
  border-color: rgba(142, 112, 57, 0.18);
  box-shadow: 0 24px 54px rgba(82, 58, 19, 0.12);
}

.obituary-header {
  max-width: 760px;
  margin: 0 auto 1.05rem;
  text-align: center;
}

.news-detail-card-obituary .news-detail-meta {
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
}

.memorial-title {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.8rem;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7e715d;
}

.memorial-title::before,
.memorial-title::after {
  content: "";
  width: 42px;
  height: 1px;
  background: rgba(142, 112, 57, 0.32);
}

.news-detail-card h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  line-height: 1.15;
  color: #1b2840;
}

.news-detail-card-obituary h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.news-detail-card .announcement-full {
  margin-top: 0;
  max-width: 800px;
  line-height: 1.7;
  white-space: pre-line;
}

.news-content {
  max-width: 800px;
}

.obituary-content {
  max-width: 760px;
  margin: 0 auto;
}

.news-content-paragraph {
  margin: 0 0 18px;
  line-height: 1.7;
}

.news-content .lead-paragraph {
  font-size: 18px;
  font-weight: 500;
}

.news-detail-card-obituary .lead-paragraph {
  max-width: 720px;
  margin: 0 auto 1.25rem;
  text-align: center;
  color: #314052;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.75;
}

.news-detail-card-obituary .news-content-paragraph:not(.lead-paragraph) {
  font-size: 0.98rem;
  line-height: 1.82;
  color: #273241;
}

.news-content .credit-paragraph {
  color: var(--ngt-muted);
}

.news-detail-meta .badge {
  margin-right: 0.2rem;
}

.news-detail-card .announcement-photo-wrap {
  margin: 1rem 0 1.5rem;
  border-radius: 18px;
  background: rgba(255, 248, 224, 0.72);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.news-detail-card .announcement-photo-wrap::after {
  display: none;
}

.news-detail-card .announcement-photo {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  border-radius: 18px;
}

.inline-article-image-wrap {
  float: right;
  width: min(54%, 430px);
  margin: 0.15rem -4.6rem 1rem 1.4rem;
  transform: translateX(1cm);
  padding: 0.4rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 251, 240, 0.96), rgba(255, 238, 190, 0.9));
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.inline-article-image {
  width: 100%;
  height: clamp(240px, 28vw, 320px);
  object-fit: cover;
  object-position: 68% center;
  border-radius: 24px;
  display: block;
}

.announcement-source {
  clear: both;
  margin: 1rem 0 0;
  color: var(--ngt-muted);
  font-size: 0.98rem;
}

.news-detail-card .obituary-image-wrap {
  width: fit-content;
  margin: 1.15rem auto 1.65rem;
  padding: 0.55rem;
  border-radius: 999px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(145deg, rgba(255, 205, 91, 0.9), rgba(142, 112, 57, 0.32)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 18px 34px rgba(70, 60, 35, 0.16);
}

.news-detail-card .obituary-image {
  width: clamp(170px, 28vw, 230px);
  height: clamp(170px, 28vw, 230px);
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.divider {
  border-top: 1px solid #ddd;
  margin: 30px 0 18px;
}

.news-detail-card .announcement-full:first-of-type,
.news-detail-card p.announcement-full:first-of-type {
  font-weight: 500;
}

.service-list-card {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(255, 250, 235, 0.78);
  border: 1px dashed rgba(255, 140, 0, 0.28);
}

.service-list-card p {
  margin: 0 0 0.45rem;
}

.service-list-card p:last-child {
  margin-bottom: 0;
}

.service-main-section {
  border-top: 1px solid rgba(34, 34, 34, 0.08);
  margin-top: 2.4rem;
  padding-top: 2.8rem;
  background: radial-gradient(circle at top left, rgba(255, 234, 188, 0.18), transparent 42%);
}

.service-hero-card {
  max-width: 860px;
  padding: 2.1rem 2rem 1.9rem;
  background: linear-gradient(180deg, rgba(255, 247, 233, 0.98), rgba(255, 235, 168, 0.95));
  border: 1px solid rgba(255, 160, 0, 0.18);
  box-shadow: 0 24px 60px rgba(104, 69, 21, 0.12);
}

.service-hero-card h1 {
  max-width: 720px;
  margin-bottom: 0.75rem;
}

.service-hero-card p:not(.eyebrow) {
  max-width: 760px;
  line-height: 1.75;
  color: rgba(34, 34, 34, 0.92);
}

.service-hero-note {
  margin: 1rem 0 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ngt-orange-deep);
}

.service-picker {
  grid-template-columns: minmax(260px, 420px);
}

.service-batch.is-active {
  display: block;
}

.service-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.service-field {
  position: relative;
  display: flex;
  align-items: center;
}

.service-field-icon {
  position: absolute;
  left: 14px;
  display: inline-flex;
  color: rgba(100, 68, 30, 0.75);
  pointer-events: none;
}

.service-controls input,
.service-controls select {
  width: 100%;
  min-height: 54px;
  padding: 0.8rem 0.95rem 0.8rem 2.65rem;
  border: 1px solid rgba(34, 34, 34, 0.12);
  border-radius: 12px;
  font: inherit;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-controls input:focus,
.service-controls select:focus {
  outline: none;
  border-color: rgba(216, 111, 0, 0.45);
  box-shadow: 0 4px 14px rgba(216, 111, 0, 0.12);
  transform: translateY(-1px);
}

.service-result-summary {
  margin: 1rem 0 0;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 245, 215, 0.72);
  border: 1px solid rgba(255, 152, 0, 0.2);
  color: #6d4a23;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.service-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-summary-card {
  padding: 1.3rem;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 243, 204, 0.96));
  border: 1px solid rgba(255, 159, 0, 0.14);
  box-shadow: 0 18px 30px rgba(107, 64, 13, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-summary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(107, 64, 13, 0.15);
  border-color: rgba(255, 166, 0, 0.22);
}

.service-summary-label {
  display: inline-flex;
  width: fit-content;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ngt-orange-deep);
  background: rgba(255, 215, 0, 0.22);
}

.service-summary-card strong {
  display: block;
  margin: 0.65rem 0 0.45rem;
  font-family: "Georgia", serif;
  font-size: 1.9rem;
  color: var(--ngt-text);
}

.service-summary-card p {
  margin: 0;
  color: var(--ngt-muted);
}

.service-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 22px;
}

.service-table th,
.service-table td {
  padding: 0.95rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 198, 127, 0.3);
}

.service-table th {
  background: linear-gradient(135deg, #ffd25b, #ffc33a);
  color: #2d1d05;
  font-weight: 700;
}

.service-table tbody tr:nth-child(even) {
  background: rgba(255, 250, 235, 0.6);
}

.service-table tbody tr:hover {
  background: rgba(255, 234, 182, 0.8);
}

.service-summary-card p {
  margin: 0;
  color: var(--ngt-muted);
}

.contact-directory-section {
  padding-top: 0.8rem;
}

.contact-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-directory-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 1.85rem 1.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(29, 35, 47, 0.06);
  box-shadow: 0 16px 32px rgba(29, 35, 47, 0.08);
}

.contact-directory-card::before,
.contact-directory-card::after {
  content: "";
  position: absolute;
  left: -22px;
  bottom: 26px;
  width: 78px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 140, 0, 0.08);
  transform: rotate(-42deg);
}

.contact-directory-card::after {
  bottom: 8px;
}

.contact-directory-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #08294d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.15;
}

.contact-directory-card .section-line {
  width: 66px;
  height: 3px;
  margin: 0.85rem 0 1rem;
}

.contact-directory-card p {
  position: relative;
  z-index: 1;
  margin: 0.25rem 0;
  color: #2f3745;
  font-size: 1rem;
  line-height: 1.55;
}

.contact-directory-card .contact-name {
  color: #1d232f;
  font-weight: 700;
}

.contact-directory-card a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 140, 0, 0.32);
  overflow-wrap: anywhere;
}

.contact-directory-card a:hover {
  color: var(--ngt-orange-deep);
}

.contact-support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.2rem;
  align-items: start;
  margin-top: 1.35rem;
}

.contact-support-layout .card {
  border-radius: 8px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.2rem;
  align-items: start;
}

.contact-main-card {
  min-height: 100%;
}

.contact-form {
  margin-top: 1.3rem;
}

.contact-side-column {
  display: grid;
  gap: 1rem;
}

.section-line {
  width: 52px;
  height: 3px;
  margin: 0.4rem 0 1rem;
  border-radius: 999px;
  background: var(--ngt-orange);
}

.contact-copy {
  margin: 0 0 1.15rem;
  color: var(--ngt-muted);
}

.contact-detail-list,
.contact-card-grid {
  display: grid;
  gap: 0.9rem;
}

.contact-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-detail-item,
.contact-card {
  display: flex;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 140, 0, 0.12);
  box-shadow: var(--ngt-shadow-soft);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 1rem;
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.24), rgba(255, 140, 0, 0.18));
}

.contact-label {
  margin: 0 0 0.18rem;
  font-weight: 700;
  color: var(--ngt-text);
}

.contact-value {
  margin: 0;
  color: var(--ngt-muted);
}

.contact-value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 111, 0, 0.28);
}

.contact-value a:hover {
  color: var(--ngt-orange-deep);
}

.contact-map-card {
  background: linear-gradient(180deg, rgba(255, 248, 224, 0.98), rgba(255, 235, 175, 0.96));
}

.map-frame {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 140, 0, 0.14);
  box-shadow: var(--ngt-shadow-soft);
  background: rgba(255, 255, 255, 0.88);
}

.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.service-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #ffd700;
}

.service-table tbody tr:nth-child(even) {
  background: rgba(255, 250, 235, 0.5);
}

.service-table tbody tr:hover {
  background: #fff3cd;
}

.profile-modal {
  width: min(760px, 94%);
  max-height: min(88vh, 920px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.25);
}

.profile-modal article {
  padding: 1.7rem;
  background: linear-gradient(180deg, #fffdf9, #fff6ea);
  max-height: inherit;
  overflow: auto;
}

.profile-modal::backdrop {
  background: rgba(20, 15, 5, 0.55);
}

.profile-shell {
  display: grid;
  gap: 1rem;
}

.profile-layout {
  display: grid;
  gap: 0.95rem;
}

.profile-header-card,
.profile-section {
  background: #fff;
  border: 1px solid rgba(255, 140, 0, 0.09);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(51, 37, 11, 0.08);
}

.profile-header-card {
  padding: 1.4rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 244, 214, 0.98), rgba(255, 255, 255, 0.98));
}

.profile-header-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.profile-avatar {
  width: 112px;
  height: 112px;
  font-size: 1.45rem;
  border-width: 3px;
}

.profile-overline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ngt-orange-deep);
}

.profile-overline::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.profile-header-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.08;
}

.profile-id {
  display: inline-flex;
  margin-top: 0.7rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--ngt-orange-deep);
  background: rgba(255, 215, 0, 0.16);
}

.profile-header-note {
  margin: 0.75rem 0 0;
  color: var(--ngt-muted);
}

.profile-section {
  padding: 1rem 1.1rem 1.05rem;
}

.profile-section h3 {
  margin: 0 0 0.9rem;
  font-size: 1rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1rem;
}

.profile-item {
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 249, 241, 0.95), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(255, 140, 0, 0.08);
}

.profile-item.full {
  grid-column: 1 / -1;
}

.profile-label {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2d3440;
}

.profile-value {
  margin: 0;
  color: #555;
  line-height: 1.55;
}

.profile-card-preview {
  padding: 1.1rem 1.15rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 191, 0, 0.18), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(255, 140, 0, 0.12);
}

.profile-card-preview h4 {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.2rem;
}

.profile-card-preview p {
  margin: 0.18rem 0;
}

.profile-card-preview .muted {
  margin-top: 0.45rem;
}

.hidden {
  display: none;
}

.site-footer {
  margin-top: 2.5rem;
  color: var(--ngt-white);
  background:
    radial-gradient(circle at top left, rgba(255, 214, 102, 0.24), transparent 26%),
    linear-gradient(135deg, #ff9800 0%, #ef7f00 48%, #d96a00 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.footer-brand-logo {
  width: min(120px, 28vw);
  height: auto;
  display: block;
  margin-bottom: 0.15rem;
  padding: 0.45rem 0.65rem;
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.96);
  box-shadow: 0 8px 20px rgba(78, 32, 4, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
  min-height: 88px;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
}

.footer-title {
  margin: 0 0 0.7rem;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}

.footer-copy {
  margin: 0 0 0.45rem;
  color: rgba(255, 248, 236, 0.88);
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(255, 248, 236, 0.96);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: #fff3cd;
  transform: translateX(2px);
}

.lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font: inherit;
  font-weight: 700;
  color: var(--ngt-orange-deep);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 231, 0.96));
  box-shadow: 0 10px 22px rgba(104, 44, 0, 0.14);
  cursor: pointer;
}

.lang-btn:disabled {
  cursor: not-allowed;
  color: rgba(162, 84, 0, 0.88);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 241, 216, 0.94));
  box-shadow: 0 8px 18px rgba(104, 44, 0, 0.1);
  opacity: 0.92;
}

.footer-bottom {
  text-align: center;
  padding: 1rem 1rem 1.15rem;
  font-size: 0.92rem;
  color: rgba(255, 248, 236, 0.82);
  border-top: 1px solid rgba(255, 237, 214, 0.18);
  background: rgba(120, 53, 0, 0.12);
}

hr {
  border: 0;
  border-top: 1px solid rgba(34, 34, 34, 0.1);
  margin: 1rem 0;
}

@media (min-width: 961px) {
  body[data-page="home"] .hero {
    --home-hero-image-height: clamp(380px, 61vw, 700px);
    padding-top: 0;
    padding-bottom: 0;
    background: #24170a;
  }

  body[data-page="home"] .hero .container {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  body[data-page="home"] .hero::before,
  body[data-page="home"] .hero::after {
    display: none;
  }

  body[data-page="home"] .hero-slider {
    min-height: auto;
    background: transparent;
  }

  body[data-page="home"] .hero-slide {
    min-height: auto;
    align-items: flex-start;
    background: #24170a !important;
  }

  body[data-page="home"] .hero-slide::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: var(--home-hero-image-height);
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.2)),
      var(--hero-image, url("./cover pic/new qua.png"));
    background-size: 100% 100%, var(--hero-size, cover);
    background-position: center top, center center;
    background-repeat: no-repeat, no-repeat;
  }

  body[data-page="home"] .hero-stage {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: var(--home-hero-image-height);
    padding-bottom: 0;
  }

  body[data-page="home"] .hero-copy {
    width: 100%;
    max-width: none;
    margin-top: 0;
    margin-left: 0;
    padding: 1rem 1.4rem 1.05rem;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(66, 38, 12, 0.98), rgba(48, 26, 8, 0.99));
    box-shadow: 0 18px 38px rgba(22, 11, 2, 0.22);
    color: #fff3d8;
  }

  body[data-page="home"] .hero-copy .eyebrow,
  body[data-page="home"] .hero-copy h1,
  body[data-page="home"] .hero-copy .hero-text,
  body[data-page="home"] .hero-copy .hero-note,
  body[data-page="home"] .hero-subtitle {
    color: #fff3d8;
    text-shadow: none;
  }

  body[data-page="home"] .hero-copy .eyebrow {
    color: rgba(255, 228, 177, 0.88);
  }

  body[data-page="home"] .hero-copy .eyebrow::before {
    background: rgba(255, 196, 102, 0.78);
  }

  body[data-page="home"] .hero-copy h1 {
    max-width: 18ch;
    font-size: clamp(1.8rem, 3vw, 2.95rem);
    line-height: 1.08;
    margin-bottom: 0.3rem;
  }

  body[data-page="home"] .hero-subtitle {
    margin-top: 0.2rem;
    font-size: 1rem;
    opacity: 0.88;
  }

  body[data-page="home"] .hero-text {
    max-width: 88ch;
    font-size: 0.98rem;
    line-height: 1.52;
  }

  body[data-page="home"] .hero-note {
    max-width: 80ch;
    margin-top: 0.5rem;
    color: rgba(255, 232, 192, 0.82);
    font-size: 0.88rem;
  }

  body[data-page="home"] .hero-actions {
    margin-top: 0.95rem;
    gap: 0.75rem;
  }

  body[data-page="home"] .hero-dots {
    top: calc(var(--home-hero-image-height) - 32px);
    bottom: auto;
  }
}

@media (max-width: 960px) {
  .grid-3,
  .content-grid,
  .stats-grid,
  .impact-grid,
  .hero-layout,
  .hero-quick-row,
  .about-hero-grid,
  .about-story-grid,
  .history-formation-card,
  .history-photo-card,
  .vision-section,
  .objective-grid,
  .structure-grid,
  .info-ribbon,
  .activity-gallery-grid,
  .gallery-page-grid,
  .member-overview,
  .service-summary-grid,
  .service-controls,
  .contact-layout,
  .contact-support-layout,
  .contact-card-grid,
  .footer-grid,
  .search-results-grid,
  .search-section-grid {
    grid-template-columns: 1fr;
  }

  .contact-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2,
  .form-grid,
  .table-tools {
    grid-template-columns: 1fr;
  }

  body[data-page="admin"] .admin-overview-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="admin"] .admin-auth-shell {
    grid-template-columns: 1fr;
  }

  body[data-page="admin"] .admin-auth-copy {
    padding-right: 0;
  }

  body[data-page="admin"] .admin-auth-copy::after {
    margin-top: 0;
  }

  body[data-page="admin"] .admin-tools,
  body[data-page="admin"] .admin-news-tools {
    grid-template-columns: 1fr;
  }

  body[data-page="admin"] .admin-actions-inline {
    justify-content: flex-start;
  }

  .vision-media {
    min-height: 260px;
  }

  .history-formation-media {
    min-height: 0;
  }

  .history-formation-media img {
    max-height: 260px;
  }

  .history-photo-media img {
    max-height: 260px;
  }

  .history-photo-media-large img {
    max-height: 320px;
  }
}

@media (max-width: 760px) {
  body.nav-open {
    overflow: hidden;
  }

  .profile-header-main {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .member-photo-preview-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    border-bottom: 0;
    box-shadow: none;
  }

  .container {
    width: min(100% - 1rem, 1140px);
  }

  .nav-wrap {
    gap: 0.75rem;
    min-height: 76px;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .brand {
    gap: 0.6rem;
    min-width: 0;
    max-width: calc(100% - 78px);
    align-items: center;
  }

  .brand span {
    line-height: 1.25;
  }

  .brand-mark {
    height: 60px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: fixed;
    left: 14px;
    right: 14px;
    top: 78px;
    gap: 0.55rem;
    max-height: calc(100vh - 92px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    padding: 0.9rem;
    border-radius: 22px;
    background: rgba(255, 250, 235, 0.98);
    border: 1px solid rgba(255, 140, 0, 0.15);
    box-shadow: var(--ngt-shadow);
    flex-direction: column;
    align-items: stretch;
    overscroll-behavior: contain;
  }

  .main-nav a {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    text-align: left;
  }

  .main-nav .nav-search {
    width: 100%;
    margin-bottom: 0;
  }

  .main-nav .nav-search-toggle {
    width: 100%;
    height: 48px;
    border-radius: 14px;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-search {
    order: 0;
    align-self: stretch;
  }

  .nav-search-panel {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    margin-top: 0.55rem;
  }

  .section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero {
    padding-top: 0;
    padding-bottom: 0;
    background: #24170a;
    margin-top: 0;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-slider {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 0;
    background: transparent;
    margin-top: 0;
  }

  .hero-slide {
    position: relative;
    min-height: auto;
    background: #24170a !important;
  }

  .hero-slide::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: min(64vw, 320px);
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.18)),
      var(--hero-image, url("./cover pic/new qua.png"));
    background-size: 100% 100%, var(--hero-size, 100% auto);
    background-position: center top, center top;
    background-repeat: no-repeat, no-repeat;
  }

  .hero-stage {
    flex-direction: column;
    align-items: start;
    gap: 0.95rem;
    padding-top: min(64vw, 320px);
    padding-bottom: 1.35rem;
  }

  .hero-copy {
    max-width: 100%;
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    padding: 1rem 0.95rem 1.05rem;
  }

  .hero-dots {
    top: calc(min(64vw, 320px) - 24px);
    bottom: auto;
    gap: 0.5rem;
  }

  .hero-dot {
    width: 34px;
    height: 4px;
  }

  .hero-text,
  .page-hero p,
  .hero-note {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-note {
    display: none;
  }

  .hero-subtitle {
    font-size: 0.94rem;
    letter-spacing: 0.02em;
  }

  .hero-actions {
    width: 100%;
    gap: 0.6rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  .hero-quick-row {
    margin-top: -0.35rem;
    gap: 0.75rem;
  }

  .quick-tile {
    min-height: 94px;
    padding: 0.9rem;
    border-radius: 16px;
  }

  .quick-tile-icon {
    width: 44px;
    height: 44px;
  }

  .quick-tile-label {
    font-size: 0.92rem;
  }

  .sticky-search-card,
  .sticky-tools {
    position: sticky;
    top: 84px;
    z-index: 12;
    padding: 0.8rem;
    border-radius: 18px;
    background: rgba(255, 252, 246, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 24px rgba(79, 52, 12, 0.08);
  }

  .sticky-tools {
    gap: 0.65rem;
    margin-bottom: 0.9rem;
  }

  .page-hero {
    padding-top: 0.95rem;
    padding-bottom: 0.65rem;
  }

  .page-hero-card,
  .card,
  .ribbon-card,
  .impact-card,
  .announcement-item,
  .overview-card,
  .service-summary-card,
  .contact-card,
  .contact-detail-item {
    padding: 1rem;
    margin-bottom: 0;
  }

  .section-title {
    margin-bottom: 0.45rem;
    font-size: 1.4rem;
    line-height: 1.18;
  }

  .page-hero-card {
    padding: 1.2rem;
    border-radius: 22px;
  }

  .eyebrow {
    margin-bottom: 0.65rem;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
  }

  .content-grid,
  .info-ribbon,
  .impact-grid,
  .announcement-grid,
  .activity-gallery-grid,
  .gallery-page-grid,
  .contact-side-column,
  .contact-card-grid,
  .service-summary-grid,
  .search-results-grid {
    gap: 0.9rem;
  }

  .section-head {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0.9rem;
    gap: 0.75rem;
  }

  .section-head .btn {
    width: 100%;
  }

  .section-head a {
    align-self: flex-start;
  }

  .activity-preview-head {
    align-items: stretch;
  }

  .activity-preview-head .section-title {
    max-width: 20ch;
    margin-bottom: 0.3rem;
    font-size: clamp(1.2rem, 5vw, 1.32rem);
    line-height: 1.24;
  }

  .activity-preview-head .muted {
    max-width: 34ch;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .activity-preview-head .btn {
    width: 100%;
  }

  .activity-card,
  .gallery-page-card {
    gap: 0.8rem;
    padding: 0.85rem;
  }

  .activity-card-copy,
  .gallery-page-copy {
    gap: 0.4rem;
  }

  .quick-links,
  .clean-list {
    padding-left: 1rem;
  }

  .quick-links li,
  .clean-list li {
    margin-bottom: 0.45rem;
  }

  .top-gap {
    margin-top: 1rem;
  }

  body[data-page="contact"] .contact-layout {
    gap: 1rem;
  }

  body[data-page="contact"] .contact-directory-grid,
  body[data-page="contact"] .contact-support-layout {
    gap: 1rem;
  }

  body[data-page="contact"] .contact-copy {
    margin-bottom: 1rem;
  }

  body[data-page="contact"] .contact-detail-list,
  body[data-page="contact"] .contact-card-grid,
  body[data-page="contact"] .contact-side-column {
    gap: 0.8rem;
  }

  body[data-page="contact"] .contact-detail-item,
  body[data-page="contact"] .contact-card {
    padding: 0.95rem;
  }

  body[data-page="contact"] .contact-form {
    margin-top: 1.1rem;
  }

  body[data-page="contact"] .map-frame iframe {
    height: 260px;
  }

  body[data-page="history"] .about-story-grid,
  body[data-page="history"] .about-side-stack,
  body[data-page="history"] .objective-grid {
    gap: 0.9rem;
  }

  body[data-page="history"] .about-story-card p,
  body[data-page="history"] .card p:not(.eyebrow):not(.contact-label):not(.contact-value) {
    line-height: 1.72;
  }

  body[data-page="history"] .about-story-card p {
    margin-bottom: 0.9rem;
  }

  body[data-page="history"] .objective-item {
    padding: 0.9rem;
    gap: 0.8rem;
  }

  body[data-page="history"] .history-citations p:not(.eyebrow) {
    margin: 0.5rem 0;
    line-height: 1.6;
  }

  body[data-page="news"] .news-highlight {
    margin-bottom: 0.85rem;
  }

  body[data-page="news"] .news-highlight-card {
    padding: 1rem;
  }

  body[data-page="news"] .announcement-list {
    gap: 0.9rem;
  }

  body[data-page="news"] .announcement-item {
    padding: 1rem;
  }

  body[data-page="news"] .announcement-meta {
    gap: 0.55rem;
    margin-bottom: 0.45rem;
  }

  body[data-page="news"] .announcement-item h3 {
    font-size: 1.18rem;
    margin-bottom: 0.55rem;
  }

  body[data-page="news"] .announcement-excerpt,
  body[data-page="news"] .announcement-full {
    line-height: 1.65;
  }

  body[data-page="news"] .announcement-actions {
    gap: 0.65rem;
    padding-top: 0.85rem;
  }

  body[data-page="news"] .news-detail-card {
    padding: 1rem;
    border-radius: 22px;
  }

  body[data-page="news"] .news-detail-card-obituary {
    padding: 1.05rem;
  }

  body[data-page="news"] .news-detail-card-obituary h2,
  body[data-page="news"] .obituary-header {
    text-align: center;
  }

  body[data-page="news"] .news-detail-card .obituary-image-wrap {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 1rem auto 1.25rem;
  }

  body[data-page="news"] .news-detail-card .obituary-image {
    width: clamp(160px, 40vw, 210px);
    height: clamp(160px, 40vw, 210px);
    margin: 0 auto;
  }

  body[data-page="news"] .news-detail-card h2 {
    margin-bottom: 0.8rem;
  }

  body[data-page="news"] .news-detail-card-obituary .lead-paragraph {
    margin-bottom: 1rem;
    line-height: 1.68;
  }

  body[data-page="news"] .news-content-paragraph {
    margin-bottom: 1rem;
    line-height: 1.72;
  }

  .table-wrap {
    border-radius: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 248, 239, 0.98));
    border: 1px solid rgba(255, 140, 0, 0.1);
    box-shadow: 0 16px 30px rgba(79, 52, 12, 0.08);
    -webkit-overflow-scrolling: touch;
  }

  table {
    font-size: 0.88rem;
  }

  .member-table {
    min-width: 780px;
  }

  .member-table thead {
    display: table-header-group;
  }

  .member-table tbody {
    display: table-row-group;
  }

  .member-table tr {
    display: table-row;
  }

  .member-table td,
  .member-table th {
    display: table-cell;
    white-space: nowrap;
    vertical-align: middle;
  }

  .member-table td {
    padding: 0.72rem 0.62rem;
    background: transparent;
  }

  .member-table th {
    padding: 0.8rem 0.62rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }

  .member-table tbody tr:hover,
  .member-table tbody tr:hover td {
    transform: none;
    box-shadow: none;
  }

  .member-table .btn {
    width: auto;
    min-width: 98px;
    min-height: 38px;
    padding: 0.58rem 0.72rem;
    font-size: 0.84rem;
  }

  .footer-wrap,
  .footer-grid,
  .section-head {
    align-items: start;
    gap: 0.65rem;
  }

  .footer-wrap {
    flex-direction: column;
  }

  .footer-grid {
    gap: 0.7rem;
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
  }

  .footer-title {
    margin-bottom: 0.35rem;
  }

  .footer-copy {
    margin-bottom: 0.25rem;
  }

  .footer-links {
    gap: 0.25rem;
  }

  th,
  td {
    padding: 0.75rem 0.65rem;
    white-space: normal;
    line-height: 1.5;
  }

  .search-page-form {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .search-section-head {
    gap: 0.45rem;
  }

  .search-section-head h2 {
    font-size: 1rem;
  }

  .search-result-card {
    padding: 0.9rem;
    border-radius: 16px;
  }

  .search-result-card strong {
    margin: 0.25rem 0 0.18rem;
    font-size: 0.98rem;
  }

  .search-result-card p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .search-result-snippet {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-modal {
    width: calc(100% - 16px);
    max-width: none;
    max-height: calc(100vh - 16px);
    border-radius: 22px;
  }

  .profile-modal article {
    padding: 1rem;
  }

  .footer-links a {
    display: inline-block;
    padding: 0.2rem 0;
  }
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: 24px;
  }

  p,
  li,
  input,
  select,
  textarea,
  button {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  .brand {
    font-size: 0.88rem;
  }

  .brand-mark {
    height: 52px;
  }

  .card,
  .page-hero-card,
  .ribbon-card,
  .impact-card,
  .announcement-item,
  .overview-card,
  .service-summary-card,
  .contact-card,
  .contact-detail-item {
    padding: 16px;
    margin-bottom: 0;
  }

  .hero-actions .btn,
  .form-actions .btn,
  .search-page-form .btn {
    width: 100%;
  }

  .search-page-form input,
  .table-tools input,
  .table-tools select,
  .form-grid input,
  .form-grid select,
  .form-grid textarea {
    min-height: 46px;
  }

  .section {
    margin-bottom: 0;
  }

  body[data-page="admin"] .admin-auth-card,
  body[data-page="admin"] .admin-workspace,
  body[data-page="admin"] .admin-panel-group,
  body[data-page="admin"] .admin-switcher-card {
    gap: 1rem;
  }

  body[data-page="admin"] .admin-overview-ribbon {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  body[data-page="admin"] .admin-switcher {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  body[data-page="admin"] .admin-auth-shell {
    padding: 1.15rem;
    gap: 1rem;
  }

  body[data-page="admin"] .admin-auth-panel {
    padding: 1rem;
    border-radius: 22px;
  }

  body[data-page="admin"] .admin-login-form {
    gap: 1rem;
  }

  body[data-page="admin"] .service-member-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="admin"] .service-selection-shell {
    grid-template-columns: 1fr;
  }

  body[data-page="admin"] .admin-switch-btn,
  body[data-page="admin"] .admin-actions-inline .btn,
  body[data-page="admin"] .admin-tools .btn,
  body[data-page="admin"] .admin-news-tools .btn {
    width: 100%;
    min-width: 0;
  }

  body[data-page="admin"] .admin-tools,
  body[data-page="admin"] .admin-news-tools {
    gap: 0.75rem;
  }

  body[data-page="admin"] .admin-actions-inline {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  body[data-page="admin"] .section-head {
    gap: 0.75rem;
  }

  body[data-page="admin"] .admin-member-table td:last-child .btn {
    width: 100%;
    margin-right: 0;
  }

  body[data-page="admin"] .table-wrap {
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .nav-wrap {
    gap: 0.65rem;
    min-height: 68px;
  }

  .main-nav {
    left: 12px;
    right: 12px;
    top: 68px;
    padding: 0.75rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  }

  .brand {
    max-width: calc(100% - 72px);
    font-size: 0.82rem;
  }

  .brand-mark {
    height: 46px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    min-width: 46px;
  }

  .hero-slide::before {
    height: min(58vw, 250px);
  }

  .hero-stage {
    padding-top: min(58vw, 250px);
    padding-bottom: 1rem;
  }

  .hero-copy {
    margin-top: 0;
    margin-left: 0;
    padding: 0.85rem 0.8rem 0.95rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(1.35rem, 6.3vw, 1.8rem);
  }

  .hero-actions .btn,
  .form-actions .btn,
  .search-page-form .btn,
  .member-table .btn {
    min-height: 42px;
    padding: 0.68rem 0.85rem;
    font-size: 0.92rem;
  }

  .quick-tile {
    min-height: 86px;
    padding: 0.75rem;
  }

  .page-hero-card,
  .card,
  .ribbon-card,
  .impact-card,
  .announcement-item,
  .overview-card,
  .service-summary-card,
  .contact-card,
  .contact-detail-item {
    border-radius: 18px;
  }

  .section-head {
    margin-bottom: 0.8rem;
    gap: 0.7rem;
  }

  .activity-preview-head .section-title {
    max-width: none;
    font-size: 1.1rem;
    line-height: 1.28;
  }

  .activity-preview-head .muted {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  body[data-page="contact"] .page-hero-card h1,
  body[data-page="history"] .page-hero-card h1,
  body[data-page="news"] .page-hero-card h1 {
    line-height: 1.16;
  }

  body[data-page="contact"] .contact-directory-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  body[data-page="contact"] .contact-directory-card {
    min-height: 0;
    padding: 1.1rem;
  }

  body[data-page="contact"] .contact-directory-card h2 {
    font-size: 1.28rem;
  }

  body[data-page="contact"] .contact-card-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  body[data-page="contact"] .contact-detail-item,
  body[data-page="contact"] .contact-card {
    gap: 0.75rem;
    padding: 0.85rem;
  }

  body[data-page="contact"] .contact-icon {
    width: 38px;
    height: 38px;
  }

  body[data-page="contact"] .contact-form {
    margin-top: 1rem;
  }

  body[data-page="contact"] .map-frame {
    border-radius: 16px;
  }

  body[data-page="contact"] .map-frame iframe {
    height: 220px;
  }

  body[data-page="history"] .about-story-card,
  body[data-page="history"] .about-side-card,
  body[data-page="history"] .history-citations,
  body[data-page="history"] .objective-item {
    padding: 0.85rem;
  }

  body[data-page="history"] .history-opening-section {
    padding: 1rem;
  }

  body[data-page="history"] .history-opening-copy {
    padding: 0.2rem 0 0.2rem 2.35rem;
  }

  body[data-page="history"] .history-opening-copy::before {
    left: 0.7rem;
  }

  body[data-page="history"] .history-opening-copy::after {
    left: calc(0.7rem - 6px);
  }

  body[data-page="history"] .about-story-card p {
    margin-bottom: 0.85rem;
  }

  body[data-page="history"] .objective-grid {
    gap: 0.75rem;
  }

  body[data-page="history"] .objective-item span {
    width: 36px;
    height: 36px;
  }

  body[data-page="history"] .history-citations p:not(.eyebrow) {
    font-size: 0.9rem;
  }

  body[data-page="news"] .news-highlight-card {
    padding: 0.9rem 0.85rem;
  }

  body[data-page="news"] .announcement-list {
    gap: 0.8rem;
  }

  body[data-page="news"] .announcement-item {
    padding: 0.9rem 0.85rem;
  }

  body[data-page="news"] .announcement-photo-wrap,
  body[data-page="news"] .news-card-photo-wrap {
    margin-bottom: 0.8rem;
  }

  body[data-page="news"] .announcement-item h3 {
    font-size: 1.08rem;
    line-height: 1.28;
  }

  body[data-page="news"] .announcement-date,
  body[data-page="news"] .badge {
    font-size: 0.72rem;
  }

  body[data-page="news"] .announcement-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  body[data-page="news"] .inline-article-image-wrap {
    float: none;
    width: min(100%, 100%);
    margin: 1rem auto 1.1rem;
    transform: none;
  }

  body[data-page="news"] .announcement-read-more {
    width: 100%;
    text-align: center;
  }

  body[data-page="news"] .news-detail-card {
    padding: 0.9rem 0.85rem;
    border-radius: 18px;
  }

  body[data-page="news"] .news-detail-card .announcement-photo-wrap {
    margin: 0.9rem 0 1.1rem;
    border-radius: 14px;
  }

  body[data-page="news"] .news-detail-card-obituary {
    padding: 1rem 0.9rem 1.1rem;
    border-radius: 20px;
  }

  body[data-page="news"] .obituary-header {
    margin-bottom: 0.8rem;
  }

  body[data-page="news"] .memorial-title {
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    margin-bottom: 0.65rem;
    font-size: 0.68rem;
  }

  body[data-page="news"] .memorial-title::before,
  body[data-page="news"] .memorial-title::after {
    width: 28px;
  }

  body[data-page="news"] .news-detail-card-obituary .news-detail-meta {
    justify-content: center;
    margin-bottom: 0.55rem;
  }

  body[data-page="news"] .news-detail-card-obituary h2 {
    font-size: clamp(1.45rem, 7vw, 1.95rem);
    line-height: 1.18;
    text-align: center;
  }

  body[data-page="news"] .news-detail-card .obituary-image-wrap {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0.95rem auto 1.1rem;
    padding: 0.42rem;
    border-radius: 999px;
  }

  body[data-page="news"] .news-detail-card .obituary-image {
    width: clamp(148px, 54vw, 190px);
    height: clamp(148px, 54vw, 190px);
    margin: 0 auto;
    border-radius: 50%;
  }

  body[data-page="news"] .news-content .lead-paragraph {
    font-size: 1rem;
  }

  body[data-page="news"] .news-detail-card-obituary .lead-paragraph {
    margin-bottom: 0.95rem;
    font-size: 0.98rem;
    line-height: 1.66;
  }

  body[data-page="news"] .news-detail-card-obituary .news-content-paragraph:not(.lead-paragraph) {
    line-height: 1.72;
  }

  .quick-tile-icon {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .quick-tile-label {
    font-size: 0.86rem;
  }

  .sticky-search-card,
  .sticky-tools {
    top: 76px;
    padding: 0.7rem;
    border-radius: 16px;
  }

  .member-table td {
    padding: 0.65rem 0.75rem;
  }

  .member-table {
    min-width: 700px;
  }

  .member-table th,
  .member-table td {
    font-size: 0.8rem;
  }

  .member-table th {
    padding: 0.72rem 0.5rem;
  }

  .member-table td {
    padding: 0.62rem 0.5rem;
  }

  .member-table .btn {
    min-width: 88px;
    min-height: 36px;
    padding: 0.52rem 0.62rem;
    font-size: 0.8rem;
  }

  .footer-brand-logo {
    width: min(92px, 34vw);
    padding: 0.35rem 0.45rem;
  }

  .footer-grid {
    gap: 0.55rem;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
  }

  .footer-title {
    font-size: 0.94rem;
  }

  .footer-copy,
  .footer-links a,
  .footer-bottom {
    font-size: 0.84rem;
    padding-bottom: calc(0.95rem + env(safe-area-inset-bottom, 0px));
  }

  .lang-btn {
    width: 100%;
    padding: 0.62rem 0.9rem;
    font-size: 0.9rem;
  }

  body[data-page="admin"] .card,
  body[data-page="admin"] .ribbon-card,
  body[data-page="admin"] .announcement-item {
    padding: 14px;
  }

  body[data-page="admin"] .admin-auth-card {
    padding: 0;
  }

  body[data-page="admin"] .form-actions {
    gap: 0.65rem;
  }

  body[data-page="admin"] .admin-login-form,
  body[data-page="admin"] .admin-switch-btn,
  body[data-page="admin"] .status-note,
  body[data-page="admin"] .status-message {
    width: 100%;
  }

  body[data-page="admin"] .admin-auth-copy::after {
    width: 100%;
    justify-content: center;
  }

  body[data-page="admin"] .admin-member-table th,
  body[data-page="admin"] .admin-member-table td {
    padding: 0.72rem 0.68rem;
  }
}

@media (max-width: 760px) {
  .member-table {
    display: block;
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.92rem;
  }

  .member-table thead {
    display: none;
  }

  .member-table tbody {
    display: grid;
    gap: 0.85rem;
  }

  .member-table tr {
    display: grid;
    gap: 0.42rem;
    padding: 0.85rem;
    border: 1px solid rgba(154, 61, 0, 0.16);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.99);
    box-shadow: 0 12px 24px rgba(79, 52, 12, 0.08);
  }

  .member-table td,
  .member-table th {
    display: grid;
    grid-template-columns: minmax(96px, 38%) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    padding: 0.2rem 0;
    border-bottom: 0;
    white-space: normal;
    background: transparent !important;
  }

  .member-table td::before {
    content: attr(data-label);
    color: #4a3008;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .member-table td[colspan] {
    display: block;
    text-align: center;
  }

  .member-table td[colspan]::before {
    content: none;
  }

  .member-table td[data-label="Photo"] {
    grid-template-columns: minmax(96px, 38%) auto;
  }

  .member-table td[data-label="Actions"] {
    grid-template-columns: 1fr;
    padding-top: 0.45rem;
  }

  .member-table td[data-label="Actions"]::before {
    margin-bottom: 0.15rem;
  }

  .member-table tbody tr:hover,
  .member-table tbody tr:hover td {
    transform: none;
    box-shadow: none;
  }

  .member-table .btn {
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }

  body[data-page="members"] .table-wrap {
    overflow-x: visible;
  }
}

/* 2026 design refresh overrides */
.site-header {
  background: rgba(255, 250, 240, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(29, 35, 47, 0.06);
  box-shadow: 0 12px 30px rgba(29, 35, 47, 0.06);
}

.brand {
  color: var(--ngt-ink-deep);
}

.brand span {
  max-width: 220px;
  letter-spacing: -0.01em;
}

.brand-mark {
  box-shadow: 0 12px 26px rgba(110, 72, 0, 0.14);
  background: linear-gradient(180deg, #fffdf8, #fff4dc);
}

.main-nav {
  padding: 0.45rem;
  background: rgba(255, 250, 235, 0.96);
  border: 1px solid rgba(255, 140, 0, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px);
}

.card,
.announcement-item,
.doc-item,
.admin-list-item,
.impact-card,
.news-highlight-card {
  box-shadow: var(--ngt-shadow-card);
}

.card:hover,
.announcement-item:hover,
.impact-card:hover {
  box-shadow: 0 22px 40px rgba(29, 35, 47, 0.12);
}

.btn {
  min-height: 46px;
  padding: 0.84rem 1.28rem;
  box-shadow: 0 12px 24px rgba(154, 61, 0, 0.18);
}

.btn-outline {
  color: var(--ngt-text);
  background: rgba(255, 250, 234, 0.96);
  box-shadow: 0 8px 20px rgba(154, 61, 0, 0.06);
}

.impact-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.impact-card::after {
  content: "";
  position: absolute;
  top: -36px;
  right: -28px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.22), transparent 68%);
  pointer-events: none;
}

.news-page-hero {
  position: relative;
  padding-bottom: 2.3rem;
}

.news-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.news-hero-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 238, 182, 0.72);
  border: 1px solid rgba(154, 61, 0, 0.16);
  color: var(--ngt-orange-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.news-overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.news-overview-card {
  min-height: 100%;
  border-radius: 26px;
}

.news-overview-card-accent {
  background: linear-gradient(180deg, rgba(255, 246, 218, 0.98), rgba(255, 233, 171, 0.96));
}

.announcement-item,
.doc-item,
.admin-list-item {
  padding: 1.15rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 238, 0.99), rgba(255, 240, 194, 0.94));
}

.announcement-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.announcement-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.12);
}

.announcement-item h3 {
  font-size: 1.42rem;
  color: #132a46;
}

.news-detail-card {
  padding: 1.45rem;
  border-radius: 30px;
  box-shadow: 0 24px 44px rgba(41, 26, 4, 0.12);
}

.news-detail-card .announcement-full {
  line-height: 1.82;
}

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(255, 214, 102, 0.24), transparent 26%),
    linear-gradient(135deg, #b85c00 0%, #d97500 34%, #f39200 100%);
}

.footer-grid {
  gap: 1.5rem;
  padding-top: 2.3rem;
  padding-bottom: 2.1rem;
}

.footer-bottom {
  padding: 0.95rem 1rem 1.1rem;
  text-align: center;
  color: rgba(255, 247, 231, 0.9);
  border-top: 1px solid rgba(255, 233, 192, 0.22);
  background: rgba(120, 50, 0, 0.08);
}

@media (max-width: 980px) {
  .news-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .news-hero-tags span {
    width: 100%;
    justify-content: center;
  }
}

@media (hover: none) and (pointer: coarse) {
  .btn:active,
  .quick-tile:active,
  .search-result-card:active,
  .main-nav a:active,
  .footer-links a:active {
    transform: scale(0.98);
  }

  .card:hover,
  .quick-tile:hover,
  .search-result-card:hover,
  .footer-links a:hover {
    transform: none;
    box-shadow: inherit;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
